concise-object-stream
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -6,3 +6,2 @@ 'use strict'; | ||
var stream = require('readable-stream'); | ||
var ThenPromise = require('promise'); | ||
@@ -67,3 +66,3 @@ function noop(chunk, callback) { | ||
function appendResultToStream(stream, result, callback) { | ||
var promise = isThenable(result) ? result : ThenPromise.resolve(result); | ||
var promise = isThenable(result) ? result : Promise.resolve(result); | ||
@@ -70,0 +69,0 @@ promise.then(function (value) { |
{ | ||
"name": "concise-object-stream", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "More concise node object streams", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"precompile": "rm -f dist/*", | ||
"compile": "babel lib --out-dir dist", | ||
"lint": "eslint 'lib/**' 'test/**'", | ||
"test": "nyc --check-coverage --require babel-register mocha ./test", | ||
"test": "nyc --check-coverage mocha ./test", | ||
"watch": "chokidar 'lib/*.js' 'test/*.js' -c 'npm run lint && npm test'", | ||
"test-dist": "TEST_TARGET=dist mocha --require babel-register", | ||
"test-with-coverage": "BABEL_ENV=coverage nyc --require babel-register --source-map false --instrument false npm run test-dist", | ||
"ci": "npm run lint && npm run compile && npm run test-with-coverage", | ||
"prepublish": "npm run compile", | ||
"ci": "npm run lint && npm test", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls" | ||
@@ -25,8 +20,2 @@ }, | ||
"devDependencies": { | ||
"babel-cli": "^6.7.7", | ||
"babel-core": "^6.7.7", | ||
"babel-plugin-istanbul": "^2.0.3", | ||
"babel-plugin-transform-object-assign": "^6.5.0", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-register": "^6.11.5", | ||
"chai": "^3.5.0", | ||
@@ -37,3 +26,3 @@ "chokidar-cli": "^1.2.0", | ||
"eslint": "^3.9.1", | ||
"eslint-config-toboid": "^1.0.1", | ||
"eslint-config-toboid": "1.1.0", | ||
"lodash": "^4.16.5", | ||
@@ -44,5 +33,4 @@ "mocha": "^3.2.0", | ||
"dependencies": { | ||
"promise": "^7.1.1", | ||
"readable-stream": "^2.0.6" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# object-stream | ||
# concise-object-stream | ||
@@ -3,0 +3,0 @@ **A simplified API for working with node object streams** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
9
8341
1
67
- Removedpromise@^7.1.1
- Removedasap@2.0.6(transitive)
- Removedpromise@7.3.1(transitive)