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

babel-plugin-minify-type-constructors

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-minify-type-constructors - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

8

lib/index.js

@@ -9,3 +9,2 @@ "use strict";

if (t.isIdentifier(node.callee, { name: "Array" }) && !path.scope.getBinding("Array")) {
if (constructorArgs.length === 0) {

@@ -59,3 +58,2 @@ // Array() -> []

if (t.isIdentifier(node.callee, { name: "Object" }) && !path.scope.getBinding("Object")) {
var isVoid0 = require("babel-helper-is-void-0")(t);

@@ -107,3 +105,7 @@ var arg = node.arguments[0];

return {
boolean, number, string, array, object
boolean,
number,
string,
array,
object
};

@@ -110,0 +112,0 @@ }

{
"name": "babel-plugin-minify-type-constructors",
"version": "0.0.4",
"version": "0.1.0",
"description": "",

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

"dependencies": {
"babel-helper-is-void-0": "^0.0.1"
"babel-helper-is-void-0": "^0.1.0"
},
"devDependencies": {}
}
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