@pnpm/store-connection-manager 8.3.10 → 8.4.1
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.
|
@@ -5,6 +5,7 @@ type CreateResolverOptions = Pick<Config, 'fetchRetries' | 'fetchRetryFactor' |
|
|
|
5
5
|
export type CreateNewStoreControllerOptions = CreateResolverOptions & Pick<Config, 'ca' | 'cert' | 'engineStrict' | 'force' | 'nodeVersion' | 'fetchTimeout' | 'gitShallowHosts' | 'ignoreScripts' | 'hooks' | 'httpProxy' | 'httpsProxy' | 'key' | 'localAddress' | 'maxSockets' | 'networkConcurrency' | 'noProxy' | 'offline' | 'packageImportMethod' | 'preferOffline' | 'registry' | 'registrySupportsTimeField' | 'resolutionMode' | 'strictSsl' | 'unsafePerm' | 'userAgent' | 'verifyStoreIntegrity' | 'virtualStoreDirMaxLength'> & {
|
|
6
6
|
cafsLocker?: CafsLocker;
|
|
7
7
|
ignoreFile?: (filename: string) => boolean;
|
|
8
|
+
fetchFullMetadata?: boolean;
|
|
8
9
|
} & Partial<Pick<Config, 'userConfig' | 'deployAllFiles' | 'sslConfigs' | 'strictStorePkgContentCheck'>> & Pick<ClientOptions, 'resolveSymlinksInInjectedDirs'>;
|
|
9
10
|
export declare function createNewStoreController(opts: CreateNewStoreControllerOptions): Promise<{
|
|
10
11
|
ctrl: StoreController;
|
|
@@ -6,7 +6,7 @@ const client_1 = require("@pnpm/client");
|
|
|
6
6
|
const package_store_1 = require("@pnpm/package-store");
|
|
7
7
|
const cli_meta_1 = require("@pnpm/cli-meta");
|
|
8
8
|
async function createNewStoreController(opts) {
|
|
9
|
-
const fullMetadata = opts.resolutionMode === 'time-based' && !opts.registrySupportsTimeField;
|
|
9
|
+
const fullMetadata = opts.fetchFullMetadata ?? (opts.resolutionMode === 'time-based' && !opts.registrySupportsTimeField);
|
|
10
10
|
const { resolve, fetchers, clearResolutionCache } = (0, client_1.createClient)({
|
|
11
11
|
customFetchers: opts.hooks?.fetchers,
|
|
12
12
|
userConfig: opts.userConfig,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNewStoreController.js","sourceRoot":"","sources":["../src/createNewStoreController.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"createNewStoreController.js","sourceRoot":"","sources":["../src/createNewStoreController.ts"],"names":[],"mappings":";;AAkDA,4DAiEC;AAnHD,2BAAmC;AACnC,yCAA+D;AAE/D,uDAA+F;AAC/F,6CAA+C;AA8CxC,KAAK,UAAU,wBAAwB,CAC5C,IAAqC;IAErC,MAAM,YAAY,GAAG,IAAI,CAAC,iBAAiB,IAAI,CAAC,IAAI,CAAC,cAAc,KAAK,YAAY,IAAI,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAA;IACxH,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,GAAG,IAAA,qBAAY,EAAC;QAC/D,cAAc,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ;QACpC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,UAAU,EAAE,IAAI,CAAC,SAAS;QAC1B,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,YAAY;QACZ,cAAc,EAAE,YAAY;QAC5B,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,GAAG,EAAE,IAAI,CAAC,GAAG;QACb,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,UAAU,EAAE,IAAI,CAAC,UAA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oBAAoB,EAAE,OAAO,IAAI,CAAC,oBAAoB,KAAK,SAAS;gBAClE,CAAC,CAAC,IAAI,CAAC,oBAAoB;gBAC3B,CAAC,CAAC,IAAI;YACR,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;YACvD,0BAA0B,EAAE,IAAI,CAAC,0BAA0B;YAC3D,oBAAoB;SACrB,CAAC;QACF,GAAG,EAAE,IAAI,CAAC,QAAQ;KACnB,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/store-connection-manager",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.1",
|
|
4
4
|
"description": "Create a direct pnpm store controller or connect to a running store server",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/store/store-connection-manager#readme",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@pnpm/
|
|
26
|
-
"@pnpm/
|
|
25
|
+
"@pnpm/logger": "5.2.0",
|
|
26
|
+
"@pnpm/store-connection-manager": "8.4.1"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@zkochan/diable": "^1.0.2",
|
|
30
30
|
"delay": "^5.0.0",
|
|
31
31
|
"dir-is-case-sensitive": "^2.0.0",
|
|
32
32
|
"@pnpm/cli-meta": "6.2.2",
|
|
33
|
-
"@pnpm/
|
|
34
|
-
"@pnpm/
|
|
35
|
-
"@pnpm/error": "6.0.
|
|
36
|
-
"@pnpm/
|
|
37
|
-
"@pnpm/store
|
|
38
|
-
"@pnpm/
|
|
33
|
+
"@pnpm/client": "11.1.11",
|
|
34
|
+
"@pnpm/config": "21.8.4",
|
|
35
|
+
"@pnpm/error": "6.0.2",
|
|
36
|
+
"@pnpm/server": "18.2.6",
|
|
37
|
+
"@pnpm/package-store": "20.4.1",
|
|
38
|
+
"@pnpm/store-path": "9.0.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@pnpm/logger": "^5.1.0"
|