mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-07-24 08:05:40 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
export declare const WebSocket: {
|
||||
new (url: string | URL, protocols?: string | string[]): WebSocket;
|
||||
prototype: WebSocket;
|
||||
readonly CONNECTING: 0;
|
||||
readonly OPEN: 1;
|
||||
readonly CLOSING: 2;
|
||||
readonly CLOSED: 3;
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
import { xglobal } from '@pezkuwi/x-global';
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
export const WebSocket = xglobal.WebSocket;
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
export declare const WebSocket: {
|
||||
new (url: string | URL, protocols?: string | string[]): WebSocket;
|
||||
prototype: WebSocket;
|
||||
readonly CONNECTING: 0;
|
||||
readonly OPEN: 1;
|
||||
readonly CLOSING: 2;
|
||||
readonly CLOSED: 3;
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.WebSocket = exports.packageInfo = void 0;
|
||||
const x_global_1 = require("@pezkuwi/x-global");
|
||||
var packageInfo_js_1 = require("./packageInfo.js");
|
||||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
|
||||
exports.WebSocket = x_global_1.xglobal.WebSocket;
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
export declare const WebSocket: {
|
||||
new (url: string | URL, protocols?: string | string[]): WebSocket;
|
||||
prototype: WebSocket;
|
||||
readonly CONNECTING: 0;
|
||||
readonly OPEN: 1;
|
||||
readonly CLOSING: 2;
|
||||
readonly CLOSED: 3;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.WebSocket = exports.packageInfo = void 0;
|
||||
const tslib_1 = require("tslib");
|
||||
const ws_1 = tslib_1.__importDefault(require("ws"));
|
||||
const x_global_1 = require("@pezkuwi/x-global");
|
||||
var packageInfo_js_1 = require("./packageInfo.js");
|
||||
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
|
||||
exports.WebSocket = (0, x_global_1.extractGlobal)('WebSocket', ws_1.default);
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
Vendored
+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-ws', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export * from './browser.js';
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tslib_1 = require("tslib");
|
||||
tslib_1.__exportStar(require("./browser.js"), exports);
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const x_global_1 = require("@pezkuwi/x-global");
|
||||
const x_ws_1 = require("@pezkuwi/x-ws");
|
||||
(0, x_global_1.exposeGlobal)('WebSocket', x_ws_1.WebSocket);
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
export declare const WebSocket: {
|
||||
new (url: string | URL, protocols?: string | string[]): WebSocket;
|
||||
prototype: WebSocket;
|
||||
readonly CONNECTING: 0;
|
||||
readonly OPEN: 1;
|
||||
readonly CLOSING: 2;
|
||||
readonly CLOSED: 3;
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
import ws from 'ws';
|
||||
import { extractGlobal } from '@pezkuwi/x-global';
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
export const WebSocket = /*#__PURE__*/ extractGlobal('WebSocket', ws);
|
||||
+158
-8
@@ -15,16 +15,166 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "14.0.10",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
"version": "14.0.11",
|
||||
"main": "./cjs/node.js",
|
||||
"module": "./node.js",
|
||||
"browser": "./cjs/browser.js",
|
||||
"react-native": "./cjs/react-native.js",
|
||||
"types": "./node.d.ts",
|
||||
"exports": {
|
||||
"./cjs/package.json": "./cjs/package.json",
|
||||
"./cjs/*": "./cjs/*.js",
|
||||
".": {
|
||||
"types": "./node.d.ts",
|
||||
"react-native": {
|
||||
"module": {
|
||||
"types": "./react-native.d.ts",
|
||||
"default": "./react-native.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/react-native.d.ts",
|
||||
"default": "./cjs/react-native.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./react-native.d.ts",
|
||||
"default": "./react-native.js"
|
||||
}
|
||||
},
|
||||
"browser": {
|
||||
"module": {
|
||||
"types": "./browser.d.ts",
|
||||
"default": "./browser.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/browser.d.ts",
|
||||
"default": "./cjs/browser.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./browser.d.ts",
|
||||
"default": "./browser.js"
|
||||
}
|
||||
},
|
||||
"node": {
|
||||
"module": {
|
||||
"types": "./node.d.ts",
|
||||
"default": "./node.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/node.d.ts",
|
||||
"default": "./cjs/node.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./node.d.ts",
|
||||
"default": "./node.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"./browser": {
|
||||
"module": {
|
||||
"types": "./browser.d.ts",
|
||||
"default": "./browser.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/browser.d.ts",
|
||||
"default": "./cjs/browser.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./browser.d.ts",
|
||||
"default": "./browser.js"
|
||||
}
|
||||
},
|
||||
"./node": {
|
||||
"module": {
|
||||
"types": "./node.d.ts",
|
||||
"default": "./node.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/node.d.ts",
|
||||
"default": "./cjs/node.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./node.d.ts",
|
||||
"default": "./node.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"
|
||||
}
|
||||
},
|
||||
"./react-native": {
|
||||
"module": {
|
||||
"types": "./react-native.d.ts",
|
||||
"default": "./react-native.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/react-native.d.ts",
|
||||
"default": "./cjs/react-native.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./react-native.d.ts",
|
||||
"default": "./react-native.js"
|
||||
}
|
||||
},
|
||||
"./shim.js": {
|
||||
"module": {
|
||||
"types": "./shim.d.ts",
|
||||
"default": "./shim.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/shim.d.ts",
|
||||
"default": "./cjs/shim.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./shim.d.ts",
|
||||
"default": "./shim.js"
|
||||
}
|
||||
},
|
||||
"./shim": {
|
||||
"module": {
|
||||
"types": "./shim.d.ts",
|
||||
"default": "./shim.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/shim.d.ts",
|
||||
"default": "./cjs/shim.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./shim.d.ts",
|
||||
"default": "./shim.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@pezkuwi/x-global": "workspace:*",
|
||||
"@pezkuwi/x-global": "14.0.11",
|
||||
"tslib": "^2.8.0",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/ws": "^8.5.12"
|
||||
}
|
||||
}
|
||||
|
||||
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-ws', 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' };
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export * from './browser.js';
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export * from './browser.js';
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1,3 @@
|
||||
import { exposeGlobal } from '@pezkuwi/x-global';
|
||||
import { WebSocket } from '@pezkuwi/x-ws';
|
||||
exposeGlobal('WebSocket', WebSocket);
|
||||
Reference in New Issue
Block a user