@forge/lint 1.6.1-next.9 → 2.0.0-next.13

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,43 @@
1
1
  # @forge/lint
2
2
 
3
+ ## 2.0.0-next.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bd6e025]
8
+ - Updated dependencies [d2f6992]
9
+ - @forge/manifest@2.6.0-next.10
10
+ - @forge/cli-shared@2.1.6-next.11
11
+
12
+ ## 2.0.0-next.12
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [22a488ec]
17
+ - @forge/manifest@2.6.0-next.9
18
+ - @forge/cli-shared@2.1.6-next.10
19
+
20
+ ## 2.0.0-next.11
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [c0e5696]
25
+ - Updated dependencies [7c0d2ee]
26
+ - @forge/manifest@2.6.0-next.8
27
+ - @forge/cli-shared@2.1.6-next.9
28
+
29
+ ## 2.0.0-next.10
30
+
31
+ ### Major Changes
32
+
33
+ - cdf001f: Update ui-hooks to use new granular scopes
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [d3afe01]
38
+ - @forge/manifest@2.6.0-next.7
39
+ - @forge/cli-shared@2.1.6-next.8
40
+
3
41
  ## 1.6.1-next.9
4
42
 
5
43
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ui-hook-verifier.d.ts","sourceRoot":"","sources":["../../../../../src/lint/linters/permission-linter/verifiers/ui-hook-verifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AASpF,qBAAa,cAAe,SAAQ,qBAAsB,YAAW,iBAAiB,CAAC,OAAO,EAAE,CAAC;IAC/F,SAAS,CAAC,YAAY,IAAI,SAAS;IAItB,OAAO,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAiB1E,OAAO,CAAC,WAAW;CAepB"}
1
+ {"version":3,"file":"ui-hook-verifier.d.ts","sourceRoot":"","sources":["../../../../../src/lint/linters/permission-linter/verifiers/ui-hook-verifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAiBpF,qBAAa,cAAe,SAAQ,qBAAsB,YAAW,iBAAiB,CAAC,OAAO,EAAE,CAAC;IAC/F,SAAS,CAAC,YAAY,IAAI,SAAS;IAItB,OAAO,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAiB1E,OAAO,CAAC,WAAW;CAepB"}
@@ -5,9 +5,17 @@ const linter_interface_1 = require("../../../linter-interface");
5
5
  const verifier_interface_1 = require("../../verifier-interface");
6
6
  const text_1 = require("../../../text");
7
7
  const FORGE_UI_HOOK_PERMISSIONS = {
8
- useContentProperty: ['read:confluence-props', 'write:confluence-props'],
9
- useSpaceProperty: ['read:confluence-props', 'write:confluence-props'],
10
- useIssueProperty: ['read:jira-work', 'write:jira-work']
8
+ useContentProperty: [
9
+ 'read:content-details:confluence',
10
+ 'read:content.property:confluence',
11
+ 'write:content.property:confluence'
12
+ ],
13
+ useSpaceProperty: [
14
+ 'read:content-details:confluence',
15
+ 'read:space.property:confluence',
16
+ 'write:space.property:confluence'
17
+ ],
18
+ useIssueProperty: ['read:issue.property:jira']
11
19
  };
12
20
  class UIHookVerifier extends verifier_interface_1.BaseLintIssueVerifier {
13
21
  getLintClass() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/lint",
3
- "version": "1.6.1-next.9",
3
+ "version": "2.0.0-next.13",
4
4
  "description": "Linting for forge apps",
5
5
  "main": "out/index.js",
6
6
  "license": "UNLICENSED",
@@ -15,9 +15,9 @@
15
15
  "@types/node-fetch": "^2.5.7"
16
16
  },
17
17
  "dependencies": {
18
- "@forge/cli-shared": "2.1.6-next.7",
18
+ "@forge/cli-shared": "2.1.6-next.11",
19
19
  "@forge/csp": "1.8.1-next.0",
20
- "@forge/manifest": "2.6.0-next.6",
20
+ "@forge/manifest": "2.6.0-next.10",
21
21
  "@typescript-eslint/typescript-estree": "^3.5.0",
22
22
  "cross-spawn": "^7.0.1",
23
23
  "node-fetch": "^2.6.1",