@ethereumjs/rlp
Advanced tools
Comparing version 4.0.0-beta.3 to 4.0.0-rc.1
@@ -101,3 +101,3 @@ "use strict"; | ||
return { | ||
data: data, | ||
data, | ||
remainder: input.slice(length), | ||
@@ -119,3 +119,3 @@ }; | ||
return { | ||
data: data, | ||
data, | ||
remainder: input.slice(length + llength), | ||
@@ -122,0 +122,0 @@ }; |
{ | ||
"name": "@ethereumjs/rlp", | ||
"version": "4.0.0-beta.3", | ||
"version": "4.0.0-rc.1", | ||
"description": "Recursive Length Prefix Encoding Module", | ||
@@ -51,15 +51,5 @@ "keywords": [ | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^16.11.7", | ||
"@types/tape": "^4.13.2", | ||
"karma": "^6.3.4", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-firefox-launcher": "^2.1.1", | ||
"karma-tap": "^4.2.0", | ||
"karma-typescript": "^5.5.3", | ||
"nyc": "^15.1.0", | ||
"tape": "^5.3.1", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.4.2" | ||
"engines": { | ||
"node": ">=14" | ||
} | ||
} |
@@ -11,10 +11,14 @@ # @ethereumjs/rlp | ||
## INSTALL | ||
## Installation | ||
`npm install @ethereumjs/rlp` | ||
To obtain the latest version, simply require the project using `npm`: | ||
install with `-g` if you want to use the CLI. | ||
```shell | ||
npm install @ethereumjs/rlp | ||
``` | ||
## USAGE | ||
Install with `-g` if you want to use the CLI. | ||
## Usage | ||
```typescript | ||
@@ -71,3 +75,3 @@ import assert from 'assert' | ||
## TESTS | ||
## Tests | ||
@@ -80,3 +84,3 @@ Tests use mocha. | ||
## CODE COVERAGE | ||
## Code Coverage | ||
@@ -89,8 +93,10 @@ Install dev dependencies: `npm install` | ||
# EthereumJS | ||
## EthereumJS | ||
See our organizational [documentation](https://ethereumjs.readthedocs.io) for an introduction to `EthereumJS` as well as information on current standards and best practices. | ||
See our organizational [documentation](https://ethereumjs.readthedocs.io) for an introduction to `EthereumJS` as well as information on current standards and best practices. If you want to join for work or carry out improvements on the libraries, please review our [contribution guidelines](https://ethereumjs.readthedocs.io/en/latest/contributing.html) first. | ||
If you want to join for work or do improvements on the libraries have a look at our [contribution guidelines](https://ethereumjs.readthedocs.io/en/latest/contributing.html). | ||
## License | ||
[MPL-2.0](<https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)>) | ||
[discord-badge]: https://img.shields.io/static/v1?logo=discord&label=discord&message=Join&color=blue | ||
@@ -97,0 +103,0 @@ [discord-link]: https://discord.gg/TNwARpR |
@@ -123,3 +123,3 @@ export type Input = string | number | bigint | Uint8Array | Array<Input> | null | undefined | ||
return { | ||
data: data, | ||
data, | ||
remainder: input.slice(length), | ||
@@ -141,3 +141,3 @@ } | ||
return { | ||
data: data, | ||
data, | ||
remainder: input.slice(length + llength), | ||
@@ -144,0 +144,0 @@ } |
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
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
0
108
51163