Socket
Socket
Sign inDemoInstall

babel-plugin-minify-constant-folding

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-minify-constant-folding - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

8

lib/index.js
"use strict";
var evaluate = require("babel-helper-evaluate-path");
module.exports = function (_ref) {
var t = _ref.types;
var traverse = _ref.traverse;
var t = _ref.types,
traverse = _ref.traverse;

@@ -97,3 +99,3 @@ var seen = Symbol("seen");

var res = path.evaluate();
var res = evaluate(path);
if (res.confident) {

@@ -100,0 +102,0 @@ // Avoid fractions because they can be longer than the original expression.

{
"name": "babel-plugin-minify-constant-folding",
"version": "0.0.1",
"version": "0.0.3",
"description": "",

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

],
"dependencies": {},
"dependencies": {
"babel-helper-evaluate-path": "^0.0.3"
},
"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