npm package diff

Package: @forge/lint

Versions: 5.3.5-next.2 - 5.4.0-next.3

File: package/out/lint/linters/permission-linter/permission-linter.js

Index: package/out/lint/linters/permission-linter/permission-linter.js
===================================================================
--- package/out/lint/linters/permission-linter/permission-linter.js
+++ package/out/lint/linters/permission-linter/permission-linter.js
@@ -152,10 +152,9 @@
             new visitors_1.ProductNodeVisitor(),
             new visitors_1.UIHookNodeVisitor(),
             new visitors_1.StorageAPINodeVisitor(),
             new visitors_1.ExternalApiCallVisitor(),
-            new visitors_1.ImageUrlVisitor(),
-            new visitors_1.ContentPropertyVisitor()
+            new visitors_1.ImageUrlVisitor()
         ];
         const humanReadableEnvironment = (0, cli_shared_1.environmentToOption)(this.environment);
         this.verifiers = {
             bitbucket: new verifiers_1.ProductVerifier(humanReadableEnvironment, this.manifest, this.bitbucket, 'bitbucket'),
@@ -163,10 +162,9 @@
             jira: new verifiers_1.ProductVerifier(humanReadableEnvironment, this.manifest, this.jira, 'jira'),
             storage: new verifiers_1.StorageAPIVerifier(humanReadableEnvironment, this.manifest),
             uiHook: new verifiers_1.UIHookVerifier(humanReadableEnvironment, this.manifest),
             external: new verifiers_1.ExternalFetchVerifier(humanReadableEnvironment, this.manifest),
-            image: new verifiers_1.ImageUrlVerifier(humanReadableEnvironment, this.manifest),
-            contentProperty: new verifiers_1.ContentPropertyVerifier(humanReadableEnvironment, this.manifest)
+            image: new verifiers_1.ImageUrlVerifier(humanReadableEnvironment, this.manifest)
         };
     }
     setupMatchesMap(filepath) {
         if (!this.jira || !this.confluence || !this.bitbucket)
@@ -177,10 +175,9 @@
             jira: [],
             uiHook: [],
             storage: [],
             external: [],
-            image: [],
-            contentProperty: []
+            image: []
         });
     }
     getFixer() {
         return exports.fixMissingPermissions;
@@ -202,11 +199,8 @@
                 break;
             case api_call_interface_1.ApiCallTypes.IMAGE:
                 criteriaMatches.image.push(apiCall);
                 break;
-            case api_call_interface_1.ApiCallTypes.CONTENT_PROPERTY:
-                criteriaMatches.contentProperty.push(apiCall);
-                break;
         }
     }
     async getProductPaths(cacheKey, url) {
         const cached = this.cache?.get(cacheKey);