@skaldapp/monaco-sfc 1.1.33 → 1.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.worker.js +93 -38
- package/package.json +10 -10
package/dist/vue.worker.js
CHANGED
|
@@ -7,7 +7,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
10
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
10
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
11
11
|
var __exportAll = (all, no_symbols) => {
|
|
12
12
|
let target = {};
|
|
13
13
|
for (var name in all) __defProp(target, name, {
|
|
@@ -8376,12 +8376,26 @@ var require_utilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8376
8376
|
"jspm_packages"
|
|
8377
8377
|
].join("|")})(/|$))`;
|
|
8378
8378
|
var filesMatcher = {
|
|
8379
|
+
/**
|
|
8380
|
+
* Matches any single directory segment unless it is the last segment and a .min.js file
|
|
8381
|
+
* Breakdown:
|
|
8382
|
+
* [^./] # matches everything up to the first . character (excluding directory separators)
|
|
8383
|
+
* (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension
|
|
8384
|
+
*/
|
|
8379
8385
|
singleAsteriskRegexFragment: "([^./]|(\\.(?!min\\.js$))?)*",
|
|
8386
|
+
/**
|
|
8387
|
+
* Regex for the ** wildcard. Matches any number of subdirectories. When used for including
|
|
8388
|
+
* files or directories, does not match subdirectories that start with a . character
|
|
8389
|
+
*/
|
|
8380
8390
|
doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,
|
|
8381
8391
|
replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment)
|
|
8382
8392
|
};
|
|
8383
8393
|
var directoriesMatcher = {
|
|
8384
8394
|
singleAsteriskRegexFragment: "[^/]*",
|
|
8395
|
+
/**
|
|
8396
|
+
* Regex for the ** wildcard. Matches any number of subdirectories. When used for including
|
|
8397
|
+
* files or directories, does not match subdirectories that start with a . character
|
|
8398
|
+
*/
|
|
8385
8399
|
doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,
|
|
8386
8400
|
replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment)
|
|
8387
8401
|
};
|
|
@@ -9757,7 +9771,7 @@ var shared_esm_bundler_exports = /* @__PURE__ */ __exportAll({
|
|
|
9757
9771
|
toTypeString: () => toTypeString
|
|
9758
9772
|
});
|
|
9759
9773
|
/**
|
|
9760
|
-
* @vue/shared v3.5.
|
|
9774
|
+
* @vue/shared v3.5.33
|
|
9761
9775
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9762
9776
|
* @license MIT
|
|
9763
9777
|
**/
|
|
@@ -11559,6 +11573,7 @@ function genNode(node, context) {
|
|
|
11559
11573
|
case 24: break;
|
|
11560
11574
|
case 25: break;
|
|
11561
11575
|
case 26: break;
|
|
11576
|
+
/* v8 ignore start */
|
|
11562
11577
|
case 10: break;
|
|
11563
11578
|
default: if (!!(process.env.NODE_ENV !== "production")) {
|
|
11564
11579
|
assert(false, `unhandled codegen node type: ${node.type}`);
|
|
@@ -16063,6 +16078,9 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16063
16078
|
CHAR_UNDERSCORE: 95,
|
|
16064
16079
|
CHAR_VERTICAL_LINE: 124,
|
|
16065
16080
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
|
|
16081
|
+
/**
|
|
16082
|
+
* Create EXTGLOB_CHARS
|
|
16083
|
+
*/
|
|
16066
16084
|
extglobChars(chars) {
|
|
16067
16085
|
return {
|
|
16068
16086
|
"!": {
|
|
@@ -16092,6 +16110,9 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16092
16110
|
}
|
|
16093
16111
|
};
|
|
16094
16112
|
},
|
|
16113
|
+
/**
|
|
16114
|
+
* Create GLOB_CHARS
|
|
16115
|
+
*/
|
|
16095
16116
|
globChars(win32) {
|
|
16096
16117
|
return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
|
|
16097
16118
|
}
|
|
@@ -19524,15 +19545,11 @@ var require_compilerOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19524
19545
|
};
|
|
19525
19546
|
}
|
|
19526
19547
|
var CompilerOptionsResolver = class {
|
|
19527
|
-
ts;
|
|
19528
|
-
readFile;
|
|
19529
|
-
options = {};
|
|
19530
|
-
target;
|
|
19531
|
-
typesRoot;
|
|
19532
|
-
plugins = [];
|
|
19533
19548
|
constructor(ts, readFile) {
|
|
19534
19549
|
this.ts = ts;
|
|
19535
19550
|
this.readFile = readFile;
|
|
19551
|
+
this.options = {};
|
|
19552
|
+
this.plugins = [];
|
|
19536
19553
|
}
|
|
19537
19554
|
addConfig(options, rootDir) {
|
|
19538
19555
|
for (const key in options) switch (key) {
|
|
@@ -23155,16 +23172,12 @@ var require_embeddedCodes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23155
23172
|
var muggle_string_1 = require_out$1();
|
|
23156
23173
|
var buildMappings_1 = require_buildMappings();
|
|
23157
23174
|
var VueEmbeddedCode = class {
|
|
23158
|
-
id;
|
|
23159
|
-
lang;
|
|
23160
|
-
content;
|
|
23161
|
-
parentCodeId;
|
|
23162
|
-
linkedCodeMappings = [];
|
|
23163
|
-
embeddedCodes = [];
|
|
23164
23175
|
constructor(id, lang, content) {
|
|
23165
23176
|
this.id = id;
|
|
23166
23177
|
this.lang = lang;
|
|
23167
23178
|
this.content = content;
|
|
23179
|
+
this.linkedCodeMappings = [];
|
|
23180
|
+
this.embeddedCodes = [];
|
|
23168
23181
|
}
|
|
23169
23182
|
};
|
|
23170
23183
|
exports.VueEmbeddedCode = VueEmbeddedCode;
|
|
@@ -23868,16 +23881,6 @@ var require_virtualCode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23868
23881
|
var embeddedCodes_1 = require_embeddedCodes();
|
|
23869
23882
|
var ir_1 = require_ir();
|
|
23870
23883
|
var VueVirtualCode = class {
|
|
23871
|
-
fileName;
|
|
23872
|
-
languageId;
|
|
23873
|
-
initSnapshot;
|
|
23874
|
-
vueCompilerOptions;
|
|
23875
|
-
id = "main";
|
|
23876
|
-
_snapshot;
|
|
23877
|
-
_parsedSfcResult;
|
|
23878
|
-
_ir;
|
|
23879
|
-
_embeddedCodes;
|
|
23880
|
-
_mappings;
|
|
23881
23884
|
get snapshot() {
|
|
23882
23885
|
return this._snapshot();
|
|
23883
23886
|
}
|
|
@@ -23898,6 +23901,7 @@ var require_virtualCode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
23898
23901
|
this.languageId = languageId;
|
|
23899
23902
|
this.initSnapshot = initSnapshot;
|
|
23900
23903
|
this.vueCompilerOptions = vueCompilerOptions;
|
|
23904
|
+
this.id = "main";
|
|
23901
23905
|
this._snapshot = (0, alien_signals_1.signal)(initSnapshot);
|
|
23902
23906
|
this._parsedSfcResult = (0, alien_signals_1.computed)((lastResult) => this.parseSfc(plugins, lastResult));
|
|
23903
23907
|
this._ir = (0, ir_1.useIR)(ts, plugins, fileName, this._snapshot, () => this._parsedSfcResult()?.result);
|
|
@@ -24752,6 +24756,8 @@ var init_format$1 = __esmMin((() => {
|
|
|
24752
24756
|
init_scanner();
|
|
24753
24757
|
init_string_intern();
|
|
24754
24758
|
}));
|
|
24759
|
+
//#endregion
|
|
24760
|
+
//#region node_modules/jsonc-parser/lib/esm/impl/parser.js
|
|
24755
24761
|
/**
|
|
24756
24762
|
* Parses the given text and returns the object the JSON content represents. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.
|
|
24757
24763
|
* Therefore always check the errors list to find out if the input was valid.
|
|
@@ -24764,7 +24770,7 @@ function parse$2(text, errors = [], options = ParseOptions.DEFAULT) {
|
|
|
24764
24770
|
if (Array.isArray(currentParent)) currentParent.push(value);
|
|
24765
24771
|
else if (currentProperty !== null) currentParent[currentProperty] = value;
|
|
24766
24772
|
}
|
|
24767
|
-
visit
|
|
24773
|
+
visit(text, {
|
|
24768
24774
|
onObjectBegin: () => {
|
|
24769
24775
|
const object = {};
|
|
24770
24776
|
onValue(object);
|
|
@@ -24853,7 +24859,7 @@ function findNodeAtOffset$1(node, offset, includeRightBound = false) {
|
|
|
24853
24859
|
/**
|
|
24854
24860
|
* Parses the given text and invokes the visitor functions for each object, array and literal reached.
|
|
24855
24861
|
*/
|
|
24856
|
-
function visit
|
|
24862
|
+
function visit(text, visitor, options = ParseOptions.DEFAULT) {
|
|
24857
24863
|
const _scanner = createScanner$2(text, false);
|
|
24858
24864
|
const _jsonPath = [];
|
|
24859
24865
|
let suppressedCallbacks = 0;
|
|
@@ -32997,6 +33003,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
32997
33003
|
break;
|
|
32998
33004
|
case "<":
|
|
32999
33005
|
case "<=": break;
|
|
33006
|
+
/* istanbul ignore next */
|
|
33000
33007
|
default: throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
33001
33008
|
}
|
|
33002
33009
|
});
|
|
@@ -44196,6 +44203,10 @@ function computeFoldingRanges(document) {
|
|
|
44196
44203
|
}
|
|
44197
44204
|
}
|
|
44198
44205
|
break;
|
|
44206
|
+
/**
|
|
44207
|
+
* In CSS, there is no single line comment prefixed with //
|
|
44208
|
+
* All comments are marked as `Comment`
|
|
44209
|
+
*/
|
|
44199
44210
|
case TokenType$1.Comment: {
|
|
44200
44211
|
const commentRegionMarkerToDelimiter = (marker) => {
|
|
44201
44212
|
if (marker === "#region") return {
|
|
@@ -84871,6 +84882,10 @@ var require_css = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
84871
84882
|
if (document.languageId === "postcss") diagnostics = diagnostics.filter((diag) => diag.code !== "css-semicolonexpected" && diag.code !== "css-ruleorselectorexpected" && diag.code !== "unknownAtRules");
|
|
84872
84883
|
return diagnostics;
|
|
84873
84884
|
},
|
|
84885
|
+
/**
|
|
84886
|
+
* If the position is within the virtual code and navigation is enabled,
|
|
84887
|
+
* skip the CSS navigation feature.
|
|
84888
|
+
*/
|
|
84874
84889
|
provideReferences(document, position) {
|
|
84875
84890
|
if (isWithinNavigationVirtualCode(document, position)) return;
|
|
84876
84891
|
return worker(document, (stylesheet, cssLs) => {
|
|
@@ -91920,7 +91935,8 @@ var init_beautify_html = __esmMin((() => {
|
|
|
91920
91935
|
return this._current_frame ? this._current_frame.parser_token : null;
|
|
91921
91936
|
};
|
|
91922
91937
|
TagStack.prototype.record_tag = function(parser_token) {
|
|
91923
|
-
|
|
91938
|
+
var new_frame = new TagFrame(this._current_frame, parser_token, this._printer.indent_level);
|
|
91939
|
+
this._current_frame = new_frame;
|
|
91924
91940
|
};
|
|
91925
91941
|
TagStack.prototype._try_pop_frame = function(frame) {
|
|
91926
91942
|
var parser_token = null;
|
|
@@ -91957,7 +91973,8 @@ var init_beautify_html = __esmMin((() => {
|
|
|
91957
91973
|
this._js_beautify = js_beautify;
|
|
91958
91974
|
this._css_beautify = css_beautify;
|
|
91959
91975
|
this._tag_stack = null;
|
|
91960
|
-
|
|
91976
|
+
var optionHtml = new Options(options, "html");
|
|
91977
|
+
this._options = optionHtml;
|
|
91961
91978
|
this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, 5) === "force";
|
|
91962
91979
|
this._is_wrap_attributes_force_expand_multiline = this._options.wrap_attributes === "force-expand-multiline";
|
|
91963
91980
|
this._is_wrap_attributes_force_aligned = this._options.wrap_attributes === "force-aligned";
|
|
@@ -111737,7 +111754,8 @@ var require_beautify_html = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
111737
111754
|
return this._current_frame ? this._current_frame.parser_token : null;
|
|
111738
111755
|
};
|
|
111739
111756
|
TagStack.prototype.record_tag = function(parser_token) {
|
|
111740
|
-
|
|
111757
|
+
var new_frame = new TagFrame(this._current_frame, parser_token, this._printer.indent_level);
|
|
111758
|
+
this._current_frame = new_frame;
|
|
111741
111759
|
};
|
|
111742
111760
|
TagStack.prototype._try_pop_frame = function(frame) {
|
|
111743
111761
|
var parser_token = null;
|
|
@@ -111774,7 +111792,8 @@ var require_beautify_html = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
111774
111792
|
this._js_beautify = js_beautify;
|
|
111775
111793
|
this._css_beautify = css_beautify;
|
|
111776
111794
|
this._tag_stack = null;
|
|
111777
|
-
|
|
111795
|
+
var optionHtml = new Options(options, "html");
|
|
111796
|
+
this._options = optionHtml;
|
|
111778
111797
|
this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, 5) === "force";
|
|
111779
111798
|
this._is_wrap_attributes_force_expand_multiline = this._options.wrap_attributes === "force-expand-multiline";
|
|
111780
111799
|
this._is_wrap_attributes_force_aligned = this._options.wrap_attributes === "force-aligned";
|
|
@@ -117078,7 +117097,7 @@ var require_typescript = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
117078
117097
|
});
|
|
117079
117098
|
module$1.exports = __toCommonJS(typescript_exports);
|
|
117080
117099
|
var versionMajorMinor = "6.0";
|
|
117081
|
-
var version = "6.0.
|
|
117100
|
+
var version = "6.0.3";
|
|
117082
117101
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
117083
117102
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
117084
117103
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -138709,12 +138728,26 @@ ${lanes.join("\n")}
|
|
|
138709
138728
|
"jspm_packages"
|
|
138710
138729
|
].join("|")})(?:/|$))`;
|
|
138711
138730
|
var filesMatcher = {
|
|
138731
|
+
/**
|
|
138732
|
+
* Matches any single directory segment unless it is the last segment and a .min.js file
|
|
138733
|
+
* Breakdown:
|
|
138734
|
+
* [^./] # matches everything up to the first . character (excluding directory separators)
|
|
138735
|
+
* (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension
|
|
138736
|
+
*/
|
|
138712
138737
|
singleAsteriskRegexFragment: "(?:[^./]|(?:\\.(?!min\\.js$))?)*",
|
|
138738
|
+
/**
|
|
138739
|
+
* Regex for the ** wildcard. Matches any number of subdirectories. When used for including
|
|
138740
|
+
* files or directories, does not match subdirectories that start with a . character
|
|
138741
|
+
*/
|
|
138713
138742
|
doubleAsteriskRegexFragment: `(?:/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,
|
|
138714
138743
|
replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment)
|
|
138715
138744
|
};
|
|
138716
138745
|
var directoriesMatcher = {
|
|
138717
138746
|
singleAsteriskRegexFragment: "[^/]*",
|
|
138747
|
+
/**
|
|
138748
|
+
* Regex for the ** wildcard. Matches any number of subdirectories. When used for including
|
|
138749
|
+
* files or directories, does not match subdirectories that start with a . character
|
|
138750
|
+
*/
|
|
138718
138751
|
doubleAsteriskRegexFragment: `(?:/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,
|
|
138719
138752
|
replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment)
|
|
138720
138753
|
};
|
|
@@ -159620,6 +159653,7 @@ ${lanes.join("\n")}
|
|
|
159620
159653
|
case 219: return 61;
|
|
159621
159654
|
case 220: return 317;
|
|
159622
159655
|
case 269: return 4;
|
|
159656
|
+
case 173: return node.initializer ? 4 : 0;
|
|
159623
159657
|
case 300:
|
|
159624
159658
|
case 249:
|
|
159625
159659
|
case 250:
|
|
@@ -217246,6 +217280,7 @@ ${lanes.join("\n")}
|
|
|
217246
217280
|
NameValidationResult2[NameValidationResult2["NameTooLong"] = 2] = "NameTooLong";
|
|
217247
217281
|
NameValidationResult2[NameValidationResult2["NameStartsWithDot"] = 3] = "NameStartsWithDot";
|
|
217248
217282
|
NameValidationResult2[NameValidationResult2["NameStartsWithUnderscore"] = 4] = "NameStartsWithUnderscore";
|
|
217283
|
+
NameValidationResult2[NameValidationResult2["NameContainsInvalidCharacters"] = 5] = "NameContainsInvalidCharacters";
|
|
217249
217284
|
NameValidationResult2[NameValidationResult2["NameContainsNonURISafeCharacters"] = 5] = "NameContainsNonURISafeCharacters";
|
|
217250
217285
|
return NameValidationResult2;
|
|
217251
217286
|
})(NameValidationResult || {});
|
|
@@ -217276,7 +217311,7 @@ ${lanes.join("\n")}
|
|
|
217276
217311
|
return 0;
|
|
217277
217312
|
}
|
|
217278
217313
|
}
|
|
217279
|
-
if (
|
|
217314
|
+
if (!/^[\w.-]+$/.test(packageName)) return 5;
|
|
217280
217315
|
return 0;
|
|
217281
217316
|
}
|
|
217282
217317
|
function renderPackageNameValidationFailure(result, typing) {
|
|
@@ -217289,7 +217324,7 @@ ${lanes.join("\n")}
|
|
|
217289
217324
|
case 2: return `'${typing}':: ${kind} name '${name}' should be less than ${maxPackageNameLength} characters`;
|
|
217290
217325
|
case 3: return `'${typing}':: ${kind} name '${name}' cannot start with '.'`;
|
|
217291
217326
|
case 4: return `'${typing}':: ${kind} name '${name}' cannot start with '_'`;
|
|
217292
|
-
case 5: return `'${typing}':: ${kind} name '${name}' contains
|
|
217327
|
+
case 5: return `'${typing}':: ${kind} name '${name}' contains invalid characters`;
|
|
217293
217328
|
case 0: return Debug.fail();
|
|
217294
217329
|
default: Debug.assertNever(result);
|
|
217295
217330
|
}
|
|
@@ -247936,7 +247971,11 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
247936
247971
|
return this.nextNodeAllOnSameLine;
|
|
247937
247972
|
}
|
|
247938
247973
|
TokensAreOnSameLine() {
|
|
247939
|
-
if (this.tokensAreOnSameLine === void 0)
|
|
247974
|
+
if (this.tokensAreOnSameLine === void 0) {
|
|
247975
|
+
const startLine = this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line;
|
|
247976
|
+
const endLine = this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;
|
|
247977
|
+
this.tokensAreOnSameLine = startLine === endLine;
|
|
247978
|
+
}
|
|
247940
247979
|
return this.tokensAreOnSameLine;
|
|
247941
247980
|
}
|
|
247942
247981
|
ContextNodeBlockIsOnOneLine() {
|
|
@@ -252746,6 +252785,20 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
252746
252785
|
/** @internal */
|
|
252747
252786
|
installPackage(req) {
|
|
252748
252787
|
const { fileName, packageName, projectName, projectRootPath, id } = req;
|
|
252788
|
+
const validationResult = ts_JsTyping_exports.validatePackageName(packageName);
|
|
252789
|
+
if (validationResult !== ts_JsTyping_exports.NameValidationResult.Ok) {
|
|
252790
|
+
const message = ts_JsTyping_exports.renderPackageNameValidationFailure(validationResult, packageName);
|
|
252791
|
+
if (this.log.isEnabled()) this.log.writeLine(message);
|
|
252792
|
+
const response = {
|
|
252793
|
+
kind: ActionPackageInstalled,
|
|
252794
|
+
projectName,
|
|
252795
|
+
id,
|
|
252796
|
+
success: false,
|
|
252797
|
+
message
|
|
252798
|
+
};
|
|
252799
|
+
this.sendResponse(response);
|
|
252800
|
+
return;
|
|
252801
|
+
}
|
|
252749
252802
|
const cwd = forEachAncestorDirectory(getDirectoryPath(fileName), (directory) => {
|
|
252750
252803
|
if (this.installTypingHost.fileExists(combinePaths(directory, "package.json"))) return directory;
|
|
252751
252804
|
}) || projectRootPath;
|
|
@@ -259555,7 +259608,7 @@ ${json}${newLine}`;
|
|
|
259555
259608
|
this.noGetErrOnBackgroundUpdate = opts.noGetErrOnBackgroundUpdate;
|
|
259556
259609
|
const { throttleWaitMilliseconds } = opts;
|
|
259557
259610
|
this.eventHandler = this.canUseEvents ? opts.eventHandler || ((event) => this.defaultEventHandler(event)) : void 0;
|
|
259558
|
-
|
|
259611
|
+
const multistepOperationHost = {
|
|
259559
259612
|
executeWithRequestId: (requestId, action, performanceData) => this.executeWithRequestId(requestId, action, performanceData),
|
|
259560
259613
|
getCurrentRequestId: () => this.currentRequestId,
|
|
259561
259614
|
getPerformanceData: () => this.performanceData,
|
|
@@ -259563,8 +259616,9 @@ ${json}${newLine}`;
|
|
|
259563
259616
|
logError: (err, cmd) => this.logError(err, cmd),
|
|
259564
259617
|
sendRequestCompletedEvent: (requestId, performanceData) => this.sendRequestCompletedEvent(requestId, performanceData),
|
|
259565
259618
|
isCancellationRequested: () => this.cancellationToken.isCancellationRequested()
|
|
259566
|
-
}
|
|
259567
|
-
this.
|
|
259619
|
+
};
|
|
259620
|
+
this.errorCheck = new MultistepOperation(multistepOperationHost);
|
|
259621
|
+
const settings = {
|
|
259568
259622
|
host: this.host,
|
|
259569
259623
|
logger: this.logger,
|
|
259570
259624
|
cancellationToken: this.cancellationToken,
|
|
@@ -259582,7 +259636,8 @@ ${json}${newLine}`;
|
|
|
259582
259636
|
session: this,
|
|
259583
259637
|
canUseWatchEvents: opts.canUseWatchEvents,
|
|
259584
259638
|
incrementalVerifier: opts.incrementalVerifier
|
|
259585
|
-
}
|
|
259639
|
+
};
|
|
259640
|
+
this.projectService = new ProjectService2(settings);
|
|
259586
259641
|
this.projectService.setPerformanceEventHandler(this.performanceEventHandler.bind(this));
|
|
259587
259642
|
this.gcTimer = new GcTimer(this.host, 7e3, this.logger);
|
|
259588
259643
|
switch (this.projectService.serverMode) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package",
|
|
3
3
|
"name": "@skaldapp/monaco-sfc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.35",
|
|
5
5
|
"description": "A Monaco Editor language server for Vue Single File Components (SFC) providing syntax highlighting, IntelliSense, error detection, and more",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vue",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "tsc && vite build",
|
|
48
|
+
"build": "tsc -p tsconfig.build.json && vite build",
|
|
49
49
|
"lint": "eslint ."
|
|
50
50
|
},
|
|
51
51
|
"prettier": "@skaldapp/configs/prettierrc",
|
|
@@ -54,23 +54,23 @@
|
|
|
54
54
|
"@remote-dom/polyfill": "^1.5.1",
|
|
55
55
|
"@volar/jsdelivr": "^2.4.28",
|
|
56
56
|
"@volar/monaco": "^2.4.28",
|
|
57
|
-
"@vue/language-core": "^3.2.
|
|
58
|
-
"@vue/language-service": "^3.2.
|
|
59
|
-
"@vue/typescript-plugin": "^3.2.
|
|
57
|
+
"@vue/language-core": "^3.2.7",
|
|
58
|
+
"@vue/language-service": "^3.2.7",
|
|
59
|
+
"@vue/typescript-plugin": "^3.2.7",
|
|
60
60
|
"monaco-editor": "0.52.2",
|
|
61
|
-
"typescript": "^6.0.
|
|
61
|
+
"typescript": "^6.0.3",
|
|
62
62
|
"volar-service-typescript": "^0.0.70",
|
|
63
63
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
64
64
|
"vscode-uri": "^3.1.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@rollup/plugin-commonjs": "^29.0.2",
|
|
68
|
-
"@skaldapp/configs": "^1.2.
|
|
68
|
+
"@skaldapp/configs": "^1.2.92",
|
|
69
69
|
"@types/markdown-it": "^14.1.2",
|
|
70
|
-
"@types/node": "^25.
|
|
71
|
-
"eslint": "^10.2.
|
|
70
|
+
"@types/node": "^25.6.0",
|
|
71
|
+
"eslint": "^10.2.1",
|
|
72
72
|
"jsonc-parser": "^3.3.1",
|
|
73
73
|
"path-browserify": "^1.0.1",
|
|
74
|
-
"vite": "^8.0.
|
|
74
|
+
"vite": "^8.0.10"
|
|
75
75
|
}
|
|
76
76
|
}
|