@forge/bundler 4.23.1-next.1 → 4.23.1-next.1-experimental-07de784
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,15 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.23.1-next.1-experimental-07de784
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [8bd52d6]
|
|
8
|
+
- Updated dependencies [743bbdc]
|
|
9
|
+
- @forge/manifest@9.3.0-next.1-experimental-07de784
|
|
10
|
+
- @forge/cli-shared@6.10.1-next.1-experimental-07de784
|
|
11
|
+
- @forge/lint@5.7.6-next.1-experimental-07de784
|
|
12
|
+
|
|
3
13
|
## 4.23.1-next.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
declare const requestedModule = "";
|
|
2
|
+
declare const once: (fn: ((...args: any) => void) | null) => (...args: any) => void;
|
|
3
|
+
declare const warnOnce: (...args: any) => void;
|
|
4
|
+
declare type Stub = () => Stub;
|
|
5
|
+
declare const stub: (path: string) => Stub;
|
|
2
6
|
//# sourceMappingURL=unsupported.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsupported.d.ts","sourceRoot":"","sources":["../../src/stubs/unsupported.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"unsupported.d.ts","sourceRoot":"","sources":["../../src/stubs/unsupported.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,eAAe,KAAK,CAAC;AAE3B,QAAA,MAAM,IAAI,kBACQ,GAAG,KAAK,IAAI,uBAClB,GAAG,SAKZ,CAAC;AAEJ,QAAA,MAAM,QAAQ,YAPF,GAAG,SAOkD,CAAC;AAElE,aAAK,IAAI,GAAG,MAAM,IAAI,CAAC;AAEvB,QAAA,MAAM,IAAI,SAAU,MAAM,KAAG,IAe1B,CAAC"}
|
package/out/stubs/unsupported.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const text_1 = require("../text");
|
|
4
2
|
const requestedModule = '';
|
|
5
3
|
const once = (fn) => (...args) => {
|
|
6
4
|
if (fn) {
|
|
@@ -15,7 +13,7 @@ const stub = (path) => new Proxy(() => {
|
|
|
15
13
|
return stub(`${prop}`);
|
|
16
14
|
}, {
|
|
17
15
|
get: (_, prop) => {
|
|
18
|
-
warnOnce(
|
|
16
|
+
warnOnce(`⚠️ the '${requestedModule}' module is not supported by Forge, please refer to the documentation at https://go.atlassian.com/forge-runtime-js-environment`);
|
|
19
17
|
return prop === Symbol.toPrimitive ? () => 'unsupported' : stub(`${path}.${prop.toString()}`);
|
|
20
18
|
}
|
|
21
19
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.23.1-next.1",
|
|
3
|
+
"version": "4.23.1-next.1-experimental-07de784",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@babel/preset-typescript": "^7.23.3",
|
|
22
22
|
"@forge/api": "5.2.0",
|
|
23
23
|
"@forge/babel-plugin-transform-ui": "1.1.21",
|
|
24
|
-
"@forge/cli-shared": "6.10.1-next.1",
|
|
24
|
+
"@forge/cli-shared": "6.10.1-next.1-experimental-07de784",
|
|
25
25
|
"@forge/i18n": "0.0.5",
|
|
26
|
-
"@forge/lint": "5.7.6-next.1",
|
|
27
|
-
"@forge/manifest": "9.3.0-next.1",
|
|
26
|
+
"@forge/lint": "5.7.6-next.1-experimental-07de784",
|
|
27
|
+
"@forge/manifest": "9.3.0-next.1-experimental-07de784",
|
|
28
28
|
"@forge/util": "1.4.8",
|
|
29
29
|
"assert": "^2.1.0",
|
|
30
30
|
"babel-loader": "^8.3.0",
|