@pnpm/hooks.read-package-hook 1100.2.2 → 1100.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @pnpm/hooks.read-package-hook
2
2
 
3
+ ## 1100.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/config.parse-overrides@1100.1.3
9
+ - @pnpm/error@1100.1.2
10
+
11
+ ## 1100.2.3
12
+
13
+ ### Patch Changes
14
+
15
+ - `ng build` and `nuxt build` now work under the global virtual store: pnpm's built-in compatibility extensions add the `tslib` dependency that `@angular/build` uses without declaring and the `unplugin` dependency that `@nuxt/vite-builder` v4 uses without declaring.
16
+
3
17
  ## 1100.2.2
4
18
 
5
19
  ### Patch Changes
@@ -9,10 +9,18 @@ const PACKAGE_EXTENSION_FIELDS = [
9
9
  'peerDependencies',
10
10
  'peerDependenciesMeta',
11
11
  ];
12
+ // pnpm-specific entries not in `@yarnpkg/extensions` yet; keep identical
13
+ // to pacquet's `pnpm_compat_package_extensions.json`.
14
+ const pnpmCompatPackageExtensions = [
15
+ ['@angular/build@*', { dependencies: { tslib: '^2.3.0' } }],
16
+ ['@nuxt/vite-builder@>=4.0.0 <4.5.0', { dependencies: { unplugin: '^2.3.5' } }],
17
+ ['@nuxt/vite-builder@>=4.5.0', { dependencies: { unplugin: '^3.3.0' } }],
18
+ ];
12
19
  export function getEffectivePackageExtensions({ ignoreCompatibilityDb, packageExtensions, }) {
13
20
  const effectivePackageExtensions = {};
14
21
  if (!ignoreCompatibilityDb) {
15
22
  mergePackageExtensions(effectivePackageExtensions, compatPackageExtensions);
23
+ mergePackageExtensions(effectivePackageExtensions, pnpmCompatPackageExtensions);
16
24
  }
17
25
  if (!isEmpty(packageExtensions ?? {})) {
18
26
  mergePackageExtensions(effectivePackageExtensions, Object.entries(packageExtensions));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/hooks.read-package-hook",
3
- "version": "1100.2.2",
3
+ "version": "1100.2.4",
4
4
  "description": "Creates the default package reader hook used by pnpm",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -28,9 +28,9 @@
28
28
  ],
29
29
  "dependencies": {
30
30
  "@pnpm/config.matcher": "1100.0.2",
31
- "@pnpm/config.parse-overrides": "1100.1.2",
31
+ "@pnpm/config.parse-overrides": "1100.1.3",
32
32
  "@pnpm/deps.peer-range": "1100.1.1",
33
- "@pnpm/error": "1100.1.1",
33
+ "@pnpm/error": "1100.1.2",
34
34
  "@pnpm/resolving.parse-wanted-dependency": "1100.0.2",
35
35
  "@pnpm/types": "1101.9.0",
36
36
  "@yarnpkg/extensions": "2.0.7",
@@ -40,10 +40,10 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@jest/globals": "30.4.1",
43
- "@pnpm/hooks.read-package-hook": "1100.2.2",
43
+ "@pnpm/hooks.read-package-hook": "1100.2.4",
44
44
  "@types/normalize-path": "^3.0.2",
45
45
  "@types/ramda": "0.32.0",
46
- "@types/semver": "7.7.1",
46
+ "@types/semver": "7.8.0",
47
47
  "@yarnpkg/core": "4.9.1"
48
48
  },
49
49
  "engines": {