Skip to content

Comments

Update 2026#3

Merged
lopatnov merged 18 commits intomasterfrom
update-2026
Feb 14, 2026
Merged

Update 2026#3
lopatnov merged 18 commits intomasterfrom
update-2026

Conversation

@lopatnov
Copy link
Owner

Thank you for your contribution to the JavaScriptToString repo.
Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You have added unit tests

…erializable option

- Add "type": "module" with .mjs/.cjs dual-package support
- Add throwOnNonSerializable option for WeakRef, WeakMap, WeakSet, FinalizationRegistry, Promise, Generator
- Improve serialization: -0, sparse arrays, Symbol.for(), RegExp lastIndex, error subclasses, Object.create(null)
- Use dot notation in cross-ref output (___ref1.prop instead of ___ref1['prop'])
- Update @lopatnov/get-internal-type to 2.0.0
- Update CI to Node.js 18/20/22/24, tsconfig lib to ES2022
- Update README and CHANGELOG for v2.0.0
- 191 tests passing
@lopatnov lopatnov merged commit a16c7c1 into master Feb 14, 2026
8 checks passed
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.

2 participants