Skip to content

gar/deps updates #6573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,21 +274,15 @@ graph LR;
bin-links-->write-file-atomic;
brace-expansion-->balanced-match;
builtins-->semver;
cacache-->chownr;
cacache-->fs-minipass;
cacache-->glob;
cacache-->infer-owner;
cacache-->lru-cache;
cacache-->minipass-collect;
cacache-->minipass-flush;
cacache-->minipass-pipeline;
cacache-->minipass;
cacache-->mkdirp;
cacache-->npmcli-fs["@npmcli/fs"];
cacache-->npmcli-move-file["@npmcli/move-file"];
cacache-->p-map;
cacache-->promise-inflight;
cacache-->rimraf;
cacache-->ssri;
cacache-->tar;
cacache-->unique-filename;
Expand Down Expand Up @@ -464,7 +458,6 @@ graph LR;
make-fetch-happen-->https-proxy-agent;
make-fetch-happen-->is-lambda;
make-fetch-happen-->lru-cache;
make-fetch-happen-->minipass-collect;
make-fetch-happen-->minipass-fetch;
make-fetch-happen-->minipass-flush;
make-fetch-happen-->minipass-pipeline;
Expand All @@ -488,6 +481,7 @@ graph LR;
minizlib-->minipass;
minizlib-->yallist;
node-gyp-->env-paths;
node-gyp-->exponential-backoff;
node-gyp-->glob;
node-gyp-->graceful-fs;
node-gyp-->make-fetch-happen;
Expand Down Expand Up @@ -707,8 +701,6 @@ graph LR;
npmcli-mock-registry-->npmcli-template-oss["@npmcli/template-oss"];
npmcli-mock-registry-->pacote;
npmcli-mock-registry-->tap;
npmcli-move-file-->mkdirp;
npmcli-move-file-->rimraf;
npmcli-package-json-->glob;
npmcli-package-json-->json-parse-even-better-errors;
npmcli-package-json-->normalize-package-data;
Expand Down Expand Up @@ -778,7 +770,11 @@ graph LR;
shebang-command-->shebang-regex;
sigstore-->make-fetch-happen;
sigstore-->sigstore-protobuf-specs["@sigstore/protobuf-specs"];
sigstore-->sigstore-tuf["@sigstore/tuf"];
sigstore-->tuf-js;
sigstore-tuf-->make-fetch-happen;
sigstore-tuf-->sigstore-protobuf-specs["@sigstore/protobuf-specs"];
sigstore-tuf-->tuf-js;
socks-->ip;
socks-->smart-buffer;
socks-proxy-agent-->agent-base;
Expand Down
23 changes: 2 additions & 21 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
!/@colors/
/@colors/*
!/@colors/colors
!/@gar/
/@gar/*
!/@gar/promisify
!/@isaacs/
/@isaacs/*
!/@isaacs/cliui
Expand All @@ -29,7 +26,6 @@
!/@npmcli/installed-package-contents
!/@npmcli/map-workspaces
!/@npmcli/metavuln-calculator
!/@npmcli/move-file
!/@npmcli/name-from-folder
!/@npmcli/node-gyp
!/@npmcli/package-json
Expand All @@ -42,6 +38,7 @@
!/@sigstore/
/@sigstore/*
!/@sigstore/protobuf-specs
!/@sigstore/tuf
!/@tootallnate/
/@tootallnate/*
!/@tootallnate/once
Expand Down Expand Up @@ -103,6 +100,7 @@
!/err-code
!/event-target-shim
!/events
!/exponential-backoff
!/fastest-levenshtein
!/foreground-child
!/fs-minipass
Expand All @@ -123,7 +121,6 @@
!/ignore-walk
!/imurmurhash
!/indent-string
!/infer-owner
!/inflight
!/inherits
!/ini
Expand Down Expand Up @@ -188,32 +185,16 @@
!/node-gyp
!/node-gyp/node_modules/
/node-gyp/node_modules/*
!/node-gyp/node_modules/@npmcli/
/node-gyp/node_modules/@npmcli/*
!/node-gyp/node_modules/@npmcli/fs
!/node-gyp/node_modules/abbrev
!/node-gyp/node_modules/are-we-there-yet
!/node-gyp/node_modules/brace-expansion
!/node-gyp/node_modules/cacache
!/node-gyp/node_modules/cacache/node_modules/
/node-gyp/node_modules/cacache/node_modules/*
!/node-gyp/node_modules/cacache/node_modules/brace-expansion
!/node-gyp/node_modules/cacache/node_modules/glob
!/node-gyp/node_modules/cacache/node_modules/minimatch
!/node-gyp/node_modules/fs-minipass
!/node-gyp/node_modules/gauge
!/node-gyp/node_modules/glob
!/node-gyp/node_modules/make-fetch-happen
!/node-gyp/node_modules/minimatch
!/node-gyp/node_modules/minipass-fetch
!/node-gyp/node_modules/minipass
!/node-gyp/node_modules/nopt
!/node-gyp/node_modules/npmlog
!/node-gyp/node_modules/readable-stream
!/node-gyp/node_modules/signal-exit
!/node-gyp/node_modules/ssri
!/node-gyp/node_modules/unique-filename
!/node-gyp/node_modules/unique-slug
!/node-gyp/node_modules/which
!/nopt
!/normalize-package-data
Expand Down
10 changes: 0 additions & 10 deletions node_modules/@gar/promisify/LICENSE.md

This file was deleted.

36 changes: 0 additions & 36 deletions node_modules/@gar/promisify/index.js

This file was deleted.

32 changes: 0 additions & 32 deletions node_modules/@gar/promisify/package.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import ansiRegex from 'ansi-regex';

const regex = ansiRegex();

export default function stripAnsi(string) {
if (typeof string !== 'string') {
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
}

return string.replace(ansiRegex(), '');
// Even though the regex is global, we don't need to reset the `.lastIndex`
// because unlike `.exec()` and `.test()`, `.replace()` does it automatically
// and doing it manually has a performance penalty.
return string.replace(regex, '');
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "strip-ansi",
"version": "7.0.1",
"version": "7.1.0",
"description": "Strip ANSI escape codes from a string",
"license": "MIT",
"repository": "chalk/strip-ansi",
Expand Down
22 changes: 0 additions & 22 deletions node_modules/@npmcli/move-file/LICENSE.md

This file was deleted.

Loading