Skip to content

Restore: TypeScript, no dependencies, accessibility, CI - #12

Merged
finom merged 1 commit into
mainfrom
restore
Oct 20, 2026
Merged

finom merged 1 commit into
mainfrom
restore

Conversation

@finom

@finom finom commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Brings VanillaTree back as a maintained package, for 1.0.0.

  • TypeScript source, no dependencies; Balalaika replaced by a typed tsimmes.
  • dist/vanillatree.min.js (ES5 UMD, IE 10+), dist/vanillatree.min.mjs, types for import and require, vanillatree/vanillatree.css.
  • Keyboard and screen reader support (WAI-ARIA tree view), keyboard context menu, destroy(), dark theme, CSS variables.
  • Labels are text by default (html: true to opt in). Closes Fix XSS bug #6.
  • HTML inside a label no longer blocks the click. Closes Feature request - styling #7.
  • Duplicate ids throw. Closes no validation for adding the same leaf multiple times #8.
  • getPath / getParent. Closes Possible to search by a path? #10.
  • selectable: false and hasChildren. Closes Distinguish between files (leaf nodes) and folders #11.
  • Tests: 100% coverage, fast-check model test, the suite on the ES5 bundle, an IE 10 scenario in jsdom, a packed-tarball check.
  • CI, CodeQL, Scorecard, Dependabot, trusted publishing with provenance, demo on GitHub Pages.

Supersedes #9.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@finom
finom merged commit 9f824e0 into main Oct 20, 2026
3 checks passed
@finom
finom deleted the restore branch October 20, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants