From 51e2d3ed4640a467d56f527cf3e7f76229d02c8c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 10 Jan 2024 07:23:19 +0000
Subject: [PATCH] chore(deps): update dependency node to v18.19.0 (#4957)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change | Pending | Age | Adoption | Passing
| Confidence |
|---|---|---|---|---|---|---|---|---|
| [node](https://togithub.com/nodejs/node) | | minor | `18.18.0` ->
`18.19.0` | |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| devDependencies | minor | [`18.17.19` ->
`18.19.4`](https://renovatebot.com/diffs/npm/@types%2fnode/18.17.19/18.19.4)
| `18.19.6` (+1) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
nodejs/node (node)
###
[`v18.19.0`](https://togithub.com/nodejs/node/compare/v18.18.2...v18.19.0)
[Compare
Source](https://togithub.com/nodejs/node/compare/v18.18.2...v18.19.0)
###
[`v18.18.2`](https://togithub.com/nodejs/node/compare/v18.18.1...v18.18.2)
[Compare
Source](https://togithub.com/nodejs/node/compare/v18.18.1...v18.18.2)
###
[`v18.18.1`](https://togithub.com/nodejs/node/releases/tag/v18.18.1):
2023-10-10, Version 18.18.1 'Hydrogen' (LTS),
@richardlau
[Compare
Source](https://togithub.com/nodejs/node/compare/v18.18.0...v18.18.1)
##### Notable Changes
This release addresses some regressions that appeared in Node.js
18.18.0:
- (Windows) FS can not handle certain characters in file name
[#48673](https://togithub.com/nodejs/node/issues/48673)
- 18 and 20 node images give error - Text file busy (after re-build
images)
[nodejs/docker-node#1968](https://togithub.com/nodejs/docker-node/issues/1968)
- libuv update in 18.18.0 breaks webpack's thread-loader
[#49911](https://togithub.com/nodejs/node/issues/49911)
The libuv 1.45.0 and 1.46.0 updates that were released in Node.js
18.18.0 have been temporarily reverted.
##### Commits
- \[[`3e3a75cc46`](https://togithub.com/nodejs/node/commit/3e3a75cc46)]
- ***Revert*** "**build**: sync libuv header change" (Richard Lau)
[#50036](https://togithub.com/nodejs/node/pull/50036)
- \[[`14ece2c479`](https://togithub.com/nodejs/node/commit/14ece2c479)]
- ***Revert*** "**deps**: upgrade to libuv 1.45.0" (Richard Lau)
[#50036](https://togithub.com/nodejs/node/pull/50036)
- \[[`022352acbe`](https://togithub.com/nodejs/node/commit/022352acbe)]
- ***Revert*** "**deps**: upgrade to libuv 1.46.0" (Richard Lau)
[#50036](https://togithub.com/nodejs/node/pull/50036)
- \[[`d9f138189c`](https://togithub.com/nodejs/node/commit/d9f138189c)]
- ***Revert*** "**deps**: add missing thread-common.c in uv.gyp"
(Richard Lau)
[#50036](https://togithub.com/nodejs/node/pull/50036)
- \[[`7a3e1ffbb8`](https://togithub.com/nodejs/node/commit/7a3e1ffbb8)]
- **fs**: make sure to write entire buffer (Robert Nagy)
[#49211](https://togithub.com/nodejs/node/pull/49211)
- \[[`04cba95a67`](https://togithub.com/nodejs/node/commit/04cba95a67)]
- **test**: add `tmpdir.resolve()` (Livia Medeiros)
[#49079](https://togithub.com/nodejs/node/pull/49079)
---
### Configuration
๐
**Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
๐ฆ **Automerge**: Enabled.
โป **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
๐ **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ivar Conradi รsthus
---
.node-version | 2 +-
frontend/package.json | 2 +-
frontend/yarn.lock | 10 ++++++----
package.json | 2 +-
.../feature-evaluator/repository/index.ts | 2 +-
src/lib/features/scheduler/scheduler-service.ts | 2 +-
src/lib/metrics.ts | 5 ++---
src/lib/proxy/proxy-repository.ts | 2 +-
yarn.lock | 15 +++++++++++----
9 files changed, 25 insertions(+), 17 deletions(-)
diff --git a/.node-version b/.node-version
index 02c8b485ed..a9d087399d 100644
--- a/.node-version
+++ b/.node-version
@@ -1 +1 @@
-18.18.0
+18.19.0
diff --git a/frontend/package.json b/frontend/package.json
index d3ff9e5b33..c210239d26 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -52,7 +52,7 @@
"@types/lodash.clonedeep": "4.5.9",
"@types/lodash.mapvalues": "^4.6.9",
"@types/lodash.omit": "4.5.9",
- "@types/node": "18.17.19",
+ "@types/node": "18.19.4",
"@types/react": "17.0.74",
"@types/react-dom": "17.0.25",
"@types/react-linkify": "1.0.4",
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 9544602bd1..3721e6a95d 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -2208,10 +2208,12 @@
dependencies:
undici-types "~5.26.4"
-"@types/node@18.17.19":
- version "18.17.19"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-18.17.19.tgz#80c9b8a89d3648d9e6098f4a7184e03833fee3c5"
- integrity sha512-+pMhShR3Or5GR0/sp4Da7FnhVmTalWm81M6MkEldbwjETSaPalw138Z4KdpQaistvqQxLB7Cy4xwYdxpbSOs9Q==
+"@types/node@18.19.4":
+ version "18.19.4"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.4.tgz#89672e84f11a2c19543d694dac00ab8d7bc20ddb"
+ integrity sha512-xNzlUhzoHotIsnFoXmJB+yWmBvFZgKCI9TtPIEdYIMM1KWfwuY8zh7wvc1u1OAXlC7dlf6mZVx/s+Y5KfFz19A==
+ dependencies:
+ undici-types "~5.26.4"
"@types/node@^18.17.5":
version "18.18.5"
diff --git a/package.json b/package.json
index 57bbcee6e9..7745b5e173 100644
--- a/package.json
+++ b/package.json
@@ -166,7 +166,7 @@
"@types/make-fetch-happen": "10.0.4",
"@types/memoizee": "0.4.11",
"@types/mime": "3.0.4",
- "@types/node": "18.17.19",
+ "@types/node": "18.19.4",
"@types/nodemailer": "6.4.14",
"@types/owasp-password-strength-test": "1.3.2",
"@types/pg": "8.10.9",
diff --git a/src/lib/features/playground/feature-evaluator/repository/index.ts b/src/lib/features/playground/feature-evaluator/repository/index.ts
index bba8bc1341..ac86655b53 100644
--- a/src/lib/features/playground/feature-evaluator/repository/index.ts
+++ b/src/lib/features/playground/feature-evaluator/repository/index.ts
@@ -23,7 +23,7 @@ interface FeatureToggleData {
}
export default class Repository extends EventEmitter {
- private timer: NodeJS.Timer | undefined;
+ private timer: NodeJS.Timeout | undefined;
private appName: string;
diff --git a/src/lib/features/scheduler/scheduler-service.ts b/src/lib/features/scheduler/scheduler-service.ts
index c94cecfe50..867f4e8fef 100644
--- a/src/lib/features/scheduler/scheduler-service.ts
+++ b/src/lib/features/scheduler/scheduler-service.ts
@@ -4,7 +4,7 @@ import { IMaintenanceStatus } from '../maintenance/maintenance-service';
import { SCHEDULER_JOB_TIME } from '../../metric-events';
export class SchedulerService {
- private intervalIds: NodeJS.Timer[] = [];
+ private intervalIds: NodeJS.Timeout[] = [];
private logger: Logger;
diff --git a/src/lib/metrics.ts b/src/lib/metrics.ts
index e9de062ca9..2d970352c2 100644
--- a/src/lib/metrics.ts
+++ b/src/lib/metrics.ts
@@ -22,15 +22,14 @@ import {
import { IUnleashConfig } from './types/option';
import { IEnvironmentStore, IUnleashStores } from './types/stores';
import { hoursToMilliseconds, minutesToMilliseconds } from 'date-fns';
-import Timer = NodeJS.Timer;
import { InstanceStatsService } from './features/instance-stats/instance-stats-service';
import { ValidatedClientMetrics } from './services/client-metrics/schema';
import { IEnvironment } from './types';
export default class MetricsMonitor {
- timer?: Timer;
+ timer?: NodeJS.Timeout;
- poolMetricsTimer?: Timer;
+ poolMetricsTimer?: NodeJS.Timeout;
constructor() {
this.timer = undefined;
diff --git a/src/lib/proxy/proxy-repository.ts b/src/lib/proxy/proxy-repository.ts
index 579f892577..e490cfd89a 100644
--- a/src/lib/proxy/proxy-repository.ts
+++ b/src/lib/proxy/proxy-repository.ts
@@ -43,7 +43,7 @@ export class ProxyRepository extends EventEmitter implements RepositoryInterface
private interval: number;
- private timer: NodeJS.Timer | null;
+ private timer: NodeJS.Timeout | null;
private running: boolean;
diff --git a/yarn.lock b/yarn.lock
index eaef94cb42..8eaf61740d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1504,10 +1504,12 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f"
integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==
-"@types/node@18.17.19":
- version "18.17.19"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-18.17.19.tgz#80c9b8a89d3648d9e6098f4a7184e03833fee3c5"
- integrity sha512-+pMhShR3Or5GR0/sp4Da7FnhVmTalWm81M6MkEldbwjETSaPalw138Z4KdpQaistvqQxLB7Cy4xwYdxpbSOs9Q==
+"@types/node@18.19.4":
+ version "18.19.4"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.4.tgz#89672e84f11a2c19543d694dac00ab8d7bc20ddb"
+ integrity sha512-xNzlUhzoHotIsnFoXmJB+yWmBvFZgKCI9TtPIEdYIMM1KWfwuY8zh7wvc1u1OAXlC7dlf6mZVx/s+Y5KfFz19A==
+ dependencies:
+ undici-types "~5.26.4"
"@types/node@>=12.0.0":
version "20.4.1"
@@ -7064,6 +7066,11 @@ uid-safe@~2.1.5:
dependencies:
random-bytes "~1.0.0"
+undici-types@~5.26.4:
+ version "5.26.5"
+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
+ integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
+
unique-filename@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2"