npm package diff

Package: @forge/bundler

Versions: 4.23.2-next.4 - 4.23.2-next.5

File: package/out/runtime.js

Index: package/out/runtime.js
===================================================================
--- package/out/runtime.js
+++ package/out/runtime.js
@@ -1,7 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.getNodeBundler = exports.userCodePath = exports.SandboxBundler = void 0;
+exports.getNodeBundler = exports.userCodePath = exports.NODE_RUNTIME_CODE_FILE = exports.SandboxBundler = void 0;
 const tslib_1 = require("tslib");
 const path_1 = tslib_1.__importDefault(require("path"));
 const promises_1 = tslib_1.__importDefault(require("fs/promises"));
 const webpack_1 = tslib_1.__importDefault(require("webpack"));
@@ -20,9 +20,9 @@
         return (0, sandbox_1.getSandboxedRuntimeBuildConfig)(args);
     }
 }
 exports.SandboxBundler = SandboxBundler;
-const NODE_RUNTIME_CODE_FILE = '__forge__.js';
+exports.NODE_RUNTIME_CODE_FILE = '__forge__.cjs';
 const NODE_RUNTIME_BACKUP_WRAPPER_FILE = '__forge_wrapper__.cjs';
 const NODE_RUNTIME_USE_LOCAL_WRAPPER_FILE = '__forge_use_local_wrapper.txt';
 const NODE_RUNTIME_VERSION_FILE = 'runtime.json';
 const NODE_WEBPACK_USER_CODE_DIR = 'bundled';
@@ -41,9 +41,9 @@
     else {
         entrypointScript = wrapper;
     }
     if (useSingleWrapper) {
-        await emit(NODE_RUNTIME_CODE_FILE, entrypointScript.script);
+        await emit(exports.NODE_RUNTIME_CODE_FILE, entrypointScript.script);
     }
     else {
         for (const entrypoint of entrypoints) {
             await emit(`${entrypoint.name}.cjs`, entrypointScript.script);