registry-sync 8.2.1 → 8.2.2
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/package.json +5 -10
- package/src/resolve.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "registry-sync",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.2",
|
|
4
4
|
"description": "synchronize a remote npm registry for private use",
|
|
5
5
|
"repository": "https://github.com/heikkipora/registry-sync",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build": "./build-npm",
|
|
12
12
|
"eslint": "eslint --max-warnings=0 src test release-test/server/src",
|
|
13
13
|
"fix-eslint": "eslint --fix src test release-test/server/src",
|
|
14
|
-
"test": "
|
|
14
|
+
"test": "node --test --test-timeout 120000 --test-concurrency 1 test/*.ts",
|
|
15
15
|
"typecheck": "tsc",
|
|
16
16
|
"release-test": "cd release-test && ./run-sync-install-cycle.sh",
|
|
17
17
|
"refresh-manifests": "cd test/manifests && ./refresh-manifests.sh"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@yarnpkg/lockfile": "1.1.0",
|
|
23
|
-
"axios": "1.13.
|
|
23
|
+
"axios": "1.13.6",
|
|
24
24
|
"commander": "14.0.3",
|
|
25
25
|
"lru-cache": "11.2.6",
|
|
26
26
|
"semver": "7.7.4",
|
|
@@ -28,22 +28,17 @@
|
|
|
28
28
|
"tar-fs": "3.1.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/
|
|
32
|
-
"@types/lodash": "4.17.23",
|
|
33
|
-
"@types/mocha": "10.0.10",
|
|
31
|
+
"@types/lodash": "4.17.24",
|
|
34
32
|
"@types/node": "22.18.0",
|
|
35
33
|
"@types/semver": "7.7.1",
|
|
36
34
|
"@types/ssri": "7.1.5",
|
|
37
35
|
"@types/tar-fs": "2.0.4",
|
|
38
36
|
"@types/yarnpkg__lockfile": "1.1.9",
|
|
39
|
-
"chai": "6.2.2",
|
|
40
37
|
"eslint": "9.39.2",
|
|
41
|
-
"eslint-plugin-mocha": "11.2.0",
|
|
42
38
|
"express": "5.2.1",
|
|
43
39
|
"globals": "17.3.0",
|
|
44
|
-
"mocha": "11.7.5",
|
|
45
40
|
"typescript": "5.9.3",
|
|
46
|
-
"typescript-eslint": "8.
|
|
41
|
+
"typescript-eslint": "8.56.1"
|
|
47
42
|
},
|
|
48
43
|
"keywords": [
|
|
49
44
|
"registry",
|
package/src/resolve.js
CHANGED
|
@@ -48,7 +48,7 @@ async function loadCache(cacheFilePath) {
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function isNonRegistryYarnPackagePattern(packagePattern) {
|
|
51
|
+
export function isNonRegistryYarnPackagePattern(packagePattern) {
|
|
52
52
|
if (
|
|
53
53
|
// See https://github.com/yarnpkg/yarn/blob/953c8b6a20e360b097625d64189e6e56ed813e0f/src/resolvers/exotics/link-resolver.js#L14
|
|
54
54
|
packagePattern.startsWith('link:') ||
|