Skip to content

Commit

Permalink
deps: pacote@13.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Apr 6, 2022
1 parent b632746 commit b1863bf
Show file tree
Hide file tree
Showing 29 changed files with 2,046 additions and 488 deletions.

This file was deleted.

75 changes: 0 additions & 75 deletions node_modules/@npmcli/promise-spawn/index.js

This file was deleted.

30 changes: 23 additions & 7 deletions node_modules/@npmcli/promise-spawn/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,46 @@
{
"name": "@npmcli/promise-spawn",
"version": "1.3.2",
"version": "3.0.0",
"files": [
"index.js"
"bin/",
"lib/"
],
"main": "./lib/index.js",
"description": "spawn processes the way the npm cli likes to do",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/promise-spawn"
"url": "https://github.com/npm/promise-spawn.git"
},
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"author": "GitHub Inc.",
"license": "ISC",
"scripts": {
"test": "tap",
"snap": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
"prepublishOnly": "git push origin --follow-tags",
"lint": "eslint \"**/*.js\"",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint",
"postsnap": "npm run lintfix --",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force"
},
"tap": {
"check-coverage": true
},
"devDependencies": {
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.2.2",
"minipass": "^3.1.1",
"require-inject": "^1.4.4",
"tap": "^14.10.6"
"tap": "^16.0.1"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.2.2"
},
"dependencies": {
"infer-owner": "^1.0.4"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Walker extends EE {
this.entries = entries
if (entries.length === 0) {
if (this.includeEmpty) {
this.result.add(this.path.substr(this.root.length + 1))
this.result.add(this.path.slice(this.root.length + 1))
}
this.emit('done', this.result)
} else {
Expand Down Expand Up @@ -108,7 +108,9 @@ class Walker extends EE {
}
const rules = data.split(/\r?\n/)
.filter(line => !/^#|^$/.test(line.trim()))
.map(r => new Minimatch(r, mmopt))
.map(rule => {
return new Minimatch(rule.trim(), mmopt)
})

this.ignoreRules[file] = rules

Expand Down Expand Up @@ -156,7 +158,7 @@ class Walker extends EE {
const abs = this.path + '/' + entry
if (!st.isDirectory()) {
if (file) {
this.result.add(abs.substr(this.root.length + 1))
this.result.add(abs.slice(this.root.length + 1))
}
then()
} else {
Expand All @@ -171,21 +173,21 @@ class Walker extends EE {

stat ({ entry, file, dir }, then) {
const abs = this.path + '/' + entry
fs.lstat(abs, (er, st) => {
if (er) {
this.emit('error', er)
fs.lstat(abs, (lstatErr, lstatResult) => {
if (lstatErr) {
this.emit('error', lstatErr)
} else {
const isSymbolicLink = st.isSymbolicLink()
const isSymbolicLink = lstatResult.isSymbolicLink()
if (this.follow && isSymbolicLink) {
fs.stat(abs, (er, st) => {
if (er) {
this.emit('error', er)
fs.stat(abs, (statErr, statResult) => {
if (statErr) {
this.emit('error', statErr)
} else {
this.onstat({ st, entry, file, dir, isSymbolicLink }, then)
this.onstat({ st: statResult, entry, file, dir, isSymbolicLink }, then)
}
})
} else {
this.onstat({ st, entry, file, dir, isSymbolicLink }, then)
this.onstat({ st: lstatResult, entry, file, dir, isSymbolicLink }, then)
}
}
})
Expand Down
21 changes: 21 additions & 0 deletions node_modules/ignore-walk/node_modules/brace-expansion/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit b1863bf

Please sign in to comment.