New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/util-rlp

Package Overview
Dependencies
Maintainers
1
Versions
432
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util-rlp - npm Package Compare versions

Comparing version 0.94.0-beta.9 to 0.94.0-beta.10

2

decoder/index.d.ts

@@ -15,2 +15,2 @@ /**

*/
export default function decoder(input?: null | Uint8Array): Uint8Array | Array<any>;
export default function decoder(input?: null | Uint8Array): Uint8Array | Uint8Array[];

@@ -1,5 +0,5 @@

export declare type DecodeOutput = {
decoded: Uint8Array | Array<any>;
export interface DecodeOutput {
decoded: Uint8Array | (Uint8Array | Uint8Array[])[];
remainder: Uint8Array;
};
}
export declare type DecodeFunc = (input: Uint8Array) => DecodeOutput;
import { EncodeFunc } from './types';
export default function encodeArray(encoder: EncodeFunc, input: any): Uint8Array;
export default function encodeArray(encoder: EncodeFunc, input: (Uint8Array | null)[]): Uint8Array;

@@ -15,2 +15,2 @@ /**

*/
export default function encoder(input: any): Uint8Array;
export default function encoder(input?: null | Uint8Array | (null | Uint8Array)[] | string): Uint8Array;

@@ -42,3 +42,4 @@ "use strict";

fn: convertU8a
}, {
}, // eslint-disable-next-line @typescript-eslint/no-explicit-any
{
check: _util.isBn,

@@ -52,3 +53,3 @@ fn: value => (0, _util.bnToU8a)(value, -1, false)

fn: convertString
}];
}]; // eslint-disable-next-line @typescript-eslint/no-explicit-any

@@ -55,0 +56,0 @@ function toU8a(value) {

{
"name": "@polkadot/util-rlp",
"version": "0.94.0-beta.9",
"version": "0.94.0-beta.10",
"description": "RLP encoding and decoding",

@@ -31,3 +31,3 @@ "main": "index.js",

"@babel/runtime": "^7.5.4",
"@polkadot/util": "^0.94.0-beta.9"
"@polkadot/util": "^0.94.0-beta.10"
},

@@ -34,0 +34,0 @@ "devDependencies": {

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