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

@polkadot/x-textdecoder

Package Overview
Dependencies
Maintainers
2
Versions
732
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-textdecoder - npm Package Compare versions

Comparing version 11.1.4-12 to 12.0.1

4

cjs/node.js

@@ -5,6 +5,6 @@ "use strict";

const tslib_1 = require("tslib");
const util_1 = tslib_1.__importDefault(require("util"));
const node_util_1 = tslib_1.__importDefault(require("node:util"));
const x_global_1 = require("@polkadot/x-global");
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);
exports.TextDecoder = (0, x_global_1.extractGlobal)('TextDecoder', node_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.1.4-12' };
exports.packageInfo = { name: '@polkadot/x-textdecoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.0.1' };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = exports.TextDecoder = void 0;
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; } });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./browser.js"), exports);

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

import util from 'util';
import util from 'node:util';
import { extractGlobal } from '@polkadot/x-global';
export { packageInfo } from './packageInfo.js';
export const TextDecoder = /*#__PURE__*/ extractGlobal('TextDecoder', util.TextDecoder);

@@ -6,3 +6,3 @@ {

"engines": {
"node": ">=14"
"node": ">=16"
},

@@ -19,3 +19,3 @@ "homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-textdecoder#readme",

"type": "module",
"version": "11.1.4-12",
"version": "12.0.1",
"main": "./cjs/node.js",

@@ -95,8 +95,5 @@ "module": "./node.js",

"dependencies": {
"@polkadot/x-global": "11.1.4-12",
"@polkadot/x-global": "12.0.1",
"tslib": "^2.5.0"
},
"denoDependencies": {
"util": "std@0.161.0/node/util.ts"
}
}

@@ -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.1.4-12' };
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: '12.0.1' };

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

export { TextDecoder, packageInfo } from './browser.js';
export * from './browser.js';

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

export { TextDecoder, packageInfo } from './browser.js';
export * from './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