@pnpm/workspace.project-manifest-reader 1100.0.6 → 1100.0.8

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.js +1 -1
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -239,7 +239,7 @@ function normalize(manifest) {
239
239
  for (const key in manifest) {
240
240
  if (Object.hasOwn(manifest, key)) {
241
241
  const value = manifest[key];
242
- if (typeof value !== 'object' || !dependencyKeys.has(key)) {
242
+ if (typeof value !== 'object' || value === null || !dependencyKeys.has(key)) {
243
243
  result[key] = structuredClone(value);
244
244
  }
245
245
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/workspace.project-manifest-reader",
3
- "version": "1100.0.6",
3
+ "version": "1100.0.8",
4
4
  "description": "Read a project manifest (called package.json in most cases)",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -31,12 +31,12 @@
31
31
  "parse-json": "^8.3.0",
32
32
  "read-yaml-file": "^3.0.0",
33
33
  "strip-bom": "^5.0.0",
34
- "@pnpm/types": "1101.1.0",
35
- "@pnpm/workspace.project-manifest-writer": "1100.0.3",
36
- "@pnpm/text.comments-parser": "1100.0.0",
37
- "@pnpm/pkg-manifest.utils": "1100.1.4",
38
34
  "@pnpm/error": "1100.0.0",
39
- "@pnpm/fs.graceful-fs": "1100.1.0"
35
+ "@pnpm/pkg-manifest.utils": "1100.2.0",
36
+ "@pnpm/text.comments-parser": "1100.0.0",
37
+ "@pnpm/types": "1101.1.1",
38
+ "@pnpm/fs.graceful-fs": "1100.1.0",
39
+ "@pnpm/workspace.project-manifest-writer": "1100.0.4"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@pnpm/logger": ">=1001.0.0 <1002.0.0"
@@ -47,7 +47,7 @@
47
47
  "@types/parse-json": "^4.0.2",
48
48
  "tempy": "3.0.0",
49
49
  "@pnpm/test-fixtures": "1100.0.0",
50
- "@pnpm/workspace.project-manifest-reader": "1100.0.6"
50
+ "@pnpm/workspace.project-manifest-reader": "1100.0.8"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=22.13"