Skip to content

Conversation

gibson042
Copy link
Member

  • Use more specific error types.
  • For compatibility, switch from import(jsonFileName) to JSON.parse(readFile(jsonFileName)).
  • For performance, rather than parsing HTML into a complete AST, use a streaming rewriter (and switch to passthrough after prepending to <body>).

* Use more specific error types.
* For compatibility, switch from `import(jsonFileName)` to
  `JSON.parse(readFile(jsonFileName))`.
* For performance, rather than parsing HTML into a complete AST, use a
  streaming rewriter (and switch to passthrough after prepending to
  `<body>`).
@github-actions
Copy link

github-actions bot commented Jan 1, 2025

The rendered spec for this PR is available at https://tc39.es/proposal-immutable-arraybuffer/pr/24.

@gibson042 gibson042 merged commit 04b49a7 into tc39:main Jan 1, 2025
1 check 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.

1 participant