Socket
Socket
Sign inDemoInstall

babel-plugin-minify-constant-folding

Package Overview
Dependencies
Maintainers
5
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.5.0-alpha.b4285271 to 0.5.0-alpha.b5637c57

8

lib/index.js

@@ -119,3 +119,4 @@ "use strict";

}) {
const node = path.node;
const node = path.node,
parent = path.parent;

@@ -132,2 +133,7 @@ if (node[seen]) {

return;
} // Avoid replacing the values for identifiers in exports
if (t.isExportSpecifier(parent)) {
return;
} // -0 maybe compared via dividing and then checking against -Infinity

@@ -134,0 +140,0 @@ // Also -X will always be -X.

4

package.json
{
"name": "babel-plugin-minify-constant-folding",
"version": "0.5.0-alpha.b4285271",
"version": "0.5.0-alpha.b5637c57",
"description": "",

@@ -15,4 +15,4 @@ "keywords": [

"dependencies": {
"babel-helper-evaluate-path": "^0.5.0-alpha.b4285271"
"babel-helper-evaluate-path": "^0.5.0-alpha.b5637c57"
}
}

@@ -59,3 +59,3 @@ # babel-plugin-minify-constant-folding

```sh
npm install babel-plugin-minify-constant-folding
npm install babel-plugin-minify-constant-folding --save-dev
```

@@ -62,0 +62,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