diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/.prettierignore | 2 | ||||
-rw-r--r-- | editors/code/.vscode/launch.json | 31 | ||||
-rw-r--r-- | editors/code/.vscode/settings.json | 11 | ||||
-rw-r--r-- | editors/code/.vscode/tasks.json | 20 | ||||
-rw-r--r-- | editors/code/.vscodeignore | 13 | ||||
-rw-r--r-- | editors/code/package-lock.json | 1157 | ||||
-rw-r--r-- | editors/code/package.json | 48 | ||||
-rw-r--r-- | editors/code/rollup.config.js | 29 | ||||
-rw-r--r-- | editors/code/src/server.ts | 12 | ||||
-rw-r--r-- | editors/code/src/test/runTest.ts | 22 | ||||
-rw-r--r-- | editors/code/src/test/utils/index.ts | 49 | ||||
-rw-r--r-- | editors/code/tsconfig.json | 8 | ||||
-rw-r--r-- | editors/code/tslint.json | 15 |
13 files changed, 123 insertions, 1294 deletions
diff --git a/editors/code/.prettierignore b/editors/code/.prettierignore deleted file mode 100644 index 3798f2d1f..000000000 --- a/editors/code/.prettierignore +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | node_modules/ | ||
2 | .vscode-test/ | ||
diff --git a/editors/code/.vscode/launch.json b/editors/code/.vscode/launch.json deleted file mode 100644 index c3578f476..000000000 --- a/editors/code/.vscode/launch.json +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | // A launch configuration that compiles the extension and then opens it inside a new window | ||
2 | // Use IntelliSense to learn about possible attributes. | ||
3 | // Hover to view descriptions of existing attributes. | ||
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
5 | { | ||
6 | "version": "0.2.0", | ||
7 | "configurations": [ | ||
8 | { | ||
9 | "name": "Extension", | ||
10 | "type": "extensionHost", | ||
11 | "request": "launch", | ||
12 | "runtimeExecutable": "${execPath}", | ||
13 | "args": ["--extensionDevelopmentPath=${workspaceFolder}"], | ||
14 | "outFiles": ["${workspaceFolder}/out/**/*.js"], | ||
15 | "preLaunchTask": "npm: watch" | ||
16 | }, | ||
17 | { | ||
18 | "name": "Extension Tests", | ||
19 | "type": "extensionHost", | ||
20 | "request": "launch", | ||
21 | "runtimeExecutable": "${execPath}", | ||
22 | "args": [ | ||
23 | "${workspaceFolder}/src/test/", | ||
24 | "--extensionDevelopmentPath=${workspaceFolder}", | ||
25 | "--extensionTestsPath=${workspaceFolder}/out/test" | ||
26 | ], | ||
27 | "outFiles": ["${workspaceFolder}/out/test/**/*.js"], | ||
28 | "preLaunchTask": "npm: watch" | ||
29 | } | ||
30 | ] | ||
31 | } | ||
diff --git a/editors/code/.vscode/settings.json b/editors/code/.vscode/settings.json deleted file mode 100644 index fa0a10487..000000000 --- a/editors/code/.vscode/settings.json +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | // Place your settings in this file to overwrite default and user settings. | ||
2 | { | ||
3 | "files.exclude": { | ||
4 | "out": false // set this to true to hide the "out" folder with the compiled JS files | ||
5 | }, | ||
6 | "search.exclude": { | ||
7 | "out": true // set this to false to include "out" folder in search results | ||
8 | }, | ||
9 | // Turn off tsc task auto detection since we have the necessary tasks as npm scripts | ||
10 | "typescript.tsc.autoDetect": "off" | ||
11 | } | ||
diff --git a/editors/code/.vscode/tasks.json b/editors/code/.vscode/tasks.json deleted file mode 100644 index 5deb2bccd..000000000 --- a/editors/code/.vscode/tasks.json +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
2 | // for the documentation about the tasks.json format | ||
3 | { | ||
4 | "version": "2.0.0", | ||
5 | "tasks": [ | ||
6 | { | ||
7 | "type": "npm", | ||
8 | "script": "watch", | ||
9 | "problemMatcher": "$tsc-watch", | ||
10 | "isBackground": true, | ||
11 | "presentation": { | ||
12 | "reveal": "never" | ||
13 | }, | ||
14 | "group": { | ||
15 | "kind": "build", | ||
16 | "isDefault": true | ||
17 | } | ||
18 | } | ||
19 | ] | ||
20 | } | ||
diff --git a/editors/code/.vscodeignore b/editors/code/.vscodeignore index f9e72b668..f2c4d3307 100644 --- a/editors/code/.vscodeignore +++ b/editors/code/.vscodeignore | |||
@@ -1,9 +1,4 @@ | |||
1 | .vscode/** | 1 | ** |
2 | .vscode-test/** | 2 | !out/extension.js |
3 | out/** | 3 | !package.json |
4 | src/** | 4 | !package-lock.json |
5 | .gitignore | ||
6 | tsconfig.json | ||
7 | vsc-extension-quickstart.md | ||
8 | tslint.json | ||
9 | node_modules/** | ||
diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index 67081f3fd..982238fa4 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json | |||
@@ -4,65 +4,61 @@ | |||
4 | "lockfileVersion": 1, | 4 | "lockfileVersion": 1, |
5 | "requires": true, | 5 | "requires": true, |
6 | "dependencies": { | 6 | "dependencies": { |
7 | "@babel/code-frame": { | 7 | "@rollup/plugin-commonjs": { |
8 | "version": "7.5.5", | 8 | "version": "11.0.0", |
9 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", | 9 | "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.0.tgz", |
10 | "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", | 10 | "integrity": "sha512-jnm//T5ZWOZ6zmJ61fReSCBOif+Ax8dHVoVggA+d2NA7T4qCWgQ3KYr+zN2faGEYLpe1wa03IzvhR+sqVLxUWg==", |
11 | "dev": true, | 11 | "dev": true, |
12 | "requires": { | 12 | "requires": { |
13 | "@babel/highlight": "^7.0.0" | 13 | "@rollup/pluginutils": "^3.0.0", |
14 | "estree-walker": "^0.6.1", | ||
15 | "is-reference": "^1.1.2", | ||
16 | "magic-string": "^0.25.2", | ||
17 | "resolve": "^1.11.0" | ||
14 | } | 18 | } |
15 | }, | 19 | }, |
16 | "@babel/highlight": { | 20 | "@rollup/plugin-node-resolve": { |
17 | "version": "7.5.0", | 21 | "version": "6.0.0", |
18 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", | 22 | "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-6.0.0.tgz", |
19 | "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", | 23 | "integrity": "sha512-GqWz1CfXOsqpeVMcoM315+O7zMxpRsmhWyhJoxLFHVSp9S64/u02i7len/FnbTNbmgYs+sZyilasijH8UiuboQ==", |
20 | "dev": true, | 24 | "dev": true, |
21 | "requires": { | 25 | "requires": { |
22 | "chalk": "^2.0.0", | 26 | "@rollup/pluginutils": "^3.0.0", |
23 | "esutils": "^2.0.2", | 27 | "@types/resolve": "0.0.8", |
24 | "js-tokens": "^4.0.0" | 28 | "builtin-modules": "^3.1.0", |
29 | "is-module": "^1.0.0", | ||
30 | "resolve": "^1.11.1" | ||
25 | } | 31 | } |
26 | }, | 32 | }, |
27 | "@types/estree": { | 33 | "@rollup/plugin-typescript": { |
28 | "version": "0.0.39", | 34 | "version": "2.0.1", |
29 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", | 35 | "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-2.0.1.tgz", |
30 | "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", | 36 | "integrity": "sha512-UA/bN/DlHN19xdOllXmp7G7pM2ac9dQMg0q2T1rg4Bogzb7oHXj2WGafpiNpEm54PivcJdzGRJvRnI6zCISW3w==", |
31 | "dev": true | ||
32 | }, | ||
33 | "@types/events": { | ||
34 | "version": "3.0.0", | ||
35 | "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", | ||
36 | "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==", | ||
37 | "dev": true | ||
38 | }, | ||
39 | "@types/glob": { | ||
40 | "version": "7.1.1", | ||
41 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz", | ||
42 | "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==", | ||
43 | "dev": true, | 37 | "dev": true, |
44 | "requires": { | 38 | "requires": { |
45 | "@types/events": "*", | 39 | "@rollup/pluginutils": "^3.0.0", |
46 | "@types/minimatch": "*", | 40 | "resolve": "^1.12.2" |
47 | "@types/node": "*" | ||
48 | } | 41 | } |
49 | }, | 42 | }, |
50 | "@types/minimatch": { | 43 | "@rollup/pluginutils": { |
51 | "version": "3.0.3", | 44 | "version": "3.0.1", |
52 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", | 45 | "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.1.tgz", |
53 | "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", | 46 | "integrity": "sha512-PmNurkecagFimv7ZdKCVOfQuqKDPkrcpLFxRBcQ00LYr4HAjJwhCFxBiY2Xoletll2htTIiXBg6g0Yg21h2M3w==", |
54 | "dev": true | 47 | "dev": true, |
48 | "requires": { | ||
49 | "estree-walker": "^0.6.1" | ||
50 | } | ||
55 | }, | 51 | }, |
56 | "@types/mocha": { | 52 | "@types/estree": { |
57 | "version": "5.2.7", | 53 | "version": "0.0.41", |
58 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz", | 54 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.41.tgz", |
59 | "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==", | 55 | "integrity": "sha512-rIAmXyJlqw4KEBO7+u9gxZZSQHaCNnIzYrnNmYVpgfJhxTqO0brCX0SYpqUTkVI5mwwUwzmtspLBGBKroMeynA==", |
60 | "dev": true | 56 | "dev": true |
61 | }, | 57 | }, |
62 | "@types/node": { | 58 | "@types/node": { |
63 | "version": "12.12.21", | 59 | "version": "12.12.22", |
64 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.21.tgz", | 60 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.22.tgz", |
65 | "integrity": "sha512-8sRGhbpU+ck1n0PGAUgVrWrWdjSW2aqNeyC15W88GRsMpSwzv6RJGlLhE7s2RhVSOdyDmxbqlWSeThq4/7xqlA==", | 61 | "integrity": "sha512-r5i93jqbPWGXYXxianGATOxTelkp6ih/U0WVnvaqAvTqM+0U6J3kw6Xk6uq/dWNRkEVw/0SLcO5ORXbVNz4FMQ==", |
66 | "dev": true | 62 | "dev": true |
67 | }, | 63 | }, |
68 | "@types/resolve": { | 64 | "@types/resolve": { |
@@ -92,27 +88,6 @@ | |||
92 | "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==", | 88 | "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==", |
93 | "dev": true | 89 | "dev": true |
94 | }, | 90 | }, |
95 | "agent-base": { | ||
96 | "version": "4.3.0", | ||
97 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", | ||
98 | "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", | ||
99 | "dev": true, | ||
100 | "requires": { | ||
101 | "es6-promisify": "^5.0.0" | ||
102 | } | ||
103 | }, | ||
104 | "ansi-colors": { | ||
105 | "version": "3.2.3", | ||
106 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz", | ||
107 | "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==", | ||
108 | "dev": true | ||
109 | }, | ||
110 | "ansi-regex": { | ||
111 | "version": "3.0.0", | ||
112 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", | ||
113 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", | ||
114 | "dev": true | ||
115 | }, | ||
116 | "ansi-styles": { | 91 | "ansi-styles": { |
117 | "version": "3.2.1", | 92 | "version": "3.2.1", |
118 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", | 93 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", |
@@ -131,12 +106,6 @@ | |||
131 | "sprintf-js": "~1.0.2" | 106 | "sprintf-js": "~1.0.2" |
132 | } | 107 | } |
133 | }, | 108 | }, |
134 | "atob": { | ||
135 | "version": "2.1.2", | ||
136 | "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", | ||
137 | "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", | ||
138 | "dev": true | ||
139 | }, | ||
140 | "azure-devops-node-api": { | 109 | "azure-devops-node-api": { |
141 | "version": "7.2.0", | 110 | "version": "7.2.0", |
142 | "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-7.2.0.tgz", | 111 | "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-7.2.0.tgz", |
@@ -171,12 +140,6 @@ | |||
171 | "concat-map": "0.0.1" | 140 | "concat-map": "0.0.1" |
172 | } | 141 | } |
173 | }, | 142 | }, |
174 | "browser-stdout": { | ||
175 | "version": "1.3.1", | ||
176 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", | ||
177 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", | ||
178 | "dev": true | ||
179 | }, | ||
180 | "buffer-crc32": { | 143 | "buffer-crc32": { |
181 | "version": "0.2.13", | 144 | "version": "0.2.13", |
182 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", | 145 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", |
@@ -184,15 +147,9 @@ | |||
184 | "dev": true | 147 | "dev": true |
185 | }, | 148 | }, |
186 | "builtin-modules": { | 149 | "builtin-modules": { |
187 | "version": "1.1.1", | 150 | "version": "3.1.0", |
188 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", | 151 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.1.0.tgz", |
189 | "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", | 152 | "integrity": "sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==", |
190 | "dev": true | ||
191 | }, | ||
192 | "camelcase": { | ||
193 | "version": "5.3.1", | ||
194 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", | ||
195 | "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", | ||
196 | "dev": true | 153 | "dev": true |
197 | }, | 154 | }, |
198 | "chalk": { | 155 | "chalk": { |
@@ -204,17 +161,6 @@ | |||
204 | "ansi-styles": "^3.2.1", | 161 | "ansi-styles": "^3.2.1", |
205 | "escape-string-regexp": "^1.0.5", | 162 | "escape-string-regexp": "^1.0.5", |
206 | "supports-color": "^5.3.0" | 163 | "supports-color": "^5.3.0" |
207 | }, | ||
208 | "dependencies": { | ||
209 | "supports-color": { | ||
210 | "version": "5.5.0", | ||
211 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", | ||
212 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", | ||
213 | "dev": true, | ||
214 | "requires": { | ||
215 | "has-flag": "^3.0.0" | ||
216 | } | ||
217 | } | ||
218 | } | 164 | } |
219 | }, | 165 | }, |
220 | "cheerio": { | 166 | "cheerio": { |
@@ -231,45 +177,6 @@ | |||
231 | "parse5": "^3.0.1" | 177 | "parse5": "^3.0.1" |
232 | } | 178 | } |
233 | }, | 179 | }, |
234 | "cliui": { | ||
235 | "version": "5.0.0", | ||
236 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", | ||
237 | "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", | ||
238 | "dev": true, | ||
239 | "requires": { | ||
240 | "string-width": "^3.1.0", | ||
241 | "strip-ansi": "^5.2.0", | ||
242 | "wrap-ansi": "^5.1.0" | ||
243 | }, | ||
244 | "dependencies": { | ||
245 | "ansi-regex": { | ||
246 | "version": "4.1.0", | ||
247 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", | ||
248 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", | ||
249 | "dev": true | ||
250 | }, | ||
251 | "string-width": { | ||
252 | "version": "3.1.0", | ||
253 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", | ||
254 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", | ||
255 | "dev": true, | ||
256 | "requires": { | ||
257 | "emoji-regex": "^7.0.1", | ||
258 | "is-fullwidth-code-point": "^2.0.0", | ||
259 | "strip-ansi": "^5.1.0" | ||
260 | } | ||
261 | }, | ||
262 | "strip-ansi": { | ||
263 | "version": "5.2.0", | ||
264 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", | ||
265 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", | ||
266 | "dev": true, | ||
267 | "requires": { | ||
268 | "ansi-regex": "^4.1.0" | ||
269 | } | ||
270 | } | ||
271 | } | ||
272 | }, | ||
273 | "color-convert": { | 180 | "color-convert": { |
274 | "version": "1.9.3", | 181 | "version": "1.9.3", |
275 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", | 182 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", |
@@ -315,36 +222,6 @@ | |||
315 | "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", | 222 | "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", |
316 | "dev": true | 223 | "dev": true |
317 | }, | 224 | }, |
318 | "debug": { | ||
319 | "version": "3.2.6", | ||
320 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", | ||
321 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", | ||
322 | "dev": true, | ||
323 | "requires": { | ||
324 | "ms": "^2.1.1" | ||
325 | } | ||
326 | }, | ||
327 | "decamelize": { | ||
328 | "version": "1.2.0", | ||
329 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", | ||
330 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", | ||
331 | "dev": true | ||
332 | }, | ||
333 | "decode-uri-component": { | ||
334 | "version": "0.2.0", | ||
335 | "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", | ||
336 | "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", | ||
337 | "dev": true | ||
338 | }, | ||
339 | "define-properties": { | ||
340 | "version": "1.1.3", | ||
341 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", | ||
342 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", | ||
343 | "dev": true, | ||
344 | "requires": { | ||
345 | "object-keys": "^1.0.12" | ||
346 | } | ||
347 | }, | ||
348 | "denodeify": { | 225 | "denodeify": { |
349 | "version": "1.2.1", | 226 | "version": "1.2.1", |
350 | "resolved": "https://registry.npmjs.org/denodeify/-/denodeify-1.2.1.tgz", | 227 | "resolved": "https://registry.npmjs.org/denodeify/-/denodeify-1.2.1.tgz", |
@@ -357,12 +234,6 @@ | |||
357 | "integrity": "sha1-6S7f2tplN9SE1zwBcv0eugxJdv8=", | 234 | "integrity": "sha1-6S7f2tplN9SE1zwBcv0eugxJdv8=", |
358 | "dev": true | 235 | "dev": true |
359 | }, | 236 | }, |
360 | "diff": { | ||
361 | "version": "3.5.0", | ||
362 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", | ||
363 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", | ||
364 | "dev": true | ||
365 | }, | ||
366 | "dom-serializer": { | 237 | "dom-serializer": { |
367 | "version": "0.1.1", | 238 | "version": "0.1.1", |
368 | "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", | 239 | "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", |
@@ -398,108 +269,24 @@ | |||
398 | "domelementtype": "1" | 269 | "domelementtype": "1" |
399 | } | 270 | } |
400 | }, | 271 | }, |
401 | "emoji-regex": { | ||
402 | "version": "7.0.3", | ||
403 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", | ||
404 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", | ||
405 | "dev": true | ||
406 | }, | ||
407 | "entities": { | 272 | "entities": { |
408 | "version": "1.1.2", | 273 | "version": "1.1.2", |
409 | "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", | 274 | "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", |
410 | "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", | 275 | "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", |
411 | "dev": true | 276 | "dev": true |
412 | }, | 277 | }, |
413 | "es-abstract": { | ||
414 | "version": "1.16.3", | ||
415 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.3.tgz", | ||
416 | "integrity": "sha512-WtY7Fx5LiOnSYgF5eg/1T+GONaGmpvpPdCpSnYij+U2gDTL0UPfWrhDw7b2IYb+9NQJsYpCA0wOQvZfsd6YwRw==", | ||
417 | "dev": true, | ||
418 | "requires": { | ||
419 | "es-to-primitive": "^1.2.1", | ||
420 | "function-bind": "^1.1.1", | ||
421 | "has": "^1.0.3", | ||
422 | "has-symbols": "^1.0.1", | ||
423 | "is-callable": "^1.1.4", | ||
424 | "is-regex": "^1.0.4", | ||
425 | "object-inspect": "^1.7.0", | ||
426 | "object-keys": "^1.1.1", | ||
427 | "string.prototype.trimleft": "^2.1.0", | ||
428 | "string.prototype.trimright": "^2.1.0" | ||
429 | } | ||
430 | }, | ||
431 | "es-to-primitive": { | ||
432 | "version": "1.2.1", | ||
433 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", | ||
434 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", | ||
435 | "dev": true, | ||
436 | "requires": { | ||
437 | "is-callable": "^1.1.4", | ||
438 | "is-date-object": "^1.0.1", | ||
439 | "is-symbol": "^1.0.2" | ||
440 | } | ||
441 | }, | ||
442 | "es6-object-assign": { | ||
443 | "version": "1.1.0", | ||
444 | "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", | ||
445 | "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=", | ||
446 | "dev": true | ||
447 | }, | ||
448 | "es6-promise": { | ||
449 | "version": "4.2.8", | ||
450 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", | ||
451 | "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", | ||
452 | "dev": true | ||
453 | }, | ||
454 | "es6-promisify": { | ||
455 | "version": "5.0.0", | ||
456 | "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", | ||
457 | "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", | ||
458 | "dev": true, | ||
459 | "requires": { | ||
460 | "es6-promise": "^4.0.3" | ||
461 | } | ||
462 | }, | ||
463 | "escape-string-regexp": { | 278 | "escape-string-regexp": { |
464 | "version": "1.0.5", | 279 | "version": "1.0.5", |
465 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", | 280 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", |
466 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", | 281 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", |
467 | "dev": true | 282 | "dev": true |
468 | }, | 283 | }, |
469 | "eslint-plugin-prettier": { | ||
470 | "version": "2.7.0", | ||
471 | "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-2.7.0.tgz", | ||
472 | "integrity": "sha512-CStQYJgALoQBw3FsBzH0VOVDRnJ/ZimUlpLm226U8qgqYJfPOY/CPK6wyRInMxh73HSKg5wyRwdS4BVYYHwokA==", | ||
473 | "dev": true, | ||
474 | "requires": { | ||
475 | "fast-diff": "^1.1.1", | ||
476 | "jest-docblock": "^21.0.0" | ||
477 | } | ||
478 | }, | ||
479 | "esprima": { | ||
480 | "version": "4.0.1", | ||
481 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", | ||
482 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", | ||
483 | "dev": true | ||
484 | }, | ||
485 | "estree-walker": { | 284 | "estree-walker": { |
486 | "version": "0.6.1", | 285 | "version": "0.6.1", |
487 | "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", | 286 | "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", |
488 | "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", | 287 | "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", |
489 | "dev": true | 288 | "dev": true |
490 | }, | 289 | }, |
491 | "esutils": { | ||
492 | "version": "2.0.3", | ||
493 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", | ||
494 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", | ||
495 | "dev": true | ||
496 | }, | ||
497 | "fast-diff": { | ||
498 | "version": "1.2.0", | ||
499 | "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", | ||
500 | "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", | ||
501 | "dev": true | ||
502 | }, | ||
503 | "fd-slicer": { | 290 | "fd-slicer": { |
504 | "version": "1.1.0", | 291 | "version": "1.1.0", |
505 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", | 292 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", |
@@ -509,42 +296,12 @@ | |||
509 | "pend": "~1.2.0" | 296 | "pend": "~1.2.0" |
510 | } | 297 | } |
511 | }, | 298 | }, |
512 | "find-up": { | ||
513 | "version": "3.0.0", | ||
514 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", | ||
515 | "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", | ||
516 | "dev": true, | ||
517 | "requires": { | ||
518 | "locate-path": "^3.0.0" | ||
519 | } | ||
520 | }, | ||
521 | "flat": { | ||
522 | "version": "4.1.0", | ||
523 | "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.0.tgz", | ||
524 | "integrity": "sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw==", | ||
525 | "dev": true, | ||
526 | "requires": { | ||
527 | "is-buffer": "~2.0.3" | ||
528 | } | ||
529 | }, | ||
530 | "fs.realpath": { | 299 | "fs.realpath": { |
531 | "version": "1.0.0", | 300 | "version": "1.0.0", |
532 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | 301 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", |
533 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", | 302 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", |
534 | "dev": true | 303 | "dev": true |
535 | }, | 304 | }, |
536 | "function-bind": { | ||
537 | "version": "1.1.1", | ||
538 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", | ||
539 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", | ||
540 | "dev": true | ||
541 | }, | ||
542 | "get-caller-file": { | ||
543 | "version": "2.0.5", | ||
544 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", | ||
545 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", | ||
546 | "dev": true | ||
547 | }, | ||
548 | "glob": { | 305 | "glob": { |
549 | "version": "7.1.6", | 306 | "version": "7.1.6", |
550 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", | 307 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", |
@@ -559,39 +316,12 @@ | |||
559 | "path-is-absolute": "^1.0.0" | 316 | "path-is-absolute": "^1.0.0" |
560 | } | 317 | } |
561 | }, | 318 | }, |
562 | "growl": { | ||
563 | "version": "1.10.5", | ||
564 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", | ||
565 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", | ||
566 | "dev": true | ||
567 | }, | ||
568 | "has": { | ||
569 | "version": "1.0.3", | ||
570 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", | ||
571 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", | ||
572 | "dev": true, | ||
573 | "requires": { | ||
574 | "function-bind": "^1.1.1" | ||
575 | } | ||
576 | }, | ||
577 | "has-flag": { | 319 | "has-flag": { |
578 | "version": "3.0.0", | 320 | "version": "3.0.0", |
579 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", | 321 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", |
580 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", | 322 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", |
581 | "dev": true | 323 | "dev": true |
582 | }, | 324 | }, |
583 | "has-symbols": { | ||
584 | "version": "1.0.1", | ||
585 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", | ||
586 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", | ||
587 | "dev": true | ||
588 | }, | ||
589 | "he": { | ||
590 | "version": "1.2.0", | ||
591 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", | ||
592 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", | ||
593 | "dev": true | ||
594 | }, | ||
595 | "htmlparser2": { | 325 | "htmlparser2": { |
596 | "version": "3.10.1", | 326 | "version": "3.10.1", |
597 | "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", | 327 | "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", |
@@ -606,43 +336,6 @@ | |||
606 | "readable-stream": "^3.1.1" | 336 | "readable-stream": "^3.1.1" |
607 | } | 337 | } |
608 | }, | 338 | }, |
609 | "http-proxy-agent": { | ||
610 | "version": "2.1.0", | ||
611 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", | ||
612 | "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==", | ||
613 | "dev": true, | ||
614 | "requires": { | ||
615 | "agent-base": "4", | ||
616 | "debug": "3.1.0" | ||
617 | }, | ||
618 | "dependencies": { | ||
619 | "debug": { | ||
620 | "version": "3.1.0", | ||
621 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", | ||
622 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", | ||
623 | "dev": true, | ||
624 | "requires": { | ||
625 | "ms": "2.0.0" | ||
626 | } | ||
627 | }, | ||
628 | "ms": { | ||
629 | "version": "2.0.0", | ||
630 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
631 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", | ||
632 | "dev": true | ||
633 | } | ||
634 | } | ||
635 | }, | ||
636 | "https-proxy-agent": { | ||
637 | "version": "2.2.4", | ||
638 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", | ||
639 | "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", | ||
640 | "dev": true, | ||
641 | "requires": { | ||
642 | "agent-base": "^4.3.0", | ||
643 | "debug": "^3.1.0" | ||
644 | } | ||
645 | }, | ||
646 | "inflight": { | 339 | "inflight": { |
647 | "version": "1.0.6", | 340 | "version": "1.0.6", |
648 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", | 341 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", |
@@ -659,36 +352,6 @@ | |||
659 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", | 352 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", |
660 | "dev": true | 353 | "dev": true |
661 | }, | 354 | }, |
662 | "interpret": { | ||
663 | "version": "1.2.0", | ||
664 | "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz", | ||
665 | "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==", | ||
666 | "dev": true | ||
667 | }, | ||
668 | "is-buffer": { | ||
669 | "version": "2.0.4", | ||
670 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", | ||
671 | "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", | ||
672 | "dev": true | ||
673 | }, | ||
674 | "is-callable": { | ||
675 | "version": "1.1.4", | ||
676 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", | ||
677 | "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", | ||
678 | "dev": true | ||
679 | }, | ||
680 | "is-date-object": { | ||
681 | "version": "1.0.1", | ||
682 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", | ||
683 | "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", | ||
684 | "dev": true | ||
685 | }, | ||
686 | "is-fullwidth-code-point": { | ||
687 | "version": "2.0.0", | ||
688 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", | ||
689 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", | ||
690 | "dev": true | ||
691 | }, | ||
692 | "is-module": { | 355 | "is-module": { |
693 | "version": "1.0.0", | 356 | "version": "1.0.0", |
694 | "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", | 357 | "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", |
@@ -696,58 +359,20 @@ | |||
696 | "dev": true | 359 | "dev": true |
697 | }, | 360 | }, |
698 | "is-reference": { | 361 | "is-reference": { |
699 | "version": "1.1.3", | 362 | "version": "1.1.4", |
700 | "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.1.3.tgz", | 363 | "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.1.4.tgz", |
701 | "integrity": "sha512-W1iHHv/oyBb2pPxkBxtaewxa1BC58Pn5J0hogyCdefwUIvb6R+TGbAcIa4qPNYLqLhb3EnOgUf2MQkkF76BcKw==", | 364 | "integrity": "sha512-uJA/CDPO3Tao3GTrxYn6AwkM4nUPJiGGYu5+cB8qbC7WGFlrKZbiRo7SFKxUAEpFUfiHofWCXBUNhvYJMh+6zw==", |
702 | "dev": true, | 365 | "dev": true, |
703 | "requires": { | 366 | "requires": { |
704 | "@types/estree": "0.0.39" | 367 | "@types/estree": "0.0.39" |
705 | } | 368 | }, |
706 | }, | 369 | "dependencies": { |
707 | "is-regex": { | 370 | "@types/estree": { |
708 | "version": "1.0.4", | 371 | "version": "0.0.39", |
709 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", | 372 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", |
710 | "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", | 373 | "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", |
711 | "dev": true, | 374 | "dev": true |
712 | "requires": { | 375 | } |
713 | "has": "^1.0.1" | ||
714 | } | ||
715 | }, | ||
716 | "is-symbol": { | ||
717 | "version": "1.0.3", | ||
718 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", | ||
719 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", | ||
720 | "dev": true, | ||
721 | "requires": { | ||
722 | "has-symbols": "^1.0.1" | ||
723 | } | ||
724 | }, | ||
725 | "isexe": { | ||
726 | "version": "2.0.0", | ||
727 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", | ||
728 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", | ||
729 | "dev": true | ||
730 | }, | ||
731 | "jest-docblock": { | ||
732 | "version": "21.2.0", | ||
733 | "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-21.2.0.tgz", | ||
734 | "integrity": "sha512-5IZ7sY9dBAYSV+YjQ0Ovb540Ku7AO9Z5o2Cg789xj167iQuZ2cG+z0f3Uct6WeYLbU6aQiM2pCs7sZ+4dotydw==", | ||
735 | "dev": true | ||
736 | }, | ||
737 | "js-tokens": { | ||
738 | "version": "4.0.0", | ||
739 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", | ||
740 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", | ||
741 | "dev": true | ||
742 | }, | ||
743 | "js-yaml": { | ||
744 | "version": "3.13.1", | ||
745 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", | ||
746 | "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", | ||
747 | "dev": true, | ||
748 | "requires": { | ||
749 | "argparse": "^1.0.7", | ||
750 | "esprima": "^4.0.0" | ||
751 | } | 376 | } |
752 | }, | 377 | }, |
753 | "jsonc-parser": { | 378 | "jsonc-parser": { |
@@ -755,12 +380,6 @@ | |||
755 | "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.0.tgz", | 380 | "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.0.tgz", |
756 | "integrity": "sha512-4fLQxW1j/5fWj6p78vAlAafoCKtuBm6ghv+Ij5W2DrDx0qE+ZdEl2c6Ko1mgJNF5ftX1iEWQQ4Ap7+3GlhjkOA==" | 381 | "integrity": "sha512-4fLQxW1j/5fWj6p78vAlAafoCKtuBm6ghv+Ij5W2DrDx0qE+ZdEl2c6Ko1mgJNF5ftX1iEWQQ4Ap7+3GlhjkOA==" |
757 | }, | 382 | }, |
758 | "lines-and-columns": { | ||
759 | "version": "1.1.6", | ||
760 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", | ||
761 | "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", | ||
762 | "dev": true | ||
763 | }, | ||
764 | "linkify-it": { | 383 | "linkify-it": { |
765 | "version": "2.2.0", | 384 | "version": "2.2.0", |
766 | "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", | 385 | "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", |
@@ -770,40 +389,16 @@ | |||
770 | "uc.micro": "^1.0.1" | 389 | "uc.micro": "^1.0.1" |
771 | } | 390 | } |
772 | }, | 391 | }, |
773 | "locate-path": { | ||
774 | "version": "3.0.0", | ||
775 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", | ||
776 | "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", | ||
777 | "dev": true, | ||
778 | "requires": { | ||
779 | "p-locate": "^3.0.0", | ||
780 | "path-exists": "^3.0.0" | ||
781 | } | ||
782 | }, | ||
783 | "lodash": { | 392 | "lodash": { |
784 | "version": "4.17.15", | 393 | "version": "4.17.15", |
785 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", | 394 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", |
786 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", | 395 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", |
787 | "dev": true | 396 | "dev": true |
788 | }, | 397 | }, |
789 | "log-symbols": { | ||
790 | "version": "2.2.0", | ||
791 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", | ||
792 | "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", | ||
793 | "dev": true, | ||
794 | "requires": { | ||
795 | "chalk": "^2.0.1" | ||
796 | } | ||
797 | }, | ||
798 | "lookpath": { | ||
799 | "version": "1.0.4", | ||
800 | "resolved": "https://registry.npmjs.org/lookpath/-/lookpath-1.0.4.tgz", | ||
801 | "integrity": "sha512-xVFrWlfo7n8VZs1YjBWKkbSIJU7DKE/0Mep62KeT94V1Ui1IY9w5fXfgiCsDIDZkakIYSXSeaW2FLbCqfw9/Cw==" | ||
802 | }, | ||
803 | "magic-string": { | 398 | "magic-string": { |
804 | "version": "0.25.3", | 399 | "version": "0.25.4", |
805 | "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.3.tgz", | 400 | "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.4.tgz", |
806 | "integrity": "sha512-6QK0OpF/phMz0Q2AxILkX2mFhi7m+WMwTRg0LQKq/WBB0cDP4rYH3Wp4/d3OTXlrPLVJT/RFqj8tFeAR4nk8AA==", | 401 | "integrity": "sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw==", |
807 | "dev": true, | 402 | "dev": true, |
808 | "requires": { | 403 | "requires": { |
809 | "sourcemap-codec": "^1.4.4" | 404 | "sourcemap-codec": "^1.4.4" |
@@ -843,90 +438,12 @@ | |||
843 | "brace-expansion": "^1.1.7" | 438 | "brace-expansion": "^1.1.7" |
844 | } | 439 | } |
845 | }, | 440 | }, |
846 | "minimist": { | ||
847 | "version": "0.0.8", | ||
848 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", | ||
849 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", | ||
850 | "dev": true | ||
851 | }, | ||
852 | "mkdirp": { | ||
853 | "version": "0.5.1", | ||
854 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", | ||
855 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", | ||
856 | "dev": true, | ||
857 | "requires": { | ||
858 | "minimist": "0.0.8" | ||
859 | } | ||
860 | }, | ||
861 | "mocha": { | ||
862 | "version": "6.2.2", | ||
863 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-6.2.2.tgz", | ||
864 | "integrity": "sha512-FgDS9Re79yU1xz5d+C4rv1G7QagNGHZ+iXF81hO8zY35YZZcLEsJVfFolfsqKFWunATEvNzMK0r/CwWd/szO9A==", | ||
865 | "dev": true, | ||
866 | "requires": { | ||
867 | "ansi-colors": "3.2.3", | ||
868 | "browser-stdout": "1.3.1", | ||
869 | "debug": "3.2.6", | ||
870 | "diff": "3.5.0", | ||
871 | "escape-string-regexp": "1.0.5", | ||
872 | "find-up": "3.0.0", | ||
873 | "glob": "7.1.3", | ||
874 | "growl": "1.10.5", | ||
875 | "he": "1.2.0", | ||
876 | "js-yaml": "3.13.1", | ||
877 | "log-symbols": "2.2.0", | ||
878 | "minimatch": "3.0.4", | ||
879 | "mkdirp": "0.5.1", | ||
880 | "ms": "2.1.1", | ||
881 | "node-environment-flags": "1.0.5", | ||
882 | "object.assign": "4.1.0", | ||
883 | "strip-json-comments": "2.0.1", | ||
884 | "supports-color": "6.0.0", | ||
885 | "which": "1.3.1", | ||
886 | "wide-align": "1.1.3", | ||
887 | "yargs": "13.3.0", | ||
888 | "yargs-parser": "13.1.1", | ||
889 | "yargs-unparser": "1.6.0" | ||
890 | }, | ||
891 | "dependencies": { | ||
892 | "glob": { | ||
893 | "version": "7.1.3", | ||
894 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", | ||
895 | "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", | ||
896 | "dev": true, | ||
897 | "requires": { | ||
898 | "fs.realpath": "^1.0.0", | ||
899 | "inflight": "^1.0.4", | ||
900 | "inherits": "2", | ||
901 | "minimatch": "^3.0.4", | ||
902 | "once": "^1.3.0", | ||
903 | "path-is-absolute": "^1.0.0" | ||
904 | } | ||
905 | } | ||
906 | } | ||
907 | }, | ||
908 | "ms": { | ||
909 | "version": "2.1.1", | ||
910 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | ||
911 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", | ||
912 | "dev": true | ||
913 | }, | ||
914 | "mute-stream": { | 441 | "mute-stream": { |
915 | "version": "0.0.8", | 442 | "version": "0.0.8", |
916 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", | 443 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", |
917 | "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", | 444 | "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", |
918 | "dev": true | 445 | "dev": true |
919 | }, | 446 | }, |
920 | "node-environment-flags": { | ||
921 | "version": "1.0.5", | ||
922 | "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.5.tgz", | ||
923 | "integrity": "sha512-VNYPRfGfmZLx0Ye20jWzHUjyTW/c+6Wq+iLhDzUI4XmhrDd9l/FozXV3F2xOaXjvp0co0+v1YSR3CMP6g+VvLQ==", | ||
924 | "dev": true, | ||
925 | "requires": { | ||
926 | "object.getownpropertydescriptors": "^2.0.3", | ||
927 | "semver": "^5.7.0" | ||
928 | } | ||
929 | }, | ||
930 | "nth-check": { | 447 | "nth-check": { |
931 | "version": "1.0.2", | 448 | "version": "1.0.2", |
932 | "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", | 449 | "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", |
@@ -936,40 +453,6 @@ | |||
936 | "boolbase": "~1.0.0" | 453 | "boolbase": "~1.0.0" |
937 | } | 454 | } |
938 | }, | 455 | }, |
939 | "object-inspect": { | ||
940 | "version": "1.7.0", | ||
941 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", | ||
942 | "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", | ||
943 | "dev": true | ||
944 | }, | ||
945 | "object-keys": { | ||
946 | "version": "1.1.1", | ||
947 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", | ||
948 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", | ||
949 | "dev": true | ||
950 | }, | ||
951 | "object.assign": { | ||
952 | "version": "4.1.0", | ||
953 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", | ||
954 | "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", | ||
955 | "dev": true, | ||
956 | "requires": { | ||
957 | "define-properties": "^1.1.2", | ||
958 | "function-bind": "^1.1.1", | ||
959 | "has-symbols": "^1.0.0", | ||
960 | "object-keys": "^1.0.11" | ||
961 | } | ||
962 | }, | ||
963 | "object.getownpropertydescriptors": { | ||
964 | "version": "2.0.3", | ||
965 | "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz", | ||
966 | "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=", | ||
967 | "dev": true, | ||
968 | "requires": { | ||
969 | "define-properties": "^1.1.2", | ||
970 | "es-abstract": "^1.5.1" | ||
971 | } | ||
972 | }, | ||
973 | "once": { | 456 | "once": { |
974 | "version": "1.4.0", | 457 | "version": "1.4.0", |
975 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | 458 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", |
@@ -1007,30 +490,6 @@ | |||
1007 | "os-tmpdir": "^1.0.0" | 490 | "os-tmpdir": "^1.0.0" |
1008 | } | 491 | } |
1009 | }, | 492 | }, |
1010 | "p-limit": { | ||
1011 | "version": "2.2.1", | ||
1012 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz", | ||
1013 | "integrity": "sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==", | ||
1014 | "dev": true, | ||
1015 | "requires": { | ||
1016 | "p-try": "^2.0.0" | ||
1017 | } | ||
1018 | }, | ||
1019 | "p-locate": { | ||
1020 | "version": "3.0.0", | ||
1021 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", | ||
1022 | "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", | ||
1023 | "dev": true, | ||
1024 | "requires": { | ||
1025 | "p-limit": "^2.0.0" | ||
1026 | } | ||
1027 | }, | ||
1028 | "p-try": { | ||
1029 | "version": "2.2.0", | ||
1030 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", | ||
1031 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", | ||
1032 | "dev": true | ||
1033 | }, | ||
1034 | "parse-semver": { | 493 | "parse-semver": { |
1035 | "version": "1.1.1", | 494 | "version": "1.1.1", |
1036 | "resolved": "https://registry.npmjs.org/parse-semver/-/parse-semver-1.1.1.tgz", | 495 | "resolved": "https://registry.npmjs.org/parse-semver/-/parse-semver-1.1.1.tgz", |
@@ -1038,6 +497,14 @@ | |||
1038 | "dev": true, | 497 | "dev": true, |
1039 | "requires": { | 498 | "requires": { |
1040 | "semver": "^5.1.0" | 499 | "semver": "^5.1.0" |
500 | }, | ||
501 | "dependencies": { | ||
502 | "semver": { | ||
503 | "version": "5.7.1", | ||
504 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", | ||
505 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", | ||
506 | "dev": true | ||
507 | } | ||
1041 | } | 508 | } |
1042 | }, | 509 | }, |
1043 | "parse5": { | 510 | "parse5": { |
@@ -1049,12 +516,6 @@ | |||
1049 | "@types/node": "*" | 516 | "@types/node": "*" |
1050 | } | 517 | } |
1051 | }, | 518 | }, |
1052 | "path-exists": { | ||
1053 | "version": "3.0.0", | ||
1054 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", | ||
1055 | "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", | ||
1056 | "dev": true | ||
1057 | }, | ||
1058 | "path-is-absolute": { | 519 | "path-is-absolute": { |
1059 | "version": "1.0.1", | 520 | "version": "1.0.1", |
1060 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", | 521 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", |
@@ -1073,12 +534,6 @@ | |||
1073 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", | 534 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", |
1074 | "dev": true | 535 | "dev": true |
1075 | }, | 536 | }, |
1076 | "prettier": { | ||
1077 | "version": "1.19.1", | ||
1078 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", | ||
1079 | "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", | ||
1080 | "dev": true | ||
1081 | }, | ||
1082 | "read": { | 537 | "read": { |
1083 | "version": "1.0.7", | 538 | "version": "1.0.7", |
1084 | "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", | 539 | "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", |
@@ -1099,55 +554,19 @@ | |||
1099 | "util-deprecate": "^1.0.1" | 554 | "util-deprecate": "^1.0.1" |
1100 | } | 555 | } |
1101 | }, | 556 | }, |
1102 | "rechoir": { | ||
1103 | "version": "0.6.2", | ||
1104 | "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", | ||
1105 | "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", | ||
1106 | "dev": true, | ||
1107 | "requires": { | ||
1108 | "resolve": "^1.1.6" | ||
1109 | } | ||
1110 | }, | ||
1111 | "require-directory": { | ||
1112 | "version": "2.1.1", | ||
1113 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", | ||
1114 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", | ||
1115 | "dev": true | ||
1116 | }, | ||
1117 | "require-main-filename": { | ||
1118 | "version": "2.0.0", | ||
1119 | "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", | ||
1120 | "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", | ||
1121 | "dev": true | ||
1122 | }, | ||
1123 | "resolve": { | 557 | "resolve": { |
1124 | "version": "1.9.0", | 558 | "version": "1.14.1", |
1125 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz", | 559 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz", |
1126 | "integrity": "sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==", | 560 | "integrity": "sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg==", |
1127 | "dev": true, | 561 | "dev": true, |
1128 | "requires": { | 562 | "requires": { |
1129 | "path-parse": "^1.0.6" | 563 | "path-parse": "^1.0.6" |
1130 | } | 564 | } |
1131 | }, | 565 | }, |
1132 | "resolve-url": { | ||
1133 | "version": "0.2.1", | ||
1134 | "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", | ||
1135 | "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", | ||
1136 | "dev": true | ||
1137 | }, | ||
1138 | "rimraf": { | ||
1139 | "version": "2.7.1", | ||
1140 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", | ||
1141 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", | ||
1142 | "dev": true, | ||
1143 | "requires": { | ||
1144 | "glob": "^7.1.3" | ||
1145 | } | ||
1146 | }, | ||
1147 | "rollup": { | 566 | "rollup": { |
1148 | "version": "1.27.13", | 567 | "version": "1.27.14", |
1149 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.27.13.tgz", | 568 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.27.14.tgz", |
1150 | "integrity": "sha512-hDi7M07MpmNSDE8YVwGVFA8L7n8jTLJ4lG65nMAijAyqBe//rtu4JdxjUBE7JqXfdpqxqDTbCDys9WcqdpsQvw==", | 569 | "integrity": "sha512-DuDjEyn8Y79ALYXMt+nH/EI58L5pEw5HU9K38xXdRnxQhvzUTI/nxAawhkAHUQeudANQ//8iyrhVRHJBuR6DSQ==", |
1151 | "dev": true, | 570 | "dev": true, |
1152 | "requires": { | 571 | "requires": { |
1153 | "@types/estree": "*", | 572 | "@types/estree": "*", |
@@ -1155,100 +574,6 @@ | |||
1155 | "acorn": "^7.1.0" | 574 | "acorn": "^7.1.0" |
1156 | } | 575 | } |
1157 | }, | 576 | }, |
1158 | "rollup-plugin-commonjs": { | ||
1159 | "version": "10.1.0", | ||
1160 | "resolved": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-10.1.0.tgz", | ||
1161 | "integrity": "sha512-jlXbjZSQg8EIeAAvepNwhJj++qJWNJw1Cl0YnOqKtP5Djx+fFGkp3WRh+W0ASCaFG5w1jhmzDxgu3SJuVxPF4Q==", | ||
1162 | "dev": true, | ||
1163 | "requires": { | ||
1164 | "estree-walker": "^0.6.1", | ||
1165 | "is-reference": "^1.1.2", | ||
1166 | "magic-string": "^0.25.2", | ||
1167 | "resolve": "^1.11.0", | ||
1168 | "rollup-pluginutils": "^2.8.1" | ||
1169 | }, | ||
1170 | "dependencies": { | ||
1171 | "resolve": { | ||
1172 | "version": "1.12.0", | ||
1173 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz", | ||
1174 | "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==", | ||
1175 | "dev": true, | ||
1176 | "requires": { | ||
1177 | "path-parse": "^1.0.6" | ||
1178 | } | ||
1179 | } | ||
1180 | } | ||
1181 | }, | ||
1182 | "rollup-plugin-node-resolve": { | ||
1183 | "version": "5.2.0", | ||
1184 | "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz", | ||
1185 | "integrity": "sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==", | ||
1186 | "dev": true, | ||
1187 | "requires": { | ||
1188 | "@types/resolve": "0.0.8", | ||
1189 | "builtin-modules": "^3.1.0", | ||
1190 | "is-module": "^1.0.0", | ||
1191 | "resolve": "^1.11.1", | ||
1192 | "rollup-pluginutils": "^2.8.1" | ||
1193 | }, | ||
1194 | "dependencies": { | ||
1195 | "builtin-modules": { | ||
1196 | "version": "3.1.0", | ||
1197 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.1.0.tgz", | ||
1198 | "integrity": "sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==", | ||
1199 | "dev": true | ||
1200 | }, | ||
1201 | "resolve": { | ||
1202 | "version": "1.12.0", | ||
1203 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz", | ||
1204 | "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==", | ||
1205 | "dev": true, | ||
1206 | "requires": { | ||
1207 | "path-parse": "^1.0.6" | ||
1208 | } | ||
1209 | } | ||
1210 | } | ||
1211 | }, | ||
1212 | "rollup-plugin-sourcemaps": { | ||
1213 | "version": "0.4.2", | ||
1214 | "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.4.2.tgz", | ||
1215 | "integrity": "sha1-YhJaqUCHqt97g+9N+vYptHMTXoc=", | ||
1216 | "dev": true, | ||
1217 | "requires": { | ||
1218 | "rollup-pluginutils": "^2.0.1", | ||
1219 | "source-map-resolve": "^0.5.0" | ||
1220 | } | ||
1221 | }, | ||
1222 | "rollup-plugin-typescript": { | ||
1223 | "version": "1.0.1", | ||
1224 | "resolved": "https://registry.npmjs.org/rollup-plugin-typescript/-/rollup-plugin-typescript-1.0.1.tgz", | ||
1225 | "integrity": "sha512-rwJDNn9jv/NsKZuyBb/h0jsclP4CJ58qbvZt2Q9zDIGILF2LtdtvCqMOL+Gq9IVq5MTrTlHZNrn8h7VjQgd8tw==", | ||
1226 | "dev": true, | ||
1227 | "requires": { | ||
1228 | "resolve": "^1.10.0", | ||
1229 | "rollup-pluginutils": "^2.5.0" | ||
1230 | }, | ||
1231 | "dependencies": { | ||
1232 | "resolve": { | ||
1233 | "version": "1.12.0", | ||
1234 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz", | ||
1235 | "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==", | ||
1236 | "dev": true, | ||
1237 | "requires": { | ||
1238 | "path-parse": "^1.0.6" | ||
1239 | } | ||
1240 | } | ||
1241 | } | ||
1242 | }, | ||
1243 | "rollup-pluginutils": { | ||
1244 | "version": "2.8.2", | ||
1245 | "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", | ||
1246 | "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", | ||
1247 | "dev": true, | ||
1248 | "requires": { | ||
1249 | "estree-walker": "^0.6.1" | ||
1250 | } | ||
1251 | }, | ||
1252 | "safe-buffer": { | 577 | "safe-buffer": { |
1253 | "version": "5.2.0", | 578 | "version": "5.2.0", |
1254 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", | 579 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", |
@@ -1261,65 +586,9 @@ | |||
1261 | "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==" | 586 | "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==" |
1262 | }, | 587 | }, |
1263 | "semver": { | 588 | "semver": { |
1264 | "version": "5.7.1", | 589 | "version": "6.3.0", |
1265 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", | 590 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
1266 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", | 591 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
1267 | "dev": true | ||
1268 | }, | ||
1269 | "set-blocking": { | ||
1270 | "version": "2.0.0", | ||
1271 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", | ||
1272 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", | ||
1273 | "dev": true | ||
1274 | }, | ||
1275 | "shelljs": { | ||
1276 | "version": "0.8.3", | ||
1277 | "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz", | ||
1278 | "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==", | ||
1279 | "dev": true, | ||
1280 | "requires": { | ||
1281 | "glob": "^7.0.0", | ||
1282 | "interpret": "^1.0.0", | ||
1283 | "rechoir": "^0.6.2" | ||
1284 | } | ||
1285 | }, | ||
1286 | "shx": { | ||
1287 | "version": "0.3.2", | ||
1288 | "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.2.tgz", | ||
1289 | "integrity": "sha512-aS0mWtW3T2sHAenrSrip2XGv39O9dXIFUqxAEWHEOS1ePtGIBavdPJY1kE2IHl14V/4iCbUiNDPGdyYTtmhSoA==", | ||
1290 | "dev": true, | ||
1291 | "requires": { | ||
1292 | "es6-object-assign": "^1.0.3", | ||
1293 | "minimist": "^1.2.0", | ||
1294 | "shelljs": "^0.8.1" | ||
1295 | }, | ||
1296 | "dependencies": { | ||
1297 | "minimist": { | ||
1298 | "version": "1.2.0", | ||
1299 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", | ||
1300 | "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", | ||
1301 | "dev": true | ||
1302 | } | ||
1303 | } | ||
1304 | }, | ||
1305 | "source-map-resolve": { | ||
1306 | "version": "0.5.2", | ||
1307 | "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", | ||
1308 | "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", | ||
1309 | "dev": true, | ||
1310 | "requires": { | ||
1311 | "atob": "^2.1.1", | ||
1312 | "decode-uri-component": "^0.2.0", | ||
1313 | "resolve-url": "^0.2.1", | ||
1314 | "source-map-url": "^0.4.0", | ||
1315 | "urix": "^0.1.0" | ||
1316 | } | ||
1317 | }, | ||
1318 | "source-map-url": { | ||
1319 | "version": "0.4.0", | ||
1320 | "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", | ||
1321 | "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", | ||
1322 | "dev": true | ||
1323 | }, | 592 | }, |
1324 | "sourcemap-codec": { | 593 | "sourcemap-codec": { |
1325 | "version": "1.4.6", | 594 | "version": "1.4.6", |
@@ -1333,36 +602,6 @@ | |||
1333 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", | 602 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", |
1334 | "dev": true | 603 | "dev": true |
1335 | }, | 604 | }, |
1336 | "string-width": { | ||
1337 | "version": "2.1.1", | ||
1338 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", | ||
1339 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", | ||
1340 | "dev": true, | ||
1341 | "requires": { | ||
1342 | "is-fullwidth-code-point": "^2.0.0", | ||
1343 | "strip-ansi": "^4.0.0" | ||
1344 | } | ||
1345 | }, | ||
1346 | "string.prototype.trimleft": { | ||
1347 | "version": "2.1.0", | ||
1348 | "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz", | ||
1349 | "integrity": "sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==", | ||
1350 | "dev": true, | ||
1351 | "requires": { | ||
1352 | "define-properties": "^1.1.3", | ||
1353 | "function-bind": "^1.1.1" | ||
1354 | } | ||
1355 | }, | ||
1356 | "string.prototype.trimright": { | ||
1357 | "version": "2.1.0", | ||
1358 | "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz", | ||
1359 | "integrity": "sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==", | ||
1360 | "dev": true, | ||
1361 | "requires": { | ||
1362 | "define-properties": "^1.1.3", | ||
1363 | "function-bind": "^1.1.1" | ||
1364 | } | ||
1365 | }, | ||
1366 | "string_decoder": { | 605 | "string_decoder": { |
1367 | "version": "1.3.0", | 606 | "version": "1.3.0", |
1368 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", | 607 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
@@ -1372,25 +611,10 @@ | |||
1372 | "safe-buffer": "~5.2.0" | 611 | "safe-buffer": "~5.2.0" |
1373 | } | 612 | } |
1374 | }, | 613 | }, |
1375 | "strip-ansi": { | ||
1376 | "version": "4.0.0", | ||
1377 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", | ||
1378 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", | ||
1379 | "dev": true, | ||
1380 | "requires": { | ||
1381 | "ansi-regex": "^3.0.0" | ||
1382 | } | ||
1383 | }, | ||
1384 | "strip-json-comments": { | ||
1385 | "version": "2.0.1", | ||
1386 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", | ||
1387 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", | ||
1388 | "dev": true | ||
1389 | }, | ||
1390 | "supports-color": { | 614 | "supports-color": { |
1391 | "version": "6.0.0", | 615 | "version": "5.5.0", |
1392 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz", | 616 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", |
1393 | "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==", | 617 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", |
1394 | "dev": true, | 618 | "dev": true, |
1395 | "requires": { | 619 | "requires": { |
1396 | "has-flag": "^3.0.0" | 620 | "has-flag": "^3.0.0" |
@@ -1411,61 +635,6 @@ | |||
1411 | "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", | 635 | "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", |
1412 | "dev": true | 636 | "dev": true |
1413 | }, | 637 | }, |
1414 | "tslint": { | ||
1415 | "version": "5.20.1", | ||
1416 | "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.20.1.tgz", | ||
1417 | "integrity": "sha512-EcMxhzCFt8k+/UP5r8waCf/lzmeSyVlqxqMEDQE7rWYiQky8KpIBz1JAoYXfROHrPZ1XXd43q8yQnULOLiBRQg==", | ||
1418 | "dev": true, | ||
1419 | "requires": { | ||
1420 | "@babel/code-frame": "^7.0.0", | ||
1421 | "builtin-modules": "^1.1.1", | ||
1422 | "chalk": "^2.3.0", | ||
1423 | "commander": "^2.12.1", | ||
1424 | "diff": "^4.0.1", | ||
1425 | "glob": "^7.1.1", | ||
1426 | "js-yaml": "^3.13.1", | ||
1427 | "minimatch": "^3.0.4", | ||
1428 | "mkdirp": "^0.5.1", | ||
1429 | "resolve": "^1.3.2", | ||
1430 | "semver": "^5.3.0", | ||
1431 | "tslib": "^1.8.0", | ||
1432 | "tsutils": "^2.29.0" | ||
1433 | }, | ||
1434 | "dependencies": { | ||
1435 | "diff": { | ||
1436 | "version": "4.0.1", | ||
1437 | "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.1.tgz", | ||
1438 | "integrity": "sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==", | ||
1439 | "dev": true | ||
1440 | } | ||
1441 | } | ||
1442 | }, | ||
1443 | "tslint-config-prettier": { | ||
1444 | "version": "1.18.0", | ||
1445 | "resolved": "https://registry.npmjs.org/tslint-config-prettier/-/tslint-config-prettier-1.18.0.tgz", | ||
1446 | "integrity": "sha512-xPw9PgNPLG3iKRxmK7DWr+Ea/SzrvfHtjFt5LBl61gk2UBG/DB9kCXRjv+xyIU1rUtnayLeMUVJBcMX8Z17nDg==", | ||
1447 | "dev": true | ||
1448 | }, | ||
1449 | "tslint-plugin-prettier": { | ||
1450 | "version": "2.0.1", | ||
1451 | "resolved": "https://registry.npmjs.org/tslint-plugin-prettier/-/tslint-plugin-prettier-2.0.1.tgz", | ||
1452 | "integrity": "sha512-4FX9JIx/1rKHIPJNfMb+ooX1gPk5Vg3vNi7+dyFYpLO+O57F4g+b/fo1+W/G0SUOkBLHB/YKScxjX/P+7ZT/Tw==", | ||
1453 | "dev": true, | ||
1454 | "requires": { | ||
1455 | "eslint-plugin-prettier": "^2.2.0", | ||
1456 | "lines-and-columns": "^1.1.6", | ||
1457 | "tslib": "^1.7.1" | ||
1458 | } | ||
1459 | }, | ||
1460 | "tsutils": { | ||
1461 | "version": "2.29.0", | ||
1462 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", | ||
1463 | "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", | ||
1464 | "dev": true, | ||
1465 | "requires": { | ||
1466 | "tslib": "^1.8.1" | ||
1467 | } | ||
1468 | }, | ||
1469 | "tunnel": { | 638 | "tunnel": { |
1470 | "version": "0.0.4", | 639 | "version": "0.0.4", |
1471 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", | 640 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", |
@@ -1483,9 +652,9 @@ | |||
1483 | } | 652 | } |
1484 | }, | 653 | }, |
1485 | "typescript": { | 654 | "typescript": { |
1486 | "version": "3.7.3", | 655 | "version": "3.7.4", |
1487 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.3.tgz", | 656 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.4.tgz", |
1488 | "integrity": "sha512-Mcr/Qk7hXqFBXMN7p7Lusj1ktCBydylfQM/FZCk5glCNQJrCUKPkMHdo9R0MTFWsC/4kPFvDS0fDPvukfCkFsw==", | 657 | "integrity": "sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw==", |
1489 | "dev": true | 658 | "dev": true |
1490 | }, | 659 | }, |
1491 | "uc.micro": { | 660 | "uc.micro": { |
@@ -1500,12 +669,6 @@ | |||
1500 | "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", | 669 | "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", |
1501 | "dev": true | 670 | "dev": true |
1502 | }, | 671 | }, |
1503 | "urix": { | ||
1504 | "version": "0.1.0", | ||
1505 | "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", | ||
1506 | "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", | ||
1507 | "dev": true | ||
1508 | }, | ||
1509 | "url-join": { | 672 | "url-join": { |
1510 | "version": "1.1.0", | 673 | "version": "1.1.0", |
1511 | "resolved": "https://registry.npmjs.org/url-join/-/url-join-1.1.0.tgz", | 674 | "resolved": "https://registry.npmjs.org/url-join/-/url-join-1.1.0.tgz", |
@@ -1544,6 +707,14 @@ | |||
1544 | "url-join": "^1.1.0", | 707 | "url-join": "^1.1.0", |
1545 | "yauzl": "^2.3.1", | 708 | "yauzl": "^2.3.1", |
1546 | "yazl": "^2.2.2" | 709 | "yazl": "^2.2.2" |
710 | }, | ||
711 | "dependencies": { | ||
712 | "semver": { | ||
713 | "version": "5.7.1", | ||
714 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", | ||
715 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", | ||
716 | "dev": true | ||
717 | } | ||
1547 | } | 718 | } |
1548 | }, | 719 | }, |
1549 | "vscode-jsonrpc": { | 720 | "vscode-jsonrpc": { |
@@ -1558,13 +729,6 @@ | |||
1558 | "requires": { | 729 | "requires": { |
1559 | "semver": "^6.3.0", | 730 | "semver": "^6.3.0", |
1560 | "vscode-languageserver-protocol": "^3.15.0-next.14" | 731 | "vscode-languageserver-protocol": "^3.15.0-next.14" |
1561 | }, | ||
1562 | "dependencies": { | ||
1563 | "semver": { | ||
1564 | "version": "6.3.0", | ||
1565 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", | ||
1566 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" | ||
1567 | } | ||
1568 | } | 732 | } |
1569 | }, | 733 | }, |
1570 | "vscode-languageserver-protocol": { | 734 | "vscode-languageserver-protocol": { |
@@ -1581,159 +745,12 @@ | |||
1581 | "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.15.0-next.9.tgz", | 745 | "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.15.0-next.9.tgz", |
1582 | "integrity": "sha512-Rl/8qJ6932nrHCdPn+9y0x08uLVQaSLRG+U4JzhyKpWU4eJbVaDRoAcz1Llj7CErJGbPr6kdBvShPy5fRfR+Uw==" | 746 | "integrity": "sha512-Rl/8qJ6932nrHCdPn+9y0x08uLVQaSLRG+U4JzhyKpWU4eJbVaDRoAcz1Llj7CErJGbPr6kdBvShPy5fRfR+Uw==" |
1583 | }, | 747 | }, |
1584 | "vscode-test": { | ||
1585 | "version": "1.3.0", | ||
1586 | "resolved": "https://registry.npmjs.org/vscode-test/-/vscode-test-1.3.0.tgz", | ||
1587 | "integrity": "sha512-LddukcBiSU2FVTDr3c1D8lwkiOvwlJdDL2hqVbn6gIz+rpTqUCkMZSKYm94Y1v0WXlHSDQBsXyY+tchWQgGVsw==", | ||
1588 | "dev": true, | ||
1589 | "requires": { | ||
1590 | "http-proxy-agent": "^2.1.0", | ||
1591 | "https-proxy-agent": "^2.2.4", | ||
1592 | "rimraf": "^2.6.3" | ||
1593 | } | ||
1594 | }, | ||
1595 | "which": { | ||
1596 | "version": "1.3.1", | ||
1597 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", | ||
1598 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", | ||
1599 | "dev": true, | ||
1600 | "requires": { | ||
1601 | "isexe": "^2.0.0" | ||
1602 | } | ||
1603 | }, | ||
1604 | "which-module": { | ||
1605 | "version": "2.0.0", | ||
1606 | "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", | ||
1607 | "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", | ||
1608 | "dev": true | ||
1609 | }, | ||
1610 | "wide-align": { | ||
1611 | "version": "1.1.3", | ||
1612 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", | ||
1613 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", | ||
1614 | "dev": true, | ||
1615 | "requires": { | ||
1616 | "string-width": "^1.0.2 || 2" | ||
1617 | } | ||
1618 | }, | ||
1619 | "wrap-ansi": { | ||
1620 | "version": "5.1.0", | ||
1621 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", | ||
1622 | "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", | ||
1623 | "dev": true, | ||
1624 | "requires": { | ||
1625 | "ansi-styles": "^3.2.0", | ||
1626 | "string-width": "^3.0.0", | ||
1627 | "strip-ansi": "^5.0.0" | ||
1628 | }, | ||
1629 | "dependencies": { | ||
1630 | "ansi-regex": { | ||
1631 | "version": "4.1.0", | ||
1632 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", | ||
1633 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", | ||
1634 | "dev": true | ||
1635 | }, | ||
1636 | "string-width": { | ||
1637 | "version": "3.1.0", | ||
1638 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", | ||
1639 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", | ||
1640 | "dev": true, | ||
1641 | "requires": { | ||
1642 | "emoji-regex": "^7.0.1", | ||
1643 | "is-fullwidth-code-point": "^2.0.0", | ||
1644 | "strip-ansi": "^5.1.0" | ||
1645 | } | ||
1646 | }, | ||
1647 | "strip-ansi": { | ||
1648 | "version": "5.2.0", | ||
1649 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", | ||
1650 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", | ||
1651 | "dev": true, | ||
1652 | "requires": { | ||
1653 | "ansi-regex": "^4.1.0" | ||
1654 | } | ||
1655 | } | ||
1656 | } | ||
1657 | }, | ||
1658 | "wrappy": { | 748 | "wrappy": { |
1659 | "version": "1.0.2", | 749 | "version": "1.0.2", |
1660 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", | 750 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", |
1661 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", | 751 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", |
1662 | "dev": true | 752 | "dev": true |
1663 | }, | 753 | }, |
1664 | "y18n": { | ||
1665 | "version": "4.0.0", | ||
1666 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", | ||
1667 | "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", | ||
1668 | "dev": true | ||
1669 | }, | ||
1670 | "yargs": { | ||
1671 | "version": "13.3.0", | ||
1672 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz", | ||
1673 | "integrity": "sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==", | ||
1674 | "dev": true, | ||
1675 | "requires": { | ||
1676 | "cliui": "^5.0.0", | ||
1677 | "find-up": "^3.0.0", | ||
1678 | "get-caller-file": "^2.0.1", | ||
1679 | "require-directory": "^2.1.1", | ||
1680 | "require-main-filename": "^2.0.0", | ||
1681 | "set-blocking": "^2.0.0", | ||
1682 | "string-width": "^3.0.0", | ||
1683 | "which-module": "^2.0.0", | ||
1684 | "y18n": "^4.0.0", | ||
1685 | "yargs-parser": "^13.1.1" | ||
1686 | }, | ||
1687 | "dependencies": { | ||
1688 | "ansi-regex": { | ||
1689 | "version": "4.1.0", | ||
1690 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", | ||
1691 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", | ||
1692 | "dev": true | ||
1693 | }, | ||
1694 | "string-width": { | ||
1695 | "version": "3.1.0", | ||
1696 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", | ||
1697 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", | ||
1698 | "dev": true, | ||
1699 | "requires": { | ||
1700 | "emoji-regex": "^7.0.1", | ||
1701 | "is-fullwidth-code-point": "^2.0.0", | ||
1702 | "strip-ansi": "^5.1.0" | ||
1703 | } | ||
1704 | }, | ||
1705 | "strip-ansi": { | ||
1706 | "version": "5.2.0", | ||
1707 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", | ||
1708 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", | ||
1709 | "dev": true, | ||
1710 | "requires": { | ||
1711 | "ansi-regex": "^4.1.0" | ||
1712 | } | ||
1713 | } | ||
1714 | } | ||
1715 | }, | ||
1716 | "yargs-parser": { | ||
1717 | "version": "13.1.1", | ||
1718 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz", | ||
1719 | "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==", | ||
1720 | "dev": true, | ||
1721 | "requires": { | ||
1722 | "camelcase": "^5.0.0", | ||
1723 | "decamelize": "^1.2.0" | ||
1724 | } | ||
1725 | }, | ||
1726 | "yargs-unparser": { | ||
1727 | "version": "1.6.0", | ||
1728 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz", | ||
1729 | "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==", | ||
1730 | "dev": true, | ||
1731 | "requires": { | ||
1732 | "flat": "^4.1.0", | ||
1733 | "lodash": "^4.17.15", | ||
1734 | "yargs": "^13.3.0" | ||
1735 | } | ||
1736 | }, | ||
1737 | "yauzl": { | 754 | "yauzl": { |
1738 | "version": "2.10.0", | 755 | "version": "2.10.0", |
1739 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", | 756 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", |
diff --git a/editors/code/package.json b/editors/code/package.json index f28ce1772..8c480cc3f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -16,48 +16,26 @@ | |||
16 | "vscode": "^1.41.0" | 16 | "vscode": "^1.41.0" |
17 | }, | 17 | }, |
18 | "scripts": { | 18 | "scripts": { |
19 | "vscode:prepublish": "npm run compile", | 19 | "vscode:prepublish": "rollup -c", |
20 | "package": "vsce package", | 20 | "package": "vsce package", |
21 | "compile": "rollup -c", | 21 | "watch": "tsc -watch -p ./" |
22 | "watch": "tsc -watch -p ./", | ||
23 | "fix": "prettier **/*.{json,ts} --write && tslint --project . --fix", | ||
24 | "lint": "tslint --project .", | ||
25 | "prettier": "prettier **/*.{json,ts}", | ||
26 | "test": "tsc -p . && node ./out/test/runTest.js", | ||
27 | "travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --write && git diff --exit-code" | ||
28 | }, | ||
29 | "prettier": { | ||
30 | "singleQuote": true, | ||
31 | "tabWidth": 4, | ||
32 | "trailingComma": "all" | ||
33 | }, | 22 | }, |
34 | "dependencies": { | 23 | "dependencies": { |
35 | "lookpath": "^1.0.4", | 24 | "jsonc-parser": "^2.1.0", |
36 | "seedrandom": "^3.0.5", | 25 | "seedrandom": "^3.0.5", |
37 | "vscode-languageclient": "^6.0.0-next.9", | 26 | "vscode-languageclient": "^6.0.0-next.9" |
38 | "jsonc-parser": "^2.1.0" | ||
39 | }, | 27 | }, |
40 | "devDependencies": { | 28 | "devDependencies": { |
41 | "@types/glob": "^7.1.1", | 29 | "rollup": "^1.27.14", |
42 | "@types/mocha": "^5.2.7", | 30 | "@rollup/plugin-commonjs": "^11.0.0", |
43 | "@types/node": "^12.12.21", | 31 | "@rollup/plugin-node-resolve": "^6.0.0", |
44 | "@types/seedrandom": "^2.4.28", | 32 | "@rollup/plugin-typescript": "^2.0.1", |
45 | "@types/vscode": "^1.41.0", | ||
46 | "glob": "^7.1.6", | ||
47 | "mocha": "^6.2.2", | ||
48 | "prettier": "^1.19.1", | ||
49 | "rollup": "^1.27.13", | ||
50 | "rollup-plugin-commonjs": "^10.1.0", | ||
51 | "rollup-plugin-node-resolve": "^5.2.0", | ||
52 | "rollup-plugin-sourcemaps": "^0.4.2", | ||
53 | "rollup-plugin-typescript": "^1.0.1", | ||
54 | "shx": "^0.3.1", | ||
55 | "tslint": "^5.20.1", | ||
56 | "tslint-config-prettier": "^1.18.0", | ||
57 | "tslint-plugin-prettier": "^2.0.1", | ||
58 | "typescript": "^3.7.3", | 33 | "typescript": "^3.7.3", |
34 | "tslib": "^1.10.0", | ||
59 | "vsce": "^1.71.0", | 35 | "vsce": "^1.71.0", |
60 | "vscode-test": "^1.3.0" | 36 | "@types/node": "^12.12.21", |
37 | "@types/seedrandom": "^2.4.28", | ||
38 | "@types/vscode": "^1.41.0" | ||
61 | }, | 39 | }, |
62 | "activationEvents": [ | 40 | "activationEvents": [ |
63 | "onLanguage:rust", | 41 | "onLanguage:rust", |
@@ -65,7 +43,7 @@ | |||
65 | "onCommand:rust-analyzer.collectGarbage", | 43 | "onCommand:rust-analyzer.collectGarbage", |
66 | "workspaceContains:**/Cargo.toml" | 44 | "workspaceContains:**/Cargo.toml" |
67 | ], | 45 | ], |
68 | "main": "./bundle/extension", | 46 | "main": "./out/extension", |
69 | "contributes": { | 47 | "contributes": { |
70 | "taskDefinitions": [ | 48 | "taskDefinitions": [ |
71 | { | 49 | { |
diff --git a/editors/code/rollup.config.js b/editors/code/rollup.config.js index 1b222bbe7..e4b21afbd 100644 --- a/editors/code/rollup.config.js +++ b/editors/code/rollup.config.js | |||
@@ -1,30 +1,25 @@ | |||
1 | import typescript from 'rollup-plugin-typescript'; | 1 | import typescript from '@rollup/plugin-typescript'; |
2 | import resolve from 'rollup-plugin-node-resolve'; | 2 | import resolve from '@rollup/plugin-node-resolve'; |
3 | import commonjs from 'rollup-plugin-commonjs'; | 3 | import commonjs from '@rollup/plugin-commonjs'; |
4 | import sourcemaps from 'rollup-plugin-sourcemaps' | ||
5 | import nodeBuiltins from 'builtin-modules'; | 4 | import nodeBuiltins from 'builtin-modules'; |
6 | 5 | ||
7 | export default { | 6 | export default { |
8 | input: './src/extension.ts', | 7 | input: 'src/extension.ts', |
9 | plugins: [ | 8 | plugins: [ |
10 | typescript(), | 9 | typescript(), |
11 | sourcemaps(), | 10 | resolve({ |
12 | resolve(), | 11 | preferBuiltins: true |
12 | }), | ||
13 | commonjs({ | 13 | commonjs({ |
14 | namedExports: { | 14 | namedExports: { |
15 | // squelch missing import warnings | 15 | // squelch missing import warnings |
16 | 'vscode-languageclient': [ 'CreateFile', 'RenameFile' ] | 16 | 'vscode-languageclient': ['CreateFile', 'RenameFile'] |
17 | } | 17 | } |
18 | }), | 18 | }) |
19 | ], | ||
20 | // keep these as require() calls, bundle the rest | ||
21 | external: [ | ||
22 | ...nodeBuiltins, | ||
23 | 'vscode', | ||
24 | ], | 19 | ], |
20 | external: [...nodeBuiltins, 'vscode'], | ||
25 | output: { | 21 | output: { |
26 | file: './bundle/extension.js', | 22 | file: './out/extension.js', |
27 | sourcemap: true, | 23 | format: 'cjs' |
28 | format: 'cjs', | ||
29 | } | 24 | } |
30 | }; | 25 | }; |
diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts index ae81af848..e1ad0520b 100644 --- a/editors/code/src/server.ts +++ b/editors/code/src/server.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import { lookpath } from 'lookpath'; | 1 | import { homedir } from 'os'; |
2 | import { homedir, platform } from 'os'; | ||
3 | import * as lc from 'vscode-languageclient'; | 2 | import * as lc from 'vscode-languageclient'; |
4 | 3 | ||
5 | import { window, workspace } from 'vscode'; | 4 | import { window, workspace } from 'vscode'; |
@@ -29,15 +28,6 @@ export class Server { | |||
29 | } | 28 | } |
30 | 29 | ||
31 | const command = expandPathResolving(this.config.raLspServerPath); | 30 | const command = expandPathResolving(this.config.raLspServerPath); |
32 | // FIXME: remove check when the following issue is fixed: | ||
33 | // https://github.com/otiai10/lookpath/issues/4 | ||
34 | if (platform() !== 'win32') { | ||
35 | if (!(await lookpath(command))) { | ||
36 | throw new Error( | ||
37 | `Cannot find rust-analyzer server \`${command}\` in PATH.`, | ||
38 | ); | ||
39 | } | ||
40 | } | ||
41 | const run: lc.Executable = { | 31 | const run: lc.Executable = { |
42 | command, | 32 | command, |
43 | options: { cwd: folder }, | 33 | options: { cwd: folder }, |
diff --git a/editors/code/src/test/runTest.ts b/editors/code/src/test/runTest.ts deleted file mode 100644 index d880d47df..000000000 --- a/editors/code/src/test/runTest.ts +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | import * as path from 'path'; | ||
2 | |||
3 | import { runTests } from 'vscode-test'; | ||
4 | |||
5 | async function main() { | ||
6 | try { | ||
7 | // The folder containing the Extension Manifest package.json | ||
8 | // Passed to `--extensionDevelopmentPath` | ||
9 | const extensionDevelopmentPath = path.resolve(__dirname, '../../'); | ||
10 | |||
11 | // The path to the extension test runner script | ||
12 | // Passed to --extensionTestsPath | ||
13 | const extensionTestsPath = path.resolve(__dirname, './utils/index'); | ||
14 | |||
15 | // Download VS Code, unzip it and run the integration test | ||
16 | await runTests({ extensionDevelopmentPath, extensionTestsPath }); | ||
17 | } catch (err) { | ||
18 | process.exit(1); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | main(); | ||
diff --git a/editors/code/src/test/utils/index.ts b/editors/code/src/test/utils/index.ts deleted file mode 100644 index 9927daaf6..000000000 --- a/editors/code/src/test/utils/index.ts +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | // | ||
2 | // PLEASE DO NOT MODIFY / DELETE UNLESS YOU KNOW WHAT YOU ARE DOING | ||
3 | // | ||
4 | // This file is providing the test runner to use when running extension tests. | ||
5 | // By default the test runner in use is Mocha based. | ||
6 | // | ||
7 | // You can provide your own test runner if you want to override it by exporting | ||
8 | // a function run(testRoot: string, clb: (error:Error) => void) that the extension | ||
9 | // host can call to run the tests. The test runner is expected to use console.log | ||
10 | // to report the results back to the caller. When the tests are finished, return | ||
11 | // a possible error to the callback or null if none. | ||
12 | |||
13 | import * as glob from 'glob'; | ||
14 | import * as Mocha from 'mocha'; | ||
15 | import * as path from 'path'; | ||
16 | |||
17 | export function run(): Promise<void> { | ||
18 | // Create the mocha test | ||
19 | const mocha = new Mocha({ | ||
20 | ui: 'bdd', | ||
21 | }); | ||
22 | mocha.useColors(true); | ||
23 | |||
24 | const testsRoot = __dirname; | ||
25 | |||
26 | return new Promise((c, e) => { | ||
27 | glob('**/**.test.js', { cwd: testsRoot }, (err, files) => { | ||
28 | if (err) { | ||
29 | return e(err); | ||
30 | } | ||
31 | |||
32 | // Add files to the test suite | ||
33 | files.forEach(f => mocha.addFile(path.resolve(testsRoot, f))); | ||
34 | |||
35 | try { | ||
36 | // Run the mocha test | ||
37 | mocha.run(failures => { | ||
38 | if (failures > 0) { | ||
39 | e(new Error(`${failures} tests failed.`)); | ||
40 | } else { | ||
41 | c(); | ||
42 | } | ||
43 | }); | ||
44 | } catch (err) { | ||
45 | e(err); | ||
46 | } | ||
47 | }); | ||
48 | }); | ||
49 | } | ||
diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 5e11c3775..a4fbb4b82 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json | |||
@@ -3,7 +3,9 @@ | |||
3 | "module": "commonjs", | 3 | "module": "commonjs", |
4 | "target": "es2018", | 4 | "target": "es2018", |
5 | "outDir": "out", | 5 | "outDir": "out", |
6 | "lib": ["es2018"], | 6 | "lib": [ |
7 | "es2018" | ||
8 | ], | ||
7 | "sourceMap": true, | 9 | "sourceMap": true, |
8 | "rootDir": "src", | 10 | "rootDir": "src", |
9 | "strict": true, | 11 | "strict": true, |
@@ -12,5 +14,7 @@ | |||
12 | "noImplicitReturns": true, | 14 | "noImplicitReturns": true, |
13 | "noFallthroughCasesInSwitch": true | 15 | "noFallthroughCasesInSwitch": true |
14 | }, | 16 | }, |
15 | "exclude": ["node_modules", ".vscode-test"] | 17 | "exclude": [ |
18 | "node_modules" | ||
19 | ] | ||
16 | } | 20 | } |
diff --git a/editors/code/tslint.json b/editors/code/tslint.json deleted file mode 100644 index f06fa5fab..000000000 --- a/editors/code/tslint.json +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | { | ||
2 | "defaultSeverity": "error", | ||
3 | "extends": [ | ||
4 | "tslint:recommended", | ||
5 | "tslint-config-prettier", | ||
6 | "tslint-plugin-prettier" | ||
7 | ], | ||
8 | "rules": { | ||
9 | "interface-name": false, | ||
10 | "prettier": true, | ||
11 | "object-literal-sort-keys": false, | ||
12 | // Allow `_bar` to sort with tsc's `noUnusedParameters` option | ||
13 | "variable-name": [true, "allow-leading-underscore"] | ||
14 | } | ||
15 | } | ||