Merge pull request #169 from aminya/deps [skip ci]

This commit is contained in:
Amin Yahyaabadi 2023-04-23 01:01:55 -07:00 committed by GitHub
commit 6fe26674c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 169 additions and 155 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -64,7 +64,6 @@
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/io": "^1.1.3", "@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1", "@actions/tool-cache": "^2.0.1",
"@npmcli/ci-detect": "^3.0.2",
"@types/cross-spawn": "^6.0.2", "@types/cross-spawn": "^6.0.2",
"@types/eslint": "^8.37.0", "@types/eslint": "^8.37.0",
"@types/jest": "^29.5.1", "@types/jest": "^29.5.1",
@ -76,6 +75,7 @@
"@types/which": "^3.0.0", "@types/which": "^3.0.0",
"admina": "^0.1.3", "admina": "^0.1.3",
"caxa": "^3.0.1", "caxa": "^3.0.1",
"ci-info": "^3.8.0",
"ci-log": "workspace:*", "ci-log": "workspace:*",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
@ -83,7 +83,7 @@
"escape-path-with-spaces": "^1.0.2", "escape-path-with-spaces": "^1.0.2",
"escape-quotes": "^1.0.2", "escape-quotes": "^1.0.2",
"escape-string-regexp": "^5.0.0", "escape-string-regexp": "^5.0.0",
"eslint": "^8.38.0", "eslint": "^8.39.0",
"eslint-config-atomic": "^1.18.3", "eslint-config-atomic": "^1.18.3",
"exec-powershell": "workspace:*", "exec-powershell": "workspace:*",
"execa": "^5.1.1", "execa": "^5.1.1",
@ -149,7 +149,6 @@
"semver": "7.3.8", "semver": "7.3.8",
"eslint": "^8.28.0", "eslint": "^8.28.0",
"prettier": "2.7.1", "prettier": "2.7.1",
"lru-cache": "7.8.1",
"core-js": "*", "core-js": "*",
"babel-eslint": "npm:@babel/eslint-parser" "babel-eslint": "npm:@babel/eslint-parser"
}, },

View File

@ -1,8 +1,8 @@
import * as core from "@actions/core" import * as core from "@actions/core"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
export function error(err: string | Error) { export function error(err: string | Error) {
return ciDetect() === "github-actions" ? core.error(err) : console.log(`\x1b[31m${err}\x1b[0m`) return GITHUB_ACTIONS ? core.error(err) : console.log(`\x1b[31m${err}\x1b[0m`)
} }
export function success(msg: string) { export function success(msg: string) {
@ -10,13 +10,13 @@ export function success(msg: string) {
} }
export function warning(msg: string) { export function warning(msg: string) {
return ciDetect() === "github-actions" ? core.warning(msg) : console.log(`\x1b[33m${msg}\x1b[0m`) return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\x1b[33m${msg}\x1b[0m`)
} }
export function notice(msg: string) { export function notice(msg: string) {
return ciDetect() === "github-actions" ? core.notice(msg) : console.log(`\x1b[94m${msg}\x1b[0m`) return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\x1b[94m${msg}\x1b[0m`)
} }
export function info(msg: string) { export function info(msg: string) {
return ciDetect() === "github-actions" ? core.info(msg) : console.log(msg) return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)
} }

View File

@ -4,7 +4,6 @@ overrides:
semver: 7.3.8 semver: 7.3.8
eslint: ^8.28.0 eslint: ^8.28.0
prettier: 2.7.1 prettier: 2.7.1
lru-cache: 7.8.1
core-js: '*' core-js: '*'
babel-eslint: npm:@babel/eslint-parser babel-eslint: npm:@babel/eslint-parser
@ -24,9 +23,6 @@ importers:
'@actions/tool-cache': '@actions/tool-cache':
specifier: ^2.0.1 specifier: ^2.0.1
version: 2.0.1 version: 2.0.1
'@npmcli/ci-detect':
specifier: ^3.0.2
version: 3.0.2
'@types/cross-spawn': '@types/cross-spawn':
specifier: ^6.0.2 specifier: ^6.0.2
version: 6.0.2 version: 6.0.2
@ -60,6 +56,9 @@ importers:
caxa: caxa:
specifier: ^3.0.1 specifier: ^3.0.1
version: 3.0.1 version: 3.0.1
ci-info:
specifier: ^3.8.0
version: 3.8.0
ci-log: ci-log:
specifier: workspace:* specifier: workspace:*
version: link:packages/ci-log version: link:packages/ci-log
@ -83,10 +82,10 @@ importers:
version: 5.0.0 version: 5.0.0
eslint: eslint:
specifier: ^8.28.0 specifier: ^8.28.0
version: 8.38.0 version: 8.39.0
eslint-config-atomic: eslint-config-atomic:
specifier: ^1.18.3 specifier: ^1.18.3
version: 1.18.3(eslint@8.38.0) version: 1.18.3(eslint@8.39.0)
exec-powershell: exec-powershell:
specifier: workspace:* specifier: workspace:*
version: link:packages/exec-powershell version: link:packages/exec-powershell
@ -457,7 +456,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.38.0): /@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.39.0):
resolution: {integrity: sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg==} resolution: {integrity: sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg==}
engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0}
peerDependencies: peerDependencies:
@ -466,7 +465,7 @@ packages:
dependencies: dependencies:
'@babel/core': 7.21.4 '@babel/core': 7.21.4
'@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1
eslint: 8.38.0 eslint: 8.39.0
eslint-visitor-keys: 2.1.0 eslint-visitor-keys: 2.1.0
semver: 7.3.8 semver: 7.3.8
dev: true dev: true
@ -491,7 +490,7 @@ packages:
'@babel/core': 7.21.4 '@babel/core': 7.21.4
'@babel/helper-validator-option': 7.21.0 '@babel/helper-validator-option': 7.21.0
browserslist: 4.21.5 browserslist: 4.21.5
lru-cache: 7.8.1 lru-cache: 5.1.1
semver: 7.3.8 semver: 7.3.8
dev: true dev: true
@ -1064,13 +1063,13 @@ packages:
'@jridgewell/trace-mapping': 0.3.9 '@jridgewell/trace-mapping': 0.3.9
dev: true dev: true
/@eslint-community/eslint-utils@4.4.0(eslint@8.38.0): /@eslint-community/eslint-utils@4.4.0(eslint@8.39.0):
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
eslint: 8.38.0 eslint: 8.39.0
eslint-visitor-keys: 3.4.0 eslint-visitor-keys: 3.4.0
dev: true dev: true
@ -1096,8 +1095,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@eslint/js@8.38.0: /@eslint/js@8.39.0:
resolution: {integrity: sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==} resolution: {integrity: sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true dev: true
@ -1549,12 +1548,6 @@ packages:
fastq: 1.15.0 fastq: 1.15.0
dev: true dev: true
/@npmcli/ci-detect@3.0.2:
resolution: {integrity: sha512-P7nZG0skRVa9lH0OQmFG62CrzOySUiuPbKopjVAj3sXP0m1om9XfIvTp46h+NvlpTyd121JekiXFZj+1pnbm9g==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
deprecated: this package has been deprecated, use `ci-info` instead
dev: true
/@npmcli/fs@2.1.2: /@npmcli/fs@2.1.2:
resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==} resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==}
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
@ -1575,7 +1568,7 @@ packages:
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dependencies: dependencies:
'@npmcli/promise-spawn': 6.0.2 '@npmcli/promise-spawn': 6.0.2
lru-cache: 7.8.1 lru-cache: 7.18.3
npm-pick-manifest: 8.0.1 npm-pick-manifest: 8.0.1
proc-log: 3.0.0 proc-log: 3.0.0
promise-inflight: 1.0.1 promise-inflight: 1.0.1
@ -2624,7 +2617,7 @@ packages:
'@types/yargs-parser': 21.0.0 '@types/yargs-parser': 21.0.0
dev: true dev: true
/@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)(typescript@5.0.4): /@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.0.4):
resolution: {integrity: sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==} resolution: {integrity: sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -2636,12 +2629,12 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@eslint-community/regexpp': 4.5.0 '@eslint-community/regexpp': 4.5.0
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
'@typescript-eslint/scope-manager': 5.59.0 '@typescript-eslint/scope-manager': 5.59.0
'@typescript-eslint/type-utils': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/type-utils': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
'@typescript-eslint/utils': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/utils': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
debug: 4.3.4 debug: 4.3.4
eslint: 8.38.0 eslint: 8.39.0
grapheme-splitter: 1.0.4 grapheme-splitter: 1.0.4
ignore: 5.2.4 ignore: 5.2.4
natural-compare-lite: 1.4.0 natural-compare-lite: 1.4.0
@ -2652,7 +2645,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/parser@5.59.0(eslint@8.38.0)(typescript@5.0.4): /@typescript-eslint/parser@5.59.0(eslint@8.39.0)(typescript@5.0.4):
resolution: {integrity: sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==} resolution: {integrity: sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -2666,7 +2659,7 @@ packages:
'@typescript-eslint/types': 5.59.0 '@typescript-eslint/types': 5.59.0
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4) '@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4)
debug: 4.3.4 debug: 4.3.4
eslint: 8.38.0 eslint: 8.39.0
typescript: 5.0.4 typescript: 5.0.4
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -2680,7 +2673,7 @@ packages:
'@typescript-eslint/visitor-keys': 5.59.0 '@typescript-eslint/visitor-keys': 5.59.0
dev: true dev: true
/@typescript-eslint/type-utils@5.59.0(eslint@8.38.0)(typescript@5.0.4): /@typescript-eslint/type-utils@5.59.0(eslint@8.39.0)(typescript@5.0.4):
resolution: {integrity: sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==} resolution: {integrity: sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -2691,9 +2684,9 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4) '@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4)
'@typescript-eslint/utils': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/utils': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
debug: 4.3.4 debug: 4.3.4
eslint: 8.38.0 eslint: 8.39.0
tsutils: 3.21.0(typescript@5.0.4) tsutils: 3.21.0(typescript@5.0.4)
typescript: 5.0.4 typescript: 5.0.4
transitivePeerDependencies: transitivePeerDependencies:
@ -2726,19 +2719,19 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/utils@5.59.0(eslint@8.38.0)(typescript@5.0.4): /@typescript-eslint/utils@5.59.0(eslint@8.39.0)(typescript@5.0.4):
resolution: {integrity: sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==} resolution: {integrity: sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.38.0) '@eslint-community/eslint-utils': 4.4.0(eslint@8.39.0)
'@types/json-schema': 7.0.11 '@types/json-schema': 7.0.11
'@types/semver': 7.3.13 '@types/semver': 7.3.13
'@typescript-eslint/scope-manager': 5.59.0 '@typescript-eslint/scope-manager': 5.59.0
'@typescript-eslint/types': 5.59.0 '@typescript-eslint/types': 5.59.0
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4) '@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4)
eslint: 8.38.0 eslint: 8.39.0
eslint-scope: 5.1.1 eslint-scope: 5.1.1
semver: 7.3.8 semver: 7.3.8
transitivePeerDependencies: transitivePeerDependencies:
@ -3279,7 +3272,7 @@ packages:
fs-minipass: 2.1.0 fs-minipass: 2.1.0
glob: 8.1.0 glob: 8.1.0
infer-owner: 1.0.4 infer-owner: 1.0.4
lru-cache: 7.8.1 lru-cache: 7.18.3
minipass: 3.3.6 minipass: 3.3.6
minipass-collect: 1.0.2 minipass-collect: 1.0.2
minipass-flush: 1.0.5 minipass-flush: 1.0.5
@ -3302,7 +3295,7 @@ packages:
'@npmcli/fs': 3.1.0 '@npmcli/fs': 3.1.0
fs-minipass: 3.0.1 fs-minipass: 3.0.1
glob: 9.3.5 glob: 9.3.5
lru-cache: 7.8.1 lru-cache: 7.18.3
minipass: 4.2.8 minipass: 4.2.8
minipass-collect: 1.0.2 minipass-collect: 1.0.2
minipass-flush: 1.0.5 minipass-flush: 1.0.5
@ -4501,7 +4494,7 @@ packages:
engines: {node: '>=12'} engines: {node: '>=12'}
dev: true dev: true
/eslint-config-airbnb-base@14.2.1(eslint-plugin-import@2.27.5)(eslint@8.38.0): /eslint-config-airbnb-base@14.2.1(eslint-plugin-import@2.27.5)(eslint@8.39.0):
resolution: {integrity: sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==} resolution: {integrity: sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==}
engines: {node: '>= 6'} engines: {node: '>= 6'}
peerDependencies: peerDependencies:
@ -4509,14 +4502,14 @@ packages:
eslint-plugin-import: ^2.22.1 eslint-plugin-import: ^2.22.1
dependencies: dependencies:
confusing-browser-globals: 1.0.11 confusing-browser-globals: 1.0.11
eslint: 8.38.0 eslint: 8.39.0
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
object.assign: 4.1.4 object.assign: 4.1.4
object.entries: 1.1.6 object.entries: 1.1.6
dev: true dev: true
optional: true optional: true
/eslint-config-airbnb@18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.38.0): /eslint-config-airbnb@18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.39.0):
resolution: {integrity: sha512-glZNDEZ36VdlZWoxn/bUR1r/sdFKPd1mHPbqUtkctgNG4yT2DLLtJ3D+yCV+jzZCc2V1nBVkmdknOJBZ5Hc0fg==} resolution: {integrity: sha512-glZNDEZ36VdlZWoxn/bUR1r/sdFKPd1mHPbqUtkctgNG4yT2DLLtJ3D+yCV+jzZCc2V1nBVkmdknOJBZ5Hc0fg==}
engines: {node: '>= 6'} engines: {node: '>= 6'}
peerDependencies: peerDependencies:
@ -4526,37 +4519,37 @@ packages:
eslint-plugin-react: ^7.21.5 eslint-plugin-react: ^7.21.5
eslint-plugin-react-hooks: ^4 || ^3 || ^2.3.0 || ^1.7.0 eslint-plugin-react-hooks: ^4 || ^3 || ^2.3.0 || ^1.7.0
dependencies: dependencies:
eslint: 8.38.0 eslint: 8.39.0
eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.38.0) eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.39.0)
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
eslint-plugin-jsx-a11y: 6.7.1(eslint@8.38.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.39.0)
eslint-plugin-react: 7.23.2(eslint@8.38.0) eslint-plugin-react: 7.23.2(eslint@8.39.0)
eslint-plugin-react-hooks: 4.6.0(eslint@8.38.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.39.0)
object.assign: 4.1.4 object.assign: 4.1.4
object.entries: 1.1.6 object.entries: 1.1.6
dev: true dev: true
optional: true optional: true
/eslint-config-atomic@1.18.3(eslint@8.38.0): /eslint-config-atomic@1.18.3(eslint@8.39.0):
resolution: {integrity: sha512-J93UPUgiOBAzgok3DtabG2Rki1PhnK5bJN1/GlXR8YPVRlnwfFBnjSHnvvyd0L02+gVF9z0cMeHzw3afcRF2Eg==} resolution: {integrity: sha512-J93UPUgiOBAzgok3DtabG2Rki1PhnK5bJN1/GlXR8YPVRlnwfFBnjSHnvvyd0L02+gVF9z0cMeHzw3afcRF2Eg==}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
'@babel/core': 7.21.4 '@babel/core': 7.21.4
'@babel/eslint-parser': 7.21.3(@babel/core@7.21.4)(eslint@8.38.0) '@babel/eslint-parser': 7.21.3(@babel/core@7.21.4)(eslint@8.39.0)
'@babel/plugin-syntax-flow': 7.21.4(@babel/core@7.21.4) '@babel/plugin-syntax-flow': 7.21.4(@babel/core@7.21.4)
'@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.21.4) '@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.21.4)
'@typescript-eslint/eslint-plugin': 5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/eslint-plugin': 5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
eslint: 8.38.0 eslint: 8.39.0
eslint-config-prettier: 8.8.0(eslint@8.38.0) eslint-config-prettier: 8.8.0(eslint@8.39.0)
eslint-plugin-html: 7.1.0 eslint-plugin-html: 7.1.0
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
eslint-plugin-json: 3.1.0 eslint-plugin-json: 3.1.0
eslint-plugin-node: 11.1.0(eslint@8.38.0) eslint-plugin-node: 11.1.0(eslint@8.39.0)
eslint-plugin-only-warn: /@aminya/eslint-plugin-only-warn@1.2.2 eslint-plugin-only-warn: /@aminya/eslint-plugin-only-warn@1.2.2
eslint-plugin-optimize-regex: 1.2.1 eslint-plugin-optimize-regex: 1.2.1
eslint-plugin-react: 7.32.2(eslint@8.38.0) eslint-plugin-react: 7.32.2(eslint@8.39.0)
eslint-plugin-yaml: 0.5.0 eslint-plugin-yaml: 0.5.0
prettier: 2.7.1 prettier: 2.7.1
read-pkg-up: 7.0.1 read-pkg-up: 7.0.1
@ -4564,21 +4557,21 @@ packages:
typescript: 5.0.4 typescript: 5.0.4
optionalDependencies: optionalDependencies:
coffeescript: 1.12.7 coffeescript: 1.12.7
eslint-plugin-coffee: 0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.38.0) eslint-plugin-coffee: 0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.39.0)
eslint-plugin-react-hooks: 4.6.0(eslint@8.38.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.39.0)
transitivePeerDependencies: transitivePeerDependencies:
- eslint-import-resolver-typescript - eslint-import-resolver-typescript
- eslint-import-resolver-webpack - eslint-import-resolver-webpack
- supports-color - supports-color
dev: true dev: true
/eslint-config-prettier@8.8.0(eslint@8.38.0): /eslint-config-prettier@8.8.0(eslint@8.39.0):
resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
eslint: 8.38.0 eslint: 8.39.0
dev: true dev: true
/eslint-import-resolver-node@0.3.7: /eslint-import-resolver-node@0.3.7:
@ -4591,7 +4584,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0): /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.39.0):
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -4612,32 +4605,32 @@ packages:
eslint-import-resolver-webpack: eslint-import-resolver-webpack:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
debug: 3.2.7 debug: 3.2.7
eslint: 8.38.0 eslint: 8.39.0
eslint-import-resolver-node: 0.3.7 eslint-import-resolver-node: 0.3.7
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-coffee@0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.38.0): /eslint-plugin-coffee@0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.39.0):
resolution: {integrity: sha512-+qtkIPSc9etYqOODIlENqiRjID/oEoGMAAQJN988Aczy461NIwzaamFY6Fi0QDVVDb2v+OL/StVrk/QmyItfeg==} resolution: {integrity: sha512-+qtkIPSc9etYqOODIlENqiRjID/oEoGMAAQJN988Aczy461NIwzaamFY6Fi0QDVVDb2v+OL/StVrk/QmyItfeg==}
requiresBuild: true requiresBuild: true
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
axe-core: 3.5.6 axe-core: 3.5.6
babel-eslint: /@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.38.0) babel-eslint: /@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.39.0)
babylon: 7.0.0-beta.47 babylon: 7.0.0-beta.47
coffeescript: 2.7.0 coffeescript: 2.7.0
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.38.0 eslint: 8.39.0
eslint-config-airbnb: 18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.38.0) eslint-config-airbnb: 18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.39.0)
eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.38.0) eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.39.0)
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
eslint-plugin-jsx-a11y: 6.7.1(eslint@8.38.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.39.0)
eslint-plugin-react: 7.23.2(eslint@8.38.0) eslint-plugin-react: 7.23.2(eslint@8.39.0)
eslint-plugin-react-native: 3.11.0(eslint@8.38.0) eslint-plugin-react-native: 3.11.0(eslint@8.39.0)
eslint-scope: 3.7.3 eslint-scope: 3.7.3
eslint-utils: 1.4.3 eslint-utils: 1.4.3
eslint-visitor-keys: 1.3.0 eslint-visitor-keys: 1.3.0
@ -4653,13 +4646,13 @@ packages:
dev: true dev: true
optional: true optional: true
/eslint-plugin-es@3.0.1(eslint@8.38.0): /eslint-plugin-es@3.0.1(eslint@8.39.0):
resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==}
engines: {node: '>=8.10.0'} engines: {node: '>=8.10.0'}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
eslint: 8.38.0 eslint: 8.39.0
eslint-utils: 2.1.0 eslint-utils: 2.1.0
regexpp: 3.2.0 regexpp: 3.2.0
dev: true dev: true
@ -4670,7 +4663,7 @@ packages:
htmlparser2: 8.0.2 htmlparser2: 8.0.2
dev: true dev: true
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0): /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0):
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -4680,15 +4673,15 @@ packages:
'@typescript-eslint/parser': '@typescript-eslint/parser':
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4) '@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
array-includes: 3.1.6 array-includes: 3.1.6
array.prototype.flat: 1.3.1 array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1 array.prototype.flatmap: 1.3.1
debug: 3.2.7 debug: 3.2.7
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.38.0 eslint: 8.39.0
eslint-import-resolver-node: 0.3.7 eslint-import-resolver-node: 0.3.7
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0) eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.39.0)
has: 1.0.3 has: 1.0.3
is-core-module: 2.12.0 is-core-module: 2.12.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -4711,7 +4704,7 @@ packages:
vscode-json-languageservice: 4.2.1 vscode-json-languageservice: 4.2.1
dev: true dev: true
/eslint-plugin-jsx-a11y@6.7.1(eslint@8.38.0): /eslint-plugin-jsx-a11y@6.7.1(eslint@8.39.0):
resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==} resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}
engines: {node: '>=4.0'} engines: {node: '>=4.0'}
peerDependencies: peerDependencies:
@ -4726,7 +4719,7 @@ packages:
axobject-query: 3.1.1 axobject-query: 3.1.1
damerau-levenshtein: 1.0.8 damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2 emoji-regex: 9.2.2
eslint: 8.38.0 eslint: 8.39.0
has: 1.0.3 has: 1.0.3
jsx-ast-utils: 3.3.3 jsx-ast-utils: 3.3.3
language-tags: 1.0.5 language-tags: 1.0.5
@ -4737,14 +4730,14 @@ packages:
dev: true dev: true
optional: true optional: true
/eslint-plugin-node@11.1.0(eslint@8.38.0): /eslint-plugin-node@11.1.0(eslint@8.39.0):
resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==}
engines: {node: '>=8.10.0'} engines: {node: '>=8.10.0'}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
eslint: 8.38.0 eslint: 8.39.0
eslint-plugin-es: 3.0.1(eslint@8.38.0) eslint-plugin-es: 3.0.1(eslint@8.39.0)
eslint-utils: 2.1.0 eslint-utils: 2.1.0
ignore: 5.2.4 ignore: 5.2.4
minimatch: 3.1.2 minimatch: 3.1.2
@ -4759,14 +4752,14 @@ packages:
regexp-tree: 0.1.25 regexp-tree: 0.1.25
dev: true dev: true
/eslint-plugin-react-hooks@4.6.0(eslint@8.38.0): /eslint-plugin-react-hooks@4.6.0(eslint@8.39.0):
resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}
engines: {node: '>=10'} engines: {node: '>=10'}
requiresBuild: true requiresBuild: true
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
eslint: 8.38.0 eslint: 8.39.0
dev: true dev: true
optional: true optional: true
@ -4775,20 +4768,20 @@ packages:
dev: true dev: true
optional: true optional: true
/eslint-plugin-react-native@3.11.0(eslint@8.38.0): /eslint-plugin-react-native@3.11.0(eslint@8.39.0):
resolution: {integrity: sha512-7F3OTwrtQPfPFd+VygqKA2VZ0f2fz0M4gJmry/TRE18JBb94/OtMxwbL7Oqwu7FGyrdeIOWnXQbBAveMcSTZIA==} resolution: {integrity: sha512-7F3OTwrtQPfPFd+VygqKA2VZ0f2fz0M4gJmry/TRE18JBb94/OtMxwbL7Oqwu7FGyrdeIOWnXQbBAveMcSTZIA==}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
dependencies: dependencies:
'@babel/traverse': 7.21.4 '@babel/traverse': 7.21.4
eslint: 8.38.0 eslint: 8.39.0
eslint-plugin-react-native-globals: 0.1.2 eslint-plugin-react-native-globals: 0.1.2
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
optional: true optional: true
/eslint-plugin-react@7.23.2(eslint@8.38.0): /eslint-plugin-react@7.23.2(eslint@8.39.0):
resolution: {integrity: sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==} resolution: {integrity: sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -4797,7 +4790,7 @@ packages:
array-includes: 3.1.6 array-includes: 3.1.6
array.prototype.flatmap: 1.3.1 array.prototype.flatmap: 1.3.1
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.38.0 eslint: 8.39.0
has: 1.0.3 has: 1.0.3
jsx-ast-utils: 2.4.1 jsx-ast-utils: 2.4.1
minimatch: 3.1.2 minimatch: 3.1.2
@ -4810,7 +4803,7 @@ packages:
dev: true dev: true
optional: true optional: true
/eslint-plugin-react@7.32.2(eslint@8.38.0): /eslint-plugin-react@7.32.2(eslint@8.39.0):
resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==} resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -4820,7 +4813,7 @@ packages:
array.prototype.flatmap: 1.3.1 array.prototype.flatmap: 1.3.1
array.prototype.tosorted: 1.1.1 array.prototype.tosorted: 1.1.1
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.38.0 eslint: 8.39.0
estraverse: 5.3.0 estraverse: 5.3.0
jsx-ast-utils: 3.3.3 jsx-ast-utils: 3.3.3
minimatch: 3.1.2 minimatch: 3.1.2
@ -4896,15 +4889,15 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true dev: true
/eslint@8.38.0: /eslint@8.39.0:
resolution: {integrity: sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==} resolution: {integrity: sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true hasBin: true
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.38.0) '@eslint-community/eslint-utils': 4.4.0(eslint@8.39.0)
'@eslint-community/regexpp': 4.5.0 '@eslint-community/regexpp': 4.5.0
'@eslint/eslintrc': 2.0.2 '@eslint/eslintrc': 2.0.2
'@eslint/js': 8.38.0 '@eslint/js': 8.39.0
'@humanwhocodes/config-array': 0.11.8 '@humanwhocodes/config-array': 0.11.8
'@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/module-importer': 1.0.1
'@nodelib/fs.walk': 1.2.8 '@nodelib/fs.walk': 1.2.8
@ -5678,14 +5671,14 @@ packages:
resolution: {integrity: sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==} resolution: {integrity: sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==}
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
dependencies: dependencies:
lru-cache: 7.8.1 lru-cache: 7.18.3
dev: true dev: true
/hosted-git-info@6.1.1: /hosted-git-info@6.1.1:
resolution: {integrity: sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==} resolution: {integrity: sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dependencies: dependencies:
lru-cache: 7.8.1 lru-cache: 7.18.3
dev: true dev: true
/html-escaper@2.0.2: /html-escaper@2.0.2:
@ -7140,11 +7133,29 @@ packages:
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dev: true dev: true
/lru-cache@7.8.1: /lru-cache@5.1.1:
resolution: {integrity: sha512-E1v547OCgJvbvevfjgK9sNKIVXO96NnsTsFPBlg4ZxjhsJSODoH9lk8Bm0OxvHNm6Vm5Yqkl/1fErDxhYL8Skg==} resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
dependencies:
yallist: 3.1.1
dev: true
/lru-cache@6.0.0:
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
engines: {node: '>=10'}
dependencies:
yallist: 4.0.0
dev: true
/lru-cache@7.18.3:
resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==}
engines: {node: '>=12'} engines: {node: '>=12'}
dev: true dev: true
/lru-cache@9.1.0:
resolution: {integrity: sha512-qFXQEwchrZcMVen2uIDceR8Tii6kCJak5rzDStfEM0qA3YLMswaxIEZO0DhIbJ3aqaJiDjt+3crlplOb0tDtKQ==}
engines: {node: 14 || >=16.14}
dev: true
/make-dir@3.1.0: /make-dir@3.1.0:
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
engines: {node: '>=8'} engines: {node: '>=8'}
@ -7166,7 +7177,7 @@ packages:
http-proxy-agent: 5.0.0 http-proxy-agent: 5.0.0
https-proxy-agent: 5.0.1 https-proxy-agent: 5.0.1
is-lambda: 1.0.1 is-lambda: 1.0.1
lru-cache: 7.8.1 lru-cache: 7.18.3
minipass: 3.3.6 minipass: 3.3.6
minipass-collect: 1.0.2 minipass-collect: 1.0.2
minipass-fetch: 2.1.2 minipass-fetch: 2.1.2
@ -7191,7 +7202,7 @@ packages:
http-proxy-agent: 5.0.0 http-proxy-agent: 5.0.0
https-proxy-agent: 5.0.1 https-proxy-agent: 5.0.1
is-lambda: 1.0.1 is-lambda: 1.0.1
lru-cache: 7.8.1 lru-cache: 7.18.3
minipass: 4.2.8 minipass: 4.2.8
minipass-fetch: 3.0.2 minipass-fetch: 3.0.2
minipass-flush: 1.0.5 minipass-flush: 1.0.5
@ -8307,7 +8318,7 @@ packages:
resolution: {integrity: sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==} resolution: {integrity: sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==}
engines: {node: '>=16 || 14 >=14.17'} engines: {node: '>=16 || 14 >=14.17'}
dependencies: dependencies:
lru-cache: 7.8.1 lru-cache: 9.1.0
minipass: 5.0.0 minipass: 5.0.0
dev: true dev: true
@ -9016,7 +9027,7 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
hasBin: true hasBin: true
dependencies: dependencies:
lru-cache: 7.8.1 lru-cache: 6.0.0
dev: true dev: true
/set-blocking@2.0.0: /set-blocking@2.0.0:
@ -10196,6 +10207,10 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
dev: true dev: true
/yallist@3.1.1:
resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
dev: true
/yallist@4.0.0: /yallist@4.0.0:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
dev: true dev: true

View File

@ -1,6 +1,6 @@
import { setupCmake } from "../cmake" import { setupCmake } from "../cmake"
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers" import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { getVersion } from "../../versions/versions" import { getVersion } from "../../versions/versions"
jest.setTimeout(300000) jest.setTimeout(300000)
@ -19,7 +19,7 @@ describe("setup-cmake", () => {
it("should find CMake in the cache", async () => { it("should find CMake in the cache", async () => {
const { binDir } = await setupCmake(getVersion("cmake", "true"), directory, process.arch) const { binDir } = await setupCmake(getVersion("cmake", "true"), directory, process.arch)
await testBin("cmake", ["--version"], binDir) await testBin("cmake", ["--version"], binDir)
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache") expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
} }
}) })

View File

@ -9,7 +9,7 @@ import semverCoerce from "semver/functions/coerce"
import { setupMacOSSDK } from "../macos-sdk/macos-sdk" import { setupMacOSSDK } from "../macos-sdk/macos-sdk"
import { join, addExeExt } from "patha" import { join, addExeExt } from "patha"
import { warning, info } from "ci-log" import { warning, info } from "ci-log"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { InstallationInfo, PackageInfo, setupBin } from "../utils/setup/setupBin" import { InstallationInfo, PackageInfo, setupBin } from "../utils/setup/setupBin"
import { extract7Zip } from "../utils/setup/extract" import { extract7Zip } from "../utils/setup/extract"
import { isArch } from "../utils/env/isArch" import { isArch } from "../utils/env/isArch"
@ -197,7 +197,7 @@ async function activateGcc(version: string, binDir: string) {
promises.push(setupMacOSSDK()) promises.push(setupMacOSSDK())
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
await addGccLoggingMatcher() await addGccLoggingMatcher()
} }

View File

@ -39,7 +39,7 @@ describe("setup-Kcov", () => {
// it("should find Kcov in the cache", async () => { // it("should find Kcov in the cache", async () => {
// const binDir = await testKcov("v39", directory) // const binDir = await testKcov("v39", directory)
// if (ciDetect() === "github-actions") { // if (GITHUB_ACTIONS) {
// expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache") // expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
// } // }
// await cleanupTmpDir("kcov-v39") // await cleanupTmpDir("kcov-v39")

View File

@ -2,7 +2,7 @@ import { setupLLVM, setupClangTools } from "../llvm"
import { getSpecificVersionAndUrl } from "../../utils/setup/version" import { getSpecificVersionAndUrl } from "../../utils/setup/version"
import { isUrlOnline } from "is-url-online" import { isUrlOnline } from "is-url-online"
import { setupTmpDir, testBin } from "../../utils/tests/test-helpers" import { setupTmpDir, testBin } from "../../utils/tests/test-helpers"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import execa from "execa" import execa from "execa"
import path, { addExeExt } from "patha" import path, { addExeExt } from "patha"
import { chmodSync } from "fs" import { chmodSync } from "fs"
@ -104,7 +104,7 @@ describe("setup-llvm", () => {
const { binDir } = await setupLLVM(getVersion("llvm", "true", osVersion), directory, process.arch) const { binDir } = await setupLLVM(getVersion("llvm", "true", osVersion), directory, process.arch)
await testBin("clang++", ["--version"], binDir) await testBin("clang++", ["--version"], binDir)
if (ciDetect() === "github-actions" && process.platform !== "linux") { if (GITHUB_ACTIONS && process.platform !== "linux") {
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache") expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
// TODO returns the install dir on linux // TODO returns the install dir on linux
} }
@ -112,7 +112,7 @@ describe("setup-llvm", () => {
expect(process.env.CC?.includes("clang")).toBeTruthy() expect(process.env.CC?.includes("clang")).toBeTruthy()
expect(process.env.CXX?.includes("clang++")).toBeTruthy() expect(process.env.CXX?.includes("clang++")).toBeTruthy()
if (ciDetect() === "github-actions" && process.platform !== "linux") { if (GITHUB_ACTIONS && process.platform !== "linux") {
expect(process.env.CC).toMatch("hostedtoolcache") expect(process.env.CC).toMatch("hostedtoolcache")
expect(process.env.CXX).toMatch("hostedtoolcache") expect(process.env.CXX).toMatch("hostedtoolcache")
} }

View File

@ -8,7 +8,7 @@ import { addEnv } from "../utils/env/addEnv"
import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack" import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack"
import { info, warning } from "ci-log" import { info, warning } from "ci-log"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { setupGcc } from "../gcc/gcc" import { setupGcc } from "../gcc/gcc"
import { getVersion } from "../versions/versions" import { getVersion } from "../versions/versions"
import { isUbuntu } from "../utils/env/isUbuntu" import { isUbuntu } from "../utils/env/isUbuntu"
@ -115,7 +115,7 @@ export async function activateLLVM(directory: string, versionGiven: string) {
) )
} }
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
await addLLVMLoggingMatcher() await addLLVMLoggingMatcher()
} }
@ -124,7 +124,7 @@ export async function activateLLVM(directory: string, versionGiven: string) {
/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */ /** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */
export async function setupClangTools(version: string, setupDir: string, arch: string): Promise<InstallationInfo> { export async function setupClangTools(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
await addLLVMLoggingMatcher() await addLLVMLoggingMatcher()
} }
return setupLLVMWithoutActivation(version, setupDir, arch) return setupLLVMWithoutActivation(version, setupDir, arch)

View File

@ -2,7 +2,7 @@
/* eslint-disable node/shebang */ /* eslint-disable node/shebang */
import { endGroup, getInput, notice, startGroup } from "@actions/core" import { endGroup, getInput, notice, startGroup } from "@actions/core"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { error, info, success, warning } from "ci-log" import { error, info, success, warning } from "ci-log"
import mri from "mri" import mri from "mri"
import * as numerous from "numerous" import * as numerous from "numerous"
@ -89,7 +89,7 @@ const inputs: Array<Inputs> = ["compiler", "architecture", ...tools]
/** The main entry function */ /** The main entry function */
export async function main(args: string[]): Promise<number> { export async function main(args: string[]): Promise<number> {
if (ciDetect() !== "github-actions") { if (!GITHUB_ACTIONS) {
process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = "true" process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = "true"
} }
@ -280,7 +280,7 @@ export async function main(args: string[]): Promise<number> {
info("setup-cpp finished") info("setup-cpp finished")
if (ciDetect() !== "github-actions") { if (!GITHUB_ACTIONS) {
switch (process.platform) { switch (process.platform) {
case "win32": { case "win32": {
warning("Run `RefreshEnv.cmd` or restart your shell to update the environment.") warning("Run `RefreshEnv.cmd` or restart your shell to update the environment.")

View File

@ -3,7 +3,7 @@ import { setupVCVarsall } from "../vcvarsall/vcvarsall"
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
import { vsversion_to_versionnumber, findVcvarsall } from "msvc-dev-cmd/lib.js" import { vsversion_to_versionnumber, findVcvarsall } from "msvc-dev-cmd/lib.js"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { join } from "patha" import { join } from "patha"
import { error, info, warning } from "ci-log" import { error, info, warning } from "ci-log"
@ -66,7 +66,7 @@ export async function setupMSVC(
// run vcvarsall.bat environment variables // run vcvarsall.bat environment variables
await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre) await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
await addMSVCLoggingMatcher() await addMSVCLoggingMatcher()
} }
} }

View File

@ -1,6 +1,6 @@
import { setupNinja } from "../ninja" import { setupNinja } from "../ninja"
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers" import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { getVersion } from "../../versions/versions" import { getVersion } from "../../versions/versions"
jest.setTimeout(300000) jest.setTimeout(300000)
@ -22,7 +22,7 @@ describe("setup-ninja", () => {
it("should find Ninja in the cache", async () => { it("should find Ninja in the cache", async () => {
const binDir = await testNinja(directory) const binDir = await testNinja(directory)
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache") expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
} }
}) })

View File

@ -1,12 +1,12 @@
import { setupPowershell } from "../powershell" import { setupPowershell } from "../powershell"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
import { getVersion } from "../../versions/versions" import { getVersion } from "../../versions/versions"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
jest.setTimeout(300000) jest.setTimeout(300000)
describe("setup-powershell", () => { describe("setup-powershell", () => {
it("should setup powershell", async () => { it("should setup powershell", async () => {
if (process.platform === "win32" && ciDetect() === "github-actions") { if (process.platform === "win32" && GITHUB_ACTIONS) {
// results in errors // results in errors
return return
} }

View File

@ -2,7 +2,7 @@ import { setupPython } from "../python"
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers" import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
import { getVersion } from "../../versions/versions" import { getVersion } from "../../versions/versions"
import { ubuntuVersion } from "../../utils/env/ubuntu_version" import { ubuntuVersion } from "../../utils/env/ubuntu_version"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { info } from "ci-log" import { info } from "ci-log"
jest.setTimeout(300000) jest.setTimeout(300000)
@ -13,7 +13,7 @@ describe("setup-python", () => {
}) })
it("should setup python in GitHub Actions", async () => { it("should setup python in GitHub Actions", async () => {
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
info("Installing python in GitHub Actions") info("Installing python in GitHub Actions")
const { setupActionsPython } = await import("../actions_python") const { setupActionsPython } = await import("../actions_python")
await setupActionsPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch) await setupActionsPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)

View File

@ -4,7 +4,7 @@ import { findPyPyVersion } from "setup-python/src/find-pypy"
import { info, warning } from "ci-log" import { info, warning } from "ci-log"
import { debug } from "@actions/core" import { debug } from "@actions/core"
import { join } from "patha" import { join } from "patha"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { isCacheFeatureAvailable, IS_MAC } from "setup-python/src/utils" import { isCacheFeatureAvailable, IS_MAC } from "setup-python/src/utils"
import { getCacheDistributor } from "setup-python/src/cache-distributions/cache-factory" import { getCacheDistributor } from "setup-python/src/cache-distributions/cache-factory"
import pathExists from "path-exists" import pathExists from "path-exists"
@ -51,7 +51,7 @@ export async function setupActionsPython(version: string, _setupDir: string, arc
} }
} }
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
await addPythonLoggingMatcher() await addPythonLoggingMatcher()
} }

View File

@ -3,7 +3,7 @@ import { setupAptPack } from "../utils/setup/setupAptPack"
import { setupPacmanPack } from "../utils/setup/setupPacmanPack" import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
import { setupBrewPack } from "../utils/setup/setupBrewPack" import { setupBrewPack } from "../utils/setup/setupBrewPack"
import { setupChocoPack } from "../utils/setup/setupChocoPack" import { setupChocoPack } from "../utils/setup/setupChocoPack"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { warning, info } from "ci-log" import { warning, info } from "ci-log"
import { isArch } from "../utils/env/isArch" import { isArch } from "../utils/env/isArch"
import which from "which" import which from "which"
@ -20,7 +20,7 @@ import execa from "execa"
import { unique } from "../utils/std" import { unique } from "../utils/std"
export async function setupPython(version: string, setupDir: string, arch: string) { export async function setupPython(version: string, setupDir: string, arch: string) {
if (ciDetect() !== "github-actions") { if (!GITHUB_ACTIONS) {
// TODO parse version // TODO parse version
return setupPythonViaSystem(version, setupDir, arch) return setupPythonViaSystem(version, setupDir, arch)
} }

View File

@ -1,6 +1,6 @@
import { setupTask } from "../task" import { setupTask } from "../task"
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers" import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { getVersion } from "../../versions/versions" import { getVersion } from "../../versions/versions"
jest.setTimeout(300000) jest.setTimeout(300000)
@ -18,7 +18,7 @@ describe("setup-task", () => {
it("should find task in the cache", async () => { it("should find task in the cache", async () => {
const { binDir } = await setupTask(getVersion("task", "true"), directory, process.arch) const { binDir } = await setupTask(getVersion("task", "true"), directory, process.arch)
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache") expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
} }
}) })

View File

@ -1,5 +1,5 @@
import { exportVariable, addPath as ghAddPath, info, setFailed } from "@actions/core" import { exportVariable, addPath as ghAddPath, info, setFailed } from "@actions/core"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { untildifyUser } from "untildify-user" import { untildifyUser } from "untildify-user"
import { appendFileSync, readFileSync, writeFileSync } from "fs" import { appendFileSync, readFileSync, writeFileSync } from "fs"
import { error, warning } from "ci-log" import { error, warning } from "ci-log"
@ -18,7 +18,7 @@ import pathExists from "path-exists"
export async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) { export async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {
const val = escapeString(valGiven ?? "", shouldEscapeSpace) const val = escapeString(valGiven ?? "", shouldEscapeSpace)
try { try {
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
try { try {
exportVariable(name, val) exportVariable(name, val)
} catch (err) { } catch (err) {
@ -47,7 +47,7 @@ function escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {
export async function addPath(path: string) { export async function addPath(path: string) {
process.env.PATH = `${path}${delimiter}${process.env.PATH}` process.env.PATH = `${path}${delimiter}${process.env.PATH}`
try { try {
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
try { try {
ghAddPath(path) ghAddPath(path)
} catch (err) { } catch (err) {

View File

@ -2,7 +2,7 @@
import { InstallationInfo } from "./setupBin" import { InstallationInfo } from "./setupBin"
import { execRoot, execRootSync } from "admina" import { execRoot, execRootSync } from "admina"
import { info } from "@actions/core" import { info } from "@actions/core"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { addEnv, cpprc_path, setupCppInProfile } from "../env/addEnv" import { addEnv, cpprc_path, setupCppInProfile } from "../env/addEnv"
import which from "which" import which from "which"
import pathExists from "path-exists" import pathExists from "path-exists"
@ -149,7 +149,7 @@ export async function addAptKeyViaDownload(name: string, url: string) {
} }
export async function updateAptAlternatives(name: string, path: string) { export async function updateAptAlternatives(name: string, path: string) {
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
return execRoot("update-alternatives", ["--install", `/usr/bin/${name}`, name, path, "40"]) return execRoot("update-alternatives", ["--install", `/usr/bin/${name}`, name, path, "40"])
} else { } else {
await setupCppInProfile() await setupCppInProfile()

View File

@ -4,7 +4,7 @@ import { join } from "patha"
import { info } from "ci-log" import { info } from "ci-log"
import { tmpdir } from "os" import { tmpdir } from "os"
import ciDetect from "@npmcli/ci-detect" import { GITHUB_ACTIONS } from "ci-info"
import { setupAptPack } from "./setupAptPack" import { setupAptPack } from "./setupAptPack"
import { setupPacmanPack } from "./setupPacmanPack" import { setupPacmanPack } from "./setupPacmanPack"
import { isArch } from "../env/isArch" import { isArch } from "../env/isArch"
@ -66,7 +66,7 @@ export async function setupBin(
) )
// Restore from cache (if found). // Restore from cache (if found).
if (ciDetect() === "github-actions") { if (GITHUB_ACTIONS) {
try { try {
const dir = find(name, version) const dir = find(name, version)
if (dir) { if (dir) {
@ -136,7 +136,7 @@ export async function setupBin(
await addPath(binDir) await addPath(binDir)
// check if inside Github Actions. If so, cache the installation // check if inside Github Actions. If so, cache the installation
if (ciDetect() === "github-actions" && typeof process.env.RUNNER_TOOL_CACHE === "string") { if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === "string") {
await cacheDir(setupDir, name, version) await cacheDir(setupDir, name, version)
} }