fix(deps): update dependency inferno-router to v9 #2931
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.2.3
->^9.0.0
Release Notes
infernojs/inferno (inferno-router)
v9.0.1
Compare Source
inferno-core
v9.0.0
Compare Source
Inferno v9.0.0
This is maintenance release. it drops support for old browser versions including IE and removes old coding patterns.
InfernoJs source code has been modernized to support latest versions of tooling.
Breaking changes
inferno-create-class
has been removed, usecreateComponentVNode
,createElement
APIs instead.If you were using
createClass
to wrap the class into observable you can do the same by extending inferno component.Inferno v9 requires following features to be present in the executing runtime:
Promise
String.prototype.includes()
String.prototype.startsWith()
Array.prototype.includes()
Object.spread()
options.componentComparator
has been removedoptions.renderComplete
has been removed, same result can be achieved by calling own function after renderES module bundle extension is now
.mjs
inferno.esnext.js
bundle has been removed and replaced withinferno.mjs
bundle.The following bundles have been renamed:
inferno.esm.js
is nowinferno.mjs
inferno.dev.esm.js
is nowinferno.dev.mjs
You may need to change how you are loading inferno dev & production bundles.
for example Webpack config:
Inferno-core
hoist-non-inferno-statics
removedInferno-router
path-to-regexp-es6
changed topath-to-regexp
to include recent bugfixes and address security vulnerabilityInferno-server
Announcing
swc-plugin-inferno
swc-plugin-inferno plugin can compile JSX and TSX syntax for inferno specific virtual nodes. It offers improved compilation time compared to existing plugins. In addition it has access to typescript type information which can be used in future for optimizations and new features.
Below chart compares compilation time of inferno repository tests using different compilers.
Inferno now supports Eslint v9
eslint-plugin-inferno
to lint test files. https://github.com/infernojs/inferno/blob/master/eslint.config.jsStarter template update
The following repository has been updated to create a reference how to use inferno with latest tech including:
https://github.com/infernojs/inferno-swc-example
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.