Skip to content

Commit c9587d7

Browse files
committed
deps: @npmcli/git@5.0.0
1 parent e28d426 commit c9587d7

Some content is hidden

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

45 files changed

+4240
-20
lines changed

DEPENDENCIES.md

-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ graph LR;
106106
npm-->libnpmteam;
107107
npm-->libnpmversion;
108108
npm-->make-fetch-happen;
109-
npm-->minipass-fetch;
110109
npm-->nopt;
111110
npm-->npm-audit-report;
112111
npm-->npm-install-checks;
@@ -527,7 +526,6 @@ graph LR;
527526
npm-->licensee;
528527
npm-->make-fetch-happen;
529528
npm-->minimatch;
530-
npm-->minipass-fetch;
531529
npm-->minipass-pipeline;
532530
npm-->minipass;
533531
npm-->ms;

node_modules/.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@
2222
!/@npmcli/disparity-colors
2323
!/@npmcli/fs
2424
!/@npmcli/git
25+
!/@npmcli/git/node_modules/
26+
/@npmcli/git/node_modules/*
27+
!/@npmcli/git/node_modules/lru-cache
2528
!/@npmcli/installed-package-contents
2629
!/@npmcli/map-workspaces
2730
!/@npmcli/metavuln-calculator
2831
!/@npmcli/name-from-folder
2932
!/@npmcli/node-gyp
3033
!/@npmcli/package-json
34+
!/@npmcli/package-json/node_modules/
35+
/@npmcli/package-json/node_modules/*
36+
!/@npmcli/package-json/node_modules/@npmcli/
37+
/@npmcli/package-json/node_modules/@npmcli/*
38+
!/@npmcli/package-json/node_modules/@npmcli/git
3139
!/@npmcli/promise-spawn
3240
!/@npmcli/query
3341
!/@npmcli/run-script
@@ -201,6 +209,11 @@
201209
!/once
202210
!/p-map
203211
!/pacote
212+
!/pacote/node_modules/
213+
/pacote/node_modules/*
214+
!/pacote/node_modules/@npmcli/
215+
/pacote/node_modules/@npmcli/*
216+
!/pacote/node_modules/@npmcli/git
204217
!/parse-conflict-json
205218
!/path-is-absolute
206219
!/path-key

node_modules/@npmcli/git/lib/revs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const pinflight = require('promise-inflight')
22
const spawn = require('./spawn.js')
3-
const LRU = require('lru-cache')
3+
const { LRUCache } = require('lru-cache')
44

5-
const revsCache = new LRU({
5+
const revsCache = new LRUCache({
66
max: 100,
77
ttl: 5 * 60 * 1000,
88
})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The ISC License
2+
3+
Copyright (c) 2010-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)