Skip to content

Commit

Permalink
Merge pull request #326 from korthout/dependabot/npm_and_yarn/execa-7…
Browse files Browse the repository at this point in the history
….0.0

build(deps): bump execa from 6.1.0 to 7.0.0
  • Loading branch information
korthout authored Feb 23, 2023
2 parents d5fffb1 + c4d6170 commit e6a4e41
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 30 deletions.
38 changes: 21 additions & 17 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11799,8 +11799,8 @@ onetime.callCount = function_ => {

/* harmony default export */ const node_modules_onetime = (onetime);

// EXTERNAL MODULE: external "os"
var external_os_ = __nccwpck_require__(2037);
;// CONCATENATED MODULE: external "node:os"
const external_node_os_namespaceObject = require("node:os");
;// CONCATENATED MODULE: ./node_modules/human-signals/build/src/realtime.js

const getRealtimeSignals=function(){
Expand Down Expand Up @@ -12125,7 +12125,7 @@ standard})
{
const{
signals:{[name]:constantSignal}}=
external_os_.constants;
external_node_os_namespaceObject.constants;
const supported=constantSignal!==undefined;
const number=supported?constantSignal:defaultNumber;
return{name,number,description,supported,action,forced,standard};
Expand All @@ -12141,16 +12141,21 @@ return{name,number,description,supported,action,forced,standard};

const getSignalsByName=function(){
const signals=getSignals();
return signals.reduce(getSignalByName,{});
return Object.fromEntries(signals.map(getSignalByName));
};

const getSignalByName=function(
signalByNameMemo,
{name,number,description,supported,action,forced,standard})
const getSignalByName=function({
name,
number,
description,
supported,
action,
forced,
standard})
{
return{
...signalByNameMemo,
[name]:{name,number,description,supported,action,forced,standard}};
return[
name,
{name,number,description,supported,action,forced,standard}];

};

Expand Down Expand Up @@ -12192,7 +12197,7 @@ standard}};


const findSignalByNumber=function(number,signals){
const signal=signals.find(({name})=>external_os_.constants.signals[name]===number);
const signal=signals.find(({name})=>external_node_os_namespaceObject.constants.signals[name]===number);

if(signal!==undefined){
return signal;
Expand Down Expand Up @@ -12341,8 +12346,6 @@ const normalizeStdioNode = options => {
return [...stdio, 'ipc'];
};

;// CONCATENATED MODULE: external "node:os"
const external_node_os_namespaceObject = require("node:os");
// EXTERNAL MODULE: ./node_modules/signal-exit/index.js
var signal_exit = __nccwpck_require__(4931);
;// CONCATENATED MODULE: ./node_modules/execa/lib/kill.js
Expand Down Expand Up @@ -12491,9 +12494,7 @@ var merge_stream = __nccwpck_require__(2621);

// `input` option
const handleInput = (spawned, input) => {
// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852
// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0
if (input === undefined || spawned.stdin === undefined) {
if (input === undefined) {
return;
}

Expand Down Expand Up @@ -12525,7 +12526,8 @@ const makeAllStream = (spawned, {all}) => {

// On failure, `result.stdout|stderr|all` should contain the currently buffered stream
const getBufferedData = async (stream, streamPromise) => {
if (!stream) {
// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve
if (!stream || streamPromise === undefined) {
return;
}

Expand Down Expand Up @@ -12575,7 +12577,9 @@ const validateInputSync = ({input}) => {
};

;// CONCATENATED MODULE: ./node_modules/execa/lib/promise.js
// eslint-disable-next-line unicorn/prefer-top-level-await
const nativePromisePrototype = (async () => {})().constructor.prototype;

const descriptors = ['then', 'catch', 'finally'].map(property => [
property,
Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property),
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ Apache-2.0
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2021 ehmicky <ehmicky@gmail.com>
Copyright 2022 ehmicky <ehmicky@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@actions/github": "^5.1.1",
"@types/dedent": "^0.7.0",
"dedent": "^0.7.0",
"execa": "^6.1.0"
"execa": "^7.0.0"
},
"devDependencies": {
"@types/jest": "^27.5.0",
Expand Down

0 comments on commit e6a4e41

Please sign in to comment.