Git Product home page Git Product logo

always-promise's People

Contributors

tunnckocore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

blebougge

always-promise's Issues

cant accept function as last argument

which is incompatible with co@4

var fn = alwaysPromise(function * (str, num, func) {
  assert.strictEqual(typeof str, 'string')
  assert.strictEqual(str, 'foobar')
  assert.strictEqual(typeof num, 'number')
  assert.strictEqual(num, '123')
  assert.strictEqual(typeof func, 'function') // fails
})
fn('foobar', 123, function () {})
.then(function () {
  console.log('end')
})

problem pops up from upcoming voa. and yea it is problem to redolent.
should detect if last argument is-async-function, only then to skip it.

An in-range update of is-buffer is breaking the build 🚨

Version 1.1.4 of is-buffer just got published.

Branch Build failing 🚨
Dependency is-buffer
Current Version 1.1.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As is-buffer is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 13 commits .

  • fd1a429 1.1.4
  • e6a91ad test only latest node, for speed
  • 564ae0e Add node v0.10 support
  • b18b3e2 Test node 0.10, 0.12, 4, 6
  • 5ee68c0 comment
  • dac1435 zuul: disable flaky ios test
  • fadd5b1 Ensure that true/false is always returned, not just truthy/falsy
  • a11fd2a Merge pull request #10 from feross/greenkeeper-standard-7.0.0
  • 49f6048 chore(package): update standard to version 7.0.0
  • f74c4d7 zuul: add iphone test; remove opera
  • 0d86dca test latest node
  • f0cb436 Merge pull request #7 from paladox/patch-2
  • 07dcc2e Make tests run faster

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of is-buffer is breaking the build 🚨

Version 1.1.5 of is-buffer just got published.

Branch Build failing 🚨
Dependency is-buffer
Current Version 1.1.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As is-buffer is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 5 commits .

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

refactor

Promisify any function.

'use strict'

var alwaysDone = require('always-done')
var extend = require('extend-shallow')
var pify = require('pify')
var fs = require('fs')

function alwaysPromise (fn, opts) {
  var self = this
  return function () {
    var args = [].slice.call(arguments)
    opts = extend({
      context: this || self,
      args: args
    }, opts)
    return pify(alwaysDone, opts)(fn, opts)
  }
}

alwaysPromise(function (a, b) {
  return a + b
})(1, 2).then(console.log)

alwaysPromise(fs.readFile)('alwa.js', 'utf8').then(console.log)

An in-range update of promise is breaking the build 🚨

Version 7.2.0 of promise just got published.

Branch Build failing 🚨
Dependency promise
Current Version 7.1.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As promise is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • ❌ ci/circleci Your tests failed on CircleCI Details

Commits

The new version differs by 6 commits.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of semver is breaking the build 🚨

Version 5.4.0 of semver just got published.

Branch Build failing 🚨
Dependency semver
Current Version 5.3.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As semver is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ ci/circleci No test commands were found Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 16 commits.

  • e1c49c8 v5.4.0
  • 3ebc11d more test coverage
  • 5b30513 speed up tests a lot, add coverage
  • e1668ce add top level intersects function
  • 6cb2bcb intersection: use semver.version, not semver.raw
  • 4bacbfa Make exposed apis more clear
  • 8b86a26 Reduce line length and remove unused platform parameter
  • 99f133e Add range and comparator intersection docs to README
  • afbe8ca Move methods to comparator and range
  • 67c9ed7 Add support for range and comparators comparison
  • caeeac4 remove 0.x from Travis, cache npm stuff, use containers
  • bdda1a4 Add Node.js 8 to .travis.yml
  • 8fff305 Add node 6 to travis
  • aaba710 Added syntax highlighting to readme example
  • 32802c5 minimize heap allocations for maxSatisfying/minSatisfying

There are 16 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.