diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebbd851..2f99f5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: "22.x" cache: 'npm' - name: Build plugin diff --git a/package-lock.json b/package-lock.json index 4bcc18d..d51ace7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@types/jest": "^29.5.0", "@types/luxon": "^3.4.2", "@types/mustache": "^4.2.5", - "@types/node": "^16.11.6", + "@types/node": "^22.15.0", "@typescript-eslint/eslint-plugin": "5.29.0", "@typescript-eslint/parser": "5.29.0", "builtin-modules": "3.3.0", @@ -29,6 +29,9 @@ "ts-jest": "^29.1.0", "tslib": "2.4.0", "typescript": "4.7.4" + }, + "engines": { + "node": ">=22" } }, "node_modules/@ampproject/remapping": { @@ -1636,10 +1639,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.18.126", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.126.tgz", - "integrity": "sha512-OTcgaiwfGFBKacvfwuHzzn1KLxH/er8mluiy8/uM3sGXHaRe73RrSIj01jow9t4kJEW633Ov+cOexXeiApTyAw==", - "dev": true + "version": "22.19.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz", + "integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } }, "node_modules/@types/stack-utils": { "version": "2.0.3", @@ -5766,6 +5773,13 @@ "node": ">=4.2.0" } }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, "node_modules/universalify": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", diff --git a/package.json b/package.json index 14e32f8..c08339f 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,12 @@ "keywords": [], "author": "", "license": "MIT", + "engines": { + "node": ">=22" + }, "devDependencies": { "@types/mustache": "^4.2.5", - "@types/node": "^16.11.6", + "@types/node": "^22.15.0", "@types/luxon": "^3.4.2", "@typescript-eslint/eslint-plugin": "5.29.0", "@typescript-eslint/parser": "5.29.0",