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
6
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.0-rc.28

12

lib/ExecFetcher.js

@@ -64,5 +64,2 @@ "use strict";

const logFile = fslib_1.ppath.join(logDir, `buildfile.log`);
const stdin = null;
const stdout = fslib_1.xfs.createWriteStream(logFile);
const stderr = stdout;
const tempDir = fslib_1.ppath.join(cwd, `generator`);

@@ -111,5 +108,8 @@ const buildDir = fslib_1.ppath.join(cwd, `build`);

env.NODE_OPTIONS = nodeOptions;
stdout.write(`# This file contains the result of Yarn generating a package (${core_1.structUtils.stringifyLocator(locator)})\n`);
stdout.write(`\n`);
const { code } = await core_1.execUtils.pipevp(process.execPath, [`--require`, fslib_1.npath.fromPortablePath(runtimeFile), fslib_1.npath.fromPortablePath(generatorPath), core_1.structUtils.stringifyIdent(locator)], { cwd, env, stdin, stdout, stderr });
const { stdout, stderr } = opts.project.configuration.getSubprocessStreams(logFile, {
header: `# This file contains the result of Yarn generating a package (${core_1.structUtils.stringifyLocator(locator)})\n`,
prefix: core_1.structUtils.prettyLocator(opts.project.configuration, locator),
report: opts.report,
});
const { code } = await core_1.execUtils.pipevp(process.execPath, [`--require`, fslib_1.npath.fromPortablePath(runtimeFile), fslib_1.npath.fromPortablePath(generatorPath), core_1.structUtils.stringifyIdent(locator)], { cwd, env, stdin: null, stdout, stderr });
if (code !== 0) {

@@ -116,0 +116,0 @@ fslib_1.xfs.detachTemp(logDir);

{
"name": "@yarnpkg/plugin-exec",
"version": "3.0.0-rc.27",
"version": "3.0.0-rc.28",
"license": "BSD-2-Clause",

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

"dependencies": {
"@yarnpkg/fslib": "^3.0.0-rc.27",
"@yarnpkg/fslib": "^3.0.0-rc.28",
"tslib": "^2.4.0"
},
"peerDependencies": {
"@yarnpkg/core": "^4.0.0-rc.27"
"@yarnpkg/core": "^4.0.0-rc.28"
},
"devDependencies": {
"@yarnpkg/builder": "^4.0.0-rc.27",
"@yarnpkg/core": "^4.0.0-rc.27"
"@yarnpkg/builder": "^4.0.0-rc.28",
"@yarnpkg/core": "^4.0.0-rc.28"
},

@@ -22,0 +22,0 @@ "scripts": {