@babel/plugin-syntax-flow
Advanced tools
Comparing version 7.24.7 to 7.25.7
@@ -14,7 +14,9 @@ "use strict"; | ||
} = options; | ||
if (typeof all !== "boolean" && typeof all !== "undefined") { | ||
if (typeof all !== "boolean" && all !== undefined) { | ||
throw new Error(".all must be a boolean, or undefined"); | ||
} | ||
if (typeof enums !== "boolean" && typeof enums !== "undefined") { | ||
throw new Error(".enums must be a boolean, or undefined"); | ||
{ | ||
if (typeof enums !== "boolean" && enums !== undefined) { | ||
throw new Error(".enums must be a boolean, or undefined"); | ||
} | ||
} | ||
@@ -29,6 +31,8 @@ return { | ||
} | ||
parserOpts.plugins.push(["flow", { | ||
all, | ||
enums | ||
}]); | ||
{ | ||
parserOpts.plugins.push(["flow", { | ||
all, | ||
enums | ||
}]); | ||
} | ||
} | ||
@@ -35,0 +39,0 @@ }; |
{ | ||
"name": "@babel/plugin-syntax-flow", | ||
"version": "7.24.7", | ||
"version": "7.25.7", | ||
"description": "Allow parsing of the flow syntax", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.24.7" | ||
"@babel/helper-plugin-utils": "^7.25.7" | ||
}, | ||
@@ -27,3 +27,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7" | ||
"@babel/core": "^7.25.7" | ||
}, | ||
@@ -30,0 +30,0 @@ "engines": { |
@@ -15,4 +15,7 @@ /* This file is automatically generated by scripts/generators/tsconfig.js */ | ||
"path": "../../packages/babel-helper-plugin-utils" | ||
}, | ||
{ | ||
"path": "../../packages/babel-core" | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76299
57