@codingame/monaco-vscode-markdown-language-features-default-extension 1.82.5 → 1.83.0-next.0
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/extension.js +13 -16
- package/extension.js.map +1 -1
- package/index2.js +1 -1
- package/package.json +2 -2
- package/workerMain.js +37 -29
- package/workerMain.js.map +1 -1
package/extension.js
CHANGED
|
@@ -20177,11 +20177,11 @@ exports.mediaFileExtensions = new Map([
|
|
|
20177
20177
|
['wav', MediaKind.Audio],
|
|
20178
20178
|
]);
|
|
20179
20179
|
const smartPasteRegexes = [
|
|
20180
|
-
{ regex: /(\[[^\[\]]*](?:\([^\(\)]*\)|\[[^\[\]]*]))/g },
|
|
20181
|
-
{ regex: /^```[\s\S]*?```$/gm },
|
|
20182
|
-
{ regex: /^~~~[\s\S]*?~~~$/gm },
|
|
20183
|
-
{ regex: /^\$\$[\s\S]*?\$\$$/gm },
|
|
20184
|
-
{ regex: /`[^`]*`/g },
|
|
20180
|
+
{ regex: /(\[[^\[\]]*](?:\([^\(\)]*\)|\[[^\[\]]*]))/g }, // In a Markdown link
|
|
20181
|
+
{ regex: /^```[\s\S]*?```$/gm }, // In a backtick fenced code block
|
|
20182
|
+
{ regex: /^~~~[\s\S]*?~~~$/gm }, // In a tildefenced code block
|
|
20183
|
+
{ regex: /^\$\$[\s\S]*?\$\$$/gm }, // In a fenced math block
|
|
20184
|
+
{ regex: /`[^`]*`/g }, // In inline code
|
|
20185
20185
|
{ regex: /\$[^$]*\$/g }, // In inline math
|
|
20186
20186
|
];
|
|
20187
20187
|
var PasteUrlAsFormattedLink;
|
|
@@ -20698,10 +20698,10 @@ function resolveCopyDestinationSetting(documentUri, fileName, dest, getWorkspace
|
|
|
20698
20698
|
const documentExtName = vscode_uri_1.Utils.extname(documentUri);
|
|
20699
20699
|
const workspaceFolder = getWorkspaceFolder(documentUri);
|
|
20700
20700
|
const vars = new Map([
|
|
20701
|
-
['documentDirName', documentDirName.path],
|
|
20702
|
-
['documentFileName', documentBaseName],
|
|
20703
|
-
['documentBaseName', documentBaseName.slice(0, documentBaseName.length - documentExtName.length)],
|
|
20704
|
-
['documentExtName', documentExtName.replace('.', '')],
|
|
20701
|
+
['documentDirName', documentDirName.path], // Parent directory path
|
|
20702
|
+
['documentFileName', documentBaseName], // Full filename: file.md
|
|
20703
|
+
['documentBaseName', documentBaseName.slice(0, documentBaseName.length - documentExtName.length)], // Just the name: file
|
|
20704
|
+
['documentExtName', documentExtName.replace('.', '')], // Just the file ext: md
|
|
20705
20705
|
// Workspace
|
|
20706
20706
|
['documentWorkspaceFolder', (workspaceFolder ?? documentDirName).path],
|
|
20707
20707
|
// File
|
|
@@ -25073,12 +25073,11 @@ const webAppInsightsClientFactory = async (key, replacementOptions) => {
|
|
|
25073
25073
|
appInsightsClient?.flush(false);
|
|
25074
25074
|
},
|
|
25075
25075
|
dispose: async () => {
|
|
25076
|
-
appInsightsClient?.flush(true);
|
|
25077
25076
|
const unloadPromise = new Promise((resolve) => {
|
|
25078
25077
|
appInsightsClient?.unload(true, () => {
|
|
25079
25078
|
resolve();
|
|
25080
25079
|
appInsightsClient = undefined;
|
|
25081
|
-
});
|
|
25080
|
+
}, 1000);
|
|
25082
25081
|
});
|
|
25083
25082
|
return unloadPromise;
|
|
25084
25083
|
}
|
|
@@ -25177,7 +25176,7 @@ class TelemetryUtil {
|
|
|
25177
25176
|
"common.nodeArch": osShim.architecture,
|
|
25178
25177
|
"common.platformversion": (osShim.release || "").replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/, "$1$2$3"),
|
|
25179
25178
|
// Do not change this string as it gets found and replaced upon packaging
|
|
25180
|
-
"common.telemetryclientversion": "0.8.
|
|
25179
|
+
"common.telemetryclientversion": "0.8.5"
|
|
25181
25180
|
};
|
|
25182
25181
|
}
|
|
25183
25182
|
// Get singleton instance of TelemetryUtil
|
|
@@ -25451,17 +25450,16 @@ const oneDataSystemClientFactory = async (key, vscodeAPI, xhrOverride) => {
|
|
|
25451
25450
|
},
|
|
25452
25451
|
flush: flushOneDS,
|
|
25453
25452
|
dispose: async () => {
|
|
25454
|
-
await flushOneDS();
|
|
25455
25453
|
const disposePromise = new Promise((resolve) => {
|
|
25456
25454
|
if (!appInsightsCore) {
|
|
25457
25455
|
resolve();
|
|
25458
25456
|
return;
|
|
25459
25457
|
}
|
|
25460
|
-
appInsightsCore.unload(
|
|
25458
|
+
appInsightsCore.unload(false, () => {
|
|
25461
25459
|
resolve();
|
|
25462
25460
|
appInsightsCore = undefined;
|
|
25463
25461
|
return;
|
|
25464
|
-
});
|
|
25462
|
+
}, 1000);
|
|
25465
25463
|
});
|
|
25466
25464
|
return disposePromise;
|
|
25467
25465
|
}
|
|
@@ -38949,7 +38947,6 @@ class BaseTelemetrySender {
|
|
|
38949
38947
|
return this._telemetryClient?.flush();
|
|
38950
38948
|
}
|
|
38951
38949
|
async dispose() {
|
|
38952
|
-
await this.flush();
|
|
38953
38950
|
if (this._telemetryClient) {
|
|
38954
38951
|
await this._telemetryClient.dispose();
|
|
38955
38952
|
this._telemetryClient = undefined;
|