@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
|
-
-
|
|
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, {
|
|
29
|
+
importOfFile = importShim(fileOrObject, { with: { type: 'json' } });
|
|
30
30
|
else
|
|
31
31
|
//@ts-ignore
|
|
32
|
-
importOfFile = import(fileOrObject, {
|
|
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