Skip to content

Update @linthtml/dom-utils version #114

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

Merged
merged 1 commit into from
Apr 2, 2025
Merged

Conversation

KamiKillertO
Copy link
Contributor

@linthtml/dom-utils v0.10 was released some time ago.
The new version exports cjs and mjs files, so it can be used with require or import. The latest version also has atomic exports, so you can now import replace things like

const { is_tag_node, has_non_empty_attribute, is_boolean_attribute } = require('@linthtml/dom-utils');

with

const { is_tag_node, has_non_empty_attribute, is_boolean_attribute } = require('@linthtml/dom-utils/tags');

@Nakleikoff Nakleikoff merged commit 9f56285 into htmlacademy:main Apr 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants