babel-plugin-minify-numeric-literals
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -9,3 +9,3 @@ "use strict"; | ||
visitor: { | ||
NumericLiteral: function NumericLiteral(path) { | ||
NumericLiteral(path) { | ||
if (!path.node.extra) return; | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "babel-plugin-minify-numeric-literals", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Shortens numeric literals using scientific notation", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/babel/babili#readme", |
@@ -22,3 +22,3 @@ # babel-plugin-minify-mangle-names | ||
```sh | ||
$ npm install babel-plugin-minify-numeric-literals | ||
npm install babel-plugin-minify-numeric-literals | ||
``` | ||
@@ -41,3 +41,3 @@ | ||
```sh | ||
$ babel --plugins minify-numeric-literals script.js | ||
babel --plugins minify-numeric-literals script.js | ||
``` | ||
@@ -44,0 +44,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
1740
1