@forge/manifest 7.5.4-next.0-experimental-264fa0f → 7.5.4-next.2

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.
@@ -169,6 +169,8 @@
169
169
  "read:design:jira",
170
170
  "read:dev-info:jira",
171
171
  "read:document-info:jira",
172
+ "read:email-address:confluence",
173
+ "read:email-address:jira",
172
174
  "read:embed:confluence",
173
175
  "read:entitlement:jira-service-management",
174
176
  "read:entitlement.detail-field:jira-service-management",
@@ -4,7 +4,7 @@ exports.ResourcesValidator = 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 = require("cheerio");
7
+ const cheerio_1 = tslib_1.__importDefault(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 $ = (0, cheerio_1.load)(content, { xml: { xmlMode: false } });
91
+ const $ = cheerio_1.default.load(content);
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": "7.5.4-next.0-experimental-264fa0f",
3
+ "version": "7.5.4-next.2",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {
@@ -28,7 +28,7 @@
28
28
  "@sentry/node": "7.100.1",
29
29
  "ajv": "^8.12.0",
30
30
  "ajv-formats": "2.1.1",
31
- "cheerio": "^1.0.0",
31
+ "cheerio": "^0.22.0",
32
32
  "glob": "^10.3.10",
33
33
  "lodash": "^4.17.21",
34
34
  "node-fetch": "2.7.0",