You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@yarnpkg/plugin-exec

Package Overview
Dependencies
Maintainers
5
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/plugin-exec - npm Package Compare versions

Comparing version

to
3.0.1

9

lib/execUtils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadGeneratorFile = exports.makeLocator = exports.makeSpec = exports.parseSpec = void 0;
exports.parseSpec = parseSpec;
exports.makeSpec = makeSpec;
exports.makeLocator = makeLocator;
exports.loadGeneratorFile = loadGeneratorFile;
const core_1 = require("@yarnpkg/core");

@@ -14,3 +17,2 @@ const fslib_1 = require("@yarnpkg/fslib");

}
exports.parseSpec = parseSpec;
function makeSpec({ parentLocator, path, generatorHash, protocol }) {

@@ -33,7 +35,5 @@ const parentLocatorSpread = parentLocator !== null

}
exports.makeSpec = makeSpec;
function makeLocator(ident, { parentLocator, path, generatorHash, protocol }) {
return core_1.structUtils.makeLocator(ident, makeSpec({ parentLocator, path, generatorHash, protocol }));
}
exports.makeLocator = makeLocator;
async function loadGeneratorFile(range, protocol, opts) {

@@ -58,2 +58,1 @@ const { parentLocator, path } = core_1.structUtils.parseFileStyleRange(range, { protocol });

}
exports.loadGeneratorFile = loadGeneratorFile;
{
"name": "@yarnpkg/plugin-exec",
"version": "3.0.0",
"version": "3.0.1",
"license": "BSD-2-Clause",

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

"dependencies": {
"@yarnpkg/fslib": "^3.0.0",
"@yarnpkg/fslib": "^3.1.2",
"tslib": "^2.4.0"
},
"peerDependencies": {
"@yarnpkg/core": "^4.0.0"
"@yarnpkg/core": "^4.2.1"
},
"devDependencies": {
"@yarnpkg/builder": "^4.0.0",
"@yarnpkg/core": "^4.0.0"
"@yarnpkg/builder": "^4.2.1",
"@yarnpkg/core": "^4.2.1"
},

@@ -28,3 +28,3 @@ "scripts": {

"type": "git",
"url": "ssh://git@github.com/yarnpkg/berry.git",
"url": "git+https://github.com/yarnpkg/berry.git",
"directory": "packages/plugin-exec"

@@ -31,0 +31,0 @@ },

@@ -56,3 +56,3 @@ # `@yarnpkg/plugin-exec`

In order to let the script knows about the various predefined folders involved in the generation process, Yarn will inject a special `execEnv` global variable available to the script. This object's [interface](/api/interfaces/plugin_exec.execenv.html) is defined as such:
In order to let the script knows about the various predefined folders involved in the generation process, Yarn will inject a special `execEnv` global variable available to the script. This object's [interface](https://yarnpkg.com/api/plugin-exec/interface/ExecEnv) is defined as such:

@@ -59,0 +59,0 @@ | Property | Type | Description |