Skip to content

Commit

Permalink
build: dedupe @babel/types in lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfaith committed Feb 19, 2025
1 parent d151f30 commit 0b1f3a0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 367 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@types/invariant": "^2.2.35",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"abortcontroller-polyfill": "^1.7.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// v0.17.1
declare module "hermes-eslint" {
declare module 'hermes-eslint' {
// https://fburl.com/2vikhmaa
type ParseForESLintOptions = {
/**
Expand Down Expand Up @@ -37,7 +37,7 @@ declare module "hermes-eslint" {
/**
* The source type of the script.
*/
sourceType: "script" | "module";
sourceType: 'script' | 'module';

/**
* Ignore <fbt /> JSX elements when adding references to the module-level `React` variable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
*/

// v0.17.1
declare module "hermes-parser" {
declare module 'hermes-parser' {
type HermesParserOptions = {
allowReturnOutsideFunction?: boolean;
babel?: boolean;
flow?: "all" | "detect";
flow?: 'all' | 'detect';
enableExperimentalComponentSyntax?: boolean;
sourceFilename?: string;
sourceType?: "module" | "script" | "unambiguous";
sourceType?: 'module' | 'script' | 'unambiguous';
tokens?: boolean;
};
export function parse(code: string, options: Partial<HermesParserOptions>);
Expand Down
Loading

0 comments on commit 0b1f3a0

Please sign in to comment.