ox-jsdoc-binary
v0.0.19
Published
Deprecated alias for ox-jsdoc. Re-exports the canonical Binary AST package; install `ox-jsdoc` instead.
Maintainers
Readme
ox-jsdoc-binary
[!WARNING] Deprecated alias. This package is now a JS-only thin re-export of the canonical
ox-jsdocpackage. Install and importox-jsdocdirectly. This alias is published for one deprecation cycle to ease migration from the previously-publishedox-jsdoc-binary0.0.12and will be removed in a subsequent release.
Pre-cutover, ox-jsdoc-binary was the Binary AST NAPI binding while ox-jsdoc was the typed AST + JSON binding. After the Binary AST mainstream migration, the Binary AST implementation became the canonical ox-jsdoc package, and this package was downgraded to a JS-only re-export so that existing 0.0.12 consumers keep working unchanged for one release cycle.
Migration
Replace the dependency name:
- "ox-jsdoc-binary": "^0.0.13"
+ "ox-jsdoc": "^0.0.13"…and the import:
- import { parse, parseBatch } from 'ox-jsdoc-binary'
+ import { parse, parseBatch } from 'ox-jsdoc'The runtime behavior of the new ox-jsdoc matches what ox-jsdoc-binary 0.0.12 exported.
How it works
This package's src-js/index.js is a single line:
export * from 'ox-jsdoc'There is no separate native binding, no napi pre-publish, and no @ox-jsdoc/binary-binding-* platform packages — the canonical ox-jsdoc package provides all of them.
