Socket
Socket
Sign inDemoInstall

@types/long

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/long - npm Package Compare versions

Comparing version 3.0.32 to 4.0.0

35

long/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for long.js 3.0.2
// Type definitions for long.js 4.0.0
// Project: https://github.com/dcodeIO/long.js

@@ -94,2 +94,17 @@ // Definitions by: Peter Kooijmans <https://github.com/peterkooijmans>

/**
* Creates a Long from its byte representation.
*/
static fromBytes( bytes: number[], unsigned?: boolean, le?: boolean ): Long;
/**
* Creates a Long from its little endian byte representation.
*/
static fromBytesLE( bytes: number[], unsigned?: boolean ): Long;
/**
* Creates a Long from its little endian byte representation.
*/
static fromBytesBE( bytes: number[], unsigned?: boolean ): Long;
/**
* Tests if the specified object is a Long.

@@ -335,2 +350,20 @@ */

/**
* Converts this Long to its byte representation.
*/
toBytes( le?: boolean ): number[];
/**
* Converts this Long to its little endian byte representation.
*/
toBytesLE(): number[];
/**
* Converts this Long to its big endian byte representation.
*/
toBytesBE(): number[];
/**
* Converts this Long to signed.

@@ -337,0 +370,0 @@ */

7

long/package.json
{
"name": "@types/long",
"version": "3.0.32",
"version": "4.0.0",
"description": "TypeScript definitions for long.js",

@@ -9,3 +9,4 @@ "license": "MIT",

"name": "Peter Kooijmans",
"url": "https://github.com/peterkooijmans"
"url": "https://github.com/peterkooijmans",
"githubUsername": "peterkooijmans"
}

@@ -20,4 +21,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "26c346715f4bbe747a7eddec4134408618814ef4340646fcbac955fcdb491a4c",
"typesPublisherContentHash": "cc3246302180c8c161d2e2c0c3f0a419226efa475d2cd5afbe51986d60cd8287",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 21 Aug 2017 21:55:03 GMT
* Last updated: Wed, 25 Apr 2018 00:38:11 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: Long

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