Skip to content

chore(deps): Bump xmldoc from 2.0.3 to 3.0.0#633

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/develop/xmldoc-3.0.0
Open

chore(deps): Bump xmldoc from 2.0.3 to 3.0.0#633
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/develop/xmldoc-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown

Bumps xmldoc from 2.0.3 to 3.0.0.

Changelog

Sourced from xmldoc's changelog.

v3.0.0 (2026)

Breaking Changes:

  • ESM-only. The package now ships as a native ES module. Import it with import { XmlDocument } from "xmldoc". CommonJS require("xmldoc") is no longer supported - if you cannot migrate to ESM, stay on the 2.x line.
  • Removed the legacy browser-global build (lib/xmldoc.js). In the browser, import the module from an npm CDN (e.g. https://esm.sh/xmldoc).
  • Minimum supported Node.js version is now 22.
  • Removed the index.js / index.d.ts compatibility shims.

Other Changes:

  • Single source of truth: the package is built entirely from src/index.ts, eliminating the separate hand-written implementation that previously shipped to CommonJS consumers.
  • Fixed a regression where text and comments appearing before the root element (e.g. whitespace after an <?xml?> declaration) were incorrectly captured into the document. They are now ignored, matching 1.x behavior.
  • Tests rewritten to use the native Node.js test runner (node --test), dropping the tap and vitest dev dependencies.
  • Added GitHub Actions CI across Linux/macOS/Windows on Node 22, 24, and 26.
  • Updated sax to 1.6.0.

v2.0.0 (2024)

Major Changes:

  • Complete TypeScript rewrite with full type definitions
  • Dual package support for both CommonJS and ESM environments
  • Maintained backwards compatibility with existing code
  • Updated sax dependency to 1.2.4
  • Added support for modern module resolution via package.json exports field
  • Improved HTML compatibility with self-closing tags
  • Enhanced documentation and examples
  • Added proper TypeScript declaration files

v1.0.0 (2016-12-26)

Full Changelog

Closed issues:

  • Excellent library with a beautiful, clean API #42
  • Order of elements changed #41
  • While writing back xml document to a file it removes all comments #39
  • react native using xmldoc to parser xml #38
  • Order of val in relation to children? #37

... (truncated)

Commits

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 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 [xmldoc](https://github.com/nfarina/xmldoc) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/nfarina/xmldoc/releases)
- [Changelog](https://github.com/nfarina/xmldoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfarina/xmldoc/commits)

---
updated-dependencies:
- dependency-name: xmldoc
  dependency-version: 3.0.0
  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 Jun 8, 2026
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