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

Bump redom from 3.29.1 to 4.3.0 #2685

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps redom from 3.29.1 to 4.3.0.

Release notes

Sourced from redom's releases.

dispatch

Added simple helper for creating bubbling CustomEvents (trigger events that bubble components upstream)

import { el, dispatch, mount } from 'redom';
class Component {
constructor () {
this.el = el('.component');
this.el.onclick = () => {
  dispatch(this, { componentClicked: true });
};

}
}
const component = new Component();
mount(document.body, component);
document.body.addEventListener('redom', e => console.log(e.detail)); // { componentClicked: true }
component.el.onclick();

You can also define custom event name:

dispatch(this, { hello: 'RE:DOM' }, 'custom-event');

Also modernized and simplified tests with Teston

viewFactory + tree shaking

  • Tree shaking finally enabled! (as npm module)
  • viewFactory added:
import { list, viewFactory } from 'redom';
class A {
constructor () {
this.el = el('a');
}
update () {
...
}
}
class B {
constructor () {
this.el = el('b');
}
update () {
</tr></table>

... (truncated)

Commits
  • fed8b5b 4.3.0
  • dd8273d Modernize source code
  • f2b5204 4.2.0
  • 524b4db Update package-lock.json
  • 1058f6f Add ref, update dependencies
  • 3fd952e Merge pull request #566 from redom/dependabot/npm_and_yarn/rollup-4.28.1
  • 3ccf902 Merge pull request #565 from sukus21/master
  • 59e7a3c Bump rollup from 4.18.0 to 4.28.1
  • 52382d1 Merge pull request #562 from redom/dependabot/npm_and_yarn/marked-13.0.2
  • 187b866 Merge pull request #560 from redom/dependabot/npm_and_yarn/ws-8.17.1
  • Additional commits viewable in compare view

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 <dependency name> 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)

Bumps [redom](https://github.com/redom/redom) from 3.29.1 to 4.3.0.
- [Release notes](https://github.com/redom/redom/releases)
- [Commits](redom/redom@v3.29.1...v4.3.0)

---
updated-dependencies:
- dependency-name: redom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants