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

dependency-path

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependency-path - npm Package Compare versions

Comparing version 1.2.1 to 1.2.3

2

lib/index.js

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

const registryName = encodeRegistry(standardRegistry);
if (absoluteResolutionLoc.startsWith(`${registryName}/`)) {
if (absoluteResolutionLoc.startsWith(`${registryName}/`) && absoluteResolutionLoc.indexOf('/-/') === -1) {
return absoluteResolutionLoc.substr(absoluteResolutionLoc.indexOf('/'));

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

{
"name": "dependency-path",
"version": "1.2.1",
"version": "1.2.3",
"description": "Utilities for working with symlinked node_modules",

@@ -49,4 +49,4 @@ "main": "lib/index.js",

"tape": "^4.8.0",
"ts-node": "^5.0.1",
"typescript": "^2.5.3"
"ts-node": "^7.0.0",
"typescript": "^3.0.0"
},

@@ -53,0 +53,0 @@ "mos": {

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