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

@bignum/template

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bignum/template - npm Package Compare versions

Comparing version 0.2.9 to 0.3.0

2

lib/index.js

@@ -9,3 +9,3 @@ // src/index.mts

if (typeof value === "number") {
if (Math.trunc(value) === value)
if (Number.isSafeInteger(value))
return BigInt(value);

@@ -12,0 +12,0 @@ } else if (typeof value === "string") {

{
"name": "@bignum/template",
"version": "0.2.9",
"version": "0.3.0",
"description": "Write formulas with template literals.",

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

"@bignum/shared": "^0.1.2",
"@bignum/template-compiler": "^0.2.0"
"@bignum/template-compiler": "^0.3.0"
},
"devDependencies": {}
}

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