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.0 to 2.0.1

12

CHANGELOG.md
# Changelog
## 2.0.1
- fix for tarballs not listing folder names
## 2.0.0
- API rewrite:
- normalized all options
- specs to compare are now an array
- fix context=0
- added support to filtering by folder names
## 1.0.1

@@ -4,0 +16,0 @@

12

lib/untar.js

@@ -29,14 +29,4 @@ const tar = require('tar')

if (
filterFiles.length &&
entry.type === 'Directory' &&
folderMatch()
) {
// if simple folder was found, add that as a glob to list of filters
filterFiles.push(`${path}**`)
return false
}
if (
entry.type === 'File' &&
fileMatch()
(fileMatch() || folderMatch())
) {

@@ -43,0 +33,0 @@ const key = path.replace(/^[^/]+\/?/, '')

{
"name": "libnpmdiff",
"version": "2.0.0",
"version": "2.0.1",
"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