chore(bindings/node): Deprecate parse (#9419)

This commit is contained in:
Donny/강동윤 2024-08-12 11:05:18 +09:00 committed by GitHub
parent ce761cf515
commit 1bf467d99f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,9 @@ export class Compiler {
throw new Error("Bindings not found.");
}
/**
* @deprecated Use Rust instead.
*/
parse(
src: string,
options: ParseOptions & { isModule: false }
@ -386,6 +389,9 @@ export class Compiler {
const compiler = new Compiler();
/**
* @deprecated Use Rust instead.
*/
export function parse(
src: string,
options: ParseOptions & { isModule: false }