vscode-html-languageservice
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -12,3 +12,11 @@ { | ||
"rules": { | ||
"@typescript-eslint/class-name-casing": "warn", | ||
"@typescript-eslint/naming-convention": [ | ||
"warn", | ||
{ | ||
"selector": "typeLike", | ||
"format": [ | ||
"PascalCase" | ||
] | ||
} | ||
], | ||
"@typescript-eslint/semi": "warn", | ||
@@ -15,0 +23,0 @@ "curly": "warn", |
@@ -17,3 +17,2 @@ /*--------------------------------------------------------------------------------------------- | ||
this._tagMap = {}; | ||
this._attributeMap = {}; | ||
this._valueSetMap = {}; | ||
@@ -23,12 +22,4 @@ this._tags = customData.tags || []; | ||
this._tags.forEach(function (t) { | ||
_this._tagMap[t.name] = t; | ||
if (t.attributes) { | ||
t.attributes.forEach(function (a) { | ||
_this._attributeMap[a.name] = a; | ||
}); | ||
} | ||
_this._tagMap[t.name.toLowerCase()] = t; | ||
}); | ||
this._globalAttributes.forEach(function (a) { | ||
_this._attributeMap[a.name] = a; | ||
}); | ||
if (customData.valueSets) { | ||
@@ -54,10 +45,7 @@ customData.valueSets.forEach(function (vs) { | ||
}; | ||
if (this._tagMap[tag]) { | ||
this._tagMap[tag].attributes.forEach(function (a) { | ||
processAttribute(a); | ||
}); | ||
var tagEntry = this._tagMap[tag.toLowerCase()]; | ||
if (tagEntry) { | ||
tagEntry.attributes.forEach(processAttribute); | ||
} | ||
this._globalAttributes.forEach(function (ga) { | ||
processAttribute(ga); | ||
}); | ||
this._globalAttributes.forEach(processAttribute); | ||
return attributes; | ||
@@ -68,5 +56,6 @@ }; | ||
var values = []; | ||
attribute = attribute.toLowerCase(); | ||
var processAttributes = function (attributes) { | ||
attributes.forEach(function (a) { | ||
if (a.name === attribute) { | ||
if (a.name.toLowerCase() === attribute) { | ||
if (a.values) { | ||
@@ -87,6 +76,7 @@ a.values.forEach(function (v) { | ||
}; | ||
if (!this._tagMap[tag]) { | ||
var tagEntry = this._tagMap[tag.toLowerCase()]; | ||
if (!tagEntry) { | ||
return []; | ||
} | ||
processAttributes(this._tagMap[tag].attributes); | ||
processAttributes(tagEntry.attributes); | ||
processAttributes(this._globalAttributes); | ||
@@ -93,0 +83,0 @@ return values; |
@@ -19,3 +19,3 @@ /*--------------------------------------------------------------------------------------------- | ||
get: function () { return this.attributes ? Object.keys(this.attributes) : []; }, | ||
enumerable: true, | ||
enumerable: false, | ||
configurable: true | ||
@@ -33,3 +33,3 @@ }); | ||
get: function () { return this.children[0]; }, | ||
enumerable: true, | ||
enumerable: false, | ||
configurable: true | ||
@@ -39,3 +39,3 @@ }); | ||
get: function () { return this.children.length ? this.children[this.children.length - 1] : void 0; }, | ||
enumerable: true, | ||
enumerable: false, | ||
configurable: true | ||
@@ -42,0 +42,0 @@ }); |
@@ -225,6 +225,5 @@ /*--------------------------------------------------------------------------------------------- | ||
var value = isFollowedBy(text, nameEnd, ScannerState.AfterAttributeName, TokenType.DelimiterAssign) ? '' : '="$1"'; | ||
var tag = currentTag.toLowerCase(); | ||
var seenAttributes = Object.create(null); | ||
dataProviders.forEach(function (provider) { | ||
provider.provideAttributes(tag).forEach(function (attr) { | ||
provider.provideAttributes(currentTag).forEach(function (attr) { | ||
if (seenAttributes[attr.name]) { | ||
@@ -304,5 +303,5 @@ return; | ||
} | ||
var tag = currentTag.toLowerCase(); | ||
var attribute = currentAttributeName.toLowerCase(); | ||
if (completionParticipants.length > 0) { | ||
var tag = currentTag.toLowerCase(); | ||
var attribute = currentAttributeName.toLowerCase(); | ||
var fullRange = getReplaceRange(valueStart, valueEnd); | ||
@@ -317,3 +316,3 @@ for (var _i = 0, completionParticipants_1 = completionParticipants; _i < completionParticipants_1.length; _i++) { | ||
dataProviders.forEach(function (provider) { | ||
provider.provideValues(tag, attribute).forEach(function (value) { | ||
provider.provideValues(currentTag, currentAttributeName).forEach(function (value) { | ||
var insertText = addQuotes ? '"' + value.name + '"' : value.name; | ||
@@ -320,0 +319,0 @@ result.items.push({ |
@@ -25,3 +25,2 @@ /*--------------------------------------------------------------------------------------------- | ||
function getTagHover(currTag, range, open) { | ||
currTag = currTag.toLowerCase(); | ||
var _loop_1 = function (provider) { | ||
@@ -31,3 +30,2 @@ var hover = null; | ||
if (tag.name.toLowerCase() === currTag.toLowerCase()) { | ||
var tagLabel = open ? '<' + currTag + '>' : '</' + currTag + '>'; | ||
var markupContent = generateDocumentation(tag, doesSupportMarkdown); | ||
@@ -57,3 +55,2 @@ if (!markupContent) { | ||
function getAttrHover(currTag, currAttr, range) { | ||
currTag = currTag.toLowerCase(); | ||
var _loop_2 = function (provider) { | ||
@@ -86,3 +83,2 @@ var hover = null; | ||
function getAttrValueHover(currTag, currAttr, currAttrValue, range) { | ||
currTag = currTag.toLowerCase(); | ||
var _loop_3 = function (provider) { | ||
@@ -89,0 +85,0 @@ var hover = null; |
@@ -12,2 +12,3 @@ (function (factory) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.js_beautify = void 0; | ||
/*--------------------------------------------------------------------------------------------- | ||
@@ -14,0 +15,0 @@ * Copyright (c) Microsoft Corporation. All rights reserved. |
@@ -5,2 +5,12 @@ /*--------------------------------------------------------------------------------------------- | ||
*--------------------------------------------------------------------------------------------*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
(function (factory) { | ||
@@ -16,6 +26,4 @@ if (typeof module === "object" && typeof module.exports === "object") { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getDefaultHTMLDataProvider = exports.newHTMLDataProvider = exports.getLanguageService = void 0; | ||
var htmlScanner_1 = require("./parser/htmlScanner"); | ||
@@ -37,3 +45,3 @@ var htmlParser_1 = require("./parser/htmlParser"); | ||
var webCustomData_1 = require("./languageFacts/data/webCustomData"); | ||
__export(require("./htmlLanguageTypes")); | ||
__exportStar(require("./htmlLanguageTypes"), exports); | ||
var defaultLanguageServiceOptions = {}; | ||
@@ -40,0 +48,0 @@ function getLanguageService(options) { |
@@ -5,2 +5,12 @@ /*--------------------------------------------------------------------------------------------- | ||
*--------------------------------------------------------------------------------------------*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
(function (factory) { | ||
@@ -16,10 +26,8 @@ if (typeof module === "object" && typeof module.exports === "object") { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FileType = exports.ClientCapabilities = exports.ScannerState = exports.TokenType = exports.TextDocument = void 0; | ||
var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
var vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument"); | ||
exports.TextDocument = vscode_languageserver_textdocument_1.TextDocument; | ||
__export(require("vscode-languageserver-types")); | ||
Object.defineProperty(exports, "TextDocument", { enumerable: true, get: function () { return vscode_languageserver_textdocument_1.TextDocument; } }); | ||
__exportStar(require("vscode-languageserver-types"), exports); | ||
var TokenType; | ||
@@ -26,0 +34,0 @@ (function (TokenType) { |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HTMLDataManager = void 0; | ||
var dataProvider_1 = require("./dataProvider"); | ||
@@ -18,0 +19,0 @@ var webCustomData_1 = require("./data/webCustomData"); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateDocumentation = exports.HTMLDataProvider = void 0; | ||
var markup_1 = require("../utils/markup"); | ||
@@ -29,3 +30,2 @@ var HTMLDataProvider = /** @class */ (function () { | ||
this._tagMap = {}; | ||
this._attributeMap = {}; | ||
this._valueSetMap = {}; | ||
@@ -35,12 +35,4 @@ this._tags = customData.tags || []; | ||
this._tags.forEach(function (t) { | ||
_this._tagMap[t.name] = t; | ||
if (t.attributes) { | ||
t.attributes.forEach(function (a) { | ||
_this._attributeMap[a.name] = a; | ||
}); | ||
} | ||
_this._tagMap[t.name.toLowerCase()] = t; | ||
}); | ||
this._globalAttributes.forEach(function (a) { | ||
_this._attributeMap[a.name] = a; | ||
}); | ||
if (customData.valueSets) { | ||
@@ -66,10 +58,7 @@ customData.valueSets.forEach(function (vs) { | ||
}; | ||
if (this._tagMap[tag]) { | ||
this._tagMap[tag].attributes.forEach(function (a) { | ||
processAttribute(a); | ||
}); | ||
var tagEntry = this._tagMap[tag.toLowerCase()]; | ||
if (tagEntry) { | ||
tagEntry.attributes.forEach(processAttribute); | ||
} | ||
this._globalAttributes.forEach(function (ga) { | ||
processAttribute(ga); | ||
}); | ||
this._globalAttributes.forEach(processAttribute); | ||
return attributes; | ||
@@ -80,5 +69,6 @@ }; | ||
var values = []; | ||
attribute = attribute.toLowerCase(); | ||
var processAttributes = function (attributes) { | ||
attributes.forEach(function (a) { | ||
if (a.name === attribute) { | ||
if (a.name.toLowerCase() === attribute) { | ||
if (a.values) { | ||
@@ -99,6 +89,7 @@ a.values.forEach(function (v) { | ||
}; | ||
if (!this._tagMap[tag]) { | ||
var tagEntry = this._tagMap[tag.toLowerCase()]; | ||
if (!tagEntry) { | ||
return []; | ||
} | ||
processAttributes(this._tagMap[tag].attributes); | ||
processAttributes(tagEntry.attributes); | ||
processAttributes(this._globalAttributes); | ||
@@ -105,0 +96,0 @@ return values; |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isVoidElement = exports.VOID_ELEMENTS = void 0; | ||
var arrays = require("../utils/arrays"); | ||
@@ -18,0 +19,0 @@ // As defined in https://www.w3.org/TR/html5/syntax.html#void-elements |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parse = exports.Node = void 0; | ||
var htmlScanner_1 = require("./htmlScanner"); | ||
@@ -31,3 +32,3 @@ var arrays_1 = require("../utils/arrays"); | ||
get: function () { return this.attributes ? Object.keys(this.attributes) : []; }, | ||
enumerable: true, | ||
enumerable: false, | ||
configurable: true | ||
@@ -45,3 +46,3 @@ }); | ||
get: function () { return this.children[0]; }, | ||
enumerable: true, | ||
enumerable: false, | ||
configurable: true | ||
@@ -51,3 +52,3 @@ }); | ||
get: function () { return this.children.length ? this.children[this.children.length - 1] : void 0; }, | ||
enumerable: true, | ||
enumerable: false, | ||
configurable: true | ||
@@ -54,0 +55,0 @@ }); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createScanner = void 0; | ||
var nls = require("vscode-nls"); | ||
@@ -18,0 +19,0 @@ var htmlLanguageTypes_1 = require("../htmlLanguageTypes"); |
@@ -52,2 +52,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HTMLCompletion = void 0; | ||
var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
@@ -237,6 +238,5 @@ var htmlScanner_1 = require("../parser/htmlScanner"); | ||
var value = isFollowedBy(text, nameEnd, htmlLanguageTypes_1.ScannerState.AfterAttributeName, htmlLanguageTypes_1.TokenType.DelimiterAssign) ? '' : '="$1"'; | ||
var tag = currentTag.toLowerCase(); | ||
var seenAttributes = Object.create(null); | ||
dataProviders.forEach(function (provider) { | ||
provider.provideAttributes(tag).forEach(function (attr) { | ||
provider.provideAttributes(currentTag).forEach(function (attr) { | ||
if (seenAttributes[attr.name]) { | ||
@@ -316,5 +316,5 @@ return; | ||
} | ||
var tag = currentTag.toLowerCase(); | ||
var attribute = currentAttributeName.toLowerCase(); | ||
if (completionParticipants.length > 0) { | ||
var tag = currentTag.toLowerCase(); | ||
var attribute = currentAttributeName.toLowerCase(); | ||
var fullRange = getReplaceRange(valueStart, valueEnd); | ||
@@ -329,3 +329,3 @@ for (var _i = 0, completionParticipants_1 = completionParticipants; _i < completionParticipants_1.length; _i++) { | ||
dataProviders.forEach(function (provider) { | ||
provider.provideValues(tag, attribute).forEach(function (value) { | ||
provider.provideValues(currentTag, currentAttributeName).forEach(function (value) { | ||
var insertText = addQuotes ? '"' + value.name + '"' : value.name; | ||
@@ -332,0 +332,0 @@ result.items.push({ |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getFoldingRanges = void 0; | ||
var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
@@ -18,0 +19,0 @@ var htmlLanguageTypes_1 = require("../htmlLanguageTypes"); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.format = void 0; | ||
var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
@@ -18,0 +19,0 @@ var beautify_html_1 = require("../beautify/beautify-html"); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findDocumentHighlights = void 0; | ||
var htmlScanner_1 = require("../parser/htmlScanner"); | ||
@@ -18,0 +19,0 @@ var vscode_languageserver_types_1 = require("vscode-languageserver-types"); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HTMLHover = void 0; | ||
var htmlScanner_1 = require("../parser/htmlScanner"); | ||
@@ -37,3 +38,2 @@ var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
function getTagHover(currTag, range, open) { | ||
currTag = currTag.toLowerCase(); | ||
var _loop_1 = function (provider) { | ||
@@ -43,3 +43,2 @@ var hover = null; | ||
if (tag.name.toLowerCase() === currTag.toLowerCase()) { | ||
var tagLabel = open ? '<' + currTag + '>' : '</' + currTag + '>'; | ||
var markupContent = dataProvider_1.generateDocumentation(tag, doesSupportMarkdown); | ||
@@ -69,3 +68,2 @@ if (!markupContent) { | ||
function getAttrHover(currTag, currAttr, range) { | ||
currTag = currTag.toLowerCase(); | ||
var _loop_2 = function (provider) { | ||
@@ -98,3 +96,2 @@ var hover = null; | ||
function getAttrValueHover(currTag, currAttr, currAttrValue, range) { | ||
currTag = currTag.toLowerCase(); | ||
var _loop_3 = function (provider) { | ||
@@ -101,0 +98,0 @@ var hover = null; |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findDocumentLinks = void 0; | ||
var htmlScanner_1 = require("../parser/htmlScanner"); | ||
@@ -18,0 +19,0 @@ var vscode_languageserver_types_1 = require("vscode-languageserver-types"); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findMatchingTagPosition = void 0; | ||
function findMatchingTagPosition(document, position, htmlDocument) { | ||
@@ -18,0 +19,0 @@ var offset = document.offsetAt(position); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.doRename = void 0; | ||
function doRename(document, position, newName, htmlDocument) { | ||
@@ -18,0 +19,0 @@ var _a; |
@@ -12,2 +12,3 @@ (function (factory) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getSelectionRanges = void 0; | ||
/** | ||
@@ -14,0 +15,0 @@ * Until SelectionRange lands in LSP, we'll return Range from server and convert it to |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findDocumentSymbols = void 0; | ||
var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
@@ -18,0 +19,0 @@ function findDocumentSymbols(document, htmlDocument) { |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findOnTypeRenameRanges = void 0; | ||
var vscode_languageserver_types_1 = require("vscode-languageserver-types"); | ||
@@ -18,0 +19,0 @@ function findOnTypeRenameRanges(document, position, htmlDocument) { |
@@ -52,2 +52,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PathCompletionParticipant = void 0; | ||
var htmlLanguageTypes_1 = require("../htmlLanguageTypes"); | ||
@@ -54,0 +55,0 @@ var strings_1 = require("../utils/strings"); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.binarySearch = exports.findFirst = void 0; | ||
/** | ||
@@ -18,0 +19,0 @@ * Takes a sorted array and a function p. The array is sorted in such a way that all elements where p(x) is false |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizeMarkupContent = void 0; | ||
function normalizeMarkupContent(input) { | ||
@@ -18,0 +19,0 @@ if (!input) { |
@@ -16,2 +16,3 @@ (function (factory) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isDefined = void 0; | ||
function isDefined(obj) { | ||
@@ -18,0 +19,0 @@ return typeof obj !== 'undefined'; |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.join = exports.extname = exports.basename = exports.dirname = void 0; | ||
/** | ||
@@ -18,0 +19,0 @@ * @returns the directory name of a path. |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.joinPath = exports.normalizePath = exports.resolvePath = exports.extname = exports.basename = exports.dirname = exports.isAbsolutePath = void 0; | ||
var vscode_uri_1 = require("vscode-uri"); | ||
@@ -18,0 +19,0 @@ var Slash = '/'.charCodeAt(0); |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isLetterOrDigit = exports.repeat = exports.commonPrefixLength = exports.endsWith = exports.startsWith = void 0; | ||
function startsWith(haystack, needle) { | ||
@@ -18,0 +19,0 @@ if (haystack.length < needle.length) { |
{ | ||
"name": "vscode-html-languageservice", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Language service for HTML", | ||
@@ -18,12 +18,12 @@ "main": "./lib/umd/htmlLanguageService.js", | ||
"devDependencies": { | ||
"@types/mocha": "^7.0.2", | ||
"@types/mocha": "^8.0.3", | ||
"@types/node": "^10.12.21", | ||
"@typescript-eslint/eslint-plugin": "^2.30.0", | ||
"@typescript-eslint/parser": "^2.30.0", | ||
"eslint": "^6.8.0", | ||
"js-beautify": "^1.11.0", | ||
"mocha": "^7.1.2", | ||
"@typescript-eslint/eslint-plugin": "^4.1.1", | ||
"@typescript-eslint/parser": "^4.1.1", | ||
"eslint": "^7.9.0", | ||
"js-beautify": "^1.13.0", | ||
"mocha": "^8.1.3", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^3.8.3", | ||
"vscode-web-custom-data": "^0.1.4" | ||
"typescript": "^4.0.2", | ||
"vscode-web-custom-data": "^0.3.1" | ||
}, | ||
@@ -33,3 +33,3 @@ "dependencies": { | ||
"vscode-languageserver-types": "3.16.0-next.2", | ||
"vscode-nls": "^4.1.2", | ||
"vscode-nls": "^5.0.0", | ||
"vscode-uri": "^2.1.2" | ||
@@ -45,3 +45,3 @@ }, | ||
"remove-sourcemap-refs": "node ./build/remove-sourcemap-refs.js", | ||
"test": "npm run compile && mocha && npm run lint", | ||
"test": "npm run compile && mocha ./lib/umd/test/*.js && npm run lint", | ||
"lint": "eslint src/**/*.ts", | ||
@@ -48,0 +48,0 @@ "install-types-next": "yarn add vscode-languageserver-types@next -f -S && yarn add vscode-languageserver-textdocument@next -f -S", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1536378
32349
+ Addedvscode-nls@5.2.0(transitive)
- Removedvscode-nls@4.1.2(transitive)
Updatedvscode-nls@^5.0.0