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

execa

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

execa - npm Package Compare versions

Comparing version

to
9.5.2

6

lib/methods/template.js

@@ -78,3 +78,7 @@ import {ChildProcess} from 'node:child_process';

const nextRawCharacter = rawTemplate[rawIndex + 1];
if (nextRawCharacter === 'u' && rawTemplate[rawIndex + 2] === '{') {
if (nextRawCharacter === '\n') {
// Handles escaped newlines in templates
templateIndex -= 1;
rawIndex += 1;
} else if (nextRawCharacter === 'u' && rawTemplate[rawIndex + 2] === '{') {
rawIndex = rawTemplate.indexOf('}', rawIndex + 3);

@@ -81,0 +85,0 @@ } else {

2

package.json
{
"name": "execa",
"version": "9.5.1",
"version": "9.5.2",
"description": "Process execution for humans",

@@ -5,0 +5,0 @@ "license": "MIT",