@verdaccio/proxy 8.0.0-next-8.7 → 8.0.0-next-8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/LICENSE +1 -1
- package/README.md +0 -1
- package/package.json +7 -8
- package/test/proxy.metadata.spec.ts +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @verdaccio/proxy
|
|
2
2
|
|
|
3
|
+
## 8.0.0-next-8.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @verdaccio/core@8.0.0-next-8.9
|
|
8
|
+
- @verdaccio/config@8.0.0-next-8.9
|
|
9
|
+
- @verdaccio/utils@8.1.0-next-8.9
|
|
10
|
+
|
|
11
|
+
## 8.0.0-next-8.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [0588605]
|
|
16
|
+
- Updated dependencies [ca91b9a]
|
|
17
|
+
- @verdaccio/config@8.0.0-next-8.8
|
|
18
|
+
- @verdaccio/core@8.0.0-next-8.8
|
|
19
|
+
- @verdaccio/utils@8.1.0-next-8.8
|
|
20
|
+
|
|
3
21
|
## 8.0.0-next-8.7
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
[](https://crowdin.com/project/verdaccio)
|
|
7
7
|
[](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
|
|
8
8
|
|
|
9
|
-
[](https://twitter.com/verdaccio_npm)
|
|
10
9
|
[](https://github.com/verdaccio/verdaccio/stargazers)
|
|
11
10
|
|
|
12
11
|
## Donations
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/proxy",
|
|
3
|
-
"version": "8.0.0-next-8.
|
|
3
|
+
"version": "8.0.0-next-8.9",
|
|
4
4
|
"description": "verdaccio proxy fetcher",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"node": ">=18"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@verdaccio/config": "8.0.0-next-8.
|
|
33
|
-
"@verdaccio/core": "8.0.0-next-8.
|
|
34
|
-
"@verdaccio/utils": "8.1.0-next-8.
|
|
32
|
+
"@verdaccio/config": "8.0.0-next-8.9",
|
|
33
|
+
"@verdaccio/core": "8.0.0-next-8.9",
|
|
34
|
+
"@verdaccio/utils": "8.1.0-next-8.9",
|
|
35
35
|
"JSONStream": "1.3.5",
|
|
36
36
|
"debug": "4.4.0",
|
|
37
37
|
"got-cjs": "12.5.4",
|
|
@@ -39,13 +39,12 @@
|
|
|
39
39
|
"lodash": "4.17.21"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@verdaccio/logger": "8.0.0-next-8.
|
|
43
|
-
"@verdaccio/types": "13.0.0-next-8.
|
|
42
|
+
"@verdaccio/logger": "8.0.0-next-8.9",
|
|
43
|
+
"@verdaccio/types": "13.0.0-next-8.3",
|
|
44
44
|
"get-stream": "^6.0.1",
|
|
45
|
-
"nock": "13.5.1",
|
|
46
45
|
"node-mocks-http": "1.14.1",
|
|
47
46
|
"p-cancelable": "2.1.1",
|
|
48
|
-
"semver": "7.
|
|
47
|
+
"semver": "7.7.1"
|
|
49
48
|
},
|
|
50
49
|
"funding": {
|
|
51
50
|
"type": "opencollective",
|
|
@@ -167,14 +167,14 @@ describe('proxy', () => {
|
|
|
167
167
|
prox1.getRemoteMetadata('jquery', {
|
|
168
168
|
remoteAddress: '127.0.0.1',
|
|
169
169
|
})
|
|
170
|
-
).rejects.toThrow(
|
|
170
|
+
).rejects.toThrow(/something awful happened/);
|
|
171
171
|
});
|
|
172
172
|
|
|
173
173
|
test('reply with 409 error', async () => {
|
|
174
174
|
nock(domain).get('/jquery').reply(409);
|
|
175
175
|
const prox1 = new ProxyStorage(defaultRequestOptions, conf, logger);
|
|
176
176
|
await expect(prox1.getRemoteMetadata('jquery', { retry: { limit: 0 } })).rejects.toThrow(
|
|
177
|
-
|
|
177
|
+
/bad status code: 409/
|
|
178
178
|
);
|
|
179
179
|
});
|
|
180
180
|
|
|
@@ -195,9 +195,7 @@ describe('proxy', () => {
|
|
|
195
195
|
prox1.getRemoteMetadata('jquery', {
|
|
196
196
|
remoteAddress: '127.0.0.1',
|
|
197
197
|
})
|
|
198
|
-
).rejects.toThrow(
|
|
199
|
-
errorUtils.getInternalError(`${errorUtils.API_ERROR.BAD_STATUS_CODE}: 409`)
|
|
200
|
-
);
|
|
198
|
+
).rejects.toThrow(/bad status code: 409/);
|
|
201
199
|
});
|
|
202
200
|
|
|
203
201
|
test('proxy not found', async () => {
|