Skip to content
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
9 changes: 4 additions & 5 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ graph LR;
cacache-->ssri;
cacache-->unique-filename;
debug-->ms;
encoding-->iconv-lite;
fdir-->picomatch;
fs-minipass-->minipass;
gar-promise-retry-->retry;
Expand Down Expand Up @@ -384,6 +383,7 @@ graph LR;
libnpmversion-->semver;
libnpmversion-->tap;
make-fetch-happen-->cacache;
make-fetch-happen-->gar-promise-retry["@gar/promise-retry"];
make-fetch-happen-->http-cache-semantics;
make-fetch-happen-->minipass-fetch;
make-fetch-happen-->minipass-flush;
Expand All @@ -392,12 +392,11 @@ graph LR;
make-fetch-happen-->negotiator;
make-fetch-happen-->npmcli-agent["@npmcli/agent"];
make-fetch-happen-->proc-log;
make-fetch-happen-->promise-retry;
make-fetch-happen-->ssri;
minimatch-->brace-expansion;
minipass-->yallist;
minipass-collect-->minipass;
minipass-fetch-->encoding;
minipass-fetch-->iconv-lite;
minipass-fetch-->minipass-sized;
minipass-fetch-->minipass;
minipass-fetch-->minizlib;
Expand Down Expand Up @@ -599,12 +598,12 @@ graph LR;
npmcli-docs-->unified;
npmcli-docs-->yaml;
npmcli-fs-->semver;
npmcli-git-->gar-promise-retry["@gar/promise-retry"];
npmcli-git-->ini;
npmcli-git-->lru-cache;
npmcli-git-->npm-pick-manifest;
npmcli-git-->npmcli-promise-spawn["@npmcli/promise-spawn"];
npmcli-git-->proc-log;
npmcli-git-->promise-retry;
npmcli-git-->semver;
npmcli-git-->which;
npmcli-installed-package-contents-->npm-bundled;
Expand Down Expand Up @@ -654,6 +653,7 @@ graph LR;
npmcli-smoke-tests-->which;
pacote-->cacache;
pacote-->fs-minipass;
pacote-->gar-promise-retry["@gar/promise-retry"];
pacote-->minipass;
pacote-->npm-package-arg;
pacote-->npm-packlist;
Expand All @@ -665,7 +665,6 @@ graph LR;
pacote-->npmcli-promise-spawn["@npmcli/promise-spawn"];
pacote-->npmcli-run-script["@npmcli/run-script"];
pacote-->proc-log;
pacote-->promise-retry;
pacote-->sigstore;
pacote-->ssri;
pacote-->tar;
Expand Down
1 change: 0 additions & 1 deletion node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
!/cssesc
!/debug
!/diff
!/encoding
!/env-paths
!/err-code
!/exponential-backoff
Expand Down
2 changes: 1 addition & 1 deletion node_modules/@gar/promise-retry/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function promiseRetry (fn, options = {}) {
try {
const result = await fn(err => {
throw Object.assign(new Error('Retrying'), { code: 'EPROMISERETRY', retried: err })
}, number)
}, number, operation)
return resolve(result)
} catch (err) {
if (isRetryError(err)) {
Expand Down
14 changes: 11 additions & 3 deletions node_modules/@gar/promise-retry/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"name": "@gar/promise-retry",
"version": "1.0.0",
"version": "1.0.2",
"description": "Retries a function that returns a promise, leveraging the power of the retry module.",
"main": "./lib/index.js",
"files": [
"lib"
],
"type": "commonjs",
"exports": {
"." : [ { "default": "./lib/index.js" }, "./lib/index.js" ]
".": [
{
"default": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./lib/index.js"
]
},
"scripts": {
"lint": "npx standard",
"lint:fix": "npx standard --fix",
"test": "node --test --experimental-test-coverage --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100",
"posttest": "npm run lint"
"typelint": "npx -p typescript tsc ./lib/index.d.ts",
"posttest": "npm run lint",
"postlint": "npm run typelint"
},
"bugs": {
"url": "https://github.com/wraithgar/node-promise-retry/issues/"
Expand Down
2 changes: 1 addition & 1 deletion node_modules/@npmcli/git/lib/spawn.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const spawn = require('@npmcli/promise-spawn')
const promiseRetry = require('promise-retry')
const { promiseRetry } = require('@gar/promise-retry')
const { log } = require('proc-log')
const makeError = require('./make-error.js')
const makeOpts = require('./opts.js')
Expand Down
4 changes: 2 additions & 2 deletions node_modules/@npmcli/git/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@npmcli/git",
"version": "7.0.1",
"version": "7.0.2",
"main": "lib/index.js",
"files": [
"bin/",
Expand Down Expand Up @@ -38,12 +38,12 @@
"tap": "^16.0.1"
},
"dependencies": {
"@gar/promise-retry": "^1.0.0",
"@npmcli/promise-spawn": "^9.0.0",
"ini": "^6.0.0",
"lru-cache": "^11.2.1",
"npm-pick-manifest": "^11.0.1",
"proc-log": "^6.0.0",
"promise-retry": "^2.0.1",
"semver": "^7.3.5",
"which": "^6.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions node_modules/balanced-match/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "balanced-match",
"description": "Match balanced character pairs, like \"{\" and \"}\"",
"version": "4.0.3",
"version": "4.0.4",
"files": [
"dist"
],
Expand Down Expand Up @@ -41,7 +41,7 @@
"@types/node": "^25.2.1",
"mkdirp": "^3.0.1",
"prettier": "^3.3.2",
"tap": "^21.1.0",
"tap": "^21.6.2",
"tshy": "^3.0.2",
"typedoc": "^0.28.5"
},
Expand All @@ -54,7 +54,7 @@
],
"license": "MIT",
"engines": {
"node": "20 || >=22"
"node": "18 || 20 || >=22"
},
"tshy": {
"exports": {
Expand Down
6 changes: 3 additions & 3 deletions node_modules/brace-expansion/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "brace-expansion",
"description": "Brace expansion as known from sh/bash",
"version": "5.0.2",
"version": "5.0.3",
"files": [
"dist"
],
Expand Down Expand Up @@ -37,7 +37,7 @@
"@types/node": "^25.2.1",
"mkdirp": "^3.0.1",
"prettier": "^3.3.2",
"tap": "^21.5.0",
"tap": "^21.6.2",
"tshy": "^3.0.2",
"typedoc": "^0.28.5"
},
Expand All @@ -46,7 +46,7 @@
},
"license": "MIT",
"engines": {
"node": "20 || >=22"
"node": "18 || 20 || >=22"
},
"tshy": {
"exports": {
Expand Down
16 changes: 0 additions & 16 deletions node_modules/encoding/LICENSE

This file was deleted.

83 changes: 0 additions & 83 deletions node_modules/encoding/lib/encoding.js

This file was deleted.

18 changes: 0 additions & 18 deletions node_modules/encoding/package.json

This file was deleted.

49 changes: 0 additions & 49 deletions node_modules/encoding/test/test.js

This file was deleted.

Loading
Loading