npm-packlist
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -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": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24122
432
0