unique-stream
Advanced tools
Comparing version 2.2.0 to 2.2.1
'use strict'; | ||
var filter = require('through2-filter').obj; | ||
var stringify = require("json-stable-stringify"); | ||
var ES6Set; | ||
@@ -29,3 +31,3 @@ if (typeof global.Set === 'function') { | ||
var keyfn = JSON.stringify; | ||
var keyfn = stringify; | ||
if (typeof propName === 'string') { | ||
@@ -32,0 +34,0 @@ keyfn = prop(propName); |
{ | ||
"name": "unique-stream", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "node.js through stream that emits a unique stream of objects based on criteria", | ||
@@ -12,3 +12,5 @@ "repository": "eugeneware/unique-stream", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "mocha", | ||
"coverage": "istanbul cover _mocha", | ||
"coveralls": "${npm_package_scripts_coverage} && istanbul-coveralls" | ||
}, | ||
@@ -23,2 +25,3 @@ "keywords": [ | ||
"dependencies": { | ||
"json-stable-stringify": "^1.0.0", | ||
"through2-filter": "^2.0.0" | ||
@@ -29,4 +32,6 @@ }, | ||
"chai": "^3.0.0", | ||
"istanbul": "^0.4.2", | ||
"istanbul-coveralls": "^1.0.3", | ||
"mocha": "^2.1.0" | ||
} | ||
} |
@@ -6,6 +6,7 @@ # unique-stream | ||
[![Build Status](https://travis-ci.org/eugeneware/unique-stream.svg?branch=master)](https://travis-ci.org/eugeneware/unique-stream) | ||
[![Coverage Status](https://coveralls.io/repos/eugeneware/unique-stream/badge.svg?branch=master&service=github)](https://coveralls.io/github/eugeneware/unique-stream?branch=master) | ||
## Installation | ||
Install via npm: | ||
Install via [npm](https://www.npmjs.com/): | ||
@@ -12,0 +13,0 @@ ``` |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6289
40
134
0
2
5
+ Addedjson-stable-stringify@^1.0.0
+ Addedcall-bind@1.0.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson-stable-stringify@1.1.1(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedset-function-length@1.2.2(transitive)