Skip to content

Commit 839b670

Browse files
committed
deps: @npmcli/[email protected]
1 parent 9a7b8e8 commit 839b670

File tree

122 files changed

+13628
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+13628
-15
lines changed

DEPENDENCIES.md

+4
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,10 @@ graph LR;
312312
glob-->inflight;
313313
glob-->inherits;
314314
glob-->minimatch;
315+
glob-->minipass;
315316
glob-->once;
316317
glob-->path-is-absolute;
318+
glob-->path-scurry;
317319
has-->function-bind;
318320
hosted-git-info-->lru-cache;
319321
http-proxy-agent-->agent-base;
@@ -723,6 +725,8 @@ graph LR;
723725
parse-conflict-json-->json-parse-even-better-errors;
724726
parse-conflict-json-->just-diff-apply;
725727
parse-conflict-json-->just-diff;
728+
path-scurry-->lru-cache;
729+
path-scurry-->minipass;
726730
postcss-selector-parser-->cssesc;
727731
postcss-selector-parser-->util-deprecate;
728732
promise-retry-->err-code;

node_modules/.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
!/@npmcli/git
2222
!/@npmcli/installed-package-contents
2323
!/@npmcli/map-workspaces
24+
!/@npmcli/map-workspaces/node_modules/
25+
/@npmcli/map-workspaces/node_modules/*
26+
!/@npmcli/map-workspaces/node_modules/glob
27+
!/@npmcli/map-workspaces/node_modules/minimatch
2428
!/@npmcli/metavuln-calculator
2529
!/@npmcli/move-file
2630
!/@npmcli/name-from-folder
@@ -218,6 +222,7 @@
218222
!/pacote
219223
!/parse-conflict-json
220224
!/path-is-absolute
225+
!/path-scurry
221226
!/postcss-selector-parser
222227
!/proc-log
223228
!/process

node_modules/@npmcli/map-workspaces/lib/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
const { promisify } = require('util')
21
const path = require('path')
32

43
const getName = require('@npmcli/name-from-folder')
54
const minimatch = require('minimatch')
65
const rpj = require('read-package-json-fast')
76
const glob = require('glob')
8-
const pGlob = promisify(glob)
97

108
function appendNegatedPatterns (patterns) {
119
const results = []
@@ -98,7 +96,9 @@ async function mapWorkspaces (opts = {}) {
9896
const getPackagePathname = pkgPathmame(opts)
9997

10098
for (const item of patterns) {
101-
const matches = await pGlob(getGlobPattern(item.pattern), getGlobOpts())
99+
let matches = await glob(getGlobPattern(item.pattern), getGlobOpts())
100+
// preserves glob@8 behavior
101+
matches = matches.sort((a, b) => a.localeCompare(b, 'en'))
102102

103103
for (const match of matches) {
104104
let pkg
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The ISC License
2+
3+
Copyright (c) 2009-2023 Isaac Z. Schlueter and Contributors
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

0 commit comments

Comments
 (0)