@node-projects/web-component-designer 0.1.122 → 0.1.123

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/README.md CHANGED
@@ -16,9 +16,7 @@ https://www.npmjs.com/package/@node-projects/web-component-designer
16
16
 
17
17
  ## Browser support
18
18
 
19
- - At the moment Chrome, and Firefox Nightly with Experimental Import Assertions enabled.
20
- But when import Assertions are landing in Safari and Firefox they will work again.
21
- And you could transpile them away in the meantime.
19
+ - Chrome/Firefox & Safari
22
20
 
23
21
  ## Developing
24
22
 
@@ -26,10 +26,10 @@ export class WebcomponentManifestParserService extends AbstractPropertiesService
26
26
  //@ts-ignore
27
27
  if (window.importShim)
28
28
  //@ts-ignore
29
- importOfFile = importShim(fileOrObject, { assert: { type: 'json' } });
29
+ importOfFile = importShim(fileOrObject, { with: { type: 'json' } });
30
30
  else
31
31
  //@ts-ignore
32
- importOfFile = import(fileOrObject, { assert: { type: 'json' } });
32
+ importOfFile = import(fileOrObject, { with: { type: 'json' } });
33
33
  importOfFile.then(module => {
34
34
  this._packageData = module.default;
35
35
  this._parseManifest();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A WYSIWYG designer webcomponent for html components",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.1.122",
4
+ "version": "0.1.123",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",