Skip to content

chore(deps): bump plist from 3.1.1 to 5.1.1 - #1757

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/plist-5.1.1
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/plist-5.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps plist from 3.1.1 to 5.1.1.

Release notes

Sourced from plist's releases.

plist@5.1.1

Patch Changes

  • 1e9776b: Reject __proto__ and non-string dictionary keys in the OpenStep and binary parsers, extending the CVE-2022-22912 guard that previously only covered XML input

plist@5.1.0

Minor Changes

  • 821e16c: Add headless option to build() to omit XML declaration and DOCTYPE
  • e7c4025: Add invalidCharReplacement option to build() to replace characters that are not valid in XML. The browser build() now also throws on invalid XML characters by default, matching the Node build().

Patch Changes

  • 1b1212d: Preserve U+0085, U+2028 and U+2029 in strings and keys when parsing XML plists in Node, using XML 1.0 line-ending normalization to match the browser build

plist@5.0.1

Patch Changes

  • 7780aec: Emit empty strings as <string/> in the browser build() to match the Node build() output

  • 5d5a064: Escape carriage returns in the browser build() so strings and keys containing CR survive a round-trip

  • ac871e6: Fix uncontrolled resource consumption in binary plist parser. Objects referenced multiple times are now parsed only once, circular references are rejected, and trailer/offset table/object references are validated against the input bounds.

  • fcf0a9f: Preserve sub-second precision when serializing Date values in XML build()

    Both XML builders stripped any fractional-second group from a Date, so non-zero milliseconds were silently dropped. The binary format keeps them, so build(parseBinary(bplist)) and parse(build(date)) lost up to 999 ms. Whole-second dates are still emitted without a .000 fraction, unchanged.

  • 2a85a82: Fix double indentation in browser build() output

  • e76f1ec: Add default condition to exports map for VSCode compatibility

  • ce9b503: Emit large integer-valued numbers (|x| >= 1e21) as <real> instead of <integer>. Number.prototype.toString() renders them in exponential notation ((1e21).toString() === "1e+21"), which the <integer> parse path truncated at the e, silently corrupting the value on a build → parse round-trip.

plist@5.0.0

Major Changes

  • 982349e: BREAKING: null values are now skipped during build(), matching undefined behavior and aligning with Apple's plist DTD which does not include a <null/> element. Parsing <null/> on read is still supported for backwards compatibility.

Minor Changes

  • 592f243: Added binary plist (bplist00) support: parseBinary() and buildBinary() for reading and writing binary plists. parse() now auto-detects binary format.
  • 8f0e2cc: Add browser-native implementations using DOMParser and XMLSerializer for parsing, and native DOM APIs for building XML. Bundlers that support the "browser" export condition (Vite, webpack, esbuild) will automatically use these lighter implementations, dramatically reducing bundle size by eliminating the @xmldom/xmldom and xmlbuilder dependencies.
  • 754240c: Added OpenStep/ASCII plist parsing support via parseOpenStep(). parse() now auto-detects all three plist formats: XML, binary, and OpenStep.
  • 3463937: Rewritten in TypeScript with full type declarations. Switched to vitest for testing and pnpm for package management.

Patch Changes

  • 8ce0162: Fixed exponential parse blowup when parsing deeply nested plist files. The dict parser was eagerly evaluating error message arguments, causing every value to be parsed twice.
  • f8102c0: Replaced legacy patterns with modern JS equivalents: native toISOString(), Object.hasOwn(), and direct type checks.
Changelog

Sourced from plist's changelog.

5.1.1

Patch Changes

  • 1e9776b: Reject __proto__ and non-string dictionary keys in the OpenStep and binary parsers, extending the CVE-2022-22912 guard that previously only covered XML input

5.1.0

Minor Changes

  • 821e16c: Add headless option to build() to omit XML declaration and DOCTYPE
  • e7c4025: Add invalidCharReplacement option to build() to replace characters that are not valid in XML. The browser build() now also throws on invalid XML characters by default, matching the Node build().

Patch Changes

  • 1b1212d: Preserve U+0085, U+2028 and U+2029 in strings and keys when parsing XML plists in Node, using XML 1.0 line-ending normalization to match the browser build

5.0.1

Patch Changes

  • 7780aec: Emit empty strings as <string/> in the browser build() to match the Node build() output

  • 5d5a064: Escape carriage returns in the browser build() so strings and keys containing CR survive a round-trip

  • ac871e6: Fix uncontrolled resource consumption in binary plist parser. Objects referenced multiple times are now parsed only once, circular references are rejected, and trailer/offset table/object references are validated against the input bounds.

  • fcf0a9f: Preserve sub-second precision when serializing Date values in XML build()

    Both XML builders stripped any fractional-second group from a Date, so non-zero milliseconds were silently dropped. The binary format keeps them, so build(parseBinary(bplist)) and parse(build(date)) lost up to 999 ms. Whole-second dates are still emitted without a .000 fraction, unchanged.

  • 2a85a82: Fix double indentation in browser build() output

  • e76f1ec: Add default condition to exports map for VSCode compatibility

  • ce9b503: Emit large integer-valued numbers (|x| >= 1e21) as <real> instead of <integer>. Number.prototype.toString() renders them in exponential notation ((1e21).toString() === "1e+21"), which the <integer> parse path truncated at the e, silently corrupting the value on a build → parse round-trip.

5.0.0

Major Changes

  • 982349e: BREAKING: null values are now skipped during build(), matching undefined behavior and aligning with Apple's plist DTD which does not include a <null/> element. Parsing <null/> on read is still supported for backwards compatibility.

Minor Changes

  • 592f243: Added binary plist (bplist00) support: parseBinary() and buildBinary() for reading and writing binary plists. parse() now auto-detects binary format.
  • 8f0e2cc: Add browser-native implementations using DOMParser and XMLSerializer for parsing, and native DOM APIs for building XML. Bundlers that support the "browser" export condition (Vite, webpack, esbuild) will automatically use these lighter implementations, dramatically reducing bundle size by eliminating the @xmldom/xmldom and xmlbuilder dependencies.
  • 754240c: Added OpenStep/ASCII plist parsing support via parseOpenStep(). parse() now auto-detects all three plist formats: XML, binary, and OpenStep.
  • 3463937: Rewritten in TypeScript with full type declarations. Switched to vitest for testing and pnpm for package management.

Patch Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for plist since your current version.


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 [plist](https://github.com/TooTallNate/plist.js) from 3.1.1 to 5.1.1.
- [Release notes](https://github.com/TooTallNate/plist.js/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/plist.js/commits/plist@5.1.1)

---
updated-dependencies:
- dependency-name: plist
  dependency-version: 5.1.1
  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 Nov 24, 2026

This branch has not been deployed

No deployments
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