@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 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
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Verdaccio contributors
3
+ Copyright (c) 2025 Verdaccio contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -6,7 +6,6 @@
6
6
  [![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
7
7
  [![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
8
8
 
9
- [![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
10
9
  [![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](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.7",
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.7",
33
- "@verdaccio/core": "8.0.0-next-8.7",
34
- "@verdaccio/utils": "8.1.0-next-8.7",
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.7",
43
- "@verdaccio/types": "13.0.0-next-8.2",
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.6.3"
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(new Error('something awful happened'));
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
- new Error('bad status code: 409')
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 () => {