Chia-Network / chia-docs

Chia Docs - documentation on the Chia blockchain, protocol and client
https://docs.chia.net/
Apache License 2.0
20 stars 58 forks source link

Bump react-simple-code-editor from 0.13.1 to 0.14.1 #615

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps react-simple-code-editor from 0.13.1 to 0.14.1.

Release notes

Sourced from react-simple-code-editor's releases.

Release 0.14.1

Bug fixes

Release 0.14.0

2024-07-02

Breaking changes

Developers now need to type the ref differently since it isn't a class component anymore:

-const ref = React.useRef<Editor>(null);
+const ref = React.useRef<React.ComponentRef<typeof Editor>>(null);

In practice, few projects should be impacted by this change:

https://tools-public.mui.com/prod/pages/npmVersion?package=react-dom

@​oliviertassinari: I believe it's time. React 19 continues to move away from class components, e.g. https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-removing-legacy-context.

This change brings a small bundle size reduction as well:

https://bundlephobia.com/package/react-simple-code-editor@0.14.0

Bug fixes

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 4 months ago

The following labels could not be found: Changed.

socket-security[bot] commented 4 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/react-simple-code-editor@0.14.1 None 0 69.7 kB oliviertassinari

🚮 Removed packages: npm/react-simple-code-editor@0.13.1

View full report↗︎