avoid minimatch dependency in json languageservice. Fixes microsoft/monaco-editor/issues/2578

pull/2748/head
Martin Aeschlimann 2021-07-16 17:05:08 +02:00
parent 4c5bfeb135
commit 7099bd75fe
No known key found for this signature in database
GPG Key ID: 2609A01E695523E3
3 changed files with 4 additions and 10 deletions

7
package-lock.json generated
View File

@ -449,13 +449,12 @@
"dev": true
},
"vscode-json-languageservice": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.1.5.tgz",
"integrity": "sha512-oRVPj2UY6BQ8PQ1LIz/FigUEZQVqsB9msNCFlxRBHE9sSEIJkCbYG6aCB2n7WR17VIisYQdO3MDheuoyI48G2w==",
"version": "4.1.6",
"resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.1.6.tgz",
"integrity": "sha512-DIKb3tcfRtb3tIE6g9SLOl5E9tNSt6kljH08Wa5RwFlVshtXGrDDzttchze4CYy9pJpE9mBtCbRHmLvY1Z1ZXA==",
"dev": true,
"requires": {
"jsonc-parser": "^3.0.0",
"minimatch": "^3.0.4",
"vscode-languageserver-textdocument": "^1.0.1",
"vscode-languageserver-types": "^3.16.0",
"vscode-nls": "^5.0.0",

View File

@ -32,7 +32,7 @@
"requirejs": "^2.3.6",
"terser": "^5.6.0",
"typescript": "4.2.4",
"vscode-json-languageservice": "4.1.5",
"vscode-json-languageservice": "4.1.6",
"vscode-uri": "3.0.2"
},
"husky": {

View File

@ -63,11 +63,6 @@ function bundleOne(moduleId, exclude) {
location: path.join(REPO_ROOT, 'node_modules/vscode-uri/lib/umd'),
main: 'index'
},
{
name: 'minimatch',
location: path.join(REPO_ROOT, 'node_modules/minimatch'),
main: 'minimatch'
},
{
name: 'vscode-nls',
location: path.join(REPO_ROOT, '/out/amd/fillers'),