npm package diff

Package: @forge/lint

Versions: 5.5.2-next.10 - 5.6.0-next.11

Added:package/out/lint/linters/storage-module-linter/api-call-interface.js

Added:package/out/lint/linters/storage-module-linter/visitors/sql-node-visitor.js

Added:package/out/lint/linters/storage-module-linter/verifiers/sql-verifier.js

Added:package/out/lint/linters/storage-module-linter/storage-module-linter.js

Added:package/out/lint/linters/storage-module-linter/api-call-interface.d.ts.map

Added:package/out/lint/linters/storage-module-linter/visitors/sql-node-visitor.d.ts.map

Added:package/out/lint/linters/storage-module-linter/verifiers/sql-verifier.d.ts.map

Added:package/out/lint/linters/storage-module-linter/storage-module-linter.d.ts.map

Added:package/out/lint/linters/storage-module-linter/api-call-interface.d.ts

Added:package/out/lint/linters/storage-module-linter/visitors/sql-node-visitor.d.ts

Added:package/out/lint/linters/storage-module-linter/verifiers/sql-verifier.d.ts

Added:package/out/lint/linters/storage-module-linter/storage-module-linter.d.ts

Modified:package/out/lint/lint.js

Index: package/out/lint/lint.js
===================================================================
--- package/out/lint/lint.js
+++ package/out/lint/lint.js
@@ -15,8 +15,9 @@
 const deprecated_csp_permissions_manifest_linter_1 = require("./linters/manifest-linter/deprecated-csp-permissions-manifest-linter");
 const dynamic_properties_permissions_linter_1 = require("./linters/dynamic-properties-linter/dynamic-properties-permissions-linter");
 const remote_compute_manifest_linter_1 = require("./linters/manifest-linter/remote-compute-manifest-linter");
 const invoke_remote_linter_1 = require("./linters/remote-linter/invoke-remote-linter");
+const storage_module_linter_1 = require("./linters/storage-module-linter/storage-module-linter");
 const reportLintResults = (logger, lintResults, showSummary = true) => {
     let numErrors = 0, numWarnings = 0;
     let noProblemsFound = true;
     if (lintResults.length) {
@@ -84,9 +85,10 @@
     new remote_compute_manifest_linter_1.RemoteComputeManifestLinter(logger),
     new full_manifest_linter_1.FullManifestLinter(logger),
     new handler_linter_1.HandlerLinter(environment, manifest, logger),
     new dynamic_properties_permissions_linter_1.DynamicPropertiesPermissionsLinter(environment, manifest, logger),
-    new invoke_remote_linter_1.InvokeRemoteLinter(environment, manifest, logger)
+    new invoke_remote_linter_1.InvokeRemoteLinter(environment, manifest, logger),
+    new storage_module_linter_1.StorageModulesLinter(environment, manifest, logger)
 ]) => {
     const { include, exclude } = await (0, cli_shared_1.listTSConfigIncludeExclude)(new cli_shared_1.FileSystemReader());
     const tsInclude = new Set(include);
     const tsExclude = new Set(exclude);

Modified:package/out/lint/text/messages.js

Index: package/out/lint/text/messages.js
===================================================================
--- package/out/lint/text/messages.js
+++ package/out/lint/text/messages.js
@@ -38,7 +38,11 @@
         },
         uiHook: {
             message: (product, hook, scope) => `${product} UI hook: "${hook}" requires the "${scope}" scope`,
             reference: 'permission-scope-required'
+        },
+        sql: {
+            message: (module) => `SQL package is used but '${module}' module is not defined in the manifest`,
+            reference: 'https://developer.atlassian.com/platform/forge/manifest-reference/#modules'
         }
     }
 };

Modified:package/package.json

Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/lint",
-  "version": "5.5.2-next.10",
+  "version": "5.6.0-next.11",
   "description": "Linting for forge apps",
   "main": "out/index.js",
   "license": "UNLICENSED",
   "scripts": {

Modified:package/out/lint/lint.d.ts.map

Index: package/out/lint/lint.d.ts.map
===================================================================
--- package/out/lint/lint.d.ts.map
+++ package/out/lint/lint.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/lint/lint.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,CAAC;AAIpB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAkB,MAAM,oBAAoB,CAAC;AAWxG,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC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S,CAOnB,CAAC;AAEF,eAAO,MAAM,IAAI,gBACF,MAAM,EAAE,YACX,QAAQ,eACL,MAAM,UACX,UAAU,6BAhBR,MAAM,UACR,eAAe,oBACN,OAAO,GAAG,QAAQ,CAAC,aAAa,KAChD,QAAQ,SAAS,CAAC,YAeV,eAAe,EAAE,KAWzB,QAAQ,UAAU,EAAE,CAyCtB,CAAC;AAEF,eAAO,MAAM,QAAQ,WACX,UAAU,WACV,eAAe,KACtB,QAAQ,UAAU,EAAE,CAGtB,CAAC"}
\ No newline at end of file

Modified:package/out/lint/text/messages.d.ts.map

Index: package/out/lint/text/messages.d.ts.map
===================================================================
--- package/out/lint/text/messages.d.ts.map
+++ package/out/lint/text/messages.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/lint/text/messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;2BAGA,MAAM;;;;2BAKN,MAAM;2BAER,MAAM;;;;2BAKJ,MAAM;;;;iCAKA,MAAM;;;;iCAKN,MAAM;;;;8BAKT,MAAM,OAAO,MAAM;;;;+BAKlB,MAAM,UAAU,MAAM,QAAQ,MAAM,GAAG,SAAS,SAAS,MAAM;;;;6BAKjE,MAAM;;;;+BAIJ,MAAM,QAAQ,MAAM,SAAS,MAAM;;;;CAK3D,CAAC"}
\ No newline at end of file
+{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/lint/text/messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;2BAGA,MAAM;;;;2BAKN,MAAM;2BAER,MAAM;;;;2BAKJ,MAAM;;;;iCAKA,MAAM;;;;iCAKN,MAAM;;;;8BAKT,MAAM,OAAO,MAAM;;;;+BAKlB,MAAM,UAAU,MAAM,QAAQ,MAAM,GAAG,SAAS,SAAS,MAAM;;;;6BAKjE,MAAM;;;;+BAIJ,MAAM,QAAQ,MAAM,SAAS,MAAM;;;;8BAKpC,MAAM;;;;CAI7B,CAAC"}
\ No newline at end of file

Modified:package/CHANGELOG.md

too-big

Modified:package/out/lint/text/messages.d.ts

Index: package/out/lint/text/messages.d.ts
===================================================================
--- package/out/lint/text/messages.d.ts
+++ package/out/lint/text/messages.d.ts
@@ -36,7 +36,11 @@
         uiHook: {
             message: (product: string, hook: string, scope: string) => string;
             reference: string;
         };
+        sql: {
+            message: (module: string) => string;
+            reference: string;
+        };
     };
 };
 //# sourceMappingURL=messages.d.ts.map
\ No newline at end of file