mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 04:27:59 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import { Buffer } from 'buffer-es6';
|
||||
export default Buffer;
|
||||
export { Buffer };
|
||||
@@ -0,0 +1,3 @@
|
||||
import { Buffer } from 'buffer-es6';
|
||||
export default Buffer;
|
||||
export { Buffer };
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
export = BN;
|
||||
import { BN } from "@pezkuwi/util/bn/index";
|
||||
@@ -0,0 +1,7 @@
|
||||
// Copyright 2017-2025 @pezkuwi/x-bundle authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// @ts-expect-error In dev mode we don't have export maps...
|
||||
const { BN } = require('@pezkuwi/util');
|
||||
|
||||
module.exports = BN;
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import { Buffer } from 'buffer-es6';
|
||||
export default Buffer;
|
||||
export { Buffer };
|
||||
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Buffer = void 0;
|
||||
const buffer_es6_1 = require("buffer-es6");
|
||||
Object.defineProperty(exports, "Buffer", { enumerable: true, get: function () { return buffer_es6_1.Buffer; } });
|
||||
exports.default = buffer_es6_1.Buffer;
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
declare const _default: {};
|
||||
export default _default;
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {};
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
import { BN } from '@pezkuwi/util';
|
||||
export { BN };
|
||||
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BN = void 0;
|
||||
const util_1 = require("@pezkuwi/util");
|
||||
Object.defineProperty(exports, "BN", { enumerable: true, get: function () { return util_1.BN; } });
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
declare const _default: {};
|
||||
export default _default;
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.packageInfo = void 0;
|
||||
var packageInfo_js_1 = require("./packageInfo.js");
|
||||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
|
||||
console.error('@pezkuwi/x-bundle is not meant to be used directly');
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
interface Class {
|
||||
prototype: object;
|
||||
super_: Class;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
export default function inherits(child: Class, parent: Class): void;
|
||||
export {};
|
||||
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = inherits;
|
||||
function inherits(child, parent) {
|
||||
if (parent) {
|
||||
child.super_ = parent;
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
child.prototype = Object.create(parent.prototype, {
|
||||
constructor: {
|
||||
configurable: true,
|
||||
enumerable: false,
|
||||
value: child,
|
||||
writable: true
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
export declare const packageInfo: {
|
||||
name: string;
|
||||
path: string;
|
||||
type: string;
|
||||
version: string;
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.packageInfo = void 0;
|
||||
exports.packageInfo = { name: '@pezkuwi/x-bundle', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
declare const _default: {};
|
||||
export default _default;
|
||||
@@ -0,0 +1 @@
|
||||
export default {};
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
import { BN } from '@pezkuwi/util';
|
||||
export { BN };
|
||||
@@ -0,0 +1,2 @@
|
||||
import { BN } from '@pezkuwi/util';
|
||||
export { BN };
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
declare const _default: {};
|
||||
export default _default;
|
||||
@@ -0,0 +1 @@
|
||||
export default {};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
@@ -0,0 +1,2 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
console.error('@pezkuwi/x-bundle is not meant to be used directly');
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
interface Class {
|
||||
prototype: object;
|
||||
super_: Class;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
export default function inherits(child: Class, parent: Class): void;
|
||||
export {};
|
||||
@@ -0,0 +1,14 @@
|
||||
export default function inherits(child, parent) {
|
||||
if (parent) {
|
||||
child.super_ = parent;
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
child.prototype = Object.create(parent.prototype, {
|
||||
constructor: {
|
||||
configurable: true,
|
||||
enumerable: false,
|
||||
value: child,
|
||||
writable: true
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -15,10 +15,132 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "14.0.10",
|
||||
"main": "index.js",
|
||||
"version": "14.0.11",
|
||||
"main": "./cjs/index.js",
|
||||
"module": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
"exports": {
|
||||
"./cjs/package.json": "./cjs/package.json",
|
||||
"./cjs/*": "./cjs/*.js",
|
||||
".": {
|
||||
"module": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/index.d.ts",
|
||||
"default": "./cjs/index.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
}
|
||||
},
|
||||
"./buffer": {
|
||||
"module": {
|
||||
"types": "./buffer.d.ts",
|
||||
"default": "./buffer.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/buffer.d.ts",
|
||||
"default": "./cjs/buffer.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./buffer.d.ts",
|
||||
"default": "./buffer.js"
|
||||
}
|
||||
},
|
||||
"./crypto": {
|
||||
"module": {
|
||||
"types": "./crypto.d.ts",
|
||||
"default": "./crypto.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/crypto.d.ts",
|
||||
"default": "./cjs/crypto.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./crypto.d.ts",
|
||||
"default": "./crypto.js"
|
||||
}
|
||||
},
|
||||
"./dummy": {
|
||||
"module": {
|
||||
"types": "./dummy.d.ts",
|
||||
"default": "./dummy.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/dummy.d.ts",
|
||||
"default": "./cjs/dummy.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./dummy.d.ts",
|
||||
"default": "./dummy.js"
|
||||
}
|
||||
},
|
||||
"./empty": {
|
||||
"module": {
|
||||
"types": "./empty.d.ts",
|
||||
"default": "./empty.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/empty.d.ts",
|
||||
"default": "./cjs/empty.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./empty.d.ts",
|
||||
"default": "./empty.js"
|
||||
}
|
||||
},
|
||||
"./inherits": {
|
||||
"module": {
|
||||
"types": "./inherits.d.ts",
|
||||
"default": "./inherits.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/inherits.d.ts",
|
||||
"default": "./cjs/inherits.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./inherits.d.ts",
|
||||
"default": "./inherits.js"
|
||||
}
|
||||
},
|
||||
"./package.json": {
|
||||
"require": "./cjs/package.json",
|
||||
"default": "./package.json"
|
||||
},
|
||||
"./packageInfo.js": {
|
||||
"module": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/packageInfo.d.ts",
|
||||
"default": "./cjs/packageInfo.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
}
|
||||
},
|
||||
"./packageInfo": {
|
||||
"module": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/packageInfo.d.ts",
|
||||
"default": "./cjs/packageInfo.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@pezkuwi/util": "workspace:*",
|
||||
"@pezkuwi/util": "14.0.11",
|
||||
"buffer-es6": "^4.9.3",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
export declare const packageInfo: {
|
||||
name: string;
|
||||
path: string;
|
||||
type: string;
|
||||
version: string;
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export const packageInfo = { name: '@pezkuwi/x-bundle', 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: '14.0.10' };
|
||||
Reference in New Issue
Block a user