Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/types-codec

Package Overview
Dependencies
Maintainers
2
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/types-codec - npm Package Compare versions

Comparing version 9.13.2 to 9.13.4

7

base/Vec.js

@@ -66,8 +66,3 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors

this.#Type = definition || setDefinition(typeToConstructor(registry, Type));
try {
this.initialU8aLength = (isU8a(decodeFrom) ? decodeU8aVec(registry, this, decodeFrom, startAt, this.#Type) : decodeVec(registry, this, decodeFrom, startAt, this.#Type))[0];
} catch (e) {
console.error(decodeFrom, length, startAt);
throw e;
}
this.initialU8aLength = (isU8a(decodeFrom) ? decodeU8aVec(registry, this, decodeFrom, startAt, this.#Type) : decodeVec(registry, this, decodeFrom, startAt, this.#Type))[0];
}

@@ -74,0 +69,0 @@ static with(Type) {

@@ -75,8 +75,3 @@ "use strict";

this.#Type = definition || setDefinition((0, _utils.typeToConstructor)(registry, Type));
try {
this.initialU8aLength = ((0, _util.isU8a)(decodeFrom) ? (0, _utils.decodeU8aVec)(registry, this, decodeFrom, startAt, this.#Type) : decodeVec(registry, this, decodeFrom, startAt, this.#Type))[0];
} catch (e) {
console.error(decodeFrom, length, startAt);
throw e;
}
this.initialU8aLength = ((0, _util.isU8a)(decodeFrom) ? (0, _utils.decodeU8aVec)(registry, this, decodeFrom, startAt, this.#Type) : decodeVec(registry, this, decodeFrom, startAt, this.#Type))[0];
}

@@ -83,0 +78,0 @@ static with(Type) {

2

cjs/packageInfo.js

@@ -16,4 +16,4 @@ "use strict";

type: 'cjs',
version: '9.13.2'
version: '9.13.4'
};
exports.packageInfo = packageInfo;

@@ -23,3 +23,3 @@ {

"type": "module",
"version": "9.13.2",
"version": "9.13.4",
"main": "./cjs/index.js",

@@ -26,0 +26,0 @@ "module": "./index.js",

@@ -10,3 +10,3 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors

type: 'esm',
version: '9.13.2'
version: '9.13.4'
};
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