vscode-html-languageservice
Advanced tools
Comparing version 2.1.6 to 2.1.7
// copied from js-beautify/js/lib/beautify-css.js | ||
// version: 1.8.0-rc11 | ||
// version: 1.8.1 | ||
/*jshint curly:false, eqeqeq:true, laxbreak:true, noempty:false */ | ||
@@ -159,32 +159,35 @@ /* AUTO-GENERATED. DO NOT MODIFY. */ | ||
/* 2 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
The MIT License (MIT) | ||
The MIT License (MIT) | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
// merges child options up with the parent options object | ||
@@ -214,9 +217,22 @@ // Example: obj = {a: 1, b: {a: 2}} | ||
function normalizeOpts(options) { | ||
var convertedOpts = {}; | ||
var key; | ||
for (key in options) { | ||
var newKey = key.replace(/-/g, "_"); | ||
convertedOpts[newKey] = options[key]; | ||
} | ||
return convertedOpts; | ||
} | ||
module.exports.mergeOpts = mergeOpts; | ||
module.exports.normalizeOpts = normalizeOpts; | ||
/***/ }), | ||
/* 3 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* jshint curly: false */ | ||
"use strict"; | ||
/* jshint node: true, curly: false */ | ||
// This section of code is taken from acorn. | ||
@@ -240,2 +256,4 @@ // | ||
var nonASCIIwhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/; // jshint ignore:line | ||
@@ -296,5 +314,6 @@ var baseASCIIidentifierStartChars = "\x24\x40\x41-\x5a\x5f\x61-\x7a"; | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
@@ -327,2 +346,4 @@ | ||
function OutputLine(parent) { | ||
@@ -600,5 +621,6 @@ this.__parent = parent; | ||
/* 6 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
@@ -631,2 +653,4 @@ | ||
function InputScanner(input_string) { | ||
@@ -759,30 +783,33 @@ this.__input = input_string || ''; | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
The MIT License (MIT) | ||
The MIT License (MIT) | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
var Beautifier = __webpack_require__(12).Beautifier; | ||
@@ -801,3 +828,4 @@ | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
@@ -830,3 +858,6 @@ | ||
var mergeOpts = __webpack_require__(2).mergeOpts; | ||
var normalizeOpts = __webpack_require__(2).normalizeOpts; | ||
var acorn = __webpack_require__(3); | ||
@@ -846,2 +877,3 @@ var Output = __webpack_require__(4).Output; | ||
options = mergeOpts(options, 'css'); | ||
options = normalizeOpts(options); | ||
this._options = {}; | ||
@@ -848,0 +880,0 @@ |
// copied from js-beautify/js/lib/beautify-css.js | ||
// version: 1.8.0-rc11 | ||
// version: 1.8.1 | ||
/*jshint curly:false, eqeqeq:true, laxbreak:true, noempty:false */ | ||
@@ -160,32 +160,35 @@ /* AUTO-GENERATED. DO NOT MODIFY. */ | ||
/* 2 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
The MIT License (MIT) | ||
The MIT License (MIT) | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
// merges child options up with the parent options object | ||
@@ -215,9 +218,22 @@ // Example: obj = {a: 1, b: {a: 2}} | ||
function normalizeOpts(options) { | ||
var convertedOpts = {}; | ||
var key; | ||
for (key in options) { | ||
var newKey = key.replace(/-/g, "_"); | ||
convertedOpts[newKey] = options[key]; | ||
} | ||
return convertedOpts; | ||
} | ||
module.exports.mergeOpts = mergeOpts; | ||
module.exports.normalizeOpts = normalizeOpts; | ||
/***/ }), | ||
/* 3 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* jshint curly: false */ | ||
"use strict"; | ||
/* jshint node: true, curly: false */ | ||
// This section of code is taken from acorn. | ||
@@ -241,2 +257,4 @@ // | ||
var nonASCIIwhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/; // jshint ignore:line | ||
@@ -297,5 +315,6 @@ var baseASCIIidentifierStartChars = "\x24\x40\x41-\x5a\x5f\x61-\x7a"; | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
@@ -328,2 +347,4 @@ | ||
function OutputLine(parent) { | ||
@@ -601,5 +622,6 @@ this.__parent = parent; | ||
/* 6 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
@@ -632,2 +654,4 @@ | ||
function InputScanner(input_string) { | ||
@@ -760,30 +784,33 @@ this.__input = input_string || ''; | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
The MIT License (MIT) | ||
The MIT License (MIT) | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors. | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
(the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of the Software, | ||
and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
var Beautifier = __webpack_require__(12).Beautifier; | ||
@@ -802,3 +829,4 @@ | ||
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ | ||
"use strict"; | ||
/*jshint node:true */ | ||
/* | ||
@@ -831,3 +859,6 @@ | ||
var mergeOpts = __webpack_require__(2).mergeOpts; | ||
var normalizeOpts = __webpack_require__(2).normalizeOpts; | ||
var acorn = __webpack_require__(3); | ||
@@ -847,2 +878,3 @@ var Output = __webpack_require__(4).Output; | ||
options = mergeOpts(options, 'css'); | ||
options = normalizeOpts(options); | ||
this._options = {}; | ||
@@ -849,0 +881,0 @@ |
{ | ||
"name": "vscode-html-languageservice", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "Language service for HTML", | ||
@@ -21,3 +21,3 @@ "main": "./lib/umd/htmlLanguageService.js", | ||
"cpy-cli": "^2.0.0", | ||
"js-beautify": "^1.8.0-rc11", | ||
"js-beautify": "^1.8.1", | ||
"mocha": "^5.2.0", | ||
@@ -24,0 +24,0 @@ "rimraf": "^2.6.2", |
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
725941
15865