Socket
Socket
Sign inDemoInstall

@babel/helper-validator-option

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-validator-option - npm Package Compare versions

Comparing version 7.12.1 to 7.12.11

4

lib/validator.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc