fix: downgrade numerous + update @types/node

This commit is contained in:
Amin Yahyaabadi 2024-09-20 16:17:38 -07:00
parent 72f96bf6fe
commit 32a534716d
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
13 changed files with 28 additions and 41 deletions

View File

@ -9,7 +9,7 @@
"groupName": "devDependencies",
"semanticCommitType": "chore",
"automerge": true,
"ignoreDeps": ["eslint"]
"ignoreDeps": ["eslint", "numerous"]
},
{
"matchDepTypes": ["dependencies"],

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

@ -30,7 +30,7 @@
"build.vite": "cross-env NODE_ENV=production vite build",
"build.vite.legacy": "cross-env NODE_ENV=production TARGET=legacy vite build",
"build.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern && minijson --file ./dist/**/*.json",
"bump": "ncu -u -x numerous,execa,prettier,@types/node,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
"bump": "ncu -u -x numerous,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
"clean": "shx rm -rf ./dist ./packages/*/dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/modern ./dist/modern ",
"dev.vite": "cross-env NODE_ENV=development vite build --watch",
"dev.packages": "turbo dev",
@ -113,7 +113,7 @@
"node-downloader-helper": "2.1.9",
"npm-check-updates": "^17.1.2",
"npm-run-all2": "^6.2.3",
"numerous": "2.0.0",
"numerous": "1.0.3",
"p-timeout": "^6.1.2",
"path-exists": "^5.0.0",
"patha": "^0.4.1",
@ -131,7 +131,7 @@
"simple-update-notifier": "^2.0.0",
"terser": "^5.33.0",
"terser-config-atomic": "^1.0.0",
"time-delta": "github:aminya/time-delta#d732dbc4fe991ab323cfa9075df8a7988537926e",
"time-delta": "github:aminya/time-delta#69d91a4",
"timers-browserify": "^2.0.12",
"ts-node": "^10.9.2",
"ts-readme": "^1.1.3",

View File

@ -18,7 +18,7 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"@types/node": "^12",
"@types/node": "22.5.5",
"admina": "^1.0.1",
"ci-info": "^4.0.0",
"escape-path-with-spaces": "^1.0.2",

View File

@ -17,7 +17,7 @@
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"@types/node": "^12",
"@types/node": "22.5.5",
"admina": "^1.0.1",
"ci-info": "^4.0.0",
"path-exists": "^5.0.0",

View File

@ -104,7 +104,7 @@ export async function installAptPack(packages: AptPackage[], update = false): Pr
})
} catch (err) {
if (isExecaError(err)) {
if (retryErrors.some((error) => err.stderr.includes(error))) {
if (retryErrors.some((error) => typeof err.stderr === "string" && err.stderr.includes(error))) {
warning(`Failed to install packages ${needToInstall}. Retrying...`)
execRootSync(
apt,

View File

@ -18,7 +18,7 @@
"test": "jest --coverage"
},
"dependencies": {
"@types/node": "^12",
"@types/node": "22.5.5",
"ci-log": "workspace:*",
"envosman": "workspace:*",
"which": "4.0.0",

View File

@ -191,8 +191,8 @@ importers:
specifier: ^6.2.3
version: 6.2.3
numerous:
specifier: 2.0.0
version: 2.0.0
specifier: 1.0.3
version: 1.0.3
p-timeout:
specifier: ^6.1.2
version: 6.1.2
@ -245,8 +245,8 @@ importers:
specifier: ^1.0.0
version: 1.0.0
time-delta:
specifier: github:aminya/time-delta#d732dbc4fe991ab323cfa9075df8a7988537926e
version: https://codeload.github.com/aminya/time-delta/tar.gz/d732dbc4fe991ab323cfa9075df8a7988537926e
specifier: github:aminya/time-delta#69d91a4
version: https://codeload.github.com/aminya/time-delta/tar.gz/69d91a4
timers-browserify:
specifier: ^2.0.12
version: 2.0.12
@ -299,8 +299,8 @@ importers:
specifier: ^1.10.1
version: 1.10.1
'@types/node':
specifier: ^12
version: 12.20.55
specifier: 22.5.5
version: 22.5.5
admina:
specifier: ^1.0.1
version: 1.0.1
@ -355,8 +355,8 @@ importers:
packages/setup-apt:
dependencies:
'@types/node':
specifier: ^12
version: 12.20.55
specifier: 22.5.5
version: 22.5.5
admina:
specifier: ^1.0.1
version: 1.0.1
@ -398,8 +398,8 @@ importers:
packages/setup-brew:
dependencies:
'@types/node':
specifier: ^12
version: 12.20.55
specifier: 22.5.5
version: 22.5.5
ci-log:
specifier: workspace:*
version: link:../ci-log
@ -1744,9 +1744,6 @@ packages:
'@types/ms@0.7.34':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
'@types/node@12.20.55':
resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==}
'@types/node@14.18.63':
resolution: {integrity: sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==}
@ -4302,10 +4299,6 @@ packages:
numerous@1.0.3:
resolution: {integrity: sha512-jN2WTpfdMmR1d5ClpYguln+XAvgW7B0te6wlsyaZhyev7E2CyOmvXq5LTIV/p9mt9WrPW9Xw1g5+28iZh8BhFQ==}
numerous@2.0.0:
resolution: {integrity: sha512-t6VXZ+c6NaHnNcSJlqFF93aQhcSDRjgsjmVeJGu8slBlK8I4aspcMcEv5S1mrtqadtm0/4HmEF44EzkJJofFaw==}
engines: {node: '>=12'}
object-assign@4.1.1:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
@ -5014,8 +5007,8 @@ packages:
through@2.3.8:
resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
time-delta@https://codeload.github.com/aminya/time-delta/tar.gz/d732dbc4fe991ab323cfa9075df8a7988537926e:
resolution: {tarball: https://codeload.github.com/aminya/time-delta/tar.gz/d732dbc4fe991ab323cfa9075df8a7988537926e}
time-delta@https://codeload.github.com/aminya/time-delta/tar.gz/69d91a4:
resolution: {tarball: https://codeload.github.com/aminya/time-delta/tar.gz/69d91a4}
version: 1.0.0
engines: {node: '>=12'}
@ -6942,8 +6935,6 @@ snapshots:
'@types/ms@0.7.34': {}
'@types/node@12.20.55': {}
'@types/node@14.18.63': {}
'@types/node@18.19.50':
@ -10218,10 +10209,6 @@ snapshots:
numerous@1.0.3: {}
numerous@2.0.0:
dependencies:
is-node: 1.0.2
object-assign@4.1.1: {}
object-inspect@1.13.2: {}
@ -10992,7 +10979,7 @@ snapshots:
through@2.3.8: {}
time-delta@https://codeload.github.com/aminya/time-delta/tar.gz/d732dbc4fe991ab323cfa9075df8a7988537926e:
time-delta@https://codeload.github.com/aminya/time-delta/tar.gz/69d91a4:
dependencies:
is-node: 1.0.2
numerous: 1.0.3

View File

@ -4,9 +4,9 @@
import { GITHUB_ACTIONS, isCI } from "ci-info"
import { error, info, success, warning } from "ci-log"
import { finalizeRC } from "envosman"
import * as numerous from "numerous"
import numerous from "numerous"
import numerousLocale from "numerous/locales/en.js"
import * as timeDelta from "time-delta"
import timeDelta from "time-delta"
import timeDeltaLocale from "time-delta/locales/en.js"
import { untildifyUser } from "untildify-user"
import { checkUpdates } from "./check-updates.js"

View File

@ -31,7 +31,7 @@ const viteConfig = defineConfig({
"stream/promises": "./src/utils/compat/stream/promises.ts",
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs",
"util/types": "util.types/index.js",
'timers/promises': 'timers-browserify',
"timers/promises": "timers-browserify",
diagnostics_channel: "diagnostics_channel/index.js",
}
: {}),