@forge/csp
5.6.0-next.2-experimental-90651455.6.0
~
Modified (3 files)
Index: package/out/csp/csp-processing-service.js
===================================================================
--- package/out/csp/csp-processing-service.js
+++ package/out/csp/csp-processing-service.js
@@ -139,8 +139,8 @@
if (!this.isSafeCsp(cspContent)) {
this.logger.info('discarding potentially-malicious CSP');
return {};
}
- return (0, content_security_policy_parser_1.default)(cspContent);
+ return Object.fromEntries((0, content_security_policy_parser_1.default)(cspContent));
}
}
exports.CSPProcessingService = CSPProcessingService; Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/csp",
- "version": "5.6.0-next.2-experimental-9065145",
+ "version": "5.6.0",
"description": "Contains the CSP configuration for Custom UI resources in Forge",
"main": "out/index.js",
"author": "Atlassian",
"license": "SEE LICENSE IN LICENSE.txt",
@@ -10,16 +10,16 @@
"compile": "tsc -b -v",
"clean": "rm -rf ./out && rm -f tsconfig.tsbuildinfo"
},
"devDependencies": {
- "@forge/cli-shared": "8.11.1-next.3-experimental-9065145",
- "@forge/manifest": "11.3.0-next.2-experimental-9065145",
+ "@forge/cli-shared": "8.12.0",
+ "@forge/manifest": "11.3.0",
"@types/jest": "^29.5.14",
"@types/node": "20.19.1",
"cheerio": "^1.1.0"
},
"dependencies": {
- "content-security-policy-parser": "^0.5.0"
+ "content-security-policy-parser": "^0.6.0"
},
"peerDependencies": {
"cheerio": "^1.1.0"
}, Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,7 +1,7 @@
# @forge/csp
-## 5.6.0-next.2-experimental-9065145
+## 5.6.0
### Minor Changes
- 83b3eac: Use public analytics URL
@@ -9,9 +9,16 @@
### Patch Changes
- f995494: Fix CSP for emoji service by updating host URL structure
- 6077876: Fix analytics domains
+- a91d2de: update content-security-policy-parser to version 0.6.0
+## 5.6.0-next.3
+
+### Patch Changes
+
+- a91d2de: update content-security-policy-parser to version 0.6.0
+
## 5.6.0-next.2
### Patch Changes