Socket
Socket
Sign inDemoInstall

@axonite.io/axonite-common-utils

Package Overview
Dependencies
0
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "@axonite.io/axonite-common-utils",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "util.js",

'use strict';
var promise = require('bluebird');
var bigInt = require("big-integer");

@@ -237,6 +238,12 @@ var util = {

return url;
},
axoniteIdToBigInt : function (id) {
if (!id) return null;
var minInt64 = bigInt("-9223372036854775808", 10);
var newId = bigInt(id, 16);
return (newId.plus(minInt64)).toString();
}
};
module.exports = util;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc