@babel/helper-validator-option
Advanced tools
Comparing version 7.12.1 to 7.12.11
@@ -28,3 +28,3 @@ "use strict"; | ||
if (value === undefined) { | ||
value = defaultValue; | ||
return defaultValue; | ||
} else { | ||
@@ -39,3 +39,3 @@ this.invariant(typeof value === "boolean", `'${name}' option must be a boolean.`); | ||
if (value === undefined) { | ||
value = defaultValue; | ||
return defaultValue; | ||
} else { | ||
@@ -42,0 +42,0 @@ this.invariant(typeof value === "string", `'${name}' option must be a string.`); |
{ | ||
"name": "@babel/helper-validator-option", | ||
"version": "7.12.1", | ||
"version": "7.12.11", | ||
"description": "Validate plugin/preset options", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -5,3 +5,3 @@ # @babel/helper-validator-option | ||
See our website [@babel/helper-validator-option](https://babeljs.io/docs/en/next/babel-helper-validator-option.html) for more information. | ||
See our website [@babel/helper-validator-option](https://babeljs.io/docs/en/babel-helper-validator-option) for more information. | ||
@@ -8,0 +8,0 @@ ## Install |
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
4435