New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@emartech/easy-crypto

Package Overview
Dependencies
Maintainers
88
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emartech/easy-crypto - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

.npmignore

8

lib/crypto.spec.js

@@ -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);
// });
}
});

25

package.json

@@ -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"
}
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