@codingame/monaco-vscode-api 1.76.8 → 1.76.9

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.
Files changed (2) hide show
  1. package/dist/polyfill.js +2 -1
  2. package/package.json +1 -1
package/dist/polyfill.js CHANGED
@@ -1023,7 +1023,8 @@ function registerAssets(assets) {
1023
1023
  };
1024
1024
  }
1025
1025
  function toUrl(name) {
1026
- return assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
1026
+ const url = assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
1027
+ return ( new URL(url, window.location.href).toString());
1027
1028
  }
1028
1029
  const customRequire = {
1029
1030
  toUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "1.76.8",
3
+ "version": "1.76.9",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],