Skip to content

Commit 0c4f060

Browse files
committedJul 15, 2019
cacache@12.0.0, infer uid from cache folder
BREAKING CHANGE: uid and gid are inferred from cache folder, rather than being passed in as options.
1 parent 4b62980 commit 0c4f060

File tree

4 files changed

+30
-34
lines changed

4 files changed

+30
-34
lines changed
 

‎config.js

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ module.exports = figgyPudding({
1919
'fetch-retry-mintimeout': {},
2020
'force-auth': {},
2121
forceAuth: 'force-auth',
22-
'gid': {},
2322
'gzip': {},
2423
'headers': {},
2524
'https-proxy': {},
@@ -77,7 +76,6 @@ module.exports = figgyPudding({
7776
'spec': {},
7877
'strict-ssl': {},
7978
'timeout': {},
80-
'uid': {},
8179
'user-agent': {
8280
default: `${
8381
pkg.name

‎index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ function regFetch (uri, opts) {
9999
maxTimeout: opts['fetch-retry-maxtimeout']
100100
},
101101
strictSSL: !!opts['strict-ssl'],
102-
timeout: opts.timeout,
103-
uid: opts.uid,
104-
gid: opts.gid
102+
timeout: opts.timeout
105103
}).then(res => checkResponse(
106104
opts.method || 'GET', res, registry, startTime, opts
107105
)))

‎package-lock.json

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
"bluebird": "^3.5.1",
3434
"figgy-pudding": "^3.4.1",
3535
"lru-cache": "^5.1.1",
36-
"make-fetch-happen": "^4.0.2",
36+
"make-fetch-happen": "^5.0.0",
3737
"npm-package-arg": "^6.1.0"
3838
},
3939
"devDependencies": {
40-
"cacache": "^11.3.3",
40+
"cacache": "^12.0.0",
4141
"get-stream": "^4.0.0",
4242
"mkdirp": "^0.5.1",
4343
"nock": "^9.4.3",

0 commit comments

Comments
 (0)