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 5.0.2-7 to 5.0.2-8

1

fallback.js

@@ -10,3 +10,2 @@ "use strict";

// SPDX-License-Identifier: Apache-2.0
// This is very limited, only handling Ascii values
class TextEncoder {

@@ -13,0 +12,0 @@ encode(value) {

3

node.js

@@ -27,5 +27,4 @@ "use strict";

(0, _classPrivateFieldLooseBase2.default)(this, _encoder)[_encoder] = new _util.default.TextEncoder();
} // For a Jest 26.0.1 environment, Buffer !== Uint8Array
}
encode(value) {

@@ -32,0 +31,0 @@ const encoded = (0, _classPrivateFieldLooseBase2.default)(this, _encoder)[_encoder].encode(value);

{
"name": "@polkadot/x-textencoder",
"version": "5.0.2-7"
"version": "5.0.2-8"
}
{
"name": "@polkadot/x-textencoder",
"version": "5.0.2-7",
"version": "5.0.2-8",
"description": "A TextDecoder replacement",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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