Oxc-parser version 0.78.0 represents an incremental update to the popular Oxc Parser Node API, building upon the foundation laid by version 0.77.3. Developers will find the core functionality largely unchanged, ensuring a smooth transition for existing projects. However, several key differences are worth noting.
The most prominent change lies in the updated dependencies. Both the core dependency, @oxc-project/types, and many optional dependencies have been bumped to version 0.78.0, suggesting improvements or bug fixes within the underlying parsing logic and platform-specific bindings.
Specifically, @oxc-project/types dictates how the Abstract Syntax Tree (AST) is structured, so the bump to version 0.78.0 likely includes structural changes which could potentially affect any code using this package.
The optional dependencies @oxc-parser/binding-* are prebuilt binaries for various platforms. Their unified update suggests that there may be fixes across platforms. Noticeably, @napi-rs/wasm-runtime has been upgraded from version 0.2.7 to version 1.0.0 within the devDependencies of 0.78.0, that would imply that the parser now relies on the WASM runtime version.
While devDependencies are not directly relevant to end-users, version 0.78.0 features updated versions of those packages implying a better development pipeline. Vitest, the test runner, is the same, allowing easy testing.
For developers considering an upgrade, evaluating the change logs by using the new updated packages @oxc-project/types @napi-rs/wasm-runtime is advisable to guarantee compatibility.
The are not vulnerabilities for the version 0.78.0 of the package oxc-parser