Skip to content

Commit 3a10643

Browse files
renovate[bot]mrstorkkodiakhq[bot]
authoredMay 21, 2024··
fix(deps): update dependency isexe to v3 (#6622)
* fix(deps): update dependency isexe to v3 * chore: fix import path for isexe upgrade --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mateusz Bocian <mateusz.bocian@netlify.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent f1ec038 commit 3a10643

File tree

3 files changed

+37
-11
lines changed

3 files changed

+37
-11
lines changed
 

‎package-lock.json

+34-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"is-docker": "3.0.0",
135135
"is-stream": "4.0.1",
136136
"is-wsl": "2.2.0",
137-
"isexe": "2.0.0",
137+
"isexe": "3.1.1",
138138
"js-yaml": "4.1.0",
139139
"jsonwebtoken": "9.0.2",
140140
"jwt-decode": "4.0.0",

‎src/lib/exec-fetcher.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import path from 'path'
22
import process from 'process'
33

44
import { fetchLatest, fetchVersion, newerVersion, updateAvailable } from 'gh-release-fetch'
5-
// @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'isex... Remove this comment to see the full error message
6-
import isExe from 'isexe'
5+
import { isexe } from 'isexe'
76

87
import { NETLIFYDEVWARN, error, getTerminalLink, log } from '../utils/command-helpers.js'
98
import execa from '../utils/execa.js'
@@ -52,7 +51,7 @@ export const shouldFetchLatestVersion = async ({
5251
}) => {
5352
const execPath = path.join(binPath, getExecName({ execName }))
5453

55-
const exists = await isExe(execPath, { ignoreErrors: true })
54+
const exists = await isexe(execPath, { ignoreErrors: true })
5655
if (!exists) {
5756
return true
5857
}

2 commit comments

Comments
 (2)

github-actions[bot] commented on May 21, 2024

@github-actions[bot]

📊 Benchmark results

  • Dependency count: 1,370
  • Package size: 312 MB
  • Number of ts-expect-error directives: 997

github-actions[bot] commented on May 21, 2024

@github-actions[bot]

📊 Benchmark results

  • Dependency count: 1,370
  • Package size: 312 MB
  • Number of ts-expect-error directives: 997
Please sign in to comment.