modern-monaco 0.1.1 → 0.1.3
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/editor-core.js +29 -29
- package/dist/index.js +7 -7
- package/dist/lsp/css/worker.js +22 -22
- package/dist/lsp/html/worker.js +50 -50
- package/dist/lsp/json/worker.js +8 -8
- package/dist/shiki-wasm.js +1 -1
- package/dist/shiki.js +28 -7
- package/dist/workspace.js +25 -50
- package/package.json +4 -4
- package/types/workspace.d.ts +1 -5
package/dist/lsp/html/worker.js
CHANGED
|
@@ -5540,7 +5540,7 @@ var legacy_beautify_css;
|
|
|
5540
5540
|
,
|
|
5541
5541
|
/* 2 */
|
|
5542
5542
|
/***/
|
|
5543
|
-
function(module) {
|
|
5543
|
+
(function(module) {
|
|
5544
5544
|
function OutputLine(parent) {
|
|
5545
5545
|
this.__parent = parent;
|
|
5546
5546
|
this.__character_count = 0;
|
|
@@ -5857,13 +5857,13 @@ var legacy_beautify_css;
|
|
|
5857
5857
|
}
|
|
5858
5858
|
};
|
|
5859
5859
|
module.exports.Output = Output;
|
|
5860
|
-
},
|
|
5860
|
+
}),
|
|
5861
5861
|
,
|
|
5862
5862
|
,
|
|
5863
5863
|
,
|
|
5864
5864
|
/* 6 */
|
|
5865
5865
|
/***/
|
|
5866
|
-
function(module) {
|
|
5866
|
+
(function(module) {
|
|
5867
5867
|
function Options(options, merge_child_field) {
|
|
5868
5868
|
this.raw_options = _mergeOpts(options, merge_child_field);
|
|
5869
5869
|
this.disabled = this._get_boolean("disabled");
|
|
@@ -5983,11 +5983,11 @@ var legacy_beautify_css;
|
|
|
5983
5983
|
module.exports.Options = Options;
|
|
5984
5984
|
module.exports.normalizeOpts = _normalizeOpts;
|
|
5985
5985
|
module.exports.mergeOpts = _mergeOpts;
|
|
5986
|
-
},
|
|
5986
|
+
}),
|
|
5987
5987
|
,
|
|
5988
5988
|
/* 8 */
|
|
5989
5989
|
/***/
|
|
5990
|
-
function(module) {
|
|
5990
|
+
(function(module) {
|
|
5991
5991
|
var regexp_has_sticky = RegExp.prototype.hasOwnProperty("sticky");
|
|
5992
5992
|
function InputScanner(input_string) {
|
|
5993
5993
|
this.__input = input_string || "";
|
|
@@ -6116,14 +6116,14 @@ var legacy_beautify_css;
|
|
|
6116
6116
|
return start >= testVal.length && this.__input.substring(start - testVal.length, start).toLowerCase() === testVal;
|
|
6117
6117
|
};
|
|
6118
6118
|
module.exports.InputScanner = InputScanner;
|
|
6119
|
-
},
|
|
6119
|
+
}),
|
|
6120
6120
|
,
|
|
6121
6121
|
,
|
|
6122
6122
|
,
|
|
6123
6123
|
,
|
|
6124
6124
|
/* 13 */
|
|
6125
6125
|
/***/
|
|
6126
|
-
function(module) {
|
|
6126
|
+
(function(module) {
|
|
6127
6127
|
function Directives(start_block_pattern, end_block_pattern) {
|
|
6128
6128
|
start_block_pattern = typeof start_block_pattern === "string" ? start_block_pattern : start_block_pattern.source;
|
|
6129
6129
|
end_block_pattern = typeof end_block_pattern === "string" ? end_block_pattern : end_block_pattern.source;
|
|
@@ -6148,11 +6148,11 @@ var legacy_beautify_css;
|
|
|
6148
6148
|
return input.readUntilAfter(this.__directives_end_ignore_pattern);
|
|
6149
6149
|
};
|
|
6150
6150
|
module.exports.Directives = Directives;
|
|
6151
|
-
},
|
|
6151
|
+
}),
|
|
6152
6152
|
,
|
|
6153
6153
|
/* 15 */
|
|
6154
6154
|
/***/
|
|
6155
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
6155
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
6156
6156
|
var Beautifier = __webpack_require__2(16).Beautifier, Options = __webpack_require__2(17).Options;
|
|
6157
6157
|
function css_beautify2(source_text, options) {
|
|
6158
6158
|
var beautifier = new Beautifier(source_text, options);
|
|
@@ -6162,10 +6162,10 @@ var legacy_beautify_css;
|
|
|
6162
6162
|
module.exports.defaultOptions = function() {
|
|
6163
6163
|
return new Options();
|
|
6164
6164
|
};
|
|
6165
|
-
},
|
|
6165
|
+
}),
|
|
6166
6166
|
/* 16 */
|
|
6167
6167
|
/***/
|
|
6168
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
6168
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
6169
6169
|
var Options = __webpack_require__2(17).Options;
|
|
6170
6170
|
var Output = __webpack_require__2(2).Output;
|
|
6171
6171
|
var InputScanner = __webpack_require__2(8).InputScanner;
|
|
@@ -6566,10 +6566,10 @@ var legacy_beautify_css;
|
|
|
6566
6566
|
return sweetCode;
|
|
6567
6567
|
};
|
|
6568
6568
|
module.exports.Beautifier = Beautifier;
|
|
6569
|
-
},
|
|
6569
|
+
}),
|
|
6570
6570
|
/* 17 */
|
|
6571
6571
|
/***/
|
|
6572
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
6572
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
6573
6573
|
var BaseOptions = __webpack_require__2(6).Options;
|
|
6574
6574
|
function Options(options) {
|
|
6575
6575
|
BaseOptions.call(this, options, "css");
|
|
@@ -6589,7 +6589,7 @@ var legacy_beautify_css;
|
|
|
6589
6589
|
}
|
|
6590
6590
|
Options.prototype = new BaseOptions();
|
|
6591
6591
|
module.exports.Options = Options;
|
|
6592
|
-
}
|
|
6592
|
+
})
|
|
6593
6593
|
/******/
|
|
6594
6594
|
];
|
|
6595
6595
|
var __webpack_module_cache__ = {};
|
|
@@ -6624,7 +6624,7 @@ var legacy_beautify_html;
|
|
|
6624
6624
|
,
|
|
6625
6625
|
/* 2 */
|
|
6626
6626
|
/***/
|
|
6627
|
-
function(module) {
|
|
6627
|
+
(function(module) {
|
|
6628
6628
|
function OutputLine(parent) {
|
|
6629
6629
|
this.__parent = parent;
|
|
6630
6630
|
this.__character_count = 0;
|
|
@@ -6941,10 +6941,10 @@ var legacy_beautify_html;
|
|
|
6941
6941
|
}
|
|
6942
6942
|
};
|
|
6943
6943
|
module.exports.Output = Output;
|
|
6944
|
-
},
|
|
6944
|
+
}),
|
|
6945
6945
|
/* 3 */
|
|
6946
6946
|
/***/
|
|
6947
|
-
function(module) {
|
|
6947
|
+
(function(module) {
|
|
6948
6948
|
function Token(type, text, newlines, whitespace_before) {
|
|
6949
6949
|
this.type = type;
|
|
6950
6950
|
this.text = text;
|
|
@@ -6959,12 +6959,12 @@ var legacy_beautify_html;
|
|
|
6959
6959
|
this.directives = null;
|
|
6960
6960
|
}
|
|
6961
6961
|
module.exports.Token = Token;
|
|
6962
|
-
},
|
|
6962
|
+
}),
|
|
6963
6963
|
,
|
|
6964
6964
|
,
|
|
6965
6965
|
/* 6 */
|
|
6966
6966
|
/***/
|
|
6967
|
-
function(module) {
|
|
6967
|
+
(function(module) {
|
|
6968
6968
|
function Options(options, merge_child_field) {
|
|
6969
6969
|
this.raw_options = _mergeOpts(options, merge_child_field);
|
|
6970
6970
|
this.disabled = this._get_boolean("disabled");
|
|
@@ -7084,11 +7084,11 @@ var legacy_beautify_html;
|
|
|
7084
7084
|
module.exports.Options = Options;
|
|
7085
7085
|
module.exports.normalizeOpts = _normalizeOpts;
|
|
7086
7086
|
module.exports.mergeOpts = _mergeOpts;
|
|
7087
|
-
},
|
|
7087
|
+
}),
|
|
7088
7088
|
,
|
|
7089
7089
|
/* 8 */
|
|
7090
7090
|
/***/
|
|
7091
|
-
function(module) {
|
|
7091
|
+
(function(module) {
|
|
7092
7092
|
var regexp_has_sticky = RegExp.prototype.hasOwnProperty("sticky");
|
|
7093
7093
|
function InputScanner(input_string) {
|
|
7094
7094
|
this.__input = input_string || "";
|
|
@@ -7217,10 +7217,10 @@ var legacy_beautify_html;
|
|
|
7217
7217
|
return start >= testVal.length && this.__input.substring(start - testVal.length, start).toLowerCase() === testVal;
|
|
7218
7218
|
};
|
|
7219
7219
|
module.exports.InputScanner = InputScanner;
|
|
7220
|
-
},
|
|
7220
|
+
}),
|
|
7221
7221
|
/* 9 */
|
|
7222
7222
|
/***/
|
|
7223
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7223
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7224
7224
|
var InputScanner = __webpack_require__2(8).InputScanner;
|
|
7225
7225
|
var Token = __webpack_require__2(3).Token;
|
|
7226
7226
|
var TokenStream = __webpack_require__2(10).TokenStream;
|
|
@@ -7310,10 +7310,10 @@ var legacy_beautify_html;
|
|
|
7310
7310
|
};
|
|
7311
7311
|
module.exports.Tokenizer = Tokenizer;
|
|
7312
7312
|
module.exports.TOKEN = TOKEN;
|
|
7313
|
-
},
|
|
7313
|
+
}),
|
|
7314
7314
|
/* 10 */
|
|
7315
7315
|
/***/
|
|
7316
|
-
function(module) {
|
|
7316
|
+
(function(module) {
|
|
7317
7317
|
function TokenStream(parent_token) {
|
|
7318
7318
|
this.__tokens = [];
|
|
7319
7319
|
this.__tokens_length = this.__tokens.length;
|
|
@@ -7354,10 +7354,10 @@ var legacy_beautify_html;
|
|
|
7354
7354
|
this.__tokens_length += 1;
|
|
7355
7355
|
};
|
|
7356
7356
|
module.exports.TokenStream = TokenStream;
|
|
7357
|
-
},
|
|
7357
|
+
}),
|
|
7358
7358
|
/* 11 */
|
|
7359
7359
|
/***/
|
|
7360
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7360
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7361
7361
|
var Pattern = __webpack_require__2(12).Pattern;
|
|
7362
7362
|
function WhitespacePattern(input_scanner, parent) {
|
|
7363
7363
|
Pattern.call(this, input_scanner, parent);
|
|
@@ -7421,10 +7421,10 @@ var legacy_beautify_html;
|
|
|
7421
7421
|
return result;
|
|
7422
7422
|
};
|
|
7423
7423
|
module.exports.WhitespacePattern = WhitespacePattern;
|
|
7424
|
-
},
|
|
7424
|
+
}),
|
|
7425
7425
|
/* 12 */
|
|
7426
7426
|
/***/
|
|
7427
|
-
function(module) {
|
|
7427
|
+
(function(module) {
|
|
7428
7428
|
function Pattern(input_scanner, parent) {
|
|
7429
7429
|
this._input = input_scanner;
|
|
7430
7430
|
this._starting_pattern = null;
|
|
@@ -7480,10 +7480,10 @@ var legacy_beautify_html;
|
|
|
7480
7480
|
Pattern.prototype._update = function() {
|
|
7481
7481
|
};
|
|
7482
7482
|
module.exports.Pattern = Pattern;
|
|
7483
|
-
},
|
|
7483
|
+
}),
|
|
7484
7484
|
/* 13 */
|
|
7485
7485
|
/***/
|
|
7486
|
-
function(module) {
|
|
7486
|
+
(function(module) {
|
|
7487
7487
|
function Directives(start_block_pattern, end_block_pattern) {
|
|
7488
7488
|
start_block_pattern = typeof start_block_pattern === "string" ? start_block_pattern : start_block_pattern.source;
|
|
7489
7489
|
end_block_pattern = typeof end_block_pattern === "string" ? end_block_pattern : end_block_pattern.source;
|
|
@@ -7508,10 +7508,10 @@ var legacy_beautify_html;
|
|
|
7508
7508
|
return input.readUntilAfter(this.__directives_end_ignore_pattern);
|
|
7509
7509
|
};
|
|
7510
7510
|
module.exports.Directives = Directives;
|
|
7511
|
-
},
|
|
7511
|
+
}),
|
|
7512
7512
|
/* 14 */
|
|
7513
7513
|
/***/
|
|
7514
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7514
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7515
7515
|
var Pattern = __webpack_require__2(12).Pattern;
|
|
7516
7516
|
var template_names = {
|
|
7517
7517
|
django: false,
|
|
@@ -7660,13 +7660,13 @@ var legacy_beautify_html;
|
|
|
7660
7660
|
return resulting_string;
|
|
7661
7661
|
};
|
|
7662
7662
|
module.exports.TemplatablePattern = TemplatablePattern;
|
|
7663
|
-
},
|
|
7663
|
+
}),
|
|
7664
7664
|
,
|
|
7665
7665
|
,
|
|
7666
7666
|
,
|
|
7667
7667
|
/* 18 */
|
|
7668
7668
|
/***/
|
|
7669
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7669
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7670
7670
|
var Beautifier = __webpack_require__2(19).Beautifier, Options = __webpack_require__2(20).Options;
|
|
7671
7671
|
function style_html(html_source, options, js_beautify2, css_beautify2) {
|
|
7672
7672
|
var beautifier = new Beautifier(html_source, options, js_beautify2, css_beautify2);
|
|
@@ -7676,10 +7676,10 @@ var legacy_beautify_html;
|
|
|
7676
7676
|
module.exports.defaultOptions = function() {
|
|
7677
7677
|
return new Options();
|
|
7678
7678
|
};
|
|
7679
|
-
},
|
|
7679
|
+
}),
|
|
7680
7680
|
/* 19 */
|
|
7681
7681
|
/***/
|
|
7682
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7682
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
7683
7683
|
var Options = __webpack_require__2(20).Options;
|
|
7684
7684
|
var Output = __webpack_require__2(2).Output;
|
|
7685
7685
|
var Tokenizer = __webpack_require__2(21).Tokenizer;
|
|
@@ -8311,10 +8311,10 @@ var legacy_beautify_html;
|
|
|
8311
8311
|
return result;
|
|
8312
8312
|
};
|
|
8313
8313
|
module.exports.Beautifier = Beautifier;
|
|
8314
|
-
},
|
|
8314
|
+
}),
|
|
8315
8315
|
/* 20 */
|
|
8316
8316
|
/***/
|
|
8317
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
8317
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
8318
8318
|
var BaseOptions = __webpack_require__2(6).Options;
|
|
8319
8319
|
function Options(options) {
|
|
8320
8320
|
BaseOptions.call(this, options, "html");
|
|
@@ -8434,10 +8434,10 @@ var legacy_beautify_html;
|
|
|
8434
8434
|
}
|
|
8435
8435
|
Options.prototype = new BaseOptions();
|
|
8436
8436
|
module.exports.Options = Options;
|
|
8437
|
-
},
|
|
8437
|
+
}),
|
|
8438
8438
|
/* 21 */
|
|
8439
8439
|
/***/
|
|
8440
|
-
function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
8440
|
+
(function(module, __unused_webpack_exports, __webpack_require__2) {
|
|
8441
8441
|
var BaseTokenizer = __webpack_require__2(9).Tokenizer;
|
|
8442
8442
|
var BASETOKEN = __webpack_require__2(9).TOKEN;
|
|
8443
8443
|
var Directives = __webpack_require__2(13).Directives;
|
|
@@ -8726,7 +8726,7 @@ var legacy_beautify_html;
|
|
|
8726
8726
|
};
|
|
8727
8727
|
module.exports.Tokenizer = Tokenizer;
|
|
8728
8728
|
module.exports.TOKEN = TOKEN;
|
|
8729
|
-
}
|
|
8729
|
+
})
|
|
8730
8730
|
/******/
|
|
8731
8731
|
];
|
|
8732
8732
|
var __webpack_module_cache__ = {};
|
|
@@ -9013,10 +9013,10 @@ var LIB;
|
|
|
9013
9013
|
return -1 === r3 || -1 === i2 || 0 === s2 || 1 === s2 && r3 === i2 - 1 && r3 === n3 + 1 ? "" : t4.slice(r3, i2);
|
|
9014
9014
|
}, format: function(t4) {
|
|
9015
9015
|
if (null === t4 || "object" != typeof t4) throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t4);
|
|
9016
|
-
return function(t5, e3) {
|
|
9016
|
+
return (function(t5, e3) {
|
|
9017
9017
|
var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || "");
|
|
9018
9018
|
return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3;
|
|
9019
|
-
}(0, t4);
|
|
9019
|
+
})(0, t4);
|
|
9020
9020
|
}, parse: function(t4) {
|
|
9021
9021
|
e2(t4);
|
|
9022
9022
|
var r3 = { root: "", dir: "", base: "", ext: "", name: "" };
|
|
@@ -9071,9 +9071,9 @@ var LIB;
|
|
|
9071
9071
|
query;
|
|
9072
9072
|
fragment;
|
|
9073
9073
|
constructor(t3, e2, r2, n2, i2, o2 = false) {
|
|
9074
|
-
"object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ function(t4, e3) {
|
|
9074
|
+
"object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ (function(t4, e3) {
|
|
9075
9075
|
return t4 || e3 ? t4 : "file";
|
|
9076
|
-
}(t3, o2), this.authority = e2 || c, this.path = function(t4, e3) {
|
|
9076
|
+
})(t3, o2), this.authority = e2 || c, this.path = (function(t4, e3) {
|
|
9077
9077
|
switch (t4) {
|
|
9078
9078
|
case "https":
|
|
9079
9079
|
case "http":
|
|
@@ -9081,7 +9081,7 @@ var LIB;
|
|
|
9081
9081
|
e3 ? e3[0] !== f && (e3 = f + e3) : e3 = f;
|
|
9082
9082
|
}
|
|
9083
9083
|
return e3;
|
|
9084
|
-
}(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a(this, o2));
|
|
9084
|
+
})(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a(this, o2));
|
|
9085
9085
|
}
|
|
9086
9086
|
get fsPath() {
|
|
9087
9087
|
return v(this, false);
|
|
@@ -9197,12 +9197,12 @@ var LIB;
|
|
|
9197
9197
|
}
|
|
9198
9198
|
const A = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
|
|
9199
9199
|
function w(t3) {
|
|
9200
|
-
return t3.match(A) ? t3.replace(A, (t4) => C(t4)) : t3;
|
|
9200
|
+
return t3.match(A) ? t3.replace(A, ((t4) => C(t4))) : t3;
|
|
9201
9201
|
}
|
|
9202
9202
|
var x = r(975);
|
|
9203
9203
|
const P = x.posix || x, _ = "/";
|
|
9204
9204
|
var I;
|
|
9205
|
-
!function(t3) {
|
|
9205
|
+
!(function(t3) {
|
|
9206
9206
|
t3.joinPath = function(t4, ...e2) {
|
|
9207
9207
|
return t4.with({ path: P.join(t4.path, ...e2) });
|
|
9208
9208
|
}, t3.resolvePath = function(t4, ...e2) {
|
|
@@ -9219,7 +9219,7 @@ var LIB;
|
|
|
9219
9219
|
}, t3.extname = function(t4) {
|
|
9220
9220
|
return P.extname(t4.path);
|
|
9221
9221
|
};
|
|
9222
|
-
}(I || (I = {})), LIB = n;
|
|
9222
|
+
})(I || (I = {})), LIB = n;
|
|
9223
9223
|
})();
|
|
9224
9224
|
var { URI: URI2, Utils } = LIB;
|
|
9225
9225
|
|
package/dist/lsp/json/worker.js
CHANGED
|
@@ -2853,10 +2853,10 @@ var LIB;
|
|
|
2853
2853
|
return -1 === r3 || -1 === i2 || 0 === s2 || 1 === s2 && r3 === i2 - 1 && r3 === n3 + 1 ? "" : t4.slice(r3, i2);
|
|
2854
2854
|
}, format: function(t4) {
|
|
2855
2855
|
if (null === t4 || "object" != typeof t4) throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t4);
|
|
2856
|
-
return function(t5, e3) {
|
|
2856
|
+
return (function(t5, e3) {
|
|
2857
2857
|
var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || "");
|
|
2858
2858
|
return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3;
|
|
2859
|
-
}(0, t4);
|
|
2859
|
+
})(0, t4);
|
|
2860
2860
|
}, parse: function(t4) {
|
|
2861
2861
|
e2(t4);
|
|
2862
2862
|
var r3 = { root: "", dir: "", base: "", ext: "", name: "" };
|
|
@@ -2911,9 +2911,9 @@ var LIB;
|
|
|
2911
2911
|
query;
|
|
2912
2912
|
fragment;
|
|
2913
2913
|
constructor(t3, e2, r2, n2, i2, o2 = false) {
|
|
2914
|
-
"object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ function(t4, e3) {
|
|
2914
|
+
"object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ (function(t4, e3) {
|
|
2915
2915
|
return t4 || e3 ? t4 : "file";
|
|
2916
|
-
}(t3, o2), this.authority = e2 || c, this.path = function(t4, e3) {
|
|
2916
|
+
})(t3, o2), this.authority = e2 || c, this.path = (function(t4, e3) {
|
|
2917
2917
|
switch (t4) {
|
|
2918
2918
|
case "https":
|
|
2919
2919
|
case "http":
|
|
@@ -2921,7 +2921,7 @@ var LIB;
|
|
|
2921
2921
|
e3 ? e3[0] !== f2 && (e3 = f2 + e3) : e3 = f2;
|
|
2922
2922
|
}
|
|
2923
2923
|
return e3;
|
|
2924
|
-
}(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a2(this, o2));
|
|
2924
|
+
})(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a2(this, o2));
|
|
2925
2925
|
}
|
|
2926
2926
|
get fsPath() {
|
|
2927
2927
|
return v(this, false);
|
|
@@ -3037,12 +3037,12 @@ var LIB;
|
|
|
3037
3037
|
}
|
|
3038
3038
|
const A2 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
|
|
3039
3039
|
function w(t3) {
|
|
3040
|
-
return t3.match(A2) ? t3.replace(A2, (t4) => C(t4)) : t3;
|
|
3040
|
+
return t3.match(A2) ? t3.replace(A2, ((t4) => C(t4))) : t3;
|
|
3041
3041
|
}
|
|
3042
3042
|
var x = r(975);
|
|
3043
3043
|
const P = x.posix || x, _ = "/";
|
|
3044
3044
|
var I;
|
|
3045
|
-
!function(t3) {
|
|
3045
|
+
!(function(t3) {
|
|
3046
3046
|
t3.joinPath = function(t4, ...e2) {
|
|
3047
3047
|
return t4.with({ path: P.join(t4.path, ...e2) });
|
|
3048
3048
|
}, t3.resolvePath = function(t4, ...e2) {
|
|
@@ -3059,7 +3059,7 @@ var LIB;
|
|
|
3059
3059
|
}, t3.extname = function(t4) {
|
|
3060
3060
|
return P.extname(t4.path);
|
|
3061
3061
|
};
|
|
3062
|
-
}(I || (I = {})), LIB = n;
|
|
3062
|
+
})(I || (I = {})), LIB = n;
|
|
3063
3063
|
})();
|
|
3064
3064
|
var { URI: URI2, Utils } = LIB;
|
|
3065
3065
|
|