Socket
Socket
Sign inDemoInstall

concise-object-stream

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

concise-object-stream - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

3

dist/index.js

@@ -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**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc