@pipelab/plugin-nvpatch 1.0.0-beta.27 → 1.0.0-beta.31

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/dist/index.cjs CHANGED
@@ -94912,7 +94912,7 @@ const runWithLiveLogs = async (command, args, execaOptions, log, hooks, abortSig
94912
94912
  TERM: "xterm-256color",
94913
94913
  FORCE_STDERR_LOGGING: "1"
94914
94914
  },
94915
- cancelSignal: abortSignal
94915
+ cancelSignal: abortSignal ?? execaOptions.cancelSignal
94916
94916
  });
94917
94917
  hooks?.onCreated?.(subprocess);
94918
94918
  subprocess.stdout?.on("data", (data) => {
@@ -155215,7 +155215,7 @@ const createActionRunner = (runner) => runner;
155215
155215
  * @param thirdpartyDir The directory where third-party tools are stored.
155216
155216
  * @returns A Promise that resolves to the path of the nvpatch executable.
155217
155217
  */
155218
- const ensureNVPatch = async (thirdpartyDir) => {
155218
+ const ensureNVPatch = async (thirdpartyDir, abortSignal) => {
155219
155219
  const nvpatchDir = (0, node_path.join)(thirdpartyDir, "nvpatch");
155220
155220
  const finalPath = (0, node_path.join)(nvpatchDir, process.platform === "win32" ? "nvpatch.exe" : "nvpatch");
155221
155221
  try {
@@ -155232,7 +155232,7 @@ const ensureNVPatch = async (thirdpartyDir) => {
155232
155232
  "--tool-path",
155233
155233
  nvpatchDir,
155234
155234
  "Topten.nvpatch"
155235
- ]);
155235
+ ], { cancelSignal: abortSignal });
155236
155236
  return finalPath;
155237
155237
  };
155238
155238
  //#endregion
@@ -155269,7 +155269,7 @@ var src_default = createNodeDefinition({ nodes: [{
155269
155269
  };
155270
155270
  log("Ensuring nvpatch is installed...");
155271
155271
  const { thirdparty } = paths;
155272
- const nvpatchCommand = await ensureNVPatch(thirdparty);
155272
+ const nvpatchCommand = await ensureNVPatch(thirdparty, abortSignal);
155273
155273
  if (process.platform === "darwin") {
155274
155274
  log("Using nvpatch from", nvpatchCommand);
155275
155275
  await checkDotnetVersion("dotnet");
package/dist/index.mjs CHANGED
@@ -94906,7 +94906,7 @@ const runWithLiveLogs = async (command, args, execaOptions, log, hooks, abortSig
94906
94906
  TERM: "xterm-256color",
94907
94907
  FORCE_STDERR_LOGGING: "1"
94908
94908
  },
94909
- cancelSignal: abortSignal
94909
+ cancelSignal: abortSignal ?? execaOptions.cancelSignal
94910
94910
  });
94911
94911
  hooks?.onCreated?.(subprocess);
94912
94912
  subprocess.stdout?.on("data", (data) => {
@@ -155210,7 +155210,7 @@ const createActionRunner = (runner) => runner;
155210
155210
  * @param thirdpartyDir The directory where third-party tools are stored.
155211
155211
  * @returns A Promise that resolves to the path of the nvpatch executable.
155212
155212
  */
155213
- const ensureNVPatch = async (thirdpartyDir) => {
155213
+ const ensureNVPatch = async (thirdpartyDir, abortSignal) => {
155214
155214
  const nvpatchDir = join(thirdpartyDir, "nvpatch");
155215
155215
  const finalPath = join(nvpatchDir, process.platform === "win32" ? "nvpatch.exe" : "nvpatch");
155216
155216
  try {
@@ -155227,7 +155227,7 @@ const ensureNVPatch = async (thirdpartyDir) => {
155227
155227
  "--tool-path",
155228
155228
  nvpatchDir,
155229
155229
  "Topten.nvpatch"
155230
- ]);
155230
+ ], { cancelSignal: abortSignal });
155231
155231
  return finalPath;
155232
155232
  };
155233
155233
  //#endregion
@@ -155264,7 +155264,7 @@ var src_default = createNodeDefinition({ nodes: [{
155264
155264
  };
155265
155265
  log("Ensuring nvpatch is installed...");
155266
155266
  const { thirdparty } = paths;
155267
- const nvpatchCommand = await ensureNVPatch(thirdparty);
155267
+ const nvpatchCommand = await ensureNVPatch(thirdparty, abortSignal);
155268
155268
  if (process.platform === "darwin") {
155269
155269
  log("Using nvpatch from", nvpatchCommand);
155270
155270
  await checkDotnetVersion("dotnet");