@pnpm/assert-store 1100.0.21 → 1100.0.23

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,22 @@
1
1
  # @pnpm/assert-store
2
2
 
3
+ ## 1100.0.23
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/store.cafs@1100.1.16
9
+
10
+ ## 1100.0.22
11
+
12
+ ### Patch Changes
13
+
14
+ - Republished every package: the tarballs published by the v11.13.1 through v11.16.0 releases were missing most of their compiled files due to a packing bug [#13164](https://github.com/pnpm/pnpm/issues/13164).
15
+
16
+ - Updated dependencies:
17
+ - @pnpm/store.cafs@1100.1.15
18
+ - @pnpm/store.index@1100.2.2
19
+
3
20
  ## 1100.0.21
4
21
 
5
22
  ### Patch Changes
package/lib/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ export interface StoreAssertions {
2
+ getPkgIndexFilePath: (pkgName: string, version: string) => string;
3
+ cafsHas: (pkgName: string, version: string) => void;
4
+ cafsHasNot: (pkgName: string, version: string) => void;
5
+ storeHas: (pkgName: string, version?: string) => void;
6
+ storeHasNot: (pkgName: string, version?: string) => void;
7
+ resolve: (pkgName: string, version?: string, relativePath?: string) => string;
8
+ }
9
+ export declare function assertStore(storePath: string, encodedRegistryName?: string): StoreAssertions;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAW9E,MAAM,UAAU,WAAW,CACzB,SAAiB,EACjB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B,CAAC;QACH,CAAC;QACD,QAAQ,CAAE,OAAe,EAAE,OAAgB;YACzC,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YACnD,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAA;QAChC,CAAC;QACD,WAAW,CAAE,OAAe,EAAE,OAAgB;YAC5C,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YACnD,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAA;QACnC,CAAC;QACD,OAAO,CAAE,OAAe,EAAE,OAAgB,EAAE,YAAqB;YAC/D,MAAM,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAA;YACtE,IAAI,YAAY,EAAE,CAAC;gBACjB,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,EAAE,YAAY,CAAC,CAAA;YACtD,CAAC;YACD,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;QACxC,CAAC;KACF,CAAA;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnpm/assert-store",
3
3
  "description": "Utils for testing pnpm store",
4
- "version": "1100.0.21",
4
+ "version": "1100.0.23",
5
5
  "bugs": {
6
6
  "url": "https://github.com/pnpm/pnpm/issues"
7
7
  },
@@ -29,13 +29,13 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@jest/globals": "30.4.1",
32
- "@pnpm/store.cafs": "1100.1.14",
33
- "@pnpm/store.index": "1100.2.1",
32
+ "@pnpm/store.cafs": "1100.1.16",
33
+ "@pnpm/store.index": "1100.2.2",
34
34
  "@pnpm/testing.registry-mock": "1100.0.11"
35
35
  },
36
36
  "devDependencies": {
37
- "@pnpm/assert-store": "1100.0.21",
38
- "@pnpm/constants": "1100.0.0",
37
+ "@pnpm/assert-store": "1100.0.23",
38
+ "@pnpm/constants": "1100.0.1",
39
39
  "@types/node": "^22.19.19"
40
40
  },
41
41
  "scripts": {