Comparing version 3.0.2 to 4.0.0
{ | ||
"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) |
26515
+ Addediso-url@^1.1.2
+ Addedbuffer@6.0.3(transitive)
+ Addediso-url@1.2.1(transitive)
- Removedrelative-url@^1.0.2
- Removedbuffer@5.7.1(transitive)
- Removedrelative-url@1.0.2(transitive)
Updatedbuffer@^6.0.3