@pnpm/lockfile.types 1001.0.8 → 1001.1.0

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +5 -1
  2. package/package.json +5 -4
package/lib/index.d.ts CHANGED
@@ -95,7 +95,11 @@ export interface GitRepositoryResolution {
95
95
  commit: string;
96
96
  path?: string;
97
97
  }
98
- export type Resolution = TarballResolution | GitRepositoryResolution | DirectoryResolution;
98
+ export interface NodeRuntimeResolution {
99
+ type: 'nodeRuntime';
100
+ integrity: string;
101
+ }
102
+ export type Resolution = TarballResolution | GitRepositoryResolution | DirectoryResolution | NodeRuntimeResolution;
99
103
  export type LockfileResolution = Resolution | {
100
104
  integrity: string;
101
105
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/lockfile.types",
3
- "version": "1001.0.8",
3
+ "version": "1001.1.0",
4
4
  "description": "Types for the pnpm-lock.yaml lockfile",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -15,6 +15,7 @@
15
15
  "bugs": {
16
16
  "url": "https://github.com/pnpm/pnpm/issues"
17
17
  },
18
+ "type": "commonjs",
18
19
  "main": "lib/index.js",
19
20
  "types": "lib/index.d.ts",
20
21
  "exports": {
@@ -25,11 +26,11 @@
25
26
  "!*.map"
26
27
  ],
27
28
  "dependencies": {
28
- "@pnpm/patching.types": "1000.1.0",
29
- "@pnpm/types": "1000.6.0"
29
+ "@pnpm/types": "1000.7.0",
30
+ "@pnpm/patching.types": "1000.1.0"
30
31
  },
31
32
  "devDependencies": {
32
- "@pnpm/lockfile.types": "1001.0.8"
33
+ "@pnpm/lockfile.types": "1001.1.0"
33
34
  },
34
35
  "engines": {
35
36
  "node": ">=18.12"