Skip to content

Commit

Permalink
deps: npm-packlist@5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored and ruyadorno committed Apr 26, 2022
1 parent aeb54e4 commit 252b2b1
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 2,930 deletions.
3 changes: 2 additions & 1 deletion node_modules/npm-packlist/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const packageMustHavesRE = new RegExp(`^(${packageMustHaveFileNames})(\\..*[^~$]

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

const pathHasPkg = (input) => {
if (!input.startsWith('node_modules/')) {
Expand Down Expand Up @@ -428,7 +429,7 @@ class Walker extends IgnoreWalker {
}

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

readPackageJson (entries) {
Expand Down
21 changes: 0 additions & 21 deletions node_modules/npm-packlist/node_modules/brace-expansion/LICENSE

This file was deleted.

201 changes: 0 additions & 201 deletions node_modules/npm-packlist/node_modules/brace-expansion/index.js

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions node_modules/npm-packlist/node_modules/glob/LICENSE

This file was deleted.

Loading

0 comments on commit 252b2b1

Please sign in to comment.