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

@polkadot/x-textencoder

Package Overview
Dependencies
Maintainers
2
Versions
733
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-textencoder - npm Package Compare versions

Comparing version 4.2.2-8 to 4.2.2-9

4

esm/fallback.js

@@ -6,5 +6,5 @@ // Copyright 2017-2020 @polkadot/x-textencoder authors & contributors

encode(value) {
const u8a = new Uint8Array(value.length);
var u8a = new Uint8Array(value.length);
for (let i = 0; i < value.length; i++) {
for (var i = 0; i < value.length; i++) {
u8a[i] = value.charCodeAt(i);

@@ -11,0 +11,0 @@ }

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

import _classPrivateFieldLooseBase from "@babel/runtime/helpers/classPrivateFieldLooseBase";
import _classPrivateFieldLooseKey from "@babel/runtime/helpers/classPrivateFieldLooseKey";
import _classPrivateFieldLooseBase from "@babel/runtime/helpers/esm/classPrivateFieldLooseBase";
import _classPrivateFieldLooseKey from "@babel/runtime/helpers/esm/classPrivateFieldLooseKey";
// Copyright 2017-2020 @polkadot/x-textencoder authors & contributors

@@ -20,3 +20,3 @@ // SPDX-License-Identifier: Apache-2.0

encode(value) {
const encoded = _classPrivateFieldLooseBase(this, _encoder)[_encoder].encode(value);
var encoded = _classPrivateFieldLooseBase(this, _encoder)[_encoder].encode(value);

@@ -23,0 +23,0 @@ return Uint8Array.from(encoded);

@@ -11,3 +11,3 @@ {

"type": "module",
"version": "4.2.2-8"
"version": "4.2.2-9"
}
{
"name": "@polkadot/x-textencoder",
"version": "4.2.2-8",
"version": "4.2.2-9",
"description": "A TextDecoder replacement",

@@ -5,0 +5,0 @@ "browser": "browser.js",

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