@emartech/easy-crypto
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -320,3 +320,3 @@ 'use strict'; | ||
let counter = 0; | ||
this.sandbox.stub(crypto, 'randomBytes', function(length, cb) { | ||
this.sandbox.stub(crypto, 'randomBytes').callsFake(function(length, cb) { | ||
expect(length).to.eql(12); | ||
@@ -327,4 +327,10 @@ const randomBuffer = Buffer.from(randomBytes[counter], 'utf-8'); | ||
}); | ||
// this.sandbox.stub(crypto, 'randomBytes', function(length, cb) { | ||
// expect(length).to.eql(12); | ||
// const randomBuffer = Buffer.from(randomBytes[counter], 'utf-8'); | ||
// counter++; | ||
// return cb(null, randomBuffer); | ||
// }); | ||
} | ||
}); |
@@ -8,9 +8,4 @@ { | ||
"validate-commit-msg": "validate-commit-msg", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
"semantic-release": "semantic-release" | ||
}, | ||
"release": { | ||
"verifyConditions": { | ||
"path": "./node_modules/semantic-release/dist/lib/plugin-noop.js" | ||
} | ||
}, | ||
"repository": { | ||
@@ -34,10 +29,14 @@ "type": "git", | ||
"devDependencies": { | ||
"chai": "3.5.0", | ||
"co-mocha": "1.1.3", | ||
"mocha": "3.0.2", | ||
"semantic-release": "4.3.5", | ||
"sinon": "1.17.5", | ||
"chai": "4.2.0", | ||
"co-mocha": "1.2.2", | ||
"mocha": "5.2.0", | ||
"semantic-release": "15.13.2", | ||
"sinon": "7.2.2", | ||
"validate-commit-message": "3.0.1" | ||
}, | ||
"version": "3.1.1" | ||
} | ||
"dependencies": { | ||
"g": "^2.0.1", | ||
"npm-check-updates": "^2.15.0" | ||
}, | ||
"version": "3.1.2" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
345656
12
10074
2
1
+ Addedg@^2.0.1
+ Addednpm-check-updates@^2.15.0
+ Addedansi-align@2.0.0(transitive)
+ Addedansi-regex@2.1.13.0.1(transitive)
+ Addedansi-styles@2.2.13.2.1(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedbluebird@3.7.2(transitive)
+ Addedboxen@1.3.0(transitive)
+ Addedcamelcase@4.1.0(transitive)
+ Addedcapture-stack-trace@1.0.2(transitive)
+ Addedchalk@1.1.32.4.2(transitive)
+ Addedci-info@1.6.0(transitive)
+ Addedcint@8.2.1(transitive)
+ Addedcli-boxes@1.0.0(transitive)
+ Addedcli-table@0.3.11(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcolors@1.0.3(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedconfigstore@3.1.5(transitive)
+ Addedcreate-error-class@3.0.2(transitive)
+ Addedcross-spawn@5.1.0(transitive)
+ Addedcrypto-random-string@1.0.0(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addeddot-prop@4.2.1(transitive)
+ Addedduplexer3@0.1.5(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedexeca@0.7.0(transitive)
+ Addedfast-diff@1.3.0(transitive)
+ Addedfind-up@1.1.2(transitive)
+ Addedg@2.0.1(transitive)
+ Addedget-stdin@5.0.1(transitive)
+ Addedget-stream@3.0.0(transitive)
+ Addedglobal-dirs@0.1.1(transitive)
+ Addedgot@6.7.1(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedimport-lazy@2.1.0(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-ci@1.2.1(transitive)
+ Addedis-fullwidth-code-point@2.0.0(transitive)
+ Addedis-installed-globally@0.1.0(transitive)
+ Addedis-npm@1.0.0(transitive)
+ Addedis-obj@1.0.1(transitive)
+ Addedis-path-inside@1.0.1(transitive)
+ Addedis-redirect@1.0.0(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjju@1.4.0(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedjson-parse-helpfulerror@1.0.3(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlatest-version@3.1.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlowercase-keys@1.0.1(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedmake-dir@1.3.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-alias@1.0.4(transitive)
+ Addednpm@3.10.10(transitive)
+ Addednpm-check-updates@2.15.0(transitive)
+ Addednpm-run-path@2.0.2(transitive)
+ Addednpmi@2.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedpackage-json@4.0.1(transitive)
+ Addedpath-exists@2.1.03.0.0(transitive)
+ Addedpath-is-inside@1.0.2(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedprepend-http@1.0.4(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedrc-config-loader@2.0.5(transitive)
+ Addedregistry-auth-token@3.4.0(transitive)
+ Addedregistry-url@3.1.0(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsemver@4.3.65.7.2(transitive)
+ Addedsemver-diff@2.1.0(transitive)
+ Addedsemver-utils@1.1.4(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedspawn-please@0.3.0(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstring-width@2.1.1(transitive)
+ Addedstrip-ansi@3.0.14.0.0(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedsupports-color@2.0.05.5.0(transitive)
+ Addedterm-size@1.2.0(transitive)
+ Addedtimed-out@4.0.1(transitive)
+ Addedunique-string@1.0.0(transitive)
+ Addedunzip-response@2.0.1(transitive)
+ Addedupdate-notifier@2.5.0(transitive)
+ Addedurl-parse-lax@1.0.0(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedwidest-line@2.0.1(transitive)
+ Addedwrite-file-atomic@2.4.3(transitive)
+ Addedxdg-basedir@3.0.0(transitive)
+ Addedyallist@2.1.2(transitive)