fix: apply web-component-base patch
This commit is contained in:
parent
0671658197
commit
cb8cfd7c5e
3 changed files with 9 additions and 9 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -3997,9 +3997,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packages/config/node_modules/@mcflyjs/core": {
|
"packages/config/node_modules/@mcflyjs/core": {
|
||||||
"version": "0.3.4",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.4.0.tgz",
|
||||||
"integrity": "sha512-MOclUpMi1csfYuEfImKi2yFeB0QrbFuyR/Kk4oIpjn9Vfa3Oha2tGDDKjNnaj/mEM8JZulOZ8WErLciRGOALgw==",
|
"integrity": "sha512-0EWHWdePeLUZ+WgT4Lr47+K/YP0J8xLiZso3z1GjDCe5Wf+8gWlCoLOY2LP+WHcJbwg/Y7AyOadGlaB/9+wzXg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
"h3": "^1.8.2",
|
"h3": "^1.8.2",
|
||||||
|
@ -4008,7 +4008,7 @@
|
||||||
},
|
},
|
||||||
"packages/core": {
|
"packages/core": {
|
||||||
"name": "@mcflyjs/core",
|
"name": "@mcflyjs/core",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
|
@ -4072,9 +4072,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"templates/basic/node_modules/@mcflyjs/core": {
|
"templates/basic/node_modules/@mcflyjs/core": {
|
||||||
"version": "0.3.4",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.4.0.tgz",
|
||||||
"integrity": "sha512-MOclUpMi1csfYuEfImKi2yFeB0QrbFuyR/Kk4oIpjn9Vfa3Oha2tGDDKjNnaj/mEM8JZulOZ8WErLciRGOALgw==",
|
"integrity": "sha512-0EWHWdePeLUZ+WgT4Lr47+K/YP0J8xLiZso3z1GjDCe5Wf+8gWlCoLOY2LP+WHcJbwg/Y7AyOadGlaB/9+wzXg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
"h3": "^1.8.2",
|
"h3": "^1.8.2",
|
||||||
|
|
|
@ -142,7 +142,7 @@ async function buildRegistry(usedCustomElements, type, storage) {
|
||||||
!isBaseClassImported &&
|
!isBaseClassImported &&
|
||||||
content.toString().includes("extends WebComponent")
|
content.toString().includes("extends WebComponent")
|
||||||
) {
|
) {
|
||||||
const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.12.2/WebComponent.js";`;
|
const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.12.3/WebComponent.js";`;
|
||||||
registryScript += baseClassImport;
|
registryScript += baseClassImport;
|
||||||
isBaseClassImported = true;
|
isBaseClassImported = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mcflyjs/core",
|
"name": "@mcflyjs/core",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"description": "McFly core package",
|
"description": "McFly core package",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
Loading…
Reference in a new issue