@ganache/rlp
Advanced tools
Comparing version 0.1.1-internal.1341 to 0.1.1-rc.0
@@ -11,3 +11,3 @@ "use strict"; | ||
* | ||
* @param input | ||
* @param input - | ||
**/ | ||
@@ -30,3 +30,3 @@ function encodeRange(items, start, length) { | ||
* | ||
* @param ranges | ||
* @param ranges - | ||
* @returns returns a Buffer of encoded data | ||
@@ -54,3 +54,3 @@ */ | ||
* RLP Encoding based on: https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-RLP | ||
* @param input | ||
* @param input - | ||
* @returns returns a Buffer of encoded data | ||
@@ -97,5 +97,5 @@ **/ | ||
else { | ||
const hexLength = utils_1.uintToBuffer(len); | ||
const hexLength = (0, utils_1.uintToBuffer)(len); | ||
const lLength = hexLength.length; | ||
const firstByte = utils_1.uintToBuffer(offset + 55 + lLength); | ||
const firstByte = (0, utils_1.uintToBuffer)(offset + 55 + lLength); | ||
return Buffer.concat([firstByte, hexLength], firstByte.length + lLength); | ||
@@ -106,5 +106,5 @@ } | ||
function decode(input) { | ||
return rlp_1.decode(input); | ||
return (0, rlp_1.decode)(input); | ||
} | ||
exports.decode = decode; | ||
//# sourceMappingURL=index.js.map |
@@ -6,6 +6,6 @@ { | ||
}, | ||
"version": "0.1.1-internal.1341+f3e1b8f0", | ||
"version": "0.1.1-rc.0", | ||
"description": "Recursive Length Prefix Encoding Module", | ||
"author": "David Murdoch", | ||
"homepage": "https://github.com/trufflesuite/ganache-core/tree/develop/src/packages/rlp#readme", | ||
"homepage": "https://github.com/trufflesuite/ganache/tree/develop/src/packages/rlp#readme", | ||
"license": "MIT", | ||
@@ -25,12 +25,12 @@ "main": "lib/index.js", | ||
"type": "git", | ||
"url": "https://github.com/trufflesuite/ganache-core.git", | ||
"url": "https://github.com/trufflesuite/ganache.git", | ||
"directory": "src/packages/rlp" | ||
}, | ||
"scripts": { | ||
"tsc": "ttsc --build", | ||
"tsc": "tsc --build", | ||
"test": "nyc npm run mocha", | ||
"mocha": "cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true mocha --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'" | ||
"mocha": "cross-env DE_FILES=true mocha --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/trufflesuite/ganache-core/issues" | ||
"url": "https://github.com/trufflesuite/ganache/issues" | ||
}, | ||
@@ -53,15 +53,14 @@ "keywords": [ | ||
"dependencies": { | ||
"@ganache/utils": "0.1.1-internal.1341+f3e1b8f0", | ||
"@ganache/utils": "0.1.1-rc.0", | ||
"rlp": "2.2.6" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "8.2.2", | ||
"cross-env": "7.0.2", | ||
"mocha": "8.4.0", | ||
"@types/mocha": "9.0.0", | ||
"cross-env": "7.0.3", | ||
"mocha": "9.1.3", | ||
"nyc": "15.1.0", | ||
"ts-node": "9.0.0", | ||
"ttypescript": "1.5.12", | ||
"typescript": "4.1.3" | ||
"ts-node": "10.4.0", | ||
"typescript": "4.5.2" | ||
}, | ||
"gitHead": "f3e1b8f0152ffc404d4aee0a73237ba6ba57ada7" | ||
"gitHead": "b02135d151819b81667de25c4c3983784886438d" | ||
} |
@@ -20,3 +20,3 @@ /// <reference types="node" /> | ||
* | ||
* @param input | ||
* @param input - | ||
**/ | ||
@@ -27,3 +27,3 @@ export declare function encodeRange<T extends EncodingInput | Readonly<EncodingInput>, Start extends RangeOf<T["length"]>>(items: T, start: Start, length: Exclude<Remainders<T["length"], Start>, 0>): EncodedPart; | ||
* | ||
* @param ranges | ||
* @param ranges - | ||
* @returns returns a Buffer of encoded data | ||
@@ -34,3 +34,3 @@ */ | ||
* RLP Encoding based on: https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-RLP | ||
* @param input | ||
* @param input - | ||
* @returns returns a Buffer of encoded data | ||
@@ -37,0 +37,0 @@ **/ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6
0
40992
12
201
+ Added@ganache/utils@0.1.1-rc.0(transitive)
+ Added@trufflesuite/bigint-buffer@1.1.9(transitive)
+ Addedemittery@0.10.0(transitive)
+ Addedkeccak@3.0.1(transitive)
+ Addednode-addon-api@2.0.2(transitive)
+ Addednode-gyp-build@4.3.0(transitive)
+ Addedseedrandom@3.0.5(transitive)
Updated@ganache/utils@0.1.1-rc.0