@polkadot/x-textdecoder
Advanced tools
Comparing version 11.0.1 to 11.0.2
@@ -1,2 +0,2 @@ | ||
export { packageInfo } from './packageInfo'; | ||
export { packageInfo } from './packageInfo.js'; | ||
export declare const TextDecoder: { | ||
@@ -3,0 +3,0 @@ new (label?: string | undefined, options?: TextDecoderOptions | undefined): TextDecoder; |
@@ -5,5 +5,5 @@ "use strict"; | ||
const x_global_1 = require("@polkadot/x-global"); | ||
const fallback_1 = require("./fallback"); | ||
var packageInfo_1 = require("./packageInfo"); | ||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_1.packageInfo; } }); | ||
exports.TextDecoder = (0, x_global_1.extractGlobal)('TextDecoder', fallback_1.TextDecoder); | ||
const fallback_js_1 = require("./fallback.js"); | ||
var packageInfo_js_1 = require("./packageInfo.js"); | ||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } }); | ||
exports.TextDecoder = (0, x_global_1.extractGlobal)('TextDecoder', fallback_js_1.TextDecoder); |
@@ -7,4 +7,4 @@ "use strict"; | ||
const x_global_1 = require("@polkadot/x-global"); | ||
var packageInfo_1 = require("./packageInfo"); | ||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_1.packageInfo; } }); | ||
var packageInfo_js_1 = require("./packageInfo.js"); | ||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } }); | ||
exports.TextDecoder = (0, x_global_1.extractGlobal)('TextDecoder', util_1.default.TextDecoder); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.packageInfo = void 0; | ||
exports.packageInfo = { name: '@polkadot/x-textdecoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.0.1' }; | ||
exports.packageInfo = { name: '@polkadot/x-textdecoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.0.2' }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.packageInfo = exports.TextDecoder = void 0; | ||
var browser_1 = require("./browser"); | ||
Object.defineProperty(exports, "TextDecoder", { enumerable: true, get: function () { return browser_1.TextDecoder; } }); | ||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return browser_1.packageInfo; } }); | ||
var browser_js_1 = require("./browser.js"); | ||
Object.defineProperty(exports, "TextDecoder", { enumerable: true, get: function () { return browser_js_1.TextDecoder; } }); | ||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return browser_js_1.packageInfo; } }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const browser_1 = require("./browser"); | ||
const node_1 = require("./node"); | ||
console.log(new browser_1.TextDecoder('utf-8').decode(new Uint8Array([1, 2, 3]))); | ||
console.log(new node_1.TextDecoder('utf-8').decode(new Uint8Array([1, 2, 3]))); | ||
const browser_js_1 = require("./browser.js"); | ||
const node_js_1 = require("./node.js"); | ||
console.log(new browser_js_1.TextDecoder('utf-8').decode(new Uint8Array([1, 2, 3]))); | ||
console.log(new node_js_1.TextDecoder('utf-8').decode(new Uint8Array([1, 2, 3]))); |
@@ -1,2 +0,2 @@ | ||
export { packageInfo } from './packageInfo'; | ||
export { packageInfo } from './packageInfo.js'; | ||
export declare const TextDecoder: { | ||
@@ -3,0 +3,0 @@ new (label?: string | undefined, options?: TextDecoderOptions | undefined): TextDecoder; |
@@ -20,3 +20,3 @@ { | ||
"type": "module", | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"main": "./cjs/node.js", | ||
@@ -96,3 +96,3 @@ "module": "./node.js", | ||
"dependencies": { | ||
"@polkadot/x-global": "11.0.1", | ||
"@polkadot/x-global": "11.0.2", | ||
"tslib": "^2.5.0" | ||
@@ -99,0 +99,0 @@ }, |
@@ -1,1 +0,1 @@ | ||
export const packageInfo = { name: '@polkadot/x-textdecoder', 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: '11.0.1' }; | ||
export const packageInfo = { name: '@polkadot/x-textdecoder', 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: '11.0.2' }; |
@@ -1,1 +0,1 @@ | ||
export { TextDecoder, packageInfo } from './browser'; | ||
export { TextDecoder, packageInfo } from './browser.js'; |
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
18625
+ Added@polkadot/x-global@11.0.2(transitive)
- Removed@polkadot/x-global@11.0.1(transitive)
Updated@polkadot/x-global@11.0.2