Socket
Socket
Sign inDemoInstall

libnpmdiff

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libnpmdiff - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

12

lib/untar.js

@@ -15,8 +15,10 @@ const tar = require('tar')

(!filterFiles.length ||
filterFiles.some(f =>
minimatch(
filterFiles.some(f => {
const pattern = normalizeMatch(f)
return minimatch(
normalizeMatch(path),
`{package/,}${normalizeMatch(f)}`,
{ matchBase: true }
)))
`{package/,}${pattern}`,
{ matchBase: pattern.startsWith('*') }
)
}))

@@ -23,0 +25,0 @@ // expands usage of simple path filters, e.g: lib or src/

{
"name": "libnpmdiff",
"version": "2.0.1",
"version": "2.0.2",
"description": "The registry diff",

@@ -5,0 +5,0 @@ "repository": "https://github.com/npm/libnpmdiff",

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