@memberjunction/testing-integration 5.51.3 → 5.51.4
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.
|
@@ -14,6 +14,18 @@ import type { ILocalStorageProvider } from '@memberjunction/core';
|
|
|
14
14
|
*/
|
|
15
15
|
export declare class InstrumentedLocalStorageProvider implements ILocalStorageProvider {
|
|
16
16
|
private readonly inner;
|
|
17
|
+
/**
|
|
18
|
+
* Delegated: this wrapper only counts calls and stores nothing of its own, so the persistence
|
|
19
|
+
* semantics are entirely the inner provider's.
|
|
20
|
+
*
|
|
21
|
+
* It matters that this passes through. The integration bootstrap wraps an in-process provider,
|
|
22
|
+
* and a wrapper that reported itself persistent would make `ProviderBase` serialize the whole
|
|
23
|
+
* metadata graph on every refresh in the test tier — exactly the cost the flag exists to avoid.
|
|
24
|
+
* `undefined` passes through deliberately too: if the inner provider does not declare its
|
|
25
|
+
* semantics, this wrapper must not invent them either.
|
|
26
|
+
* See {@link ILocalStorageProvider.SupportsCrossProcessPersistence}.
|
|
27
|
+
*/
|
|
28
|
+
get SupportsCrossProcessPersistence(): boolean | undefined;
|
|
17
29
|
GetItemCount: number;
|
|
18
30
|
GetItemsCount: number;
|
|
19
31
|
SetItemCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumented-cache.d.ts","sourceRoot":"","sources":["../src/instrumented-cache.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE;;;;;GAKG;AACH,qBAAa,gCAAiC,YAAW,qBAAqB;
|
|
1
|
+
{"version":3,"file":"instrumented-cache.d.ts","sourceRoot":"","sources":["../src/instrumented-cache.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE;;;;;GAKG;AACH,qBAAa,gCAAiC,YAAW,qBAA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20 @@
|
|
|
5
5
|
* (e.g. a dedup/linger hit) as no counter movement at all.
|
|
6
6
|
*/
|
|
7
7
|
export class InstrumentedLocalStorageProvider {
|
|
8
|
+
/**
|
|
9
|
+
* Delegated: this wrapper only counts calls and stores nothing of its own, so the persistence
|
|
10
|
+
* semantics are entirely the inner provider's.
|
|
11
|
+
*
|
|
12
|
+
* It matters that this passes through. The integration bootstrap wraps an in-process provider,
|
|
13
|
+
* and a wrapper that reported itself persistent would make `ProviderBase` serialize the whole
|
|
14
|
+
* metadata graph on every refresh in the test tier — exactly the cost the flag exists to avoid.
|
|
15
|
+
* `undefined` passes through deliberately too: if the inner provider does not declare its
|
|
16
|
+
* semantics, this wrapper must not invent them either.
|
|
17
|
+
* See {@link ILocalStorageProvider.SupportsCrossProcessPersistence}.
|
|
18
|
+
*/
|
|
19
|
+
get SupportsCrossProcessPersistence() {
|
|
20
|
+
return this.inner.SupportsCrossProcessPersistence;
|
|
21
|
+
}
|
|
8
22
|
constructor(inner) {
|
|
9
23
|
this.inner = inner;
|
|
10
24
|
this.GetItemCount = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumented-cache.js","sourceRoot":"","sources":["../src/instrumented-cache.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,MAAM,OAAO,gCAAgC;
|
|
1
|
+
{"version":3,"file":"instrumented-cache.js","sourceRoot":"","sources":["../src/instrumented-cache.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,MAAM,OAAO,gCAAgC;IACzC;;;;;;;;;;OAUG;IACH,IAAW,+BAA+B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,+BAA+B,CAAC;IACtD,CAAC;IAQD,YAA6B,KAA4B;QAA5B,UAAK,GAAL,KAAK,CAAuB;QANlD,iBAAY,GAAG,CAAC,CAAC;QACjB,kBAAa,GAAG,CAAC,CAAC;QAClB,iBAAY,GAAG,CAAC,CAAC;QACjB,gBAAW,GAAG,CAAC,CAAC;QACf,gBA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3
3
|
"type": "module",
|
|
4
|
-
"version": "5.51.
|
|
4
|
+
"version": "5.51.4",
|
|
5
5
|
"description": "MemberJunction Integration Test bootstrap library, IntegrationCheck registry, and IntegrationTestDriver. Installs an instrumented LocalCacheManager as the first caller and owns its process.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
"author": "MemberJunction.com",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@memberjunction/core": "5.51.
|
|
21
|
-
"@memberjunction/core-entities": "5.51.
|
|
22
|
-
"@memberjunction/global": "5.51.
|
|
23
|
-
"@memberjunction/testing-engine": "5.51.
|
|
24
|
-
"@memberjunction/testing-engine-base": "5.51.
|
|
25
|
-
"@memberjunction/sqlserver-dataprovider": "5.51.
|
|
26
|
-
"@memberjunction/graphql-dataprovider": "5.51.
|
|
27
|
-
"@memberjunction/server-bootstrap-lite": "5.51.
|
|
20
|
+
"@memberjunction/core": "5.51.4",
|
|
21
|
+
"@memberjunction/core-entities": "5.51.4",
|
|
22
|
+
"@memberjunction/global": "5.51.4",
|
|
23
|
+
"@memberjunction/testing-engine": "5.51.4",
|
|
24
|
+
"@memberjunction/testing-engine-base": "5.51.4",
|
|
25
|
+
"@memberjunction/sqlserver-dataprovider": "5.51.4",
|
|
26
|
+
"@memberjunction/graphql-dataprovider": "5.51.4",
|
|
27
|
+
"@memberjunction/server-bootstrap-lite": "5.51.4",
|
|
28
28
|
"cosmiconfig": "9.0.0",
|
|
29
29
|
"dotenv": "17.2.4",
|
|
30
30
|
"mssql": "^12.2.0"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@memberjunction/postgresql-dataprovider": "5.51.
|
|
33
|
+
"@memberjunction/postgresql-dataprovider": "5.51.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "^5.9.3",
|