Socket
Socket
Sign inDemoInstall

npm-packlist

Package Overview
Dependencies
12
Maintainers
6
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1 to 5.0.2

3

lib/index.js

@@ -34,2 +34,3 @@ 'use strict'

const glob = require('glob')
const globify = pattern => pattern.split('\\').join('/')

@@ -432,3 +433,3 @@ const pathHasPkg = (input) => {

globFiles (pattern, cb) {
glob(pattern, { dot: true, cwd: this.path, nocase: true }, cb)
glob(globify(pattern), { dot: true, cwd: this.path, nocase: true }, cb)
}

@@ -435,0 +436,0 @@

{
"name": "npm-packlist",
"version": "5.0.1",
"version": "5.0.2",
"description": "Get a list of the files to add from a folder into an npm package",

@@ -5,0 +5,0 @@ "directories": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc