Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-babili

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-babili - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

8

lib/options-manager.js

@@ -121,3 +121,3 @@ "use strict";

case "proxy":
throw new Error(`proxy option cannot proxy to group/proxy. ${ _proxy.name } proxied to ${ _option3.name }`);
throw new Error(`proxy option cannot proxy to group/proxy. ${_proxy.name} proxied to ${_option3.name}`);

@@ -185,3 +185,3 @@ default:

default:
throw new Error(`Unsupported defaultValue - ${ option.defaultValue } for option ${ option.name }`);
throw new Error(`Unsupported defaultValue - ${option.defaultValue} for option ${option.name}`);
}

@@ -250,3 +250,3 @@ return Object.assign({}, acc, {

else {
throw new Error(`Invalid resolved value for option ${ option.name }`);
throw new Error(`Invalid resolved value for option ${option.name}`);
}

@@ -305,3 +305,3 @@ }

if (!Array.isArray(arr)) {
throw new Error(`Expected ${ prop } to be an array in option ${ name }`);
throw new Error(`Expected ${prop} to be an array in option ${name}`);
}

@@ -308,0 +308,0 @@ }

{
"name": "babel-preset-babili",
"version": "0.0.10",
"version": "0.0.11",
"description": "",

@@ -15,15 +15,15 @@ "homepage": "https://github.com/babel/babili#readme",

"dependencies": {
"babel-plugin-minify-constant-folding": "^0.0.3",
"babel-plugin-minify-dead-code-elimination": "^0.1.2",
"babel-plugin-minify-constant-folding": "^0.0.4",
"babel-plugin-minify-dead-code-elimination": "^0.1.3",
"babel-plugin-minify-flip-comparisons": "^0.0.2",
"babel-plugin-minify-guarded-expressions": "^0.0.4",
"babel-plugin-minify-infinity": "^0.0.3",
"babel-plugin-minify-mangle-names": "^0.0.6",
"babel-plugin-minify-mangle-names": "^0.0.7",
"babel-plugin-minify-numeric-literals": "^0.0.1",
"babel-plugin-minify-replace": "^0.0.1",
"babel-plugin-minify-simplify": "^0.0.6",
"babel-plugin-minify-simplify": "^0.0.7",
"babel-plugin-minify-type-constructors": "^0.0.3",
"babel-plugin-transform-inline-consecutive-adds": "^0.0.2",
"babel-plugin-transform-member-expression-literals": "^6.8.1",
"babel-plugin-transform-merge-sibling-variables": "^6.8.1",
"babel-plugin-transform-merge-sibling-variables": "^6.8.2",
"babel-plugin-transform-minify-booleans": "^6.8.0",

@@ -34,3 +34,3 @@ "babel-plugin-transform-property-literals": "^6.8.1",

"babel-plugin-transform-remove-debugger": "^6.8.0",
"babel-plugin-transform-remove-undefined": "^0.0.4",
"babel-plugin-transform-remove-undefined": "^0.0.5",
"babel-plugin-transform-simplify-comparison-operators": "^6.8.1",

@@ -37,0 +37,0 @@ "babel-plugin-transform-undefined-to-void": "^6.8.0",

@@ -59,3 +59,3 @@ # babel-preset-babili

All options are **enabled** by default **except** the ones with explicit mention - `(Default: false)`
All options are **enabled** by default **except** the ones with an explicit mention - `(Default: false)`

@@ -101,6 +101,6 @@ Three types of options:

"mangle": {
"blacklist": [
"ParserError",
"NetworkError"
]
"blacklist": {
"ParserError": true,
"NetworkError": false
}
}

@@ -107,0 +107,0 @@ }]]

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