Skip to content

Update @linthtml/dom-utils version#114

Merged
Nakleikoff merged 1 commit intohtmlacademy:mainfrom
KamiKillertO:main
Apr 2, 2025
Merged

Update @linthtml/dom-utils version#114
Nakleikoff merged 1 commit intohtmlacademy:mainfrom
KamiKillertO:main

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

2 participants