npm package diff

Package: @forge/bundler

Versions: 6.0.0-next.13 - 6.0.0-next.14

Removed: package/out/stubs/http-sandbox-impl.js

Removed: package/out/stubs/http-sandbox.js

Removed: package/out/config/sandbox.js

Removed: package/out/stub-plugin.js

Removed: package/out/stubs/unsupported.js

Removed: package/out/stubs/http-sandbox-impl.d.ts.map

Removed: package/out/stubs/http-sandbox.d.ts.map

Removed: package/out/config/sandbox.d.ts.map

Removed: package/out/stub-plugin.d.ts.map

Removed: package/out/stubs/unsupported.d.ts.map

Removed: package/out/stubs/http-sandbox-impl.d.ts

Removed: package/out/stubs/http-sandbox.d.ts

Removed: package/out/config/sandbox.d.ts

Removed: package/out/stub-plugin.d.ts

Removed: package/out/stubs/unsupported.d.ts

Modified: package/out/index.js

Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -1,16 +1,15 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.LocalWrapperProvider = exports.getWrapperProvider = exports.getNativeUiBuildConfig = exports.handleWebpackCompilationResult = exports.getCompiler = exports.BundlerError = exports.NODE_RUNTIME_CODE_FILE = exports.getNodeBundler = exports.SandboxBundler = exports.NativeUIBundler = exports.runLinter = exports.getEntryPoints = exports.getOutputDir = void 0;
+exports.LocalWrapperProvider = exports.getWrapperProvider = exports.getNativeUiBuildConfig = exports.handleWebpackCompilationResult = exports.getCompiler = exports.BundlerError = exports.NODE_RUNTIME_CODE_FILE = exports.getNodeBundler = exports.NativeUIBundler = exports.runLinter = exports.getEntryPoints = exports.getOutputDir = void 0;
 var common_1 = require("./common");
 Object.defineProperty(exports, "getOutputDir", { enumerable: true, get: function () { return common_1.getOutputDir; } });
 Object.defineProperty(exports, "getEntryPoints", { enumerable: true, get: function () { return common_1.getEntryPoints; } });
 var lint_1 = require("./lint");
 Object.defineProperty(exports, "runLinter", { enumerable: true, get: function () { return lint_1.runLinter; } });
 var nativeui_1 = require("./nativeui");
 Object.defineProperty(exports, "NativeUIBundler", { enumerable: true, get: function () { return nativeui_1.NativeUIBundler; } });
 var runtime_1 = require("./runtime");
-Object.defineProperty(exports, "SandboxBundler", { enumerable: true, get: function () { return runtime_1.SandboxBundler; } });
 Object.defineProperty(exports, "getNodeBundler", { enumerable: true, get: function () { return runtime_1.getNodeBundler; } });
 Object.defineProperty(exports, "NODE_RUNTIME_CODE_FILE", { enumerable: true, get: function () { return runtime_1.NODE_RUNTIME_CODE_FILE; } });
 var types_1 = require("./types");
 Object.defineProperty(exports, "BundlerError", { enumerable: true, get: function () { return types_1.BundlerError; } });

Modified: package/out/runtime.js

Index: package/out/runtime.js
===================================================================
--- package/out/runtime.js
+++ package/out/runtime.js
@@ -1,27 +1,17 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.getNodeBundler = exports.userCodePath = exports.NODE_RUNTIME_CODE_FILE = exports.SandboxBundler = void 0;
+exports.getNodeBundler = exports.userCodePath = exports.NODE_RUNTIME_CODE_FILE = 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"));
 var RawSource = webpack_1.default.sources.RawSource;
 const cli_shared_1 = require("@forge/cli-shared");
 const common_1 = require("./config/common");
-const sandbox_1 = require("./config/sandbox");
 const typescript_1 = require("./typescript");
 const webpack_2 = require("./webpack");
 const i18n_1 = require("@forge/i18n");
-class SandboxBundler extends webpack_2.WebpackBundler {
-    constructor(logger) {
-        super(logger);
-    }
-    async getConfig(args) {
-        return (0, sandbox_1.getSandboxedRuntimeBuildConfig)(args);
-    }
-}
-exports.SandboxBundler = SandboxBundler;
 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';

Modified: package/package.json

Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/bundler",
-  "version": "6.0.0-next.13",
+  "version": "6.0.0-next.14",
   "description": "Default bundler for Forge apps",
   "license": "SEE LICENSE IN LICENSE.txt",
   "author": "Atlassian",
   "main": "out/index.js",
@@ -17,58 +17,34 @@
     "@babel/plugin-transform-class-static-block": "^7.23.4",
     "@babel/plugin-transform-numeric-separator": "^7.23.4",
     "@babel/plugin-transform-optional-chaining": "^7.23.4",
     "@babel/plugin-transform-react-jsx": "^7.23.4",
-    "@forge/api": "6.0.0-next.0",
-    "@forge/cli-shared": "8.0.0-next.13",
+    "@forge/cli-shared": "8.0.0-next.14",
     "@forge/i18n": "0.0.6",
-    "@forge/lint": "5.9.0-next.13",
-    "@forge/manifest": "10.0.0-next.11",
+    "@forge/lint": "5.9.0-next.14",
+    "@forge/manifest": "10.0.0-next.12",
     "@forge/util": "1.4.9",
-    "assert": "^2.1.0",
     "babel-loader": "^8.3.0",
-    "browserify-zlib": "^0.2.0",
-    "buffer": "^6.0.3",
-    "chalk": "^4.1.2",
     "cheerio": "^0.22.0",
-    "console-browserify": "^1.2.0",
     "cross-spawn": "^7.0.5",
-    "crypto-browserify": "^3.12.0",
-    "events": "^3.3.0",
     "fs-extra": "^11.2.0",
-    "headers-utils": "^3.0.2",
     "html-webpack-plugin": "^5.6.0",
-    "inherits": "^2.0.4",
-    "memfs": "^4.6.0",
     "nock": "13.5.4",
     "node-fetch": "2.7.0",
-    "os-browserify": "^0.3.0",
-    "path-browserify": "^1.0.1",
-    "process": "^0.11.10",
-    "punycode": "^2.3.1",
-    "querystring-browser": "^1.0.4",
-    "readable-stream": "^4.5.2",
-    "string_decoder": "^1.3.0",
-    "text-encoder-lite": "^2.0.0",
-    "timers-browserify": "^2.0.12",
     "tmp": "^0.2.3",
     "ts-loader": "^9.5.1",
     "typescript": "4.8.4",
-    "url": "^0.11.3",
-    "util": "^0.12.5",
     "webpack": "5.94.0",
-    "webpack-bundle-analyzer": "^4.10.1",
-    "whatwg-url": "^12.0.1"
+    "webpack-bundle-analyzer": "^4.10.1"
   },
   "devDependencies": {
     "@atlassian/xen-test-util": "^4.2.0",
-    "@forge/runtime": "6.0.0-next.0",
+    "@forge/runtime": "6.0.0-next.1",
     "@types/cross-spawn": "^6.0.6",
     "@types/fs-extra": "^11.0.4",
     "@types/jest": "^29.5.12",
     "@types/node": "20.19.0",
     "@types/react": "^18.2.64",
-    "@types/readable-stream": "^4.0.10",
     "@types/webpack-bundle-analyzer": "^4.7.0",
     "@typescript-eslint/eslint-plugin": "^5.62.0",
     "@typescript-eslint/parser": "^5.62.0",
     "eslint": "^8.56.0",

Modified: package/out/index.d.ts.map

Index: package/out/index.d.ts.map
===================================================================
--- package/out/index.d.ts.map
+++ package/out/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzG,OAAO,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzG,OAAO,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
\ No newline at end of file

Modified: package/out/runtime.d.ts.map

Index: package/out/runtime.d.ts.map
===================================================================
--- package/out/runtime.d.ts.map
+++ package/out/runtime.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAqD,MAAM,mBAAmB,CAAC;AAIpG,OAAO,EACL,YAAY,EACZ,OAAO,EACP,WAAW,EAKZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAiB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGpE,qBAAa,cAAe,SAAQ,cAAc;gBACpC,MAAM,EAAE,YAAY;IAI1B,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAG9D;AAKD,eAAO,MAAM,sBAAsB,kBAAkB,CAAC;AAoBtD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAErD;AAsJD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,GACzB,OAAO,CAET"}
\ No newline at end of file
+{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAqD,MAAM,mBAAmB,CAAC;AAGpG,OAAO,EACL,YAAY,EACZ,OAAO,EAMR,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAiB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAMpE,eAAO,MAAM,sBAAsB,kBAAkB,CAAC;AAoBtD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAErD;AAsJD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,GACzB,OAAO,CAET"}
\ No newline at end of file

Modified: package/CHANGELOG.md

Large diffs are not rendered by default.

Modified: package/out/index.d.ts

Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -1,8 +1,8 @@
 export { getOutputDir, getEntryPoints } from './common';
 export { runLinter } from './lint';
 export { NativeUIBundler, NativeUIBundleResult } from './nativeui';
-export { SandboxBundler, getNodeBundler, NODE_RUNTIME_CODE_FILE } from './runtime';
+export { getNodeBundler, NODE_RUNTIME_CODE_FILE } from './runtime';
 export { Bundler, BundlerError, BundlerOutput, BundlerWatch, EntryPoint, WatcherMonitor } from './types';
 export { getCompiler, handleWebpackCompilationResult } from './webpack';
 export { getNativeUiBuildConfig } from './config/nativeui';
 export { getWrapperProvider, LocalWrapperProvider } from './wrapper-provider';

Modified: package/out/runtime.d.ts

Index: package/out/runtime.d.ts
===================================================================
--- package/out/runtime.d.ts
+++ package/out/runtime.d.ts
@@ -1,12 +1,7 @@
 import { ConfigReader } from '@forge/cli-shared';
-import { BundleLogger, Bundler, BundlerArgs } from './types';
-import { ConfigWithOutput, WebpackBundler } from './webpack';
+import { BundleLogger, Bundler } from './types';
 import { WrapperProvider } from './wrapper-provider';
-export declare class SandboxBundler extends WebpackBundler {
-    constructor(logger: BundleLogger);
-    getConfig(args: BundlerArgs): Promise<ConfigWithOutput>;
-}
 export declare const NODE_RUNTIME_CODE_FILE = "__forge__.cjs";
 export declare function userCodePath(entryKey: string): string;
 export declare function getNodeBundler(logger: BundleLogger, wrapperProvider: WrapperProvider, configReader: ConfigReader): Bundler;
 //# sourceMappingURL=runtime.d.ts.map
\ No newline at end of file