diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a21345..d726948 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '24.x' - run: npm ci - run: npm run build - run: npm test diff --git a/.nvmrc b/.nvmrc index 3c03207..a45fd52 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +24 diff --git a/package-lock.json b/package-lock.json index 39fe54d..fc0faac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "devDependencies": { "@smartive/eslint-config": "^3.1.0", "@smartive/prettier-config": "^3.0.0", - "@types/node": "^18.0.0", + "@types/node": "^24.0.0", "@types/react": "^18.0.21", "eslint": "^8.25.0", "prettier": "^2.7.1", @@ -23,7 +23,7 @@ "typescript": "^4.0.0" }, "engines": { - "node": "^16 || ^18", + "node": "^24.0.0", "npm": "^8.0.0 || ^9.0.0" }, "peerDependencies": { @@ -161,10 +161,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.11.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", - "dev": true + "version": "24.11.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.11.0.tgz", + "integrity": "sha512-fPxQqz4VTgPI/IQ+lj9r0h+fDR66bzoeMGHp8ASee+32OSGIkeASsoZuJixsQoVef1QJbeubcPBxKk22QVoWdw==", + "dev": true, + "dependencies": { + "undici-types": "~7.16.0" + } }, "node_modules/@types/prop-types": { "version": "15.7.5", @@ -2657,6 +2660,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -2847,10 +2856,13 @@ "dev": true }, "@types/node": { - "version": "18.11.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", - "dev": true + "version": "24.11.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.11.0.tgz", + "integrity": "sha512-fPxQqz4VTgPI/IQ+lj9r0h+fDR66bzoeMGHp8ASee+32OSGIkeASsoZuJixsQoVef1QJbeubcPBxKk22QVoWdw==", + "dev": true, + "requires": { + "undici-types": "~7.16.0" + } }, "@types/prop-types": { "version": "15.7.5", @@ -4628,6 +4640,12 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true + }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", diff --git a/package.json b/package.json index e8961a2..ce340a2 100644 --- a/package.json +++ b/package.json @@ -38,13 +38,13 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "engines": { - "node": "^16 || ^18", + "node": "^24.0.0", "npm": "^8.0.0 || ^9.0.0" }, "devDependencies": { "@smartive/eslint-config": "^3.1.0", "@smartive/prettier-config": "^3.0.0", - "@types/node": "^18.0.0", + "@types/node": "^24.0.0", "@types/react": "^18.0.21", "eslint": "^8.25.0", "prettier": "^2.7.1",