babel-plugin-minify-infinity
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -11,3 +11,3 @@ "use strict"; | ||
// Infinity -> 1 / 0 | ||
Identifier: function Identifier(path) { | ||
Identifier(path) { | ||
if (path.node.name !== "Infinity") { | ||
@@ -14,0 +14,0 @@ return; |
{ | ||
"name": "babel-plugin-minify-infinity", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/babel/babili#readme", |
@@ -20,3 +20,3 @@ # babel-plugin-minify-infinity | ||
```sh | ||
$ npm install babel-plugin-minify-infinity | ||
npm install babel-plugin-minify-infinity | ||
``` | ||
@@ -39,3 +39,3 @@ | ||
```sh | ||
$ babel --plugins minify-infinity script.js | ||
babel --plugins minify-infinity script.js | ||
``` | ||
@@ -42,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1750