Socket
Socket
Sign inDemoInstall

@hestia-earth/utils

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hestia-earth/utils - npm Package Compare versions

Comparing version 0.11.2 to 0.11.3

2

dist/number.js

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

return [
(_a = /^(-)?[\d\.]+(e|e-)?[\d]+$/.exec(("" + n))) === null || _a === void 0 ? void 0 : _a.length,
(_a = /^(-)?[\d\.]+((e|e-)[\d]+)?$/.exec("" + n)) === null || _a === void 0 ? void 0 : _a.length,
!isNaN(parseFloat("" + n)),

@@ -33,0 +33,0 @@ isFinite(parseFloat("" + n))

@@ -40,6 +40,6 @@ "use strict";

})
// handle words followed by numbers
.replace(/([A-Z][a-z]+)([0-9]{2,})/g, '$1-$2')
// handle all capital letters
.replace(/([A-Z])/g, function (g) { return "-" + g[0].toLowerCase(); })
// handle years
.replace(/([0-9]{4})/g, function (g) { return "-" + g; })
// handle underscores

@@ -46,0 +46,0 @@ .replace(/[\_\.]/g, '-')

{
"name": "@hestia-earth/utils",
"version": "0.11.2",
"version": "0.11.3",
"description": "Hestia Utils library",

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

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