@pnpm/workspace.workspace-manifest-writer 1100.2.1 → 1100.2.3

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,30 @@
1
1
  # @pnpm/workspace.manifest-writer
2
2
 
3
+ ## 1100.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/building.policy@1100.1.4
9
+ - @pnpm/config.parse-overrides@1100.1.7
10
+ - @pnpm/config.version-policy@1100.2.5
11
+ - @pnpm/lockfile.types@1100.1.4
12
+ - @pnpm/workspace.workspace-manifest-reader@1100.2.1
13
+
14
+ ## 1100.2.2
15
+
16
+ ### Patch Changes
17
+
18
+ - pnpm now treats a missing global `config.yaml`, `auth.ini`, or other optional config file as absent in Node.js-compatible runtimes such as StackBlitz WebContainers. Commands such as `pnpm --version` failed there with `ENOENT` [#14030](https://github.com/pnpm/pnpm/issues/14030).
19
+
20
+ - Updated dependencies:
21
+ - @pnpm/building.policy@1100.1.3
22
+ - @pnpm/config.parse-overrides@1100.1.6
23
+ - @pnpm/config.version-policy@1100.2.4
24
+ - @pnpm/lockfile.types@1100.1.3
25
+ - @pnpm/types@1102.1.1
26
+ - @pnpm/workspace.workspace-manifest-reader@1100.2.0
27
+
3
28
  ## 1100.2.1
4
29
 
5
30
  ### Patch Changes
package/lib/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import fs from 'node:fs';
2
2
  import path from 'node:path';
3
- import util from 'node:util';
4
3
  import { packageNameFromAllowBuildKey, UNDECIDED_ALLOW_BUILD } from '@pnpm/building.policy';
5
4
  import { parsePkgAndParentSelector } from '@pnpm/config.parse-overrides';
6
5
  import { mergePackageVersionSpecs, parseVersionPolicyRule } from '@pnpm/config.version-policy';
@@ -25,7 +24,7 @@ async function readManifestRaw(file) {
25
24
  return (await fs.promises.readFile(file)).toString();
26
25
  }
27
26
  catch (err) {
28
- if (util.types.isNativeError(err) && 'code' in err && err.code === 'ENOENT') {
27
+ if (err != null && typeof err === 'object' && 'code' in err && err.code === 'ENOENT') {
29
28
  return undefined;
30
29
  }
31
30
  throw err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/workspace.workspace-manifest-writer",
3
- "version": "1100.2.1",
3
+ "version": "1100.2.3",
4
4
  "description": "Updates the workspace manifest file",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -27,15 +27,15 @@
27
27
  "!*.map"
28
28
  ],
29
29
  "dependencies": {
30
- "@pnpm/building.policy": "1100.1.2",
30
+ "@pnpm/building.policy": "1100.1.4",
31
31
  "@pnpm/catalogs.types": "1100.0.1",
32
- "@pnpm/config.parse-overrides": "1100.1.5",
33
- "@pnpm/config.version-policy": "1100.2.3",
32
+ "@pnpm/config.parse-overrides": "1100.1.7",
33
+ "@pnpm/config.version-policy": "1100.2.5",
34
34
  "@pnpm/constants": "1102.0.0",
35
- "@pnpm/lockfile.types": "1100.1.2",
35
+ "@pnpm/lockfile.types": "1100.1.4",
36
36
  "@pnpm/text.ordinal-comparator": "1100.0.0",
37
- "@pnpm/types": "1102.1.0",
38
- "@pnpm/workspace.workspace-manifest-reader": "1100.1.9",
37
+ "@pnpm/types": "1102.1.1",
38
+ "@pnpm/workspace.workspace-manifest-reader": "1100.2.1",
39
39
  "@pnpm/yaml.document-sync": "1100.0.2",
40
40
  "ramda": "npm:@pnpm/ramda@0.28.1",
41
41
  "write-file-atomic": "^7.0.1",
@@ -43,10 +43,10 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@jest/globals": "30.4.1",
46
- "@pnpm/prepare": "1100.0.31",
46
+ "@pnpm/prepare": "1100.0.33",
47
47
  "@pnpm/prepare-temp-dir": "1100.0.1",
48
- "@pnpm/workspace.projects-reader": "1101.0.28",
49
- "@pnpm/workspace.workspace-manifest-writer": "1100.2.1",
48
+ "@pnpm/workspace.projects-reader": "1101.1.1",
49
+ "@pnpm/workspace.workspace-manifest-writer": "1100.2.3",
50
50
  "@types/ramda": "0.32.0",
51
51
  "@types/write-file-atomic": "^4.0.3",
52
52
  "read-yaml-file": "^3.0.0",