Skip to content
Myr

index.js

This file

Path

index.js

25 lines · 786 bytes · JavaScript

Last changed by

Remove `execaCommand()` and `execaCommandSync()` (#1244)Sindre Sorhusbefore adoption3ced394

History of this file

Take it

The walk stopped after 200 commits: lines older than 9f65b86 point at it.

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 1–3why, one step back
1import {createExeca} from './lib/methods/create.js';
2import {mapNode} from './lib/methods/node.js';3import {mapScriptAsync, setScriptSync, deepScriptOptions} from './lib/methods/script.js';

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

line 4why, one step back
4import {getIpcExport} from './lib/ipc/methods.js';

100% test coverage (#1018)ehmickybefore adoption9f65b86

line 5why, one step back
5

Add `parseCommandString()` (#1054)ehmickybefore adoptionb9474c3

line 6why, one step back
6export {parseCommandString} from './lib/methods/command.js';

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 7–12why, one step back
7export {ExecaError, ExecaSyncError} from './lib/return/final-error.js';
89export const execa = createExeca(() => ({}));10export const execaSync = createExeca(() => ({isSync: true}));11export const execaNode = createExeca(mapNode);12export const $ = createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

line 13why, one step back
13

Add `exchangeMessage()` method (#1077)ehmickybefore adoption7a0a1c6

lines 14–17why, one step back
14const {
15 sendMessage,16 getOneMessage,17 getEachMessage,

Add `gracefulCancel` option (#1109)ehmickybefore adoptiond8190e5

line 18why, one step back
18 getCancelSignal,

Add `exchangeMessage()` method (#1077)ehmickybefore adoption7a0a1c6

lines 19–23why, one step back
19} = getIpcExport();
20export {21 sendMessage,22 getOneMessage,23 getEachMessage,

Add `gracefulCancel` option (#1109)ehmickybefore adoptiond8190e5

line 24why, one step back
24 getCancelSignal,

Add `exchangeMessage()` method (#1077)ehmickybefore adoption7a0a1c6

line 25why, one step back
25};