@forge/csp 3.2.0 → 3.2.1-next.0
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 +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;
|
|
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;AA0BvD,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,qBAAqB;IAI7B,OAAO,CAAC,aAAa;IAgBrB,OAAO,CAAC,iBAAiB;IA8BlB,gBAAgB;4BAOD,UAAU;mBACnB,iBAAiB;;;;UAI1B,MAAM,EAAE,CAwDV;CACH"}
|
|
@@ -6,7 +6,6 @@ const apiGatewayHost = {
|
|
|
6
6
|
dev: 'https://api.dev.atlassian.com',
|
|
7
7
|
stg: 'https://api.stg.atlassian.com',
|
|
8
8
|
prod: 'https://api.atlassian.com',
|
|
9
|
-
fex: 'https://api.atlassian-fex.com',
|
|
10
9
|
'fedramp-stg': 'https://api.stg.atlassian-us-gov-mod.com',
|
|
11
10
|
'fedramp-prod': 'https://api.atlassian-us-gov-mod.com'
|
|
12
11
|
};
|
|
@@ -14,7 +13,6 @@ const atlassianImageHosts = {
|
|
|
14
13
|
dev: ['https://avatar-management--avatars.us-west-2.staging.public.atl-paas.net', apiGatewayHost['dev']],
|
|
15
14
|
stg: ['https://avatar-management--avatars.us-west-2.staging.public.atl-paas.net', apiGatewayHost['stg']],
|
|
16
15
|
prod: ['https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net', apiGatewayHost['prod']],
|
|
17
|
-
fex: ['https://avatar-management--avatars.us-west-2.staging.public.atl-paas.net', apiGatewayHost['fex']],
|
|
18
16
|
'fedramp-stg': [
|
|
19
17
|
'https://avatar-management--avatars.us-east-1.stg.public.atl-paas-us-gov-mod.net',
|
|
20
18
|
apiGatewayHost['fedramp-stg']
|
|
@@ -84,7 +82,7 @@ class CSPInjectionService {
|
|
|
84
82
|
};
|
|
85
83
|
}
|
|
86
84
|
getCSPReportUri(microsEnv) {
|
|
87
|
-
if (microsEnv === 'dev' || microsEnv === 'stg'
|
|
85
|
+
if (microsEnv === 'dev' || microsEnv === 'stg')
|
|
88
86
|
return 'https://web-security-reports.stg.services.atlassian.com/csp-report/forge-cdn';
|
|
89
87
|
return 'https://web-security-reports.services.atlassian.com/csp-report/forge-cdn';
|
|
90
88
|
}
|
|
@@ -118,12 +116,6 @@ class CSPInjectionService {
|
|
|
118
116
|
'*.stg.atlassian.com'
|
|
119
117
|
];
|
|
120
118
|
}
|
|
121
|
-
else if (microsEnv === 'fex') {
|
|
122
|
-
frameAncestors = [
|
|
123
|
-
'*.atlassian-fex.net',
|
|
124
|
-
'http://localhost:*'
|
|
125
|
-
];
|
|
126
|
-
}
|
|
127
119
|
else if (microsEnv === 'fedramp-stg') {
|
|
128
120
|
frameAncestors = ['*.atlassian-stg-fedm.net'];
|
|
129
121
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/csp",
|
|
3
|
-
"version": "3.2.0",
|
|
3
|
+
"version": "3.2.1-next.0",
|
|
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": "3.25.
|
|
15
|
-
"@forge/manifest": "6.
|
|
14
|
+
"@forge/cli-shared": "3.25.2-next.1",
|
|
15
|
+
"@forge/manifest": "6.3.1-next.0",
|
|
16
16
|
"@types/jest": "^29.5.12",
|
|
17
17
|
"@types/node": "14.18.63"
|
|
18
18
|
},
|