@forge/manifest 10.0.1-next.7 → 10.0.1-next.7-experimental-effab31
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,25 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 10.0.1-next.7-experimental-effab31
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- effab31: Bumped cheerio from 0.22 to 1.1
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 5d07fbf: Update the default value for inScopeEUD of egress entries by the linter
|
|
12
|
+
- 4b15e26: Rename some Confluence events from 'removed' to 'deleted' events for consistency with other products. Neither of the renamed events are active yet.
|
|
13
|
+
- 634d7b9: Bump max resource limit from 10 to 50
|
|
14
|
+
- b9574d4: Limit number of automation actions per app
|
|
15
|
+
- 195411c: patch dependencies
|
|
16
|
+
- d97a252: Add new Forge events and update scopes for unreleased Forge events
|
|
17
|
+
- 1479d2d: Update manifest definitions
|
|
18
|
+
- ca7e661: Update manifest definitions
|
|
19
|
+
- 5ab2c49: Update manifest definitions
|
|
20
|
+
- Updated dependencies [195411c]
|
|
21
|
+
- @forge/i18n@0.0.7-next.0-experimental-effab31
|
|
22
|
+
|
|
3
23
|
## 10.0.1-next.7
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ exports.ResourcesValidator = exports.MAX_RESOURCE_COUNT = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
6
6
|
const path_1 = require("path");
|
|
7
|
-
const cheerio_1 =
|
|
7
|
+
const cheerio_1 = require("cheerio");
|
|
8
8
|
const utils_1 = require("../utils");
|
|
9
9
|
const text_1 = require("../text");
|
|
10
10
|
const utils_2 = require("../utils");
|
|
@@ -88,7 +88,7 @@ class ResourcesValidator {
|
|
|
88
88
|
return;
|
|
89
89
|
if (fs_1.default.existsSync((0, path_1.resolve)(manifestDir, path, 'index.html'))) {
|
|
90
90
|
const content = fs_1.default.readFileSync((0, path_1.resolve)(manifestDir, path, 'index.html'));
|
|
91
|
-
const $ = cheerio_1.
|
|
91
|
+
const $ = (0, cheerio_1.load)(content, { xml: { xmlMode: false } });
|
|
92
92
|
const cspContent = $('meta[http-equiv="Content-Security-Policy"]').attr('content');
|
|
93
93
|
if (cspContent) {
|
|
94
94
|
const cspStyleSrc = cspContent.split(';').find((s) => s.startsWith('style-src'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/manifest",
|
|
3
|
-
"version": "10.0.1-next.7",
|
|
3
|
+
"version": "10.0.1-next.7-experimental-effab31",
|
|
4
4
|
"description": "Definitions and validations of the Forge manifest",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"author": "Atlassian",
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@forge/i18n": "0.0.7-next.0",
|
|
27
|
+
"@forge/i18n": "0.0.7-next.0-experimental-effab31",
|
|
28
28
|
"@sentry/node": "7.106.0",
|
|
29
29
|
"ajv": "^8.12.0",
|
|
30
30
|
"ajv-formats": "2.1.1",
|
|
31
|
-
"cheerio": "^
|
|
31
|
+
"cheerio": "^1.1.0",
|
|
32
32
|
"glob": "^10.3.10",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"mime-types": "^2.1.35",
|