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

@polkadot/x-ws

Package Overview
Dependencies
Maintainers
2
Versions
740
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-ws - npm Package Compare versions

Comparing version 11.0.1 to 11.0.2

2

browser.d.ts

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

export { packageInfo } from './packageInfo';
export { packageInfo } from './packageInfo.js';
export declare const WebSocket: {

@@ -3,0 +3,0 @@ new (url: string | URL, protocols?: string | string[] | undefined): WebSocket;

@@ -5,4 +5,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.WebSocket = x_global_1.xglobal.WebSocket;

@@ -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.WebSocket = (0, x_global_1.extractGlobal)('WebSocket', ws_1.default);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@polkadot/x-ws', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.0.1' };
exports.packageInfo = { name: '@polkadot/x-ws', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.0.2' };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = exports.WebSocket = void 0;
var browser_1 = require("./browser");
Object.defineProperty(exports, "WebSocket", { enumerable: true, get: function () { return browser_1.WebSocket; } });
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return browser_1.packageInfo; } });
var browser_js_1 = require("./browser.js");
Object.defineProperty(exports, "WebSocket", { enumerable: true, get: function () { return browser_js_1.WebSocket; } });
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return browser_js_1.packageInfo; } });

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

export { packageInfo } from './packageInfo';
export { packageInfo } from './packageInfo.js';
export declare const WebSocket: {

@@ -3,0 +3,0 @@ new (url: string | URL, protocols?: string | string[] | undefined): WebSocket;

@@ -20,3 +20,3 @@ {

"type": "module",
"version": "11.0.1",
"version": "11.0.2",
"main": "./cjs/node.js",

@@ -86,6 +86,6 @@ "module": "./node.js",

"dependencies": {
"@polkadot/x-global": "11.0.1",
"@polkadot/x-global": "11.0.2",
"tslib": "^2.5.0",
"ws": "^8.12.1"
"ws": "^8.13.0"
}
}

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

export const packageInfo = { name: '@polkadot/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: '11.0.1' };
export const packageInfo = { name: '@polkadot/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: '11.0.2' };

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

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