diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index ec70347f5a8e1..93b7b826d9d58 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -20,10 +20,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Use Node.js 16.x + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x registry-url: 'https://registry.npmjs.org' - name: Use Python 3.x @@ -51,7 +51,7 @@ jobs: fail-fast: false matrix: os: [windows-2019, ubuntu-latest, macos-11] - node: [16.x] + node: [18.x, 20.x] runs-on: ${{ matrix.os }} timeout-minutes: 60 diff --git a/package.json b/package.json index dbda4a4b56a5d..d047bcb1af517 100644 --- a/package.json +++ b/package.json @@ -4,17 +4,17 @@ "version": "0.0.0", "engines": { "yarn": ">=1.7.0 <2", - "node": ">=16.14.0 <17" + "node": ">=18" }, "resolutions": { - "**/@types/node": "16" + "**/@types/node": "18" }, "devDependencies": { "@types/chai": "4.3.0", "@types/chai-spies": "1.0.3", "@types/chai-string": "^1.4.0", "@types/jsdom": "^21.1.1", - "@types/node": "16", + "@types/node": "18", "@types/sinon": "^10.0.6", "@types/temp": "^0.9.1", "@types/uuid": "^7.0.3", diff --git a/packages/plugin-ext/package.json b/packages/plugin-ext/package.json index 46ca4bead5db2..255fc8888ce8d 100644 --- a/packages/plugin-ext/package.json +++ b/packages/plugin-ext/package.json @@ -39,7 +39,7 @@ "is-electron": "^2.2.0", "jsonc-parser": "^2.2.0", "lodash.clonedeep": "^4.5.0", - "macaddress": "^0.2.9", + "macaddress": "^0.5.3", "mime": "^2.4.4", "ps-tree": "^1.2.0", "semver": "^5.4.1", diff --git a/packages/plugin-ext/src/typings/index.d.ts b/packages/plugin-ext/src/typings/index.d.ts deleted file mode 100644 index 79f281800eab5..0000000000000 --- a/packages/plugin-ext/src/typings/index.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -// ***************************************************************************** -// Copyright (C) 2019 Red Hat, Inc. and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0. -// -// This Source Code may also be made available under the following Secondary -// Licenses when the conditions for such availability set forth in the Eclipse -// Public License v. 2.0 are satisfied: GNU General Public License, version 2 -// with the GNU Classpath Exception which is available at -// https://www.gnu.org/software/classpath/license.html. -// -// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 -// ***************************************************************************** - -/* eslint-disable @typescript-eslint/no-explicit-any */ - -declare module 'macaddress' { - export type MacAddresCallback = (err: any, data: any) => void; - export type MacAddressOneCallback = (err: any, mac: string) => void; - export function one(ifaceOrCallback: string | MacAddressOneCallback, callback?: MacAddressOneCallback): void; - export function all(callback: MacAddresCallback): void; - export function networkInterfaces(): any; -} diff --git a/yarn.lock b/yarn.lock index b511dbdf93121..1f06744302e40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2030,10 +2030,10 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@16", "@types/node@>=10.0.0", "@types/node@^10.14.22", "@types/node@^16.11.26": - version "16.18.12" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.12.tgz#e3bfea80e31523fde4292a6118f19ffa24fd6f65" - integrity sha512-vzLe5NaNMjIE3mcddFVGlAXN1LEWueUsMsOJWaT6wWMJGyljHAWHznqfnKUQWGzu7TLPrGvWdNAsvQYW+C0xtw== +"@types/node@*", "@types/node@18", "@types/node@>=10.0.0", "@types/node@^10.14.22", "@types/node@^16.11.26": + version "18.16.19" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.19.tgz#cb03fca8910fdeb7595b755126a8a78144714eea" + integrity sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -7307,10 +7307,10 @@ lzma-native@^8.0.5: node-gyp-build "^4.2.1" readable-stream "^3.6.0" -macaddress@^0.2.9: - version "0.2.9" - resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.9.tgz#3579b8b9acd5b96b4553abf0f394185a86813cb3" - integrity sha512-k4F1JUof6cQXxNFzx3thLby4oJzXTXQueAOOts944Vqizn+Rjc2QNFenT9FJSLU1CH3PmrHRSyZs2E+Cqw+P2w== +macaddress@^0.5.3: + version "0.5.3" + resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.5.3.tgz#2b9d6832be934cb775749f30f57d6537184a2bda" + integrity sha512-vGBKTA+jwM4KgjGZ+S/8/Mkj9rWzePyGY6jManXPGhiWu63RYwW8dKPyk5koP+8qNVhPhHgFa1y/MJ4wrjsNrg== make-dir@3.1.0, make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: version "3.1.0"