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

it-ws

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it-ws - npm Package Compare versions

Comparing version 3.0.2 to 4.0.0

6

package.json
{
"name": "it-ws",
"version": "3.0.2",
"version": "4.0.0",
"description": "Simple async iterables for websocket client connections",

@@ -28,5 +28,5 @@ "main": "index.js",

"dependencies": {
"buffer": "^5.6.0",
"buffer": "^6.0.3",
"event-iterator": "^2.0.0",
"relative-url": "^1.0.2",
"iso-url": "^1.1.2",
"ws": "^7.3.1"

@@ -33,0 +33,0 @@ },

@@ -15,3 +15,3 @@ var tape = require('tape')

wsurl('//bar.com', location),
'ws://bar.com'
'ws://bar.com/'
)

@@ -18,0 +18,0 @@ t.equal(

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

const rurl = require('relative-url')
const { relative } = require('iso-url')
const map = { http: 'ws', https: 'wss' }
const def = 'ws'
module.exports = (url, location) => rurl(url, location, map, def)
module.exports = (url, location) => relative(url, location, map, def)
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