+1
-1
@@ -25,3 +25,3 @@ 'use strict' | ||
| const key = drive.alias || encode(drive.key) | ||
| const base = [drive.fork, drive.length, key, drive.hash && encode(drive.hash)].filter(Boolean).join('.') | ||
| const base = [drive.fork, drive.length, key, drive.hash && encode(drive.hash)].filter((p) => (p ?? '') + '').join('.') | ||
| return `${protocol}//${base}${pathname}${search}${hash}` | ||
@@ -28,0 +28,0 @@ } |
+1
-1
| { | ||
| "name": "pear-link", | ||
| "version": "3.1.0", | ||
| "version": "3.1.1", | ||
| "description": "Parse Pear Links", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
16509
0.08%