You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

strnum

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strnum - npm Package Compare versions

Comparing version
2.1.1
to
2.1.2
+1
-1
package.json
{
"name": "strnum",
"version": "2.1.1",
"version": "2.1.2",
"description": "Parse String to Number based on configuration",

@@ -5,0 +5,0 @@ "type": "module",

@@ -98,1 +98,7 @@ # strnum

```
# Try out our other work
WishIn - You need it if negative thoughts take over all the time <br>
<a href="https://play.google.com/store/apps/details?id=com.solothought.wishin"> <img src="https://solothought.com/products/assets/images/wishin/YouTubeThumbnail.png" width="500px"/> </a>

@@ -28,3 +28,3 @@ const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;

// return Number.parseInt(val, 8);
}else if (trimmedStr.search(/.+[eE].+/)!== -1) { //eNotation
}else if (trimmedStr.includes('e') || trimmedStr.includes('E')) { //eNotation
return resolveEnotation(str,trimmedStr,options);

@@ -31,0 +31,0 @@ // }else if (options.parseBin && binRegex.test(str)) {