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

snyk

Package Overview
Dependencies
Maintainers
2
Versions
1967
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk - npm Package Compare versions

Comparing version 1.6.1-alpha2 to 1.6.1-alpha3

.nyc_output/16569.json

10

lib/protect.js

@@ -46,3 +46,3 @@ var protect = module.exports = {

var ignoreRule = {};
ignoreRule[vuln.from.slice(1).join(' > ')] = {
ignoreRule[stripVersions(vuln.from.slice(1)).join(' > ')] = {
reason: res.meta.reason,

@@ -414,3 +414,3 @@ expires: new Date(Date.now() + (oneDay * days)).toJSON(),

};
rule[vuln.from.slice(1).join(' > ')] = {
rule[stripVersions(vuln.from.slice(1)).join(' > ')] = {
patched: now.toJSON(),

@@ -548,2 +548,8 @@ };

function stripVersions(packages) {
return packages.map(function (pkg) {
return moduleToObject(pkg).name;
});
}
function log(tasks) {

@@ -550,0 +556,0 @@ return new Promise(function (resolve) {

2

package.json

@@ -5,3 +5,3 @@ {

"main": "lib/index.js",
"version": "1.6.1-alpha2",
"version": "1.6.1-alpha3",
"directories": {

@@ -8,0 +8,0 @@ "test": "test"

Sorry, the diff of this file is not supported yet

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