Skip to content

Commit

Permalink
chore(bindings/node): Deprecate parse (#9419)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Aug 12, 2024
1 parent ce761cf commit 1bf467d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export class Compiler {
throw new Error("Bindings not found.");
}

/**
* @deprecated Use Rust instead.
*/
parse(
src: string,
options: ParseOptions & { isModule: false }
Expand Down Expand Up @@ -386,6 +389,9 @@ export class Compiler {

const compiler = new Compiler();

/**
* @deprecated Use Rust instead.
*/
export function parse(
src: string,
options: ParseOptions & { isModule: false }
Expand Down

0 comments on commit 1bf467d

Please sign in to comment.