diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 0524e30e7a..24810e0cc2 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -744,10 +744,14 @@ "dev": true }, "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==", - "dev": true + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/long/-/long-5.0.0.tgz", + "integrity": "sha512-eQs9RsucA/LNjnMoJvWG/nXa7Pot/RbBzilF/QRIU/xRl+0ApxrSUFsV5lmf01SvSlqMzJ7Zwxe440wmz2SJGA==", + "deprecated": "This is a stub types definition. long provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "long": "*" + } }, "node_modules/@types/node": { "version": "16.11.22", diff --git a/node_modules/@types/long/LICENSE b/node_modules/@types/long/LICENSE old mode 100644 new mode 100755 index 4b1ad51b2f..9e841e7a26 --- a/node_modules/@types/long/LICENSE +++ b/node_modules/@types/long/LICENSE @@ -1,21 +1,21 @@ - MIT License - - Copyright (c) Microsoft Corporation. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/node_modules/@types/long/README.md b/node_modules/@types/long/README.md old mode 100644 new mode 100755 index 1136e4f809..7e4466fd60 --- a/node_modules/@types/long/README.md +++ b/node_modules/@types/long/README.md @@ -1,16 +1,3 @@ -# Installation -> `npm install --save @types/long` - -# Summary -This package contains type definitions for long.js (https://github.com/dcodeIO/long.js). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/long. - -### Additional Details - * Last updated: Wed, 22 Jan 2020 19:19:46 GMT - * Dependencies: none - * Global values: `Long` - -# Credits -These definitions were written by Peter Kooijmans (https://github.com/peterkooijmans). +This is a stub types definition for @types/long (https://github.com/dcodeIO/long.js#readme). + +long provides its own type definitions, so you don't need @types/long installed! \ No newline at end of file diff --git a/node_modules/@types/long/index.d.ts b/node_modules/@types/long/index.d.ts deleted file mode 100644 index 39f8ab508e..0000000000 --- a/node_modules/@types/long/index.d.ts +++ /dev/null @@ -1,389 +0,0 @@ -// Type definitions for long.js 4.0.0 -// Project: https://github.com/dcodeIO/long.js -// Definitions by: Peter Kooijmans -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Definitions by: Denis Cappellin - -export = Long; -export as namespace Long; - -declare const Long: Long.LongConstructor; -type Long = Long.Long; -declare namespace Long { - interface LongConstructor { - /** - * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as signed integers. See the from* functions below for more convenient ways of constructing Longs. - */ - new( low: number, high?: number, unsigned?: boolean ): Long; - prototype: Long; - /** - * Maximum unsigned value. - */ - MAX_UNSIGNED_VALUE: Long; - - /** - * Maximum signed value. - */ - MAX_VALUE: Long; - - /** - * Minimum signed value. - */ - MIN_VALUE: Long; - - /** - * Signed negative one. - */ - NEG_ONE: Long; - - /** - * Signed one. - */ - ONE: Long; - - /** - * Unsigned one. - */ - UONE: Long; - - /** - * Unsigned zero. - */ - UZERO: Long; - - /** - * Signed zero - */ - ZERO: Long; - - /** - * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits. - */ - fromBits( lowBits:number, highBits:number, unsigned?:boolean ): Long; - - /** - * Returns a Long representing the given 32 bit integer value. - */ - fromInt( value: number, unsigned?: boolean ): Long; - - /** - * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. - */ - fromNumber( value: number, unsigned?: boolean ): Long; - - /** - * Returns a Long representation of the given string, written using the specified radix. - */ - fromString( str: string, unsigned?: boolean | number, radix?: number ): Long; - - /** - * Creates a Long from its byte representation. - */ - fromBytes( bytes: number[], unsigned?: boolean, le?: boolean ): Long; - - /** - * Creates a Long from its little endian byte representation. - */ - fromBytesLE( bytes: number[], unsigned?: boolean ): Long; - - /** - * Creates a Long from its little endian byte representation. - */ - fromBytesBE( bytes: number[], unsigned?: boolean ): Long; - - /** - * Tests if the specified object is a Long. - */ - isLong( obj: any ): obj is Long; - - /** - * Converts the specified value to a Long. - */ - fromValue( val: Long | number | string | {low: number, high: number, unsigned: boolean} ): Long; - } - interface Long - { - /** - * The high 32 bits as a signed value. - */ - high: number; - - /** - * The low 32 bits as a signed value. - */ - low: number; - - /** - * Whether unsigned or not. - */ - unsigned: boolean; - - /** - * Returns the sum of this and the specified Long. - */ - add( addend: number | Long | string ): Long; - - /** - * Returns the bitwise AND of this Long and the specified. - */ - and( other: Long | number | string ): Long; - - /** - * Compares this Long's value with the specified's. - */ - compare( other: Long | number | string ): number; - - /** - * Compares this Long's value with the specified's. - */ - comp( other: Long | number | string ): number; - - /** - * Returns this Long divided by the specified. - */ - divide( divisor: Long | number | string ): Long; - - /** - * Returns this Long divided by the specified. - */ - div( divisor: Long | number | string ): Long; - - /** - * Tests if this Long's value equals the specified's. - */ - equals( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value equals the specified's. - */ - eq( other: Long | number | string ): boolean; - - /** - * Gets the high 32 bits as a signed integer. - */ - getHighBits(): number; - - /** - * Gets the high 32 bits as an unsigned integer. - */ - getHighBitsUnsigned(): number; - - /** - * Gets the low 32 bits as a signed integer. - */ - getLowBits(): number; - - /** - * Gets the low 32 bits as an unsigned integer. - */ - getLowBitsUnsigned(): number; - - /** - * Gets the number of bits needed to represent the absolute value of this Long. - */ - getNumBitsAbs(): number; - - /** - * Tests if this Long's value is greater than the specified's. - */ - greaterThan( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is greater than the specified's. - */ - gt( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is greater than or equal the specified's. - */ - greaterThanOrEqual( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is greater than or equal the specified's. - */ - gte( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is even. - */ - isEven(): boolean; - - /** - * Tests if this Long's value is negative. - */ - isNegative(): boolean; - - /** - * Tests if this Long's value is odd. - */ - isOdd(): boolean; - - /** - * Tests if this Long's value is positive. - */ - isPositive(): boolean; - - /** - * Tests if this Long's value equals zero. - */ - isZero(): boolean; - - /** - * Tests if this Long's value is less than the specified's. - */ - lessThan( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is less than the specified's. - */ - lt( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is less than or equal the specified's. - */ - lessThanOrEqual( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value is less than or equal the specified's. - */ - lte( other: Long | number | string ): boolean; - - /** - * Returns this Long modulo the specified. - */ - modulo( other: Long | number | string ): Long; - - /** - * Returns this Long modulo the specified. - */ - mod( other: Long | number | string ): Long; - - /** - * Returns the product of this and the specified Long. - */ - multiply( multiplier: Long | number | string ): Long; - - /** - * Returns the product of this and the specified Long. - */ - mul( multiplier: Long | number | string ): Long; - - /** - * Negates this Long's value. - */ - negate(): Long; - - /** - * Negates this Long's value. - */ - neg(): Long; - - /** - * Returns the bitwise NOT of this Long. - */ - not(): Long; - - /** - * Tests if this Long's value differs from the specified's. - */ - notEquals( other: Long | number | string ): boolean; - - /** - * Tests if this Long's value differs from the specified's. - */ - neq( other: Long | number | string ): boolean; - - /** - * Returns the bitwise OR of this Long and the specified. - */ - or( other: Long | number | string ): Long; - - /** - * Returns this Long with bits shifted to the left by the given amount. - */ - shiftLeft( numBits: number | Long ): Long; - - /** - * Returns this Long with bits shifted to the left by the given amount. - */ - shl( numBits: number | Long ): Long; - - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - */ - shiftRight( numBits: number | Long ): Long; - - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - */ - shr( numBits: number | Long ): Long; - - /** - * Returns this Long with bits logically shifted to the right by the given amount. - */ - shiftRightUnsigned( numBits: number | Long ): Long; - - /** - * Returns this Long with bits logically shifted to the right by the given amount. - */ - shru( numBits: number | Long ): Long; - - /** - * Returns the difference of this and the specified Long. - */ - subtract( subtrahend: number | Long | string ): Long; - - /** - * Returns the difference of this and the specified Long. - */ - sub( subtrahend: number | Long |string ): Long; - - /** - * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. - */ - toInt(): number; - - /** - * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). - */ - toNumber(): number; - - /** - * 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. - */ - toSigned(): Long; - - /** - * Converts the Long to a string written in the specified radix. - */ - toString( radix?: number ): string; - - /** - * Converts this Long to unsigned. - */ - toUnsigned(): Long; - - /** - * Returns the bitwise XOR of this Long and the given one. - */ - xor( other: Long | number | string ): Long; - } -} diff --git a/node_modules/@types/long/package.json b/node_modules/@types/long/package.json old mode 100644 new mode 100755 index 101e87f4b5..3ac402dd72 --- a/node_modules/@types/long/package.json +++ b/node_modules/@types/long/package.json @@ -1,24 +1,12 @@ { "name": "@types/long", - "version": "4.0.1", - "description": "TypeScript definitions for long.js", - "license": "MIT", - "contributors": [ - { - "name": "Peter Kooijmans", - "url": "https://github.com/peterkooijmans", - "githubUsername": "peterkooijmans" - } - ], + "version": "5.0.0", + "description": "Stub TypeScript definitions entry for long, which provides its own types definitions", "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/long" - }, "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "5a2ae1424989c49d7303e1f5cc510288bfab1e71e0e2143cdcb9d24ff1c3dc8e", - "typeScriptVersion": "2.8" + "license": "MIT", + "dependencies": { + "long": "*" + }, + "deprecated": "This is a stub types definition. long provides its own type definitions, so you do not need this installed." } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0106673333..cdf948066a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "@ava/typescript": "3.0.1", "@types/adm-zip": "^0.5.0", "@types/js-yaml": "^4.0.5", - "@types/long": "4.0.1", + "@types/long": "5.0.0", "@types/node": "16.11.22", "@types/semver": "^7.3.8", "@types/sinon": "^10.0.2", @@ -800,10 +800,14 @@ "dev": true }, "node_modules/@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==", - "dev": true + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/long/-/long-5.0.0.tgz", + "integrity": "sha512-eQs9RsucA/LNjnMoJvWG/nXa7Pot/RbBzilF/QRIU/xRl+0ApxrSUFsV5lmf01SvSlqMzJ7Zwxe440wmz2SJGA==", + "deprecated": "This is a stub types definition. long provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "long": "*" + } }, "node_modules/@types/node": { "version": "16.11.22", @@ -6575,10 +6579,13 @@ "dev": true }, "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==", - "dev": true + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/long/-/long-5.0.0.tgz", + "integrity": "sha512-eQs9RsucA/LNjnMoJvWG/nXa7Pot/RbBzilF/QRIU/xRl+0ApxrSUFsV5lmf01SvSlqMzJ7Zwxe440wmz2SJGA==", + "dev": true, + "requires": { + "long": "*" + } }, "@types/node": { "version": "16.11.22", diff --git a/package.json b/package.json index faa9ea8ed4..12f4809887 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@ava/typescript": "3.0.1", "@types/adm-zip": "^0.5.0", "@types/js-yaml": "^4.0.5", - "@types/long": "4.0.1", + "@types/long": "5.0.0", "@types/node": "16.11.22", "@types/semver": "^7.3.8", "@types/sinon": "^10.0.2",