@devvit/permissions 0.8.3 → 0.8.5
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/package.json +27 -22
- package/permissions.yaml +1 -2
package/package.json
CHANGED
|
@@ -1,38 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/permissions",
|
|
3
|
-
"
|
|
4
|
-
"version": "0.8.3",
|
|
3
|
+
"version": "0.8.5",
|
|
5
4
|
"license": "BSD-3-Clause",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://developers.reddit.com/"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
6
10
|
"main": "./index.js",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc && cp ./permissions.yaml ./dist",
|
|
13
|
+
"clean": "rm -rf .turbo coverage dist",
|
|
14
|
+
"clobber": "yarn clean && rm -rf node_modules",
|
|
15
|
+
"dev": "tsc -w",
|
|
16
|
+
"lint": "redlint .",
|
|
17
|
+
"lint:fix": "yarn lint --fix",
|
|
18
|
+
"prepublishOnly": "publish-package-json",
|
|
19
|
+
"test": "yarn test:unit && yarn test:types && yarn lint",
|
|
20
|
+
"test:types": "tsc --noEmit",
|
|
21
|
+
"test:unit": "vitest run",
|
|
22
|
+
"test:unit-with-coverage": "vitest run --coverage"
|
|
11
23
|
},
|
|
24
|
+
"types": "./index.d.ts",
|
|
12
25
|
"dependencies": {
|
|
13
|
-
"@devvit/protos": "0.8.
|
|
26
|
+
"@devvit/protos": "0.8.5",
|
|
14
27
|
"js-yaml": "4.1.0"
|
|
15
28
|
},
|
|
16
29
|
"devDependencies": {
|
|
17
|
-
"@devvit/eslint-config": "0.8.
|
|
18
|
-
"@devvit/
|
|
30
|
+
"@devvit/eslint-config": "0.8.5",
|
|
31
|
+
"@devvit/repo-tools": "0.8.5",
|
|
32
|
+
"@devvit/tsconfig": "0.8.5",
|
|
19
33
|
"@types/js-yaml": "4.0.5",
|
|
20
34
|
"eslint": "8.9.0",
|
|
21
35
|
"typescript": "4.9.3",
|
|
22
36
|
"vitest": "0.8.2"
|
|
23
37
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"dev": "tsc -w",
|
|
27
|
-
"clean": "rm -rf .turbo coverage dist",
|
|
28
|
-
"clobber": "yarn clean && rm -rf node_modules",
|
|
29
|
-
"lint": "redlint .",
|
|
30
|
-
"lint:fix": "yarn lint --fix",
|
|
31
|
-
"test": "yarn test:unit && yarn test:types && yarn lint",
|
|
32
|
-
"test:types": "tsc --noEmit",
|
|
33
|
-
"test:unit": "vitest run",
|
|
34
|
-
"test:unit-with-coverage": "vitest run --coverage",
|
|
35
|
-
"prepublishOnly": "publish-package-json"
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"directory": "dist"
|
|
36
40
|
},
|
|
37
|
-
"
|
|
41
|
+
"source": "./src/index.ts",
|
|
42
|
+
"gitHead": "4f506a30c6af7ad2caeb7b0192129c63d4ebbd84"
|
|
38
43
|
}
|
package/permissions.yaml
CHANGED
|
@@ -17,8 +17,7 @@ permissions:
|
|
|
17
17
|
- permission: SYSTEM
|
|
18
18
|
- actor: http.plugins.local
|
|
19
19
|
has: # No permissions
|
|
20
|
-
requires: #
|
|
21
|
-
- permission: HTTP
|
|
20
|
+
requires: # No permissions
|
|
22
21
|
# Allow this one specific test actor to make HTTP requests so that we can
|
|
23
22
|
# unit-test the HTTP plugin. to-do: add to app name block list.
|
|
24
23
|
- actor: hello-world-request.local
|