@forge/bundler 6.0.1-next.1 → 6.0.1-next.10-experimental-05d33ea
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 +112 -0
- package/out/wrapper-provider.d.ts.map +1 -1
- package/out/wrapper-provider.js +2 -2
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,117 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 6.0.1-next.10-experimental-05d33ea
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- effab31: Bumped cheerio from 0.22 to 1.1
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 195411c: patch dependencies
|
|
12
|
+
- Updated dependencies [05d33ea]
|
|
13
|
+
- Updated dependencies [effab31]
|
|
14
|
+
- Updated dependencies [5d07fbf]
|
|
15
|
+
- Updated dependencies [4b15e26]
|
|
16
|
+
- Updated dependencies [634d7b9]
|
|
17
|
+
- Updated dependencies [620aea7]
|
|
18
|
+
- Updated dependencies [25a3da2]
|
|
19
|
+
- Updated dependencies [b9574d4]
|
|
20
|
+
- Updated dependencies [c3810aa]
|
|
21
|
+
- Updated dependencies [195411c]
|
|
22
|
+
- Updated dependencies [d97a252]
|
|
23
|
+
- Updated dependencies [46daa27]
|
|
24
|
+
- Updated dependencies [1479d2d]
|
|
25
|
+
- Updated dependencies [ca7e661]
|
|
26
|
+
- Updated dependencies [5ab2c49]
|
|
27
|
+
- Updated dependencies [609f68b]
|
|
28
|
+
- @forge/cli-shared@8.1.0-next.8-experimental-05d33ea
|
|
29
|
+
- @forge/lint@5.9.1-next.10-experimental-05d33ea
|
|
30
|
+
- @forge/manifest@10.1.0-next.8-experimental-05d33ea
|
|
31
|
+
- @forge/i18n@0.0.7-next.0-experimental-05d33ea
|
|
32
|
+
- @forge/util@1.4.10-next.0-experimental-05d33ea
|
|
33
|
+
|
|
34
|
+
## 6.0.1-next.10
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [46daa27]
|
|
39
|
+
- @forge/manifest@10.1.0-next.8
|
|
40
|
+
- @forge/cli-shared@8.1.0-next.8
|
|
41
|
+
- @forge/lint@5.9.1-next.10
|
|
42
|
+
|
|
43
|
+
## 6.0.1-next.9
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [c3810aa]
|
|
48
|
+
- @forge/lint@5.9.1-next.9
|
|
49
|
+
|
|
50
|
+
## 6.0.1-next.8
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Updated dependencies [634d7b9]
|
|
55
|
+
- Updated dependencies [620aea7]
|
|
56
|
+
- @forge/manifest@10.0.1-next.7
|
|
57
|
+
- @forge/cli-shared@8.1.0-next.7
|
|
58
|
+
- @forge/lint@5.9.1-next.8
|
|
59
|
+
|
|
60
|
+
## 6.0.1-next.7
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- Updated dependencies [5d07fbf]
|
|
65
|
+
- @forge/manifest@10.0.1-next.6
|
|
66
|
+
- @forge/lint@5.9.1-next.7
|
|
67
|
+
- @forge/cli-shared@8.0.1-next.6
|
|
68
|
+
|
|
69
|
+
## 6.0.1-next.6
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- @forge/lint@5.9.1-next.6
|
|
74
|
+
|
|
75
|
+
## 6.0.1-next.5
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- Updated dependencies [d97a252]
|
|
80
|
+
- Updated dependencies [ca7e661]
|
|
81
|
+
- @forge/manifest@10.0.1-next.5
|
|
82
|
+
- @forge/cli-shared@8.0.1-next.5
|
|
83
|
+
- @forge/lint@5.9.1-next.5
|
|
84
|
+
|
|
85
|
+
## 6.0.1-next.4
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- 195411c: patch dependencies
|
|
90
|
+
- Updated dependencies [195411c]
|
|
91
|
+
- @forge/cli-shared@8.0.1-next.4
|
|
92
|
+
- @forge/manifest@10.0.1-next.4
|
|
93
|
+
- @forge/i18n@0.0.7-next.0
|
|
94
|
+
- @forge/lint@5.9.1-next.4
|
|
95
|
+
- @forge/util@1.4.10-next.0
|
|
96
|
+
|
|
97
|
+
## 6.0.1-next.3
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- Updated dependencies [1479d2d]
|
|
102
|
+
- @forge/manifest@10.0.1-next.3
|
|
103
|
+
- @forge/cli-shared@8.0.1-next.3
|
|
104
|
+
- @forge/lint@5.9.1-next.3
|
|
105
|
+
|
|
106
|
+
## 6.0.1-next.2
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- Updated dependencies [5ab2c49]
|
|
111
|
+
- @forge/manifest@10.0.1-next.2
|
|
112
|
+
- @forge/cli-shared@8.0.1-next.2
|
|
113
|
+
- @forge/lint@5.9.1-next.2
|
|
114
|
+
|
|
3
115
|
## 6.0.1-next.1
|
|
4
116
|
|
|
5
117
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapper-provider.d.ts","sourceRoot":"","sources":["../src/wrapper-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wrapper-provider.d.ts","sourceRoot":"","sources":["../src/wrapper-provider.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,EAGT,cAAc,EACf,MAAM,mBAAmB,CAAC;AAW3B,qBAAa,yBAA0B,SAAQ,SAAS;;CAIvD;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBACpC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;CAGhD;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBAC1C,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS;CAG3D;AAED,oBAAY,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC,CAAC;IAChD,oBAAoB,IAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;CAC5D;AAOD,qBAAa,oBAAqB,YAAW,eAAe;IAExD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,WAAW;gBADX,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,MAAM;YAExB,cAAc;IAatB,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC;IAI/C,oBAAoB,IAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;CAGjE;AAED,qBAAa,sBAAuB,YAAW,eAAe;IAKhD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc;IAJ7D,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,MAAM,CAA4B;IAC1C,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEM,cAAc,EAAE,cAAc;YAI/C,sBAAsB;IAgBpC,OAAO,CAAC,cAAc,CAoCpB;IAEI,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC;IAO/C,oBAAoB,IAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;CAQjE;AAED,eAAO,MAAM,kBAAkB;sBAIX,gBAAgB;oBAClB,cAAc;mDAS/B,CAAC"}
|
package/out/wrapper-provider.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getWrapperProvider = exports.NetworkWrapperProvider = exports.LocalWrapperProvider = exports.ParseWrapperCDNIndexError = exports.WrapperNetworkError = exports.LocalWrapperNotFoundError = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
|
-
const cheerio_1 =
|
|
6
|
+
const cheerio_1 = require("cheerio");
|
|
7
7
|
const node_fetch_1 = tslib_1.__importDefault(require("node-fetch"));
|
|
8
8
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
9
9
|
var RuntimeCDN;
|
|
@@ -74,7 +74,7 @@ class NetworkWrapperProvider {
|
|
|
74
74
|
this.cdnUrl = (0, cli_shared_1.getEnvironmentConfig)(RuntimeCDN);
|
|
75
75
|
}
|
|
76
76
|
async getScriptPathFromIndex(htmlContent, requestId, scriptType) {
|
|
77
|
-
const html = cheerio_1.
|
|
77
|
+
const html = (0, cheerio_1.load)(htmlContent, { xml: { xmlMode: false } });
|
|
78
78
|
const scriptPath = html('script')
|
|
79
79
|
?.get()
|
|
80
80
|
?.find((asset) => asset.attribs['src']?.includes(scriptType))?.attribs['src'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "6.0.1-next.
|
|
3
|
+
"version": "6.0.1-next.10-experimental-05d33ea",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -18,31 +18,31 @@
|
|
|
18
18
|
"@babel/plugin-transform-numeric-separator": "^7.23.4",
|
|
19
19
|
"@babel/plugin-transform-optional-chaining": "^7.23.4",
|
|
20
20
|
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
21
|
-
"@forge/cli-shared": "8.0
|
|
22
|
-
"@forge/i18n": "0.0.
|
|
23
|
-
"@forge/lint": "5.9.1-next.
|
|
24
|
-
"@forge/manifest": "10.0
|
|
25
|
-
"@forge/util": "1.4.
|
|
21
|
+
"@forge/cli-shared": "8.1.0-next.8-experimental-05d33ea",
|
|
22
|
+
"@forge/i18n": "0.0.7-next.0-experimental-05d33ea",
|
|
23
|
+
"@forge/lint": "5.9.1-next.10-experimental-05d33ea",
|
|
24
|
+
"@forge/manifest": "10.1.0-next.8-experimental-05d33ea",
|
|
25
|
+
"@forge/util": "1.4.10-next.0-experimental-05d33ea",
|
|
26
26
|
"babel-loader": "^8.3.0",
|
|
27
|
-
"cheerio": "^
|
|
28
|
-
"cross-spawn": "^7.0.
|
|
27
|
+
"cheerio": "^1.1.0",
|
|
28
|
+
"cross-spawn": "^7.0.6",
|
|
29
29
|
"fs-extra": "^11.2.0",
|
|
30
|
-
"html-webpack-plugin": "^5.6.
|
|
31
|
-
"nock": "13.5.
|
|
30
|
+
"html-webpack-plugin": "^5.6.3",
|
|
31
|
+
"nock": "13.5.6",
|
|
32
32
|
"node-fetch": "2.7.0",
|
|
33
33
|
"tmp": "^0.2.3",
|
|
34
|
-
"ts-loader": "^9.5.
|
|
34
|
+
"ts-loader": "^9.5.2",
|
|
35
35
|
"typescript": "4.8.4",
|
|
36
|
-
"webpack": "5.
|
|
37
|
-
"webpack-bundle-analyzer": "^4.10.
|
|
36
|
+
"webpack": "^5.99.9",
|
|
37
|
+
"webpack-bundle-analyzer": "^4.10.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@atlassian/xen-test-util": "^4.2.0",
|
|
41
|
-
"@forge/runtime": "6.0.0",
|
|
41
|
+
"@forge/runtime": "6.0.1-next.0-experimental-05d33ea",
|
|
42
42
|
"@types/cross-spawn": "^6.0.6",
|
|
43
43
|
"@types/fs-extra": "^11.0.4",
|
|
44
|
-
"@types/jest": "^29.5.
|
|
45
|
-
"@types/node": "20.19.
|
|
44
|
+
"@types/jest": "^29.5.14",
|
|
45
|
+
"@types/node": "20.19.1",
|
|
46
46
|
"@types/react": "^18.2.64",
|
|
47
47
|
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
48
48
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|