npm package diff
Package: @forge/lint
Versions: 5.10.0-next.9 - 5.10.0-next.10
Modified: package/out/lint/linters/permission-linter/verifiers/image-url-verifier.js
Index: package/out/lint/linters/permission-linter/verifiers/image-url-verifier.js
===================================================================
--- package/out/lint/linters/permission-linter/verifiers/image-url-verifier.js
+++ package/out/lint/linters/permission-linter/verifiers/image-url-verifier.js
@@ -30,11 +30,12 @@
const microsEnv = getMicrosEnvironment((0, cli_shared_1.getEnvironmentConfig)());
const allowList = (this.manifest?.permissions?.external?.images ?? [])
.map((item) => (typeof item === 'object' && 'address' in item ? item.address : item))
.filter((item) => typeof item === 'string');
+ const icOptions = { icLabel: '*', serviceName: 'forge-cdn' };
const collectedUrls = [
...allowList,
- ...csp_1.ATLASSIAN_IMAGES_HOSTS[microsEnv],
+ ...(0, csp_1.getAtlassianImageHost)(microsEnv, icOptions),
...csp_1.EXTERNAL_ALLOW_LISTED_IMAGES_HOSTS
].filter((item) => typeof item === 'string');
this.egressFilteringService = new egress_1.EgressFilteringService(collectedUrls);
}
Modified: package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/lint",
- "version": "5.10.0-next.9",
+ "version": "5.10.0-next.10",
"description": "Linting for forge apps",
"main": "out/index.js",
"license": "SEE LICENSE IN LICENSE.txt",
"scripts": {
@@ -18,10 +18,10 @@
"@types/node-fetch": "^2.6.12",
"eslint-plugin-import": "^2.29.1"
},
"dependencies": {
- "@forge/cli-shared": "8.2.0-next.9",
- "@forge/csp": "4.1.0",
+ "@forge/cli-shared": "8.2.0-next.10",
+ "@forge/csp": "4.2.0-next.0",
"@forge/egress": "2.0.1",
"@forge/manifest": "10.1.1-next.2",
"@typescript-eslint/typescript-estree": "^5.62.0",
"array.prototype.flatmap": "^1.3.3",
Modified: package/out/lint/linters/permission-linter/verifiers/image-url-verifier.d.ts.map
Index: package/out/lint/linters/permission-linter/verifiers/image-url-verifier.d.ts.map
===================================================================
--- package/out/lint/linters/permission-linter/verifiers/image-url-verifier.d.ts.map
+++ package/out/lint/linters/permission-linter/verifiers/image-url-verifier.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"image-url-verifier.d.ts","sourceRoot":"","sources":["../../../../../src/lint/linters/permission-linter/verifiers/image-url-verifier.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiBjD,qBAAa,gBAAiB,SAAQ,qBAAsB,YAAW,iBAAiB,CAAC,QAAQ,EAAE,CAAC;IAClG,OAAO,CAAC,sBAAsB,CAAyB;gBAE3C,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IAkBnD,SAAS,CAAC,YAAY,IAAI,SAAS;IAItB,OAAO,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;CAcvE"}
\ No newline at end of file
+{"version":3,"file":"image-url-verifier.d.ts","sourceRoot":"","sources":["../../../../../src/lint/linters/permission-linter/verifiers/image-url-verifier.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiBjD,qBAAa,gBAAiB,SAAQ,qBAAsB,YAAW,iBAAiB,CAAC,QAAQ,EAAE,CAAC;IAClG,OAAO,CAAC,sBAAsB,CAAyB;gBAE3C,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IAoBnD,SAAS,CAAC,YAAY,IAAI,SAAS;IAItB,OAAO,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;CAcvE"}
\ No newline at end of file
Modified: package/CHANGELOG.md
Large diffs are not rendered by default.