@forge/csp 5.6.0-next.2-experimental-9065145 → 5.6.0-next.3

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,15 +1,10 @@
1
1
  # @forge/csp
2
2
 
3
- ## 5.6.0-next.2-experimental-9065145
4
-
5
- ### Minor Changes
6
-
7
- - 83b3eac: Use public analytics URL
3
+ ## 5.6.0-next.3
8
4
 
9
5
  ### Patch Changes
10
6
 
11
- - f995494: Fix CSP for emoji service by updating host URL structure
12
- - 6077876: Fix analytics domains
7
+ - a91d2de: update content-security-policy-parser to version 0.6.0
13
8
 
14
9
  ## 5.6.0-next.2
15
10
 
@@ -140,7 +140,7 @@ class CSPProcessingService {
140
140
  this.logger.info('discarding potentially-malicious CSP');
141
141
  return {};
142
142
  }
143
- return (0, content_security_policy_parser_1.default)(cspContent);
143
+ return Object.fromEntries((0, content_security_policy_parser_1.default)(cspContent));
144
144
  }
145
145
  }
146
146
  exports.CSPProcessingService = CSPProcessingService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/csp",
3
- "version": "5.6.0-next.2-experimental-9065145",
3
+ "version": "5.6.0-next.3",
4
4
  "description": "Contains the CSP configuration for Custom UI resources in Forge",
5
5
  "main": "out/index.js",
6
6
  "author": "Atlassian",
@@ -11,14 +11,14 @@
11
11
  "clean": "rm -rf ./out && rm -f tsconfig.tsbuildinfo"
12
12
  },
13
13
  "devDependencies": {
14
- "@forge/cli-shared": "8.11.1-next.3-experimental-9065145",
15
- "@forge/manifest": "11.3.0-next.2-experimental-9065145",
14
+ "@forge/cli-shared": "8.11.1-next.4",
15
+ "@forge/manifest": "11.3.0-next.2",
16
16
  "@types/jest": "^29.5.14",
17
17
  "@types/node": "20.19.1",
18
18
  "cheerio": "^1.1.0"
19
19
  },
20
20
  "dependencies": {
21
- "content-security-policy-parser": "^0.5.0"
21
+ "content-security-policy-parser": "^0.6.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "cheerio": "^1.1.0"