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-alpha3 to 1.6.1-alpha4

7

lib/policy/match.js

@@ -77,2 +77,9 @@ module.exports = {

// the * semver rule won't match pre-releases, which in our case is a
// problem, so if the version is indeed *, we'll reset it to the exact same
// version as our target package to allow for a match.
if (pkgVersion === '*') {
pkgVersion = fromPkg.version;
}
if (semver.valid(fromPkg.version) &&

@@ -79,0 +86,0 @@ semver.satisfies(fromPkg.version, pkgVersion)) {

4

package.json

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

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

@@ -39,3 +39,3 @@ "test": "test"

"request": "^2.60.0",
"semver": "^5.0.1",
"semver": "^5.1.0",
"snyk-config": "^1.0.0",

@@ -42,0 +42,0 @@ "snyk-module": "^1.0.1",

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