Socket
Socket
Sign inDemoInstall

@polkadot/types-codec

Package Overview
Dependencies
Maintainers
2
Versions
492
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 10.7.1 to 10.7.2

4

cjs/extended/BTreeSet.js

@@ -112,3 +112,3 @@ "use strict";

inspect() {
const inner = new Array();
const inner = [];
for (const v of this.values()) {

@@ -175,3 +175,3 @@ inner.push(v.inspect());

toU8a(isBare) {
const encoded = new Array();
const encoded = [];
if (!isBare) {

@@ -178,0 +178,0 @@ encoded.push((0, util_1.compactToU8a)(this.size));

@@ -120,3 +120,3 @@ "use strict";

inspect() {
const inner = new Array();
const inner = [];
for (const [k, v] of this.entries()) {

@@ -188,3 +188,3 @@ inner.push(k.inspect());

toU8a(isBare) {
const encoded = new Array();
const encoded = [];
if (!isBare) {

@@ -191,0 +191,0 @@ encoded.push((0, util_1.compactToU8a)(this.size));

@@ -180,3 +180,3 @@ "use strict";

inspect(isBare) {
const inner = new Array();
const inner = [];
for (const [k, v] of this.entries()) {

@@ -183,0 +183,0 @@ inner.push({

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@polkadot/types-codec', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.7.1' };
exports.packageInfo = { name: '@polkadot/types-codec', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.7.2' };

@@ -109,3 +109,3 @@ import { compactFromU8aLim, compactToU8a, isHex, isU8a, logger, stringify, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';

inspect() {
const inner = new Array();
const inner = [];
for (const v of this.values()) {

@@ -172,3 +172,3 @@ inner.push(v.inspect());

toU8a(isBare) {
const encoded = new Array();
const encoded = [];
if (!isBare) {

@@ -175,0 +175,0 @@ encoded.push(compactToU8a(this.size));

@@ -117,3 +117,3 @@ import { compactFromU8aLim, compactToU8a, isHex, isObject, isU8a, logger, stringify, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';

inspect() {
const inner = new Array();
const inner = [];
for (const [k, v] of this.entries()) {

@@ -185,3 +185,3 @@ inner.push(k.inspect());

toU8a(isBare) {
const encoded = new Array();
const encoded = [];
if (!isBare) {

@@ -188,0 +188,0 @@ encoded.push(compactToU8a(this.size));

@@ -177,3 +177,3 @@ import { isBoolean, isHex, isObject, isU8a, isUndefined, objectProperties, stringCamelCase, stringify, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';

inspect(isBare) {
const inner = new Array();
const inner = [];
for (const [k, v] of this.entries()) {

@@ -180,0 +180,0 @@ inner.push({

@@ -21,3 +21,3 @@ {

"type": "module",
"version": "10.7.1",
"version": "10.7.2",
"main": "./cjs/index.js",

@@ -522,4 +522,4 @@ "module": "./index.js",

"@polkadot/x-bigint": "^12.2.1",
"tslib": "^2.5.0"
"tslib": "^2.5.2"
}
}

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

export const packageInfo = { name: '@polkadot/types-codec', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.7.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.7.2' };
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