From 27979ebc4f98213b272b13636ad98aa940fea5d5 Mon Sep 17 00:00:00 2001 From: "renovate-coveo[bot]" <115253437+renovate-coveo[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 07:29:57 +0000 Subject: [PATCH 1/2] chore(deps): update stencil j:kit-282 --- package-lock.json | 254 +++++++++++++++++++++-- packages/atomic-hosted-page/package.json | 2 +- packages/atomic/package.json | 6 +- packages/samples/stencil/package.json | 2 +- 4 files changed, 244 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9b9c8d17e64..f4efc86e6b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7411,6 +7411,16 @@ "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==", "dev": true }, + "node_modules/@lit/react": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.6.tgz", + "integrity": "sha512-QIss8MPh6qUoFJmuaF4dSHts3qCsA36S3HcOLiNPShxhgYPr4XJRnCBKPipk85sR9xr6TQrOcDMfexwbNdJHYA==", + "dev": true, + "license": "BSD-3-Clause", + "peerDependencies": { + "@types/react": "17 || 18" + } + }, "node_modules/@lit/reactive-element": { "version": "1.6.3", "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.6.3.tgz", @@ -11807,18 +11817,19 @@ } }, "node_modules/@stencil/angular-output-target": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/@stencil/angular-output-target/-/angular-output-target-0.8.4.tgz", - "integrity": "sha512-QvmHTueXXs5vB9W2L12uEzFmAuR8sqATJV2b+SCFmYsjJSaymiSqR3dKo2wnr0tZiTgU1t16BWaUKiSh3wPXpw==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@stencil/angular-output-target/-/angular-output-target-0.10.0.tgz", + "integrity": "sha512-j/VXofXggbqzfzX6+1F++IZbGNfEKw1eQAdd5S4PpjGGWsf0TI6qDBd4YrjCMHAKCSV18FNuKFBejejM/49T/Q==", "dev": true, + "license": "MIT", "peerDependencies": { "@stencil/core": ">=2.0.0 || >=3 || >= 4.0.0-beta.0 || >= 4.0.0" } }, "node_modules/@stencil/core": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.20.0.tgz", - "integrity": "sha512-WPrTHFngvN081RY+dJPneKQLwnOFD60OMCOQGmmSHfCW0f4ujPMzzhwWU1gcSwXPWXz5O+8cBiiCaxAbJU7kAg==", + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.22.2.tgz", + "integrity": "sha512-eq2pYrrnzcLyBRANk0X/VVOfCtD0nCxWnEZ0AVdscuqfDkOjxa6SSZOfEhR9FAvrmESHp8y5jRCVPnf4n5CC4A==", "license": "MIT", "bin": { "stencil": "bin/stencil" @@ -11829,12 +11840,25 @@ } }, "node_modules/@stencil/react-output-target": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@stencil/react-output-target/-/react-output-target-0.5.3.tgz", - "integrity": "sha512-68jwRp35CjAcwhTJ9yFD/3n+jrHOqvEH2jreVuPVvZK+4tkhPlYlwz0d1E1RlF3jyifUSfdkWUGgXIEy8Fo3yw==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@stencil/react-output-target/-/react-output-target-0.7.4.tgz", + "integrity": "sha512-MuvUJJXtYvSUo0dcFbWx0orVc8ROB0qfaFq1IbNODECqsCKOP3kU5Oy7/NyWs3xNpa8U2lMWvyBYmRvWNB6ExQ==", "dev": true, + "license": "MIT", + "dependencies": { + "@lit/react": "^1.0.4", + "html-react-parser": "^5.1.10", + "react-dom": "^18.3.1", + "style-object-to-css-string": "^1.0.0", + "ts-morph": "^22.0.0" + }, "peerDependencies": { - "@stencil/core": ">=2.0.0 || >=3 || >= 4.0.0-beta.0 || >= 4.0.0" + "@stencil/core": ">=3 || >= 4.0.0-beta.0 || >= 4.0.0" + }, + "peerDependenciesMeta": { + "@stencil/core": { + "optional": false + } } }, "node_modules/@stencil/store": { @@ -20352,6 +20376,19 @@ "node": ">=0.10.0" } }, + "node_modules/@ts-morph/common": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.23.0.tgz", + "integrity": "sha512-m7Lllj9n/S6sOkCkRftpM7L24uvmfXQFedlW/4hENcuJH1HHm9u5EgxZb9uVjQSCGrbBWBkOGgcTxNg36r6ywA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-glob": "^3.3.2", + "minimatch": "^9.0.3", + "mkdirp": "^3.0.1", + "path-browserify": "^1.0.1" + } + }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -25086,6 +25123,13 @@ "node": ">=8.0.0" } }, + "node_modules/code-block-writer": { + "version": "13.0.3", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz", + "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==", + "dev": true, + "license": "MIT" + }, "node_modules/collect-v8-coverage": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", @@ -34113,6 +34157,96 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/html-dom-parser": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.10.tgz", + "integrity": "sha512-GwArYL3V3V8yU/mLKoFF7HlLBv80BZ2Ey1BzfVNRpAci0cEKhFHI/Qh8o8oyt3qlAMLlK250wsxLdYX4viedvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "domhandler": "5.0.3", + "htmlparser2": "9.1.0" + } + }, + "node_modules/html-dom-parser/node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/html-dom-parser/node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/html-dom-parser/node_modules/domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/html-dom-parser/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/html-dom-parser/node_modules/htmlparser2": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", + "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "entities": "^4.5.0" + } + }, "node_modules/html-encoding-sniffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", @@ -34284,6 +34418,44 @@ "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", "dev": true }, + "node_modules/html-react-parser": { + "version": "5.1.18", + "resolved": "https://registry.npmjs.org/html-react-parser/-/html-react-parser-5.1.18.tgz", + "integrity": "sha512-65BwC0zzrdeW96jB2FRr5f1ovBhRMpLPJNvwkY5kA8Ay5xdL9t/RH2/uUTM7p+cl5iM88i6dDk4LXtfMnRmaJQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "domhandler": "5.0.3", + "html-dom-parser": "5.0.10", + "react-property": "2.0.2", + "style-to-js": "1.1.16" + }, + "peerDependencies": { + "@types/react": "0.14 || 15 || 16 || 17 || 18", + "react": "0.14 || 15 || 16 || 17 || 18" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/html-react-parser/node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, "node_modules/html-void-elements": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", @@ -34894,6 +35066,13 @@ "tslib": "^2.0.0" } }, + "node_modules/inline-style-parser": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==", + "dev": true, + "license": "MIT" + }, "node_modules/inquirer": { "version": "8.2.5", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", @@ -46468,6 +46647,13 @@ "react-native": ">=0.56" } }, + "node_modules/react-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/react-property/-/react-property-2.0.2.tgz", + "integrity": "sha512-+PbtI3VuDV0l6CleQMsx2gtK0JZbZKbpdu5ynr+lbsuvtmgbNcS3VM0tuY2QjFNOcWxvXeHjDpy42RO+4U2rug==", + "dev": true, + "license": "MIT" + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", @@ -50256,6 +50442,33 @@ "node": ">=4" } }, + "node_modules/style-object-to-css-string": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/style-object-to-css-string/-/style-object-to-css-string-1.1.3.tgz", + "integrity": "sha512-bISQoUsir/qGfo7vY8rw00ia9nnyE1jvYt3zZ2jhdkcXZ6dAEi74inMzQ6On57vFI+I4Fck6wOv5UI9BEwJDgw==", + "dev": true, + "license": "MIT" + }, + "node_modules/style-to-js": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.16.tgz", + "integrity": "sha512-/Q6ld50hKYPH3d/r6nr117TZkHR0w0kGGIVfpG9N6D8NymRPM9RqCUv4pRpJ62E5DqOYx2AFpbZMyCPnjQCnOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "style-to-object": "1.0.8" + } + }, + "node_modules/style-to-object": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "inline-style-parser": "0.2.4" + } + }, "node_modules/styled-jsx": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz", @@ -51262,6 +51475,17 @@ "node": ">=8" } }, + "node_modules/ts-morph": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-22.0.0.tgz", + "integrity": "sha512-M9MqFGZREyeb5fTl6gNHKZLqBQA0TjA1lea+CR48R8EBTDuWrNqW6ccC5QvjNR4s6wDumD3LTCjOFSp9iwlzaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ts-morph/common": "~0.23.0", + "code-block-writer": "^13.0.1" + } + }, "node_modules/ts-node": { "version": "10.9.2", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", @@ -54204,9 +54428,9 @@ "@rollup/plugin-alias": "5.1.0", "@rollup/plugin-replace": "5.0.7", "@stencil-community/postcss": "2.2.0", - "@stencil/angular-output-target": "0.8.4", - "@stencil/core": "4.20.0", - "@stencil/react-output-target": "0.5.3", + "@stencil/angular-output-target": "0.10.0", + "@stencil/core": "4.22.2", + "@stencil/react-output-target": "0.7.4", "@storybook/addon-a11y": "8.1.11", "@storybook/addon-essentials": "8.1.11", "@storybook/addon-interactions": "8.1.11", @@ -54362,7 +54586,7 @@ "dependencies": { "@coveo/bueno": "1.0.6", "@coveo/headless": "3.10.0", - "@stencil/core": "4.20.0" + "@stencil/core": "4.22.2" }, "devDependencies": { "@coveo/release": "1.0.0", @@ -65839,7 +66063,7 @@ "@coveo/atomic": "3.11.1", "@coveo/bueno": "1.0.6", "@coveo/headless": "3.10.0", - "@stencil/core": "4.20.0", + "@stencil/core": "4.22.2", "stencil-router-v2": "0.6.0" }, "devDependencies": { diff --git a/packages/atomic-hosted-page/package.json b/packages/atomic-hosted-page/package.json index 777fe8d736e..abff1e5f504 100644 --- a/packages/atomic-hosted-page/package.json +++ b/packages/atomic-hosted-page/package.json @@ -32,7 +32,7 @@ "dependencies": { "@coveo/bueno": "1.0.6", "@coveo/headless": "3.10.0", - "@stencil/core": "4.20.0" + "@stencil/core": "4.22.2" }, "devDependencies": { "@coveo/release": "1.0.0", diff --git a/packages/atomic/package.json b/packages/atomic/package.json index b6665ec6453..e5e8125eca6 100644 --- a/packages/atomic/package.json +++ b/packages/atomic/package.json @@ -95,9 +95,9 @@ "@rollup/plugin-alias": "5.1.0", "@rollup/plugin-replace": "5.0.7", "@stencil-community/postcss": "2.2.0", - "@stencil/angular-output-target": "0.8.4", - "@stencil/core": "4.20.0", - "@stencil/react-output-target": "0.5.3", + "@stencil/angular-output-target": "0.10.0", + "@stencil/core": "4.22.2", + "@stencil/react-output-target": "0.7.4", "@storybook/addon-a11y": "8.1.11", "@storybook/addon-essentials": "8.1.11", "@storybook/addon-interactions": "8.1.11", diff --git a/packages/samples/stencil/package.json b/packages/samples/stencil/package.json index 08925ea4c9e..0c8557faacd 100644 --- a/packages/samples/stencil/package.json +++ b/packages/samples/stencil/package.json @@ -11,7 +11,7 @@ "@coveo/atomic": "3.11.1", "@coveo/bueno": "1.0.6", "@coveo/headless": "3.10.0", - "@stencil/core": "4.20.0", + "@stencil/core": "4.22.2", "stencil-router-v2": "0.6.0" }, "devDependencies": { From a6668424a9bad4d2b303d39fe3d97646b7baeed2 Mon Sep 17 00:00:00 2001 From: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:54:56 -0500 Subject: [PATCH 2/2] fix patches --- ...@stencil+angular-output-target+0.8.4.patch | 39 ------------------- ....20.0.patch => @stencil+core+4.22.2.patch} | 20 +++------- .../@stencil+react-output-target+0.5.3.patch | 13 ------- 3 files changed, 6 insertions(+), 66 deletions(-) delete mode 100644 patches/@stencil+angular-output-target+0.8.4.patch rename patches/{@stencil+core+4.20.0.patch => @stencil+core+4.22.2.patch} (78%) delete mode 100644 patches/@stencil+react-output-target+0.5.3.patch diff --git a/patches/@stencil+angular-output-target+0.8.4.patch b/patches/@stencil+angular-output-target+0.8.4.patch deleted file mode 100644 index 714f0642fe1..00000000000 --- a/patches/@stencil+angular-output-target+0.8.4.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/node_modules/@stencil/angular-output-target/dist/generate-angular-component.js b/node_modules/@stencil/angular-output-target/dist/generate-angular-component.js -index 16b41a9..a88f7b8 100644 ---- a/node_modules/@stencil/angular-output-target/dist/generate-angular-component.js -+++ b/node_modules/@stencil/angular-output-target/dist/generate-angular-component.js -@@ -134,7 +134,7 @@ export const createComponentTypeDefinition = (outputType, tagNameAsPascal, event - const eventTypes = publicEvents.map((event) => { - const comment = createDocComment(event.docs); - let eventName = event.name; -- if (event.name.includes('-')) { -+ if (/[\W_]/g.test(event.name)) { - // If an event name includes a dash, we need to wrap it in quotes. - // https://github.com/ionic-team/stencil-ds-output-targets/issues/212 - eventName = `'${event.name}'`; -diff --git a/node_modules/@stencil/angular-output-target/dist/index.cjs.js b/node_modules/@stencil/angular-output-target/dist/index.cjs.js -index a409a9e..291fa5d 100644 ---- a/node_modules/@stencil/angular-output-target/dist/index.cjs.js -+++ b/node_modules/@stencil/angular-output-target/dist/index.cjs.js -@@ -279,7 +279,7 @@ const createComponentTypeDefinition = (outputType, tagNameAsPascal, events, comp - const eventTypes = publicEvents.map((event) => { - const comment = createDocComment(event.docs); - let eventName = event.name; -- if (event.name.includes('-')) { -+ if (/[\W_]/g.test(event.name)) { - // If an event name includes a dash, we need to wrap it in quotes. - // https://github.com/ionic-team/stencil-ds-output-targets/issues/212 - eventName = `'${event.name}'`; -diff --git a/node_modules/@stencil/angular-output-target/dist/index.js b/node_modules/@stencil/angular-output-target/dist/index.js -index 66792ef..3ca0509 100644 ---- a/node_modules/@stencil/angular-output-target/dist/index.js -+++ b/node_modules/@stencil/angular-output-target/dist/index.js -@@ -271,7 +271,7 @@ const createComponentTypeDefinition = (outputType, tagNameAsPascal, events, comp - const eventTypes = publicEvents.map((event) => { - const comment = createDocComment(event.docs); - let eventName = event.name; -- if (event.name.includes('-')) { -+ if (/[\W_]/g.test(event.name)) { - // If an event name includes a dash, we need to wrap it in quotes. - // https://github.com/ionic-team/stencil-ds-output-targets/issues/212 - eventName = `'${event.name}'`; diff --git a/patches/@stencil+core+4.20.0.patch b/patches/@stencil+core+4.22.2.patch similarity index 78% rename from patches/@stencil+core+4.20.0.patch rename to patches/@stencil+core+4.22.2.patch index fe0f3062378..1434927088e 100644 --- a/patches/@stencil+core+4.20.0.patch +++ b/patches/@stencil+core+4.22.2.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/@stencil/core/compiler/stencil.js b/node_modules/@stencil/core/compiler/stencil.js -index 05c98c9..1ae35e5 100644 +index 4f3a6e3..487f815 100644 --- a/node_modules/@stencil/core/compiler/stencil.js +++ b/node_modules/@stencil/core/compiler/stencil.js -@@ -234904,8 +234904,8 @@ var getTsOptionsToExtend = (config) => { +@@ -238083,8 +238083,8 @@ var getTsOptionsToExtend = (config) => { // if the `DIST_TYPES` output target is present then we'd like to emit // declaration files declaration: config.outputTargets.some(isOutputTargetDistTypes), @@ -13,7 +13,7 @@ index 05c98c9..1ae35e5 100644 noEmitOnError: false, outDir: config.cacheDir || config.sys.tmpDirSync(), sourceMap: config.sourceMap, -@@ -259592,7 +259592,7 @@ var visitClassDeclaration = (config, diagnostics, typeChecker, program, classNod +@@ -262850,7 +262850,7 @@ var visitClassDeclaration = (config, diagnostics, typeChecker, program, classNod importAliasMap.get("AttachInternals") ); } @@ -22,7 +22,7 @@ index 05c98c9..1ae35e5 100644 validateMethods(diagnostics, classMembers); const currentDecorators = retrieveTsDecorators(classNode); return import_typescript54.default.factory.updateClassDeclaration( -@@ -259632,9 +259632,6 @@ var removeStencilMethodDecorators = (classMembers, diagnostics, importAliasMap) +@@ -262890,9 +262890,6 @@ var removeStencilMethodDecorators = (classMembers, diagnostics, importAliasMap) member2.body ); } else if (import_typescript54.default.isPropertyDeclaration(member2)) { @@ -32,15 +32,7 @@ index 05c98c9..1ae35e5 100644 const modifiers = retrieveTsModifiers(member2); return import_typescript54.default.factory.updatePropertyDeclaration( member2, -@@ -259644,7 +259641,6 @@ var removeStencilMethodDecorators = (classMembers, diagnostics, importAliasMap) - member2.type, - member2.initializer - ); -- } - } else { - const err2 = buildError(diagnostics); - err2.messageText = "Unknown class member encountered!"; -@@ -259668,10 +259664,9 @@ var filterDecorators = (decorators, excludeList) => { +@@ -262926,10 +262923,9 @@ var filterDecorators = (decorators, excludeList) => { } return decorators; }; @@ -52,7 +44,7 @@ index 05c98c9..1ae35e5 100644 for (const member2 of classMembers) { if (shouldInitializeInConstructor(member2, importAliasMap) && import_typescript54.default.isPropertyDeclaration(member2)) { const memberName = tsPropDeclNameAsString(member2, typeChecker); -@@ -259686,8 +259681,6 @@ function handleClassFields(classNode, classMembers, typeChecker, importAliasMap) +@@ -262944,8 +262940,6 @@ function handleClassFields(classNode, classMembers, typeChecker, importAliasMap) ) ) ); diff --git a/patches/@stencil+react-output-target+0.5.3.patch b/patches/@stencil+react-output-target+0.5.3.patch deleted file mode 100644 index 83024a73790..00000000000 --- a/patches/@stencil+react-output-target+0.5.3.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/@stencil/react-output-target/dist/index.cjs.js b/node_modules/@stencil/react-output-target/dist/index.cjs.js -index fd6fd4c..8959f0f 100644 ---- a/node_modules/@stencil/react-output-target/dist/index.cjs.js -+++ b/node_modules/@stencil/react-output-target/dist/index.cjs.js -@@ -142,7 +142,7 @@ async function reactProxyOutput(config, compilerCtx, outputTarget, components) { - * @returns the filtered list of components - */ - function getFilteredComponents(excludeComponents = [], cmps) { -- return sortBy(cmps, (cmp) => cmp.tagName).filter((c) => !excludeComponents.includes(c.tagName) && !c.internal); -+ return sortBy(cmps, (cmp) => cmp.tagName).filter((c) => !excludeComponents.includes(c.tagName) && (!c.internal || ['AtomicCommerce', 'AtomicProduct'].some(allowedCmpName=>c.componentClassName.startsWith(allowedCmpName)))); - } - /** - * Generate the code that will be responsible for creating the Stencil-React bindings