Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pear-link

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pear-link - npm Package Compare versions

Comparing version
3.0.1
to
3.0.2
+1
-2
index.js
'use strict'
const path = require('path')
const { pathToFileURL } = require('url-file-url')
const { encode, decode } = require('hypercore-id-encoding')

@@ -44,3 +43,3 @@ const FILE = 'file:'

hash,
origin: !isPath ? this.normalize(`${protocol}//${hostname}${pathname}`) : this.normalize(pathToFileURL(url).href),
origin: this.normalize(`${protocol}//${hostname}${pathname}`),
drive: {

@@ -47,0 +46,0 @@ key: null,

{
"name": "pear-link",
"version": "3.0.1",
"version": "3.0.2",
"description": "Parse Pear Links",
"main": "index.js",
"scripts": {
"test": "standard && brittle test/index.test.js",
"test": "brittle test/index.test.js && standard",
"test:bare": "bare test/index.test.js"

@@ -31,3 +31,2 @@ },

"hypercore-id-encoding": "^1.2.0",
"url-file-url": "^1.0.5",
"which-runtime": "^1.2.1"

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