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

babel-plugin-minify-numeric-literals

Package Overview
Dependencies
Maintainers
5
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-minify-numeric-literals - npm Package Compare versions

Comparing version 0.4.0-alpha.6546ad11 to 0.4.0-alpha.caaefb4c

2

lib/index.js

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

if (!path.node.extra) return;
var normal = path.node.value.toString().replace(/^0\./, ".");

@@ -27,4 +26,5 @@ var exponential = path.node.value.toExponential().replace(/\+/g, "");

}
}
};
};
{
"name": "babel-plugin-minify-numeric-literals",
"version": "0.4.0-alpha.6546ad11",
"version": "0.4.0-alpha.caaefb4c",
"description": "Shortens numeric literals using scientific notation",

@@ -5,0 +5,0 @@ "keywords": [

@@ -46,5 +46,5 @@ # babel-plugin-minify-numeric-literals

```javascript
require("babel-core").transform("code", {
require("@babel/core").transform("code", {
plugins: ["minify-numeric-literals"]
});
```
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