-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 19.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"_args": [
[
{
"raw": "long@https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"scope": null,
"escapedName": "long",
"name": "long",
"rawSpec": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"spec": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"type": "remote"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "long@https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"_id": "long@3.2.0",
"_inCache": true,
"_location": "/firebase-admin/long",
"_phantomChildren": {},
"_requested": {
"raw": "long@https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"scope": null,
"escapedName": "long",
"name": "long",
"rawSpec": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"spec": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/firebase-admin",
"/firebase-admin/bytebuffer",
"/firebase-admin/google-gax/protobufjs"
],
"_resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"_shasum": "d821b7138ca1cb581c172990ef14db200b5c474b",
"_shrinkwrap": null,
"_spec": "long@https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"_where": "/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin",
"author": {
"name": "Daniel Wirtz",
"email": "dcode@dcode.io"
},
"bugs": {
"url": "https://github.com/dcodeIO/long.js/issues"
},
"dependencies": {},
"description": "A Long class for representing a 64-bit two's-complement integer value.",
"devDependencies": {
"closurecompiler": "^1.6",
"metascript": "~0",
"testjs": "latest"
},
"engines": {
"node": ">=0.6"
},
"homepage": "https://github.com/dcodeIO/long.js#readme",
"keywords": [
"math"
],
"license": "Apache-2.0",
"main": "dist/long.js",
"name": "long",
"optionalDependencies": {},
"readme": "![long.js - A Long class for representing a 64 bit two's-complement integer ](https://raw.github.com/dcodeIO/long.js/master/long.png)\n=======\nA Long class for representing a 64 bit two's-complement integer value derived from the [Closure Library](https://github.com/google/closure-library)\nfor stand-alone use and extended with unsigned support.\n\n[![Build Status](https://travis-ci.org/dcodeIO/long.js.svg)](https://travis-ci.org/dcodeIO/long.js)\n[![Donate](https://raw.githubusercontent.com/dcodeIO/long.js/master/donate.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dcode%40dcode.io&item_name=%3C3%20long.js)\n\nBackground\n----------\nAs of [ECMA-262 5th Edition](http://ecma262-5.com/ELS5_HTML.htm#Section_8.5), \"all the positive and negative integers\nwhose magnitude is no greater than 2<sup>53</sup> are representable in the Number type\", which is \"representing the\ndoubleprecision 64-bit format IEEE 754 values as specified in the IEEE Standard for Binary Floating-Point Arithmetic\".\nThe [maximum safe integer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\nin JavaScript is 2<sup>53</sup>-1.\n\nExample: 2<sup>64</sup>-1 is 18446744073709551615 but in JavaScript it evaluates to `18446744073709552000`.\n\nFurthermore, bitwise operators in JavaScript \"deal only with integers in the range −2<sup>31</sup> through\n2<sup>31</sup>−1, inclusive, or in the range 0 through 2<sup>32</sup>−1, inclusive. These operators accept any value of\nthe Number type but first convert each such value to one of 2<sup>32</sup> integer values.\"\n\nIn some use cases, however, it is required to be able to reliably work with and perform bitwise operations on the full\n64 bits. This is where long.js comes into play.\n\nUsage\n-----\nThe class is compatible with CommonJS and AMD loaders and is exposed globally as `dcodeIO.Long` if neither is available.\n\n```javascript\nvar Long = require(\"long\");\n\nvar longVal = new Long(0xFFFFFFFF, 0x7FFFFFFF);\nconsole.log(longVal.toString());\n...\n```\n\nAPI\n---\n\n#### new Long(low, high=, unsigned=)\n\nConstructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.\nSee the from* functions below for more convenient ways of constructing Longs.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| low | *number* | The low (signed) 32 bits of the long \n| high | *number* | The high (signed) 32 bits of the long \n| unsigned | *boolean* | Whether unsigned or not, defaults to `false` for signed \n\n---\n\n#### Long.MAX_UNSIGNED_VALUE\n\nMaximum unsigned value.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.MAX_VALUE\n\nMaximum signed value.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.MIN_VALUE\n\nMinimum signed value.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.NEG_ONE\n\nSigned negative one.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.ONE\n\nSigned one.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.UONE\n\nUnsigned one.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.UZERO\n\nUnsigned zero.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.ZERO\n\nSigned zero.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *!Long* |\n\n#### Long.fromBits(lowBits, highBits, unsigned=)\n\nReturns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is\nassumed to use 32 bits.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| lowBits | *number* | The low 32 bits \n| highBits | *number* | The high 32 bits \n| unsigned | *boolean* | Whether unsigned or not, defaults to `false` for signed \n| **@returns** | *!Long* | The corresponding Long value \n\n#### Long.fromInt(value, unsigned=)\n\nReturns a Long representing the given 32 bit integer value.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| value | *number* | The 32 bit integer in question \n| unsigned | *boolean* | Whether unsigned or not, defaults to `false` for signed \n| **@returns** | *!Long* | The corresponding Long value \n\n#### Long.fromNumber(value, unsigned=)\n\nReturns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| value | *number* | The number in question \n| unsigned | *boolean* | Whether unsigned or not, defaults to `false` for signed \n| **@returns** | *!Long* | The corresponding Long value \n\n#### Long.fromString(str, unsigned=, radix=)\n\nReturns a Long representation of the given string, written using the specified radix.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| str | *string* | The textual representation of the Long \n| unsigned | *boolean | number* | Whether unsigned or not, defaults to `false` for signed \n| radix | *number* | The radix in which the text is written (2-36), defaults to 10 \n| **@returns** | *!Long* | The corresponding Long value \n\n#### Long.isLong(obj)\n\nTests if the specified object is a Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| obj | *** | Object \n| **@returns** | *boolean* | \n\n#### Long.fromValue(val)\n\nConverts the specified value to a Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| val | *!Long | number | string | !{low: number, high: number, unsigned: boolean}* | Value \n| **@returns** | *!Long* | \n\n---\n\n#### Long#high\n\nThe high 32 bits as a signed value.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *number* |\n\n#### Long#low\n\nThe low 32 bits as a signed value.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *number* |\n\n#### Long#unsigned\n\nWhether unsigned or not.\n\n| | |\n|-----------------|-----------------|\n| **@type** | *boolean* |\n\n#### Long#add(addend)\n\nReturns the sum of this and the specified Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| addend | *!Long | number | string* | Addend \n| **@returns** | *!Long* | Sum \n\n#### Long#and(other)\n\nReturns the bitwise AND of this Long and the specified.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other Long \n| **@returns** | *!Long* | \n\n#### Long#compare/comp(other)\n\nCompares this Long's value with the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *number* | 0 if they are the same, 1 if the this is greater and -1 if the given one is greater \n\n#### Long#divide/div(divisor)\n\nReturns this Long divided by the specified.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| divisor | *!Long | number | string* | Divisor \n| **@returns** | *!Long* | Quotient \n\n#### Long#equals/eq(other)\n\nTests if this Long's value equals the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *boolean* | \n\n#### Long#getHighBits()\n\nGets the high 32 bits as a signed integer.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | Signed high bits \n\n#### Long#getHighBitsUnsigned()\n\nGets the high 32 bits as an unsigned integer.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | Unsigned high bits \n\n#### Long#getLowBits()\n\nGets the low 32 bits as a signed integer.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | Signed low bits \n\n#### Long#getLowBitsUnsigned()\n\nGets the low 32 bits as an unsigned integer.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | Unsigned low bits \n\n#### Long#getNumBitsAbs()\n\nGets the number of bits needed to represent the absolute value of this Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | \n\n#### Long#greaterThan/gt(other)\n\nTests if this Long's value is greater than the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *boolean* | \n\n#### Long#greaterThanOrEqual/gte(other)\n\nTests if this Long's value is greater than or equal the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *boolean* | \n\n#### Long#isEven()\n\nTests if this Long's value is even.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *boolean* | \n\n#### Long#isNegative()\n\nTests if this Long's value is negative.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *boolean* | \n\n#### Long#isOdd()\n\nTests if this Long's value is odd.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *boolean* | \n\n#### Long#isPositive()\n\nTests if this Long's value is positive.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *boolean* | \n\n#### Long#isZero()\n\nTests if this Long's value equals zero.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *boolean* | \n\n#### Long#lessThan/lt(other)\n\nTests if this Long's value is less than the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *boolean* | \n\n#### Long#lessThanOrEqual/lte(other)\n\nTests if this Long's value is less than or equal the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *boolean* | \n\n#### Long#modulo/mod(divisor)\n\nReturns this Long modulo the specified.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| divisor | *!Long | number | string* | Divisor \n| **@returns** | *!Long* | Remainder \n\n#### Long#multiply/mul(multiplier)\n\nReturns the product of this and the specified Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| multiplier | *!Long | number | string* | Multiplier \n| **@returns** | *!Long* | Product \n\n#### Long#negate/neg()\n\nNegates this Long's value.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *!Long* | Negated Long \n\n#### Long#not()\n\nReturns the bitwise NOT of this Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *!Long* | \n\n#### Long#notEquals/neq(other)\n\nTests if this Long's value differs from the specified's.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other value \n| **@returns** | *boolean* | \n\n#### Long#or(other)\n\nReturns the bitwise OR of this Long and the specified.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other Long \n| **@returns** | *!Long* | \n\n#### Long#shiftLeft/shl(numBits)\n\nReturns this Long with bits shifted to the left by the given amount.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| numBits | *number | !Long* | Number of bits \n| **@returns** | *!Long* | Shifted Long \n\n#### Long#shiftRight/shr(numBits)\n\nReturns this Long with bits arithmetically shifted to the right by the given amount.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| numBits | *number | !Long* | Number of bits \n| **@returns** | *!Long* | Shifted Long \n\n#### Long#shiftRightUnsigned/shru(numBits)\n\nReturns this Long with bits logically shifted to the right by the given amount.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| numBits | *number | !Long* | Number of bits \n| **@returns** | *!Long* | Shifted Long \n\n#### Long#subtract/sub(subtrahend)\n\nReturns the difference of this and the specified Long.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| subtrahend | *!Long | number | string* | Subtrahend \n| **@returns** | *!Long* | Difference \n\n#### Long#toInt()\n\nConverts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | \n\n#### Long#toNumber()\n\nConverts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *number* | \n\n#### Long#toSigned()\n\nConverts this Long to signed.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *!Long* | Signed long \n\n#### Long#toString(radix=)\n\nConverts the Long to a string written in the specified radix.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| radix | *number* | Radix (2-36), defaults to 10 \n| **@returns** | *string* | \n| **@throws** | *RangeError* | If `radix` is out of range \n\n#### Long#toUnsigned()\n\nConverts this Long to unsigned.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| **@returns** | *!Long* | Unsigned long \n\n#### Long#xor(other)\n\nReturns the bitwise XOR of this Long and the given one.\n\n| Parameter | Type | Description\n|-----------------|-----------------|---------------\n| other | *!Long | number | string* | Other Long \n| **@returns** | *!Long* | \n\nDownloads\n---------\n* [Distributions](https://github.com/dcodeIO/long.js/tree/master/dist)\n* [ZIP-Archive](https://github.com/dcodeIO/long.js/archive/master.zip)\n* [Tarball](https://github.com/dcodeIO/long.js/tarball/master)\n\nLicense\n-------\nApache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/dcodeIO/long.js.git"
},
"scripts": {
"build": "node scripts/build.js",
"compile": "ccjs dist/long.js --compilation_level=SIMPLE_OPTIMIZATIONS --create_source_map=dist/long.min.map > dist/long.min.js",
"compress": "gzip -c -9 dist/long.min.js > dist/long.min.js.gz",
"make": "npm run-script build && npm run-script compile && npm run-script compress && npm test",
"test": "node node_modules/testjs/bin/testjs tests/suite.js"
},
"version": "3.2.0"
}