@netlify/edge-bundler 11.2.1 → 11.2.2

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.
@@ -52,7 +52,7 @@ declare class DenoBridge {
52
52
  }>;
53
53
  getEnvironmentVariables(inputEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
54
54
  run(args: string[], { env: inputEnv, extendEnv, rejectOnExitCode, stderr, stdout }?: RunOptions): Promise<import("execa").ExecaReturnValue<string>>;
55
- runInBackground(args: string[], ref?: ProcessRef, { env: inputEnv, extendEnv, stderr, stdout }?: RunOptions): Promise<void>;
55
+ runInBackground(args: string[], ref?: ProcessRef, { env: inputEnv, extendEnv, pipeOutput, stderr, stdout }?: RunOptions): Promise<void>;
56
56
  }
57
57
  export { DENO_VERSION_RANGE, DenoBridge };
58
58
  export type { DenoOptions, OnAfterDownloadHook, OnBeforeDownloadHook, ProcessRef };
@@ -151,11 +151,11 @@ class DenoBridge {
151
151
  }
152
152
  // Runs the Deno CLI in the background, assigning a reference of the child
153
153
  // process to a `ps` property in the `ref` argument, if one is supplied.
154
- async runInBackground(args, ref, { env: inputEnv, extendEnv = true, stderr, stdout } = {}) {
154
+ async runInBackground(args, ref, { env: inputEnv, extendEnv = true, pipeOutput, stderr, stdout } = {}) {
155
155
  const { path: binaryPath } = await this.getBinaryPath();
156
156
  const env = this.getEnvironmentVariables(inputEnv);
157
157
  const options = { env, extendEnv };
158
- const ps = DenoBridge.runWithBinary(binaryPath, args, { options, stderr, stdout });
158
+ const ps = DenoBridge.runWithBinary(binaryPath, args, { options, pipeOutput, stderr, stdout });
159
159
  if (ref !== undefined) {
160
160
  // eslint-disable-next-line no-param-reassign
161
161
  ref.ps = ps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/edge-bundler",
3
- "version": "11.2.1",
3
+ "version": "11.2.2",
4
4
  "description": "Intelligently prepare Netlify Edge Functions for deployment",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.js",