Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

long

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

long - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

17

index.d.ts

@@ -80,3 +80,7 @@ declare class Long {

*/
static fromString(str: string, unsigned?: boolean | number, radix?: number): Long;
static fromString(
str: string,
unsigned?: boolean | number,
radix?: number
): Long;

@@ -106,3 +110,10 @@ /**

*/
static fromValue(val: Long | number | string | { low: number, high: number, unsigned: boolean }, unsigned?: boolean): Long;
static fromValue(
val:
| Long
| number
| string
| { low: number; high: number; unsigned: boolean },
unsigned?: boolean
): Long;

@@ -448,2 +459,2 @@ /**

export = Long; // compatible with `import Long from "long"`
export default Long; // compatible with `import Long from "long"`

17

package.json
{
"name": "long",
"version": "5.2.1",
"version": "5.2.2",
"author": "Daniel Wirtz <dcode@dcode.io>",

@@ -21,8 +21,13 @@ "description": "A Long class for representing a 64-bit two's-complement integer value.",

"main": "umd/index.js",
"types": "index.d.ts",
"types": "umd/index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./umd/index.js"
"import": {
"default": "./index.js",
"types": "./index.d.ts"
},
"require": {
"default": "./umd/index.js",
"types": "./umd/index.d.ts"
}
}

@@ -44,4 +49,4 @@ },

"devDependencies": {
"esm2umd": "^0.2.0"
"esm2umd": "^0.2.1"
}
}

@@ -1432,2 +1432,2 @@ // GENERATED FILE. DO NOT EDIT.

if (typeof define === 'function' && define.amd) define([], function() { return Long; });
else if (typeof module === 'object' && typeof exports==='object') module.exports = Long;
else if (typeof module === 'object' && typeof exports === 'object') module.exports = Long;
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