Skip to content

Modernize (for 2.4) - #15

Open
nathan818fr wants to merge 2 commits into
mainfrom
modernize-2.4
Open

nathan818fr wants to merge 2 commits into
mainfrom
modernize-2.4

Conversation

@nathan818fr

Copy link
Copy Markdown
Owner

No description provided.

No change to the published behavior, except a type fix:
LineReader.readLine() returns `string | undefined`.

- Tooling: mise, pnpm, TypeScript, Vitest, Biome, GitHub Actions.
- Tests checked against real JVMs.
- New README and CONTRIBUTING.md.
- parse(), parseFile() and stringify() accept a javaVersion option, to work
  exactly like Properties.load() and store() of that Java version.
- New readEntries(), escapeKey() and escapeValue(). java-props/dist/utils is
  deprecated.
- Without options, nothing changes, but parse() and stringify() are about 2x
  faster.

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant