Skip to content

Commit ad4f893

Browse files
refactor(javascript): one output stream the node printer owns, drop printer.load()
schema-utils 4.8.2 minifies a precompiled check with SourceProcessor, so the `load()` shim it read goes. The stream is a module-level class the node printer builds itself: no prototype patched from outside, no hand-written `OutputStream` interface, no `_destroy_ast`, and the refusal of tree input or output runs first. Claude-Session: https://claude.ai/code/session_01Tgxgyb4N35ndP6cC4KcrXC
1 parent 6258d0b commit ad4f893

6 files changed

Lines changed: 953 additions & 1123 deletions

File tree

‎.changeset/040-javascript-source-processor.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"webpack": minor
33
---
44

5-
Add a JavaScript `SourceProcessor` that prints minified, and minify JS faster.
5+
Add a JavaScript `SourceProcessor` that prints minified, minify JS faster and drop `printer.load()`.

0 commit comments

Comments
 (0)