New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fnmain/number

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fnmain/number - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

dist/index.js

@@ -90,3 +90,3 @@ "use strict";

// Check for suffixes (k, m, g, t)
const suffixMatch = input.match(/([kmgKMGtT万萬w亿])$/);
const suffixMatch = input.match(/([kmgbt万萬w亿])$/i);
if (suffixMatch) {

@@ -93,0 +93,0 @@ const number = parseFloat(input.slice(0, -1));

{
"name": "@fnmain/number",
"version": "1.3.0",
"version": "1.3.1",
"description": "number utils",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -112,3 +112,3 @@ type Options = {

// Check for suffixes (k, m, g, t)
const suffixMatch = input.match(/([kmgKMGtT万萬w亿])$/);
const suffixMatch = input.match(/([kmgbt万萬w亿])$/i);
if (suffixMatch) {

@@ -115,0 +115,0 @@ const number = parseFloat(input.slice(0, -1));

Sorry, the diff of this file is not supported yet

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