New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/git-resolver

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/git-resolver - npm Package Compare versions

Comparing version 5.1.8 to 5.1.9

4

lib/parsePref.js

@@ -74,3 +74,3 @@ "use strict";

const [front, ...backs] = url.split('@');
const escapedBacks = backs.map(e => e.replace(/:([^/])/, ':/$1'));
const escapedBacks = backs.map(e => e.replace(/:([^/\d]|\d+[^:/\d])/, ':/$1'));
return [front, ...escapedBacks].join('@');

@@ -168,3 +168,3 @@ }

// ...and various combinations. The username in the beginning is *required*.
const matched = spec.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);
const matched = spec.match(/^git\+ssh:\/\/([^:]+:[^#]+(?:\.git)?)(?:#(.*))$/i);
return (matched != null) && (matched[1].match(/:[0-9]+\/?.*$/i) == null) && {

@@ -171,0 +171,0 @@ fetchSpec: matched[1],

{
"name": "@pnpm/git-resolver",
"version": "5.1.8",
"version": "5.1.9",
"description": "Resolver for git-hosted packages",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"files": [

@@ -8,0 +8,0 @@ "lib",

Sorry, the diff of this file is not supported yet

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