@polkadot/x-textdecoder
Advanced tools
Comparing version 11.1.4-12 to 12.0.1
@@ -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'; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
18168
106
+ Added@polkadot/x-global@12.0.1(transitive)
- Removed@polkadot/x-global@11.1.4-12(transitive)
Updated@polkadot/x-global@12.0.1