@pnpm/building.policy 1100.0.12 → 1100.0.14

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 ADDED
@@ -0,0 +1,150 @@
1
+ # @pnpm/building.policy
2
+
3
+ ## 1100.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/config.version-policy@1100.1.8
9
+ - @pnpm/deps.path@1100.0.10
10
+ - @pnpm/types@1101.5.0
11
+
12
+ ## 1100.0.13
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies:
17
+ - @pnpm/config.version-policy@1100.1.7
18
+ - @pnpm/deps.path@1100.0.9
19
+ - @pnpm/types@1101.4.0
20
+
21
+ ## 1100.0.12
22
+
23
+ ### Patch Changes
24
+
25
+ - c70e33e: Allow `allowBuilds` entries for git-hosted packages to match by repository URL without pinning the resolved commit hash. This lets trusted git repositories keep running their build scripts after branch updates without approving each new commit, while package-name-only rules still do not approve git-hosted artifacts.
26
+
27
+ ## 1100.0.11
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [25a829e]
32
+ - Updated dependencies [fbdc0eb]
33
+ - @pnpm/config.version-policy@1100.1.6
34
+
35
+ ## 1100.0.10
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [681b593]
40
+ - Updated dependencies [a31faa7]
41
+ - @pnpm/types@1101.3.2
42
+ - @pnpm/config.version-policy@1100.1.5
43
+ - @pnpm/deps.path@1100.0.8
44
+
45
+ ## 1100.0.9
46
+
47
+ ### Patch Changes
48
+
49
+ - bf1b731: Require trusted package identity before package-name `allowBuilds` entries can approve lifecycle scripts for git, git-hosted tarball, direct tarball, and local directory artifacts. To approve one of those artifacts explicitly, use its peer-suffix-free lockfile depPath as the `allowBuilds` key. Lockfile verification now rejects lockfiles where a registry-style dependency path (`name@semver`) is backed by a git, directory, or git-hosted tarball resolution (`ERR_PNPM_RESOLUTION_SHAPE_MISMATCH`), so the dependency path is a reliable artifact identity by the time scripts can run.
50
+ - Updated dependencies [bf1b731]
51
+ - @pnpm/types@1101.3.1
52
+ - @pnpm/config.version-policy@1100.1.4
53
+ - @pnpm/deps.path@1100.0.7
54
+
55
+ ## 1100.0.8
56
+
57
+ ### Patch Changes
58
+
59
+ - Updated dependencies [a017bf3]
60
+ - @pnpm/types@1101.3.0
61
+ - @pnpm/config.version-policy@1100.1.3
62
+ - @pnpm/deps.path@1100.0.6
63
+
64
+ ## 1100.0.7
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [35d2355]
69
+ - @pnpm/types@1101.2.0
70
+ - @pnpm/config.version-policy@1100.1.2
71
+ - @pnpm/deps.path@1100.0.5
72
+
73
+ ## 1100.0.6
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [64afc92]
78
+ - @pnpm/types@1101.1.1
79
+ - @pnpm/config.version-policy@1100.1.1
80
+ - @pnpm/deps.path@1100.0.4
81
+
82
+ ## 1100.0.5
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [b6e2c8c]
87
+ - @pnpm/config.version-policy@1100.1.0
88
+
89
+ ## 1100.0.4
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [b61e268]
94
+ - @pnpm/types@1101.1.0
95
+ - @pnpm/config.version-policy@1100.0.3
96
+ - @pnpm/deps.path@1100.0.3
97
+
98
+ ## 1100.0.3
99
+
100
+ ### Patch Changes
101
+
102
+ - ab6c42d: Treat `allowBuilds` as an install-state input and clear previously ignored builds when they are explicitly disallowed.
103
+
104
+ ## 1100.0.2
105
+
106
+ ### Patch Changes
107
+
108
+ - 184ce26: Fix the package name in README.md.
109
+ - @pnpm/config.version-policy@1100.0.2
110
+
111
+ ## 1100.0.1
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [ff28085]
116
+ - @pnpm/types@1101.0.0
117
+ - @pnpm/config.version-policy@1100.0.1
118
+
119
+ ## 1000.0.0
120
+
121
+ ### Major Changes
122
+
123
+ - 2fccb03: Initial release
124
+ - cb367b9: Remove deprecated build dependency settings: `onlyBuiltDependencies`, `onlyBuiltDependenciesFile`, `neverBuiltDependencies`, and `ignoredBuiltDependencies`.
125
+ - 7354e6b: Initial release.
126
+
127
+ ### Minor Changes
128
+
129
+ - 82f4610: Git dependencies with build scripts should respect the `dangerouslyAllowAllBuilds` settings [#10376](https://github.com/pnpm/pnpm/issues/10376).
130
+
131
+ ### Patch Changes
132
+
133
+ - Updated dependencies [76718b3]
134
+ - Updated dependencies [a8f016c]
135
+ - Updated dependencies [cc1b8e3]
136
+ - Updated dependencies [491a84f]
137
+ - Updated dependencies [7d2fd48]
138
+ - Updated dependencies [efb48dc]
139
+ - Updated dependencies [cb367b9]
140
+ - Updated dependencies [7b1c189]
141
+ - Updated dependencies [8ffb1a7]
142
+ - Updated dependencies [05fb1ae]
143
+ - Updated dependencies [71de2b3]
144
+ - Updated dependencies [10bc391]
145
+ - Updated dependencies [2df8b71]
146
+ - Updated dependencies [15549a9]
147
+ - Updated dependencies [cc7c0d2]
148
+ - Updated dependencies [efb48dc]
149
+ - @pnpm/types@1001.0.0
150
+ - @pnpm/config.version-policy@1000.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/building.policy",
3
- "version": "1100.0.12",
3
+ "version": "1100.0.14",
4
4
  "description": "Create a function for filtering out dependencies that are not allowed to be built",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -27,13 +27,13 @@
27
27
  "!*.map"
28
28
  ],
29
29
  "dependencies": {
30
- "@pnpm/config.version-policy": "1100.1.6",
31
- "@pnpm/deps.path": "1100.0.8",
32
- "@pnpm/types": "1101.3.2"
30
+ "@pnpm/config.version-policy": "1100.1.8",
31
+ "@pnpm/deps.path": "1100.0.10",
32
+ "@pnpm/types": "1101.5.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@jest/globals": "30.4.1",
36
- "@pnpm/building.policy": "1100.0.12"
36
+ "@pnpm/building.policy": "1100.0.14"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=22.13"
package/lib/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import type { AllowBuild, DepPath } from '@pnpm/types';
2
- export declare function isBuildExplicitlyDisallowed(depPath: DepPath, allowBuild?: AllowBuild): boolean;
3
- export declare function createAllowBuildFunction(opts: {
4
- dangerouslyAllowAllBuilds?: boolean;
5
- allowBuilds?: Record<string, boolean | string>;
6
- }): undefined | AllowBuild;
7
- /**
8
- * The `allowBuilds` key under which an ignored build should be approved:
9
- * the package name for registry packages, the peer-suffix-free depPath for
10
- * git/tarball artifacts, whose name alone must not approve builds.
11
- */
12
- export declare function allowBuildKeyFromIgnoredBuild(depPath: DepPath): string;