@polkadot/x-textencoder
Advanced tools
Comparing version 5.0.2-7 to 5.0.2-8
@@ -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) { |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6618
122