@forge/csp 6.3.1-next.0 → 6.3.1-next.1-experimental-3dcad97
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,18 @@
|
|
|
1
1
|
# @forge/csp
|
|
2
2
|
|
|
3
|
+
## 6.3.1-next.1-experimental-3dcad97
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 873db00: Allow Jira Assets object icons (`assets-media.atlassian.com`) by default in the Custom UI `img-src` CSP directive across all environments (dev, staging, prod, FedRAMP and IC). Apps rendering Assets icons no longer need to declare this Atlassian-owned domain under `permissions.external.images`, so it no longer counts toward the external image domain limit (ECO-1691).
|
|
8
|
+
- aebfe3f: Update reactions csp
|
|
9
|
+
|
|
10
|
+
## 6.3.1-next.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- aebfe3f: Update reactions csp
|
|
15
|
+
|
|
3
16
|
## 6.3.1-next.0
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-injection-service.d.ts","sourceRoot":"","sources":["../../src/csp/csp-injection-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAmB,MAAM,UAAU,CAAC;AAEvD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAIF,KAAK,oBAAoB,GAAG;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,SAAS,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AA0M1D,eAAO,MAAM,qBAAqB,GAAI,WAAW,iBAAiB,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ACpB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;QAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAChC,KAAG,MAAM,EAAE,CAsGV;CACH"}
|
|
@@ -87,7 +87,7 @@ const ATLASSIAN_HOST = {
|
|
|
87
87
|
prod: 'https://pf-reactions-service.prod-east.frontend.public.atl-paas.net',
|
|
88
88
|
'fedramp-stg': 'https://pf-reactions-service.frontend.staging.cdn.atlassian-us-gov-mod.com',
|
|
89
89
|
'fedramp-prod': 'https://pf-reactions-service.frontend.cdn.atlassian-us-gov-mod.com',
|
|
90
|
-
...makeICHosts((env, icOptions) => `https://pf-reactions-service.${getICDomain(env, icOptions)}/bfa/reactions-service/`)
|
|
90
|
+
...makeICHosts((env, icOptions) => `https://pf-reactions-service.services.${getICDomain(env, icOptions)}/bfa/reactions-service/`)
|
|
91
91
|
},
|
|
92
92
|
ATLASSIAN_FOP_GE_HOST: {
|
|
93
93
|
dev: 'https://forge-outbound-proxy.dev.services.atlassian.com',
|
|
@@ -291,6 +291,7 @@ class CSPInjectionService {
|
|
|
291
291
|
const metalClientCSP = this.getMetalClientCSP(microsEnv, icOptions);
|
|
292
292
|
allowed.push(metalClientCSP);
|
|
293
293
|
allowed.push(`${getAtlassianHost('ATLASSIAN_API_GATEWAY_HOST', microsEnv, icOptions)}/gateway/api/emoji/`);
|
|
294
|
+
allowed.push(`${getAtlassianHost('ATLASSIAN_API_GATEWAY_HOST', microsEnv, icOptions)}/gateway/api/elements/emoji`);
|
|
294
295
|
allowed.push(getAtlassianHost('ATLASSIAN_MEDIA_GATEWAY_HOST', microsEnv, icOptions));
|
|
295
296
|
allowed.push(getAtlassianHost('ATLASSIAN_ANALYTICS_GATEWAY_HOST', microsEnv, icOptions));
|
|
296
297
|
const fopGeHost = getAtlassianHost('ATLASSIAN_FOP_GE_HOST', microsEnv, icOptions);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/csp",
|
|
3
|
-
"version": "6.3.1-next.
|
|
3
|
+
"version": "6.3.1-next.1-experimental-3dcad97",
|
|
4
4
|
"description": "Contains the CSP configuration for Custom UI resources in Forge",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"clean": "rm -rf ./out && rm -f tsconfig.tsbuildinfo"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@forge/cli-shared": "9.4.0-next.8",
|
|
15
|
-
"@forge/manifest": "13.3.1-next.1",
|
|
14
|
+
"@forge/cli-shared": "9.4.0-next.8-experimental-3dcad97",
|
|
15
|
+
"@forge/manifest": "13.3.1-next.1-experimental-3dcad97",
|
|
16
16
|
"@types/jest": "^29.5.14",
|
|
17
17
|
"@types/node": "20.19.1",
|
|
18
18
|
"cheerio": "^1.2.0",
|