Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: building Next.js + SSR components - 'ReferenceError: Node is not defined' #537

Closed
3 tasks done
guilhermebc opened this issue Nov 4, 2024 · 5 comments · Fixed by ionic-team/stencil#6061
Closed
3 tasks done
Labels

Comments

@guilhermebc
Copy link

Prerequisites

Stencil Version

4.21.0

Stencil Framework Output Target

React

Stencil Framework Output Target Version

0.7.1

Current Behavior

I work at a company where we use Stencil for the internal design system and export it to React, as we have projects in Next.js (^14.2.3).

We use version ^0.5.3 of the @stencil/react-output-target package for using the components in Next.js projects and were waiting for the launch of SSR support.

As soon as the SSR components support was released for react-output-target, I went to test updating it in the company's design system, but I am not able to compile the application, I followed all the steps in the Stencil documentation.

Our design system is published in a private repository manager, and we install it in the company's applications (Vue apps, Next.js apps, etc).

➜  nextjs-with-stencil-ssr git:(main) ✗ 
yarn build
yarn build
yarn run v1.22.22
$ next build
  ▲ Next.js 14.2.11

   Creating an optimized production build ...
 ✓ Compiled successfully
 ✓ Linting and checking validity of types    
 ✓ Collecting page data    
   Generating static pages (0/5)  [=   ]ReferenceError: Node is not defined
    at ta (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:85335)
    at e6 (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:83143)
    at td (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:86752)
    at 4978 (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:91142)
    at Object.t [as require] (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/webpack-runtime.js:1:128)
    at require (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:18224)
    at I (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94362)
    at C (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:92913)
    at rP (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:33974)
    at nN (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62304) {
  digest: '1355879404'
}

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error

ReferenceError: Node is not defined
    at ta (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:85335)
    at e6 (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:83143)
    at td (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:86752)
    at 4978 (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/app/page.js:1:91142)
    at Object.t [as require] (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/.next/server/webpack-runtime.js:1:128)
    at require (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:18224)
    at I (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:94362)
    at C (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:92913)
    at rP (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:33974)
    at nN (/Users/guilherme.costa/workspace/nextjs-with-stencil-ssr/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62304)
 ✓ Generating static pages (5/5)

> Export encountered errors on following paths:
        /page: /
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected Behavior

Setup Next.js app router + SSR + Stencil react output target components.server building and working

Steps to Reproduce

Design system repo: https://github.com/guilhermebc/gbc-design-system
Nextjs app + design system repo: https://github.com/guilhermebc/nextjs-with-stencil-ssr

The version @guilhermebc/gbc-design-system-nextjs@1.0.8 is causing the error.

I ended up discovering that the cause of the error is coming from the extra settings we need to apply for slot correction:
stencil.config.ts

extras: {
    enableImportInjection: true,
    experimentalSlotFixes: true,
    scopedSlotTextContentFix: true,
}

I generated a version @guilhermebc/gbc-design-system-nextjs@1.0.9 removing these extra settings and the error does not occur, but in any case, we need these settings applied in our internal design system.

To reproduce, just download the repository https://github.com/guilhermebc/nextjs-with-stencil-ssr:
1 - Install the dependencies yarn install
2 - Run build with yarn build

PS: To simulate without the error, just install the version @guilhermebc/gbc-design-system-nextjs@1.0.9

Code Reproduction URL

https://github.com/guilhermebc/nextjs-with-stencil-ssr

Additional Information

Screenshot 2024-11-04 at 11 56 55

@ionitron-bot ionitron-bot bot added the triage label Nov 4, 2024
Copy link

ionitron-bot bot commented Nov 4, 2024

Thanks for the issue!

This project is currently maintained for the purposes of supporting Ionic Framework. At this time, only new issues & pull requests that support Ionic Framework will be prioritized. For the latest updates regarding the maintenance status of this project, please see this section of the project's README

@guilhermebc
Copy link
Author

up

@christian-bromann
Copy link
Member

A fix for this was released in Stencil v4.23.0

Lulalaby added a commit to Aiko-IT-Systems/Discord-React-Components that referenced this issue Dec 16, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@commitlint/cli](https://commitlint.js.org/)
([source](https://redirect.github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli))
| [`19.6.0` ->
`19.6.1`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/19.6.0/19.6.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/19.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/19.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/19.6.0/19.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/19.6.0/19.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@stencil/core](https://stenciljs.com/)
([source](https://redirect.github.com/ionic-team/stencil)) | [`4.22.3`
->
`4.23.0`](https://renovatebot.com/diffs/npm/@stencil%2fcore/4.22.3/4.23.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@stencil%2fcore/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@stencil%2fcore/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@stencil%2fcore/4.22.3/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@stencil%2fcore/4.22.3/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@stencil/react-output-target](https://stenciljs.com/)
([source](https://redirect.github.com/ionic-team/stencil-ds-output-targets))
| [`^0.7.0` ->
`^0.8.0`](https://renovatebot.com/diffs/npm/@stencil%2freact-output-target/0.7.4/0.8.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@stencil%2freact-output-target/0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@stencil%2freact-output-target/0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@stencil%2freact-output-target/0.7.4/0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@stencil%2freact-output-target/0.7.4/0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`22.10.1` ->
`22.10.2`](https://renovatebot.com/diffs/npm/@types%2fnode/22.10.1/22.10.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/22.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/22.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/22.10.1/22.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/22.10.1/22.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/react-dom](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom))
| [`19.0.1` ->
`19.0.2`](https://renovatebot.com/diffs/npm/@types%2freact-dom/19.0.1/19.0.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/19.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/19.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/19.0.1/19.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/19.0.1/19.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`8.17.0` ->
`8.18.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.17.0/8.18.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/8.17.0/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/8.17.0/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`8.17.0` ->
`8.18.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/8.17.0/8.18.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/8.17.0/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/8.17.0/8.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [eslint](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint)) | [`9.16.0` ->
`9.17.0`](https://renovatebot.com/diffs/npm/eslint/9.16.0/9.17.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/9.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/9.16.0/9.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/9.16.0/9.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [highlight.js](https://highlightjs.org/)
([source](https://redirect.github.com/highlightjs/highlight.js)) |
[`11.10.0` ->
`11.11.0`](https://renovatebot.com/diffs/npm/highlight.js/11.10.0/11.11.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/highlight.js/11.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/highlight.js/11.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/highlight.js/11.10.0/11.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/highlight.js/11.10.0/11.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [lint-staged](https://redirect.github.com/lint-staged/lint-staged) |
[`15.2.10` ->
`15.2.11`](https://renovatebot.com/diffs/npm/lint-staged/15.2.10/15.2.11)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.10/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.10/15.2.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>conventional-changelog/commitlint
(@&#8203;commitlint/cli)</summary>

###
[`v19.6.1`](https://redirect.github.com/conventional-changelog/commitlint/blob/HEAD/@&#8203;commitlint/cli/CHANGELOG.md#1961-2024-12-15)

[Compare
Source](https://redirect.github.com/conventional-changelog/commitlint/compare/v19.6.0...v19.6.1)

**Note:** Version bump only for package
[@&#8203;commitlint/cli](https://redirect.github.com/commitlint/cli)

</details>

<details>
<summary>ionic-team/stencil (@&#8203;stencil/core)</summary>

###
[`v4.23.0`](https://redirect.github.com/ionic-team/stencil/blob/HEAD/CHANGELOG.md#-4230-2024-12-11)

[Compare
Source](https://redirect.github.com/ionic-team/stencil/compare/v4.22.3...v4.23.0)

##### Bug Fixes

- `patchChildSlotNodes` & `scopedSlotTextContentFix` not being applied
([#&#8203;6055](https://redirect.github.com/ionic-team/stencil/issues/6055))
([a15bc5d](https://redirect.github.com/ionic-team/stencil/commit/a15bc5da60fb579aa80a38369d5464db17c40c38)),
closes
[#&#8203;6054](https://redirect.github.com/ionic-team/stencil/issues/6054)
- Change hasHostListenerAttached from var to protoype property
([#&#8203;6074](https://redirect.github.com/ionic-team/stencil/issues/6074))
([ee4aa0b](https://redirect.github.com/ionic-team/stencil/commit/ee4aa0b4bcc2162d7745f188b8e754cb5d7abda2)),
closes
[#&#8203;6066](https://redirect.github.com/ionic-team/stencil/issues/6066)
- **mock-doc:** don't show error message for SSR workflows
([#&#8203;6075](https://redirect.github.com/ionic-team/stencil/issues/6075))
([84a3607](https://redirect.github.com/ionic-team/stencil/commit/84a36072dbda4591105ec2bab1e3ac79d38c47ad)),
closes
[#&#8203;6073](https://redirect.github.com/ionic-team/stencil/issues/6073)
- rewrite SSR client-side hydration
([#&#8203;6067](https://redirect.github.com/ionic-team/stencil/issues/6067))
([ec243c2](https://redirect.github.com/ionic-team/stencil/commit/ec243c250c6b8f6fc25835ec2db3c7f157c84947)),
closes
[#&#8203;6065](https://redirect.github.com/ionic-team/stencil/issues/6065),
[#&#8203;6064](https://redirect.github.com/ionic-team/stencil/issues/6064),
[#&#8203;6063](https://redirect.github.com/ionic-team/stencil/issues/6063),
[#&#8203;5198](https://redirect.github.com/ionic-team/stencil/issues/5198)
- **runtime:** ensure Node is defined
([#&#8203;6061](https://redirect.github.com/ionic-team/stencil/issues/6061))
([1f5a13f](https://redirect.github.com/ionic-team/stencil/commit/1f5a13f07a138e27d9b937c03999837b30e8afc0)),
closes
[ionic-team/stencil-ds-output-targets#537](https://redirect.github.com/ionic-team/stencil-ds-output-targets/issues/537)
- stop 'experimentalScopedSlotChanges' warning msg on startup
([#&#8203;6068](https://redirect.github.com/ionic-team/stencil/issues/6068))
([d362700](https://redirect.github.com/ionic-team/stencil/commit/d362700ab85c0fc33c4df5d4e0431d1209ac0548)),
closes
[#&#8203;6054](https://redirect.github.com/ionic-team/stencil/issues/6054)

##### Features

- prop get set new
([#&#8203;6050](https://redirect.github.com/ionic-team/stencil/issues/6050))
([7ecb599](https://redirect.github.com/ionic-team/stencil/commit/7ecb59993481a2f522916a9d504c5a4738c3f545))

#### 🐤
[4.22.3](https://redirect.github.com/ionic-team/stencil/compare/v4.22.2...v4.22.3)
(2024-11-21)

##### Bug Fixes

- correctly call proxied formAssociated callbacks
([#&#8203;6046](https://redirect.github.com/ionic-team/stencil/issues/6046))
([dffb49d](https://redirect.github.com/ionic-team/stencil/commit/dffb49d5af9f8d4dc8187120214f08cac4d2efa7)),
closes
[#&#8203;6038](https://redirect.github.com/ionic-team/stencil/issues/6038)
- **mock-doc:** return empty string if anchor has no href attribute
([#&#8203;6051](https://redirect.github.com/ionic-team/stencil/issues/6051))
([e44642f](https://redirect.github.com/ionic-team/stencil/commit/e44642f4e473977e89bfab201dcfe712989f8d02)),
closes
[#&#8203;6047](https://redirect.github.com/ionic-team/stencil/issues/6047)
- **runtime:** ensure event listener are not registered twice
([#&#8203;6052](https://redirect.github.com/ionic-team/stencil/issues/6052))
([8f1bc55](https://redirect.github.com/ionic-team/stencil/commit/8f1bc5501ffc7effb17c2acd863a7b39243fdb6c)),
closes
[#&#8203;6045](https://redirect.github.com/ionic-team/stencil/issues/6045)
- **runtime:** scope id fix for component children for typescript issue
([#&#8203;6041](https://redirect.github.com/ionic-team/stencil/issues/6041))
([ab4cfce](https://redirect.github.com/ionic-team/stencil/commit/ab4cfce43fafff3f7302fff4e4c952489c245804)),
closes
[#&#8203;6042](https://redirect.github.com/ionic-team/stencil/issues/6042)

#### 🎺
[4.22.2](https://redirect.github.com/ionic-team/stencil/compare/v4.22.1...v4.22.2)
(2024-10-25)

##### Bug Fixes

- **docs:** escape backticks in type or default value columns
([#&#8203;6025](https://redirect.github.com/ionic-team/stencil/issues/6025))
([009d370](https://redirect.github.com/ionic-team/stencil/commit/009d370c4e9968664a563d2ab42a151cd49ded96)),
closes
[#&#8203;6024](https://redirect.github.com/ionic-team/stencil/issues/6024)
- **types:** add controlslist to html declarations
([#&#8203;6026](https://redirect.github.com/ionic-team/stencil/issues/6026))
([f4b48e9](https://redirect.github.com/ionic-team/stencil/commit/f4b48e9c058e7d9e694560ace519a2f2bf656ff5)),
closes
[#&#8203;6015](https://redirect.github.com/ionic-team/stencil/issues/6015)
- **runtime:** make shadow root adopt scoped component styles
([#&#8203;6028](https://redirect.github.com/ionic-team/stencil/issues/6028))
([8ff3048](https://redirect.github.com/ionic-team/stencil/commit/8ff3048e28209af08f8dbe0142443deff19ceee2)),
closes
[#&#8203;6027](https://redirect.github.com/ionic-team/stencil/issues/6027)

#### 🌪
[4.22.1](https://redirect.github.com/ionic-team/stencil/compare/v4.22.0...v4.22.1)
(2024-10-09)

##### Bug Fixes

- **mock-doc:** add missing ShadowRoot window primitive
([#&#8203;6011](https://redirect.github.com/ionic-team/stencil/issues/6011))
([2f944e2](https://redirect.github.com/ionic-team/stencil/commit/2f944e23664e191990424d0dc0fe953f67229373))
- **mock-doc:** get native primitive from globalThis
([#&#8203;6021](https://redirect.github.com/ionic-team/stencil/issues/6021))
([72fabd1](https://redirect.github.com/ionic-team/stencil/commit/72fabd14cc4934609e2fb8d462807b7445985ae9))
- **runtime:** create unique host ids
([#&#8203;6018](https://redirect.github.com/ionic-team/stencil/issues/6018))
([1564b7a](https://redirect.github.com/ionic-team/stencil/commit/1564b7a6ad5a8b96c60ee3dc67fd4ee516176e04))
- **runtime:** merge styles within ShadowRoot into a single node
([#&#8203;6014](https://redirect.github.com/ionic-team/stencil/issues/6014))
([61f90b0](https://redirect.github.com/ionic-team/stencil/commit/61f90b04ecf8896d74840ea295f949f3de38676c))

</details>

<details>
<summary>ionic-team/stencil-ds-output-targets
(@&#8203;stencil/react-output-target)</summary>

###
[`v0.8.0`](https://redirect.github.com/ionic-team/stencil-ds-output-targets/releases/tag/v0.8.0):
Vue Wrapper v0.8.0

[Compare
Source](https://redirect.github.com/ionic-team/stencil-ds-output-targets/compare/a3588e905186a0e86e7f88418fd5b2f9531b55e0...v0.8.0)

- feat(deps): disallow stencil v3 betas for all wrappers
([#&#8203;324](https://redirect.github.com/ionic-team/stencil-ds-output-targets/issues/324))
[`8b8ced4`](https://redirect.github.com/ionic-team/stencil-ds-output-targets/commit/8b8ced4)
- feat(deps): require stencil 3.0.0+ for all wrappers
([#&#8203;324](https://redirect.github.com/ionic-team/stencil-ds-output-targets/issues/324))
[`8b8ced4`](https://redirect.github.com/ionic-team/stencil-ds-output-targets/commit/8b8ced4)
- chore(lerna): remove svelte-output-target from lerna
([#&#8203;320](https://redirect.github.com/ionic-team/stencil-ds-output-targets/issues/320))
[`f20a778`](https://redirect.github.com/ionic-team/stencil-ds-output-targets/commit/f20a778)

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v8.18.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8180-2024-12-09)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.17.0...v8.18.0)

##### 🚀 Features

- **eslint-plugin:** \[switch-exhaustiveness-check] add support for "no
default" comment
([#&#8203;10218](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10218))
- **eslint-plugin:** \[no-deprecated] report on super call of deprecated
constructor
([#&#8203;10397](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10397))

##### 🩹 Fixes

- **eslint-plugin:** \[use-unknown-in-catch-callback-variable] only flag
function literals
([#&#8203;10436](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10436))
- **eslint-plugin:** \[no-base-to-string] handle more robustly when
multiple `toString()` declarations are present for a type
([#&#8203;10432](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10432))
- **eslint-plugin:** \[no-deprecated] check if a JSX attribute is
deprecated
([#&#8203;10374](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10374))
- typescript peer dependency
([#&#8203;10373](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10373))

##### ❤️  Thank You

- Kim Sang Du
[@&#8203;developer-bandi](https://redirect.github.com/developer-bandi)
- Kirk Waiblinger
[@&#8203;kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
-   mdm317
-   rtritto

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v8.18.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8180-2024-12-09)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.17.0...v8.18.0)

##### 🩹 Fixes

- typescript peer dependency
([#&#8203;10373](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10373))

##### ❤️  Thank You

-   rtritto

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>eslint/eslint (eslint)</summary>

###
[`v9.17.0`](https://redirect.github.com/eslint/eslint/compare/v9.16.0...90c1db9a9676a7e2163158b37aef0b61a37a9820)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.16.0...v9.17.0)

</details>

<details>
<summary>highlightjs/highlight.js (highlight.js)</summary>

###
[`v11.11.0`](https://redirect.github.com/highlightjs/highlight.js/blob/HEAD/CHANGES.md#Version-11110)

[Compare
Source](https://redirect.github.com/highlightjs/highlight.js/compare/11.10.0...11.11.0)

CAVEATS / POTENTIALLY BREAKING CHANGES

-   Nothing yet.

Core Grammars:

- fix(rust) - adds emoji support in single quote strings
\[joshgoebel]\[]
-   fix(apache) - support line continuation via `\` [Josh Goebel][]
-   fix(makefile) - allow strings inside `$()` expressions [aneesh98][]
- enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
- enh(css) add all properties listed on MDN (96 additions including
`anchor-name`, `aspect-ratio`, `backdrop-filter`, `container`,
`margin-trim`, `place-content`, `scroll-timeline`, ...) [BaliBalo][]
- enh(excel) add built-in functions for Excel 365 release to 2024 [Danny
Winrow][]
-   enh(erlang) OTP 27 triple-quoted strings [nixxquality][]
-   enh(erlang) OTP 27 doc attribute [nixxquality][]
-   enh(erlang) OTP 27 Sigil type [nixxquality][]
-   enh(erlang) OTP25/27 maybe statement [nixxquality][]
- enh(dart) Support digit-separators in number literals \[Sam
Rawlins]\[]
- enh(csharp) add Contextual keywords `file`, `args`, `dynamic`,
`record`, `required` and `scoped` [Alvin Joy][]
-   enh(lua) add 'pluto' as an alias [Sainan]
- enh(bash) add reserved keywords `time` and `coproc` [Álvaro
Mondéjar][]
-   enh(nix) update keywords \[h7x4]\[]
-   enh(nix) support paths \[h7x4]\[]
-   enh(nix) support lookup paths \[h7x4]\[]
-   enh(nix) support operators \[h7x4]\[]
-   enh(nix) support REPL keywords \[h7x4]\[]
-   enh(nix) support markdown comments \[h7x4]\[]
-   enh(nix) support basic function params \[h7x4]\[]
-   enh(nix) better parsing of attrsets \[h7x4]\[]
-   fix(c) - Fixed hex numbers with decimals  [Dxuian]
- fix(typescript) - Fixedoptional property not highlighted correctly
[Dxuian]
- fix(ruby) - fix `|=` operator false positives (as block arguments)
[Aboobacker MK]
- enh(gcode) rewrote language for modern gcode support [Barthélémy
Bonhomme][]
- fix(sql) - Fixed sql primary key and foreign key spacing issue
[Dxuian]
- fix(cpp) added flat_set and flat_map as a part of cpp 23 version
[Lavan]
-   fix(yaml) - Fixed special chars in yaml   [Dxuian]
- fix(basic) - Fixed closing quotation marks not required for a PRINT
statement [Somya]
-   fix(nix) remove `add` builtin \[h7x4]\[]
-   fix(nix) mark `or` as builtin instead of literal \[h7x4]\[]
-   fix(nix) handle `'''` string escapes \[h7x4]\[]
-   fix(nix) handle backslash string escapes \[h7x4]\[]
-   fix(nix) don't mix escapes for `"` and `''` strings \[h7x4]\[]
- fix(swift) - Fixed syntax highlighting for class func/var declarations
[guuido]
- fix(yaml) - Fixed wrong escaping behavior in single quoted strings
[guuido]
- enh(nim) - Add `concept` and `defer` to list of Nim keywords [Jake
Leahy]

New Grammars:

-   added 3rd party TTCN-3 grammar to SUPPORTED_LANGUAGES [Osmocom][]
-   added 3rd party Odin grammar to SUPPORTED_LANGUAGES [clsource][]
- added 3rd party Liquid grammar to SUPPORTED_LANGUAGES [Laurel King][]

Developer Tools:

-   Nothing yet.

Themes:

-   Added `Rosé Pine` theme [William Wilkinson][]
-   Added `Cybertopia Cherry` theme [Alexandre ZANNI][]
-   Added `Cybertopia Dimmer` theme [Alexandre ZANNI][]
-   Added `Cybertopia Icecap` theme [Alexandre ZANNI][]
-   Added `Cybertopia Saturated` theme [Alexandre ZANNI][]

Improvements:

- Resolve the memory leak problem when creating multiple Highlight.js
instances [Imken][]

CONTRIBUTORS

[Josh Goebel]: https://redirect.github.com/joshgoebel

[aneesh98]: https://redirect.github.com/aneesh98

[BaliBalo]: https://redirect.github.com/BaliBalo

[William Wilkinson]: https://redirect.github.com/wilkinson4

[nixxquality]: https://redirect.github.com/nixxquality

[srawlins]: https://redirect.github.com/srawlins

[Alvin Joy]: https://redirect.github.com/alvinsjoy

[Dxuian]: https://redirect.github.com/Dxuian

[Aboobacker MK]: https://redirect.github.com/tachyons

[Imken]: https://redirect.github.com/immccn123

[Sainan]: https://redirect.github.com/Sainan

[Osmocom]: https://redirect.github.com/osmocom

[Álvaro Mondéjar]: https://redirect.github.com/mondeja

[Alexandre ZANNI]: https://redirect.github.com/noraj

[Barthélémy Bonhomme]: https://redirect.github.com/barthy-koeln

[Lavan]: https://redirect.github.com/jvlavan

[Somya]: https://redirect.github.com/somya-05

[guuido]: https://redirect.github.com/guuido

[clsource]: https://redirect.github.com/clsource

[Jake Leahy]: https://redirect.github.com/ire4ever1190

[Laurel King]: https://redirect.github.com/laurelthorburn

[Kristian Ekenes]: https://redirect.github.com/ekenes

[Danny Winrow]: https://redirect.github.com/dannywinrow

</details>

<details>
<summary>lint-staged/lint-staged (lint-staged)</summary>

###
[`v15.2.11`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#15211)

[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.10...v15.2.11)

##### Patch Changes

-
[#&#8203;1484](https://redirect.github.com/lint-staged/lint-staged/pull/1484)
[`bcfe309`](https://redirect.github.com/lint-staged/lint-staged/commit/bcfe309fca88aedf42b6a321383de49eb361c5a0)
Thanks [@&#8203;wormsik](https://redirect.github.com/wormsik)! - Escape
paths containing spaces when using the "shell" option.

-
[#&#8203;1487](https://redirect.github.com/lint-staged/lint-staged/pull/1487)
[`7dd8caa`](https://redirect.github.com/lint-staged/lint-staged/commit/7dd8caa8f80fe1a6ce40939c1224b6774000775a)
Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Do not
treat submodule root paths as "staged files". This caused *lint-staged*
to fail to a Git error when only updating the revision of a submodule.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Aiko-IT-Systems/Discord-React-Components).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
@guilhermebc
Copy link
Author

🚀 🚀 🚀

Copy link

ionitron-bot bot commented Jan 15, 2025

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the output targets, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants