-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
167 lines (167 loc) · 5.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "vscode-socket-security",
"displayName": "Socket Security",
"description": "Editor integration with Socket Security",
"version": "1.1.5",
"private": true,
"preview": false,
"categories": [
"Linters",
"Programming Languages"
],
"tags": [
"Code Analysis",
"Code Quality",
"JavaScript",
"Python",
"Security",
"Static Code Analysis",
"TypeScript"
],
"keywords": [
"Code Analysis",
"Code Quality",
"JavaScript",
"Python",
"Security",
"Static Code Analysis",
"TypeScript"
],
"license": "MIT",
"engines": {
"vscode": "^1.63.0"
},
"icon": "socket-square.png",
"activationEvents": [
"workspaceContains:**/[pP][aA][cC][kK][aA][gG][eE].[jJ][sS][oO][nN]",
"workspaceContains:**/[sS][oO][cC][kK][eE][tT].[yY][mM][lL]",
"workspaceContains:**/[rR][eE][qQ][uU][iI][rR][eE][mM][eE][nN][tT][sS].[tT][xX][tT]",
"workspaceContains:**/[pP][yY][pP][rR][oO][jJ][eE][cC][tT].[tT][oO][mM][lL]",
"workspaceContains:**/[pP][iI][pP][fF][iI][lL][eE]",
"workspaceContains:**/[gG][oO].[mM][oO][dD]",
"workspaceContains:**/[gG][oO].[sS][uU][mM]",
"onLanguage:python",
"onLanguage:javascript",
"onLanguage:go"
],
"type": "commonjs",
"main": "./out/main.js",
"homepage": "https://socket.dev",
"contributes": {
"commands": [
{
"command": "socket-security.runReport",
"category": "Socket Security",
"title": "Run Report",
"enablement": "workspaceFolderCount >= 1"
}
],
"configuration": {
"title": "Socket Security",
"properties": {
"socket-security.minIssueLevel": {
"order": 1,
"type": "string",
"default": "low",
"enum": [
"critical",
"high",
"middle",
"low"
],
"description": "Hide all issues that are less important than this level. Note some issues are hidden by default so you may also wish to enable showing all issue types still."
},
"socket-security.errorOverlayThreshold": {
"order": 2,
"type": "number",
"default": 50,
"minimum": 0,
"maximum": 100,
"description": "Show error overlay for any import of a package with a summary score less than this value.",
"examples": [
50
]
},
"socket-security.warnOverlayThreshold": {
"order": 3,
"type": "number",
"default": 80,
"minimum": 0,
"maximum": 100,
"description": "Show overlay for any import of a package with a summary score less than this value.",
"examples": [
80
]
},
"socket-security.reportsEnabled": {
"order": 4,
"type": "boolean",
"default": true,
"description": "Create reports from package manifest files (package.json / package-lock.json) that require sending data remotely. Disabling this will disable all issues but keep scores listed."
},
"socket-security.pythonInterpreter": {
"order": 5,
"type": "string",
"description": "Path to a Python interpreter to use for Socket dependency analysis.",
"examples": [
"/usr/bin/python"
]
},
"socket-security.goExecutable": {
"order": 6,
"type": "string",
"description": "Path to a Go executable to use for Socket dependency analysis.",
"examples": [
"/usr/bin/go"
]
}
}
}
},
"bugs": {
"email": "[email protected]"
},
"publisher": "SocketSecurity",
"scripts": {
"vscode:prepublish": "npm run esbuild -- --minify",
"esbuild-base": "esbuild --bundle --external:vscode --loader:.wasm=binary --loader:.go=file --outdir=out/ --platform=node --sourcemap",
"esbuild": "npm run esbuild-base -- --format=cjs main=src/extension.ts",
"test-compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"compile": "npm run esbuild",
"package-for-vscode": "vsce package --dependencies"
},
"dependencies": {
"@babel/parser": "^7.20.7",
"@socketsecurity/config": "^2.0.0",
"@vscode/vsce": "^2.20.1",
"acorn-walk": "^8.2.0",
"antlr4": "^4.13.0",
"ast-types": "^0.14.2",
"form-data-encoder": "^3.0.0",
"formdata-node": "^5.0.1",
"ini": "^3.0.1",
"json-to-ast": "^2.1.0",
"micromatch": "^4.0.8",
"octokit": "^3.1.2",
"safe-stable-stringify": "^2.4.1",
"semver": "^7.5.2",
"yaml": "^2.2.2"
},
"devDependencies": {
"@types/ini": "^1.3.31",
"@types/json-to-ast": "^2.1.2",
"@types/micromatch": "^4.0.2",
"@types/node": "^16.11.7",
"@types/vscode": "^1.26.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"esbuild": "^0.16.7",
"eslint": "^8.26.0",
"toml-eslint-parser": "^0.6.0",
"typescript": "^4.8.4"
},
"repository": {
"url": "https://github.com/SocketDev/vscode-socket-security"
}
}