Skip to content

Commit

Permalink
Merge pull request #122 from CrowdStrike/renovate/execa-8.x
Browse files Browse the repository at this point in the history
fix(deps): update dependency execa to v8
  • Loading branch information
kellyselden committed Nov 9, 2023
2 parents 6c637c4 + ead90e3 commit e1a4c97
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module.exports = {
extends: [
'crowdstrike-node',
],
parserOptions: {
// eslint bug, not inheriting from eslint-config-crowdstrike correctly
ecmaVersion: require('eslint-config-crowdstrike').parserOptions.ecmaVersion,
},
overrides: [
{
files: 'test/**/*-test.js',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@commitlint/read": "^18.0.0",
"commitlint-format-junit": "^1.1.4",
"debug": "^4.1.1",
"execa": "^5.0.0",
"execa": "^8.0.0",
"yargs": "^17.0.0"
},
"devDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions src/cp.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
'use strict';

const debug = require('./debug');
const execa = require('execa');

function spawn() {
async function spawn() {
const { execa } = await import('execa');

debug(...arguments);

let ps = execa(...arguments);
Expand Down
7 changes: 6 additions & 1 deletion test/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
const { describe, it } = require('./helpers/mocha');
const { expect } = require('./helpers/chai');
const { gitInit } = require('git-fixtures');
const execa = require('execa');
const fs = require('fs');
const { promisify } = require('util');
const copyFile = promisify(fs.copyFile);
const path = require('path');

const bin = require.resolve('../bin');

async function execa() {
const { execa } = await import('execa');

return execa(...arguments);
}

describe(function() {
let tmpPath;

Expand Down
29 changes: 27 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
"@commitlint/read" "^18.0.0"
commitlint-format-junit "^1.1.4"
debug "^4.1.1"
execa "^5.0.0"
execa "^8.0.0"
yargs "^17.0.0"

"@eslint/eslintrc@^1.0.4":
Expand Down Expand Up @@ -1456,6 +1456,21 @@ execa@^7.0.0:
signal-exit "^3.0.7"
strip-final-newline "^3.0.0"

execa@^8.0.0:
version "8.0.1"
resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c"
integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==
dependencies:
cross-spawn "^7.0.3"
get-stream "^8.0.1"
human-signals "^5.0.0"
is-stream "^3.0.0"
merge-stream "^2.0.0"
npm-run-path "^5.1.0"
onetime "^6.0.0"
signal-exit "^4.1.0"
strip-final-newline "^3.0.0"

extend@^3.0.0:
version "3.0.2"
resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
Expand Down Expand Up @@ -1678,6 +1693,11 @@ get-stream@^6.0.1:
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==

get-stream@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2"
integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==

git-diff-apply@^6.0.0:
version "6.0.3"
resolved "https://registry.yarnpkg.com/git-diff-apply/-/git-diff-apply-6.0.3.tgz#5f7da3937442a7f9cb42ee93ba24b6cbfe17bf96"
Expand Down Expand Up @@ -1912,6 +1932,11 @@ human-signals@^4.3.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2"
integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==

human-signals@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28"
integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==

ignore@^4.0.6:
version "4.0.6"
resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
Expand Down Expand Up @@ -3909,7 +3934,7 @@ signal-exit@^3.0.7:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==

signal-exit@^4.0.1:
signal-exit@^4.0.1, signal-exit@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04"
integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
Expand Down

0 comments on commit e1a4c97

Please sign in to comment.