Skip to content

Commit 16f68fb

Browse files
committed
1 parent 67fcfb1 commit 16f68fb

File tree

202 files changed

+247
-20421
lines changed

Some content is hidden

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

202 files changed

+247
-20421
lines changed

lib/commands/help-search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { readFile } = require('fs/promises')
22
const path = require('path')
3-
const glob = require('glob')
3+
const { glob } = require('glob')
44
const BaseCommand = require('../base-command.js')
55

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

lib/commands/help.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const spawn = require('@npmcli/promise-spawn')
22
const path = require('path')
33
const openUrl = require('../utils/open-url.js')
4-
const glob = require('glob')
4+
const { glob } = require('glob')
55
const localeCompare = require('@isaacs/string-locale-compare')('en')
66

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

lib/utils/log-file.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const os = require('os')
22
const { join, dirname, basename } = require('path')
33
const { format } = require('util')
4-
const glob = require('glob')
4+
const { glob } = require('glob')
55
const MiniPass = require('minipass')
66
const fsMiniPass = require('fs-minipass')
77
const fs = require('fs/promises')

node_modules/.gitignore

+7-18
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@
3232
!/@npmcli/map-workspaces
3333
!/@npmcli/map-workspaces/node_modules/
3434
/@npmcli/map-workspaces/node_modules/*
35-
!/@npmcli/map-workspaces/node_modules/foreground-child
36-
!/@npmcli/map-workspaces/node_modules/glob
37-
!/@npmcli/map-workspaces/node_modules/jackspeak
3835
!/@npmcli/map-workspaces/node_modules/minimatch
39-
!/@npmcli/map-workspaces/node_modules/minipass
40-
!/@npmcli/map-workspaces/node_modules/signal-exit
4136
!/@npmcli/metavuln-calculator
4237
!/@npmcli/move-file
4338
!/@npmcli/name-from-folder
@@ -79,12 +74,7 @@
7974
!/cacache
8075
!/cacache/node_modules/
8176
/cacache/node_modules/*
82-
!/cacache/node_modules/foreground-child
83-
!/cacache/node_modules/glob
84-
!/cacache/node_modules/jackspeak
85-
!/cacache/node_modules/minimatch
8677
!/cacache/node_modules/minipass
87-
!/cacache/node_modules/signal-exit
8878
!/chalk
8979
!/chownr
9080
!/ci-info
@@ -130,6 +120,13 @@
130120
!/function-bind
131121
!/gauge
132122
!/glob
123+
!/glob/node_modules/
124+
/glob/node_modules/*
125+
!/glob/node_modules/foreground-child
126+
!/glob/node_modules/jackspeak
127+
!/glob/node_modules/minimatch
128+
!/glob/node_modules/minipass
129+
!/glob/node_modules/signal-exit
133130
!/graceful-fs
134131
!/has-flag
135132
!/has-unicode
@@ -282,14 +279,6 @@
282279
!/read-cmd-shim
283280
!/read-package-json-fast
284281
!/read-package-json
285-
!/read-package-json/node_modules/
286-
/read-package-json/node_modules/*
287-
!/read-package-json/node_modules/foreground-child
288-
!/read-package-json/node_modules/glob
289-
!/read-package-json/node_modules/jackspeak
290-
!/read-package-json/node_modules/minimatch
291-
!/read-package-json/node_modules/minipass
292-
!/read-package-json/node_modules/signal-exit
293282
!/read
294283
!/readable-stream
295284
!/retry

node_modules/@npmcli/map-workspaces/node_modules/glob/LICENSE

-15
This file was deleted.

node_modules/@npmcli/map-workspaces/node_modules/glob/dist/cjs/package.json

-99
This file was deleted.

0 commit comments

Comments
 (0)