You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@yarnpkg/plugin-file

Package Overview
Dependencies
Maintainers
6
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/plugin-file - npm Package Compare versions

Comparing version

to
2.3.2

6

lib/TarballFileResolver.js

@@ -40,5 +40,5 @@ "use strict";

async getCandidates(descriptor, dependencies, opts) {
let path = descriptor.range;
if (path.startsWith(constants_1.PROTOCOL))
path = path.slice(constants_1.PROTOCOL.length);
const path = descriptor.range.startsWith(constants_1.PROTOCOL)
? descriptor.range.slice(constants_1.PROTOCOL.length)
: descriptor.range;
return [core_3.structUtils.makeLocator(descriptor, `${constants_1.PROTOCOL}${fslib_1.npath.toPortablePath(path)}`)];

@@ -45,0 +45,0 @@ }

{
"name": "@yarnpkg/plugin-file",
"version": "2.3.1",
"version": "2.3.2",
"license": "BSD-2-Clause",
"main": "./lib/index.js",
"dependencies": {
"@yarnpkg/fslib": "^2.6.2",
"@yarnpkg/fslib": "^2.10.3",
"tslib": "^1.13.0"
},
"peerDependencies": {
"@yarnpkg/core": "^3.2.1"
"@yarnpkg/core": "^3.6.0"
},
"devDependencies": {
"@yarnpkg/core": "^3.2.1"
"@yarnpkg/core": "^3.6.0"
},

@@ -16,0 +16,0 @@ "repository": {