Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2025

Bumps tiny-essentials from 1.20.0 to 1.20.1.

Release notes

Sourced from tiny-essentials's releases.

1.20.1

🎉 TinyHtml updates

A highly refined update for TinyHtml, focused on stronger consistency, smarter attribute/property control, and a safer, clearer API. 🚀

✨ Highlights

  • 🧠 New attribute/property mapping system
    TinyHtml.propFix, TinyHtml.attrFix, getPropName(), getAttrName()
    → Ensures cleaner interaction with DOM properties like className, htmlFor, etc.

  • 🧱 Element list architecture
    → Internally stores all nodes as arrays
    → Better control and scalability when managing multiple elements

  • 🆕 New instance methods
    extract(index), exists(index), get(index), getAll()
    → More predictable access to elements — no more ambiguity!

  • ⚠️ Breaking change: get() now requires an index
    → Due to the new array-based internal model, calling get() without arguments will throw
    → Use get(0) to access the first element explicitly

  • 🧪 Selector methods now return a single wrapped instance
    queryAll, querySelectorAll, getByClassName, getElementsByClassName, getByName, getByTagNameNS, and getElementsByTagNameNS now return one TinyHtml with all matched elements
    → To behave like before, use .extract(index) to unwrap one of them manually

  • ✍️ New createFrom(json) method
    → Create fully structured elements using JSON config syntax
    → Ideal for dynamic UI rendering or declarative component creation

  • 📝 Improved input handling
    _getValByType() now correctly supports textarea values

  • ⚙️ Better error handling and type safety
    → Clearer validation, safer APIs, and stronger dev confidence

  • Test suite upgraded
    → Adjusted to respect new API behavior, array-based elements, and refined logic

Full Changelog: Tiny-Essentials/Tiny-Essentials@1.20.0...1.20.1

Commits
  • 258b09c TinyHtml doc --> extract added.
  • baceb3c TinyHtml --> error messages added.
  • 458b6f9 TinyHtml --> extract added.
  • 1314718 TinyHtml --> createFrom doc added.
  • 5084196 TinyHtml --> attr editor info added.
  • 668d1b9 TinyHtml docs updated.
  • 0203285 TinyHtml --> _getValByType textarea issue fixed.
  • d75261b Html examples fixed.
  • a7a2315 TinyHtml --> multi elems support added.
  • 6978195 TinyHtml --> attribute name to DOM property name support added. / createFrom ...
  • 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 [tiny-essentials](https://github.com/JasminDreasond/Tiny-Essentials) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/JasminDreasond/Tiny-Essentials/releases)
- [Commits](Tiny-Essentials/Tiny-Essentials@1.20.0...1.20.1)

---
updated-dependencies:
- dependency-name: tiny-essentials
  dependency-version: 1.20.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Jul 29, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 5, 2025

Superseded by #61.

@dependabot dependabot bot closed this Aug 5, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tiny-essentials-1.20.1 branch August 5, 2025 10:25
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.

1 participant