@pnpm/exec.lifecycle 1100.1.15 → 1100.1.16

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,18 @@
1
1
  # @pnpm/lifecycle
2
2
 
3
+ ## 1100.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed argument forwarding on Windows when `shellEmulator` is enabled. Paths ending in a backslash, line breaks, and literal shell expressions are preserved [pnpm/pnpm#14548](https://github.com/pnpm/pnpm/issues/14548).
8
+
9
+ - Updated dependencies:
10
+ - @pnpm/bins.linker@1100.0.30
11
+ - @pnpm/error@1100.1.4
12
+ - @pnpm/fetching.directory-fetcher@1100.0.32
13
+ - @pnpm/pkg-manifest.reader@1100.0.19
14
+ - @pnpm/workspace.task-scheduler@1100.0.1
15
+
3
16
  ## 1100.1.15
4
17
 
5
18
  ### Patch Changes
@@ -62,7 +62,7 @@ Please unset the scriptShell option, or configure it to a .exe instead.
62
62
  }
63
63
  if (opts.args?.length && m.scripts?.[stage]) {
64
64
  // It is impossible to quote a command line argument that contains newline for Windows cmd.
65
- const escapedArgs = isWindows()
65
+ const escapedArgs = isWindows() && !opts.shellEmulator
66
66
  ? opts.args.map((arg) => JSON.stringify(arg)).join(' ')
67
67
  : shellQuote(opts.args);
68
68
  m.scripts[stage] = `${m.scripts[stage]} ${escapedArgs}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/exec.lifecycle",
3
- "version": "1100.1.15",
3
+ "version": "1100.1.16",
4
4
  "description": "Package lifecycle hook runner",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -29,16 +29,16 @@
29
29
  "!*.map"
30
30
  ],
31
31
  "dependencies": {
32
- "@pnpm/bins.linker": "1100.0.29",
32
+ "@pnpm/bins.linker": "1100.0.30",
33
33
  "@pnpm/core-loggers": "1100.3.4",
34
- "@pnpm/error": "1100.1.3",
35
- "@pnpm/fetching.directory-fetcher": "1100.0.31",
34
+ "@pnpm/error": "1100.1.4",
35
+ "@pnpm/fetching.directory-fetcher": "1100.0.32",
36
36
  "@pnpm/npm-lifecycle": "^1100.1.0",
37
- "@pnpm/pkg-manifest.reader": "1100.0.18",
37
+ "@pnpm/pkg-manifest.reader": "1100.0.19",
38
38
  "@pnpm/store.cafs-types": "1100.1.0",
39
39
  "@pnpm/store.controller-types": "1101.2.0",
40
40
  "@pnpm/types": "1102.1.0",
41
- "@pnpm/workspace.task-scheduler": "1100.0.0",
41
+ "@pnpm/workspace.task-scheduler": "1100.0.1",
42
42
  "chalk": "^6.0.0",
43
43
  "is-windows": "^1.0.2",
44
44
  "path-exists": "^5.0.0",
@@ -49,9 +49,9 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@jest/globals": "30.4.1",
52
- "@pnpm/exec.lifecycle": "1100.1.15",
52
+ "@pnpm/exec.lifecycle": "1100.1.16",
53
53
  "@pnpm/logger": "1100.0.0",
54
- "@pnpm/prepare": "1100.0.28",
54
+ "@pnpm/prepare": "1100.0.29",
55
55
  "@pnpm/test-fixtures": "1100.0.1",
56
56
  "@pnpm/test-ipc-server": "1100.0.0",
57
57
  "@types/is-windows": "^1.0.2",