@lvce-editor/extension-management-worker 4.83.0 → 4.83.2

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.
@@ -2160,6 +2160,12 @@ const parseDirective = directive => {
2160
2160
  const getWorkerUrls = absolutePath => {
2161
2161
  const applicationUrl = new URL(getOrigin());
2162
2162
  const workerUrl = new URL(absolutePath, applicationUrl);
2163
+ if (workerUrl.protocol === 'lvce:') {
2164
+ return {
2165
+ assetSource: new URL('./', workerUrl).href,
2166
+ origin: applicationUrl.origin
2167
+ };
2168
+ }
2163
2169
  if (workerUrl.protocol !== 'http:' && workerUrl.protocol !== 'https:') {
2164
2170
  return {
2165
2171
  origin: applicationUrl.origin
@@ -4774,6 +4780,9 @@ const getExtensionOutputChannelProviders = async (extension, assetDir, platform)
4774
4780
  return outputChannels.filter(outputChannel => typeof outputChannel.id === 'string' && typeof outputChannel.label === 'string' && registeredIds.has(outputChannel.id)).map(outputChannel => ({
4775
4781
  id: outputChannel.id,
4776
4782
  label: outputChannel.label,
4783
+ ...(typeof outputChannel.parseLinks === 'boolean' && {
4784
+ parseLinks: outputChannel.parseLinks
4785
+ }),
4777
4786
  uri: getOutputChannelUri(extensionId, outputChannel.id)
4778
4787
  }));
4779
4788
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-management-worker",
3
- "version": "4.83.0",
3
+ "version": "4.83.2",
4
4
  "description": "Webworker for the Extension Management functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"