From 3d29f10545992bfc38c2f09cbfa0e4516c630f9e Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Wed, 26 Jun 2024 17:30:06 -0600 Subject: [PATCH] support `node@20.12` and later --- .changeset/kind-melons-vanish.md | 5 ++++ .github/workflows/check.yml | 2 +- package-lock.json | 44 ++++++++++++++++---------------- package.json | 10 ++++---- src/routes/package.ts | 10 ++++---- 5 files changed, 38 insertions(+), 33 deletions(-) create mode 100644 .changeset/kind-melons-vanish.md diff --git a/.changeset/kind-melons-vanish.md b/.changeset/kind-melons-vanish.md new file mode 100644 index 000000000..9642bf323 --- /dev/null +++ b/.changeset/kind-melons-vanish.md @@ -0,0 +1,5 @@ +--- +"@ryanatkn/fuz": minor +--- + +support `node@20.12` and later diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8ad5c3122..fdcafccdb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: ['22.3'] + node-version: ['20.12'] steps: - uses: actions/checkout@v2 diff --git a/package-lock.json b/package-lock.json index 3bafc78f9..393a19c93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "license": "MIT", "devDependencies": { "@changesets/changelog-git": "^0.2.0", - "@ryanatkn/belt": "^0.21.0", + "@ryanatkn/belt": "^0.22.0", "@ryanatkn/eslint-config": "^0.1.3", - "@ryanatkn/fuz_code": "^0.14.1", - "@ryanatkn/gro": "^0.123.0", - "@ryanatkn/moss": "^0.5.0", + "@ryanatkn/fuz_code": "^0.15.0", + "@ryanatkn/gro": "^0.124.0", + "@ryanatkn/moss": "^0.6.0", "@sveltejs/adapter-static": "^3.0.2", "@sveltejs/kit": "^2.5.17", "@sveltejs/package": "^2.3.2", @@ -36,7 +36,7 @@ "uvu": "^0.5.6" }, "engines": { - "node": ">=22.3" + "node": ">=20.12" }, "funding": { "url": "https://www.ryanatkn.com/funding" @@ -331,13 +331,13 @@ "peer": true }, "node_modules/@ryanatkn/belt": { - "version": "0.21.0", - "resolved": "https://registry.npmjs.org/@ryanatkn/belt/-/belt-0.21.0.tgz", - "integrity": "sha512-csd1J6C6ye3Y5ItdGgaEM0pt8ypYozDChyC0EBTTvw31kuUa8VU+CCzMHspsyDRcUqnr0FZYymBkgLD/CEjgEw==", + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/belt/-/belt-0.22.0.tgz", + "integrity": "sha512-RnpUW/dN0eQJSJCFujSjGhQmjBgZlr3tGANVyjrbdvT81HV6S02ft3kPiZfRKI1Lna8HUdv2O51G0chtWtcgFg==", "dev": true, "license": "MIT", "engines": { - "node": ">=22.3" + "node": ">=20.12" }, "funding": { "url": "https://www.ryanatkn.com/funding" @@ -365,13 +365,13 @@ } }, "node_modules/@ryanatkn/fuz_code": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/@ryanatkn/fuz_code/-/fuz_code-0.14.1.tgz", - "integrity": "sha512-NrIsjKdYBU3KALAhBk3f60pCbRI7LGwgKEqZgpOEE8+iMASb9mA5qcUgsZHHm9d05+gJBjfca9Wb1ylDmqdWOg==", + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/fuz_code/-/fuz_code-0.15.0.tgz", + "integrity": "sha512-LjGVPypmZGbduzaDVYzFaLaw5NuQQ1eYLO4IazucknMYLJbuiLBqmRkbvFUELJVEnwzC4LrqE3856dUEEyhb1A==", "dev": true, "license": "MIT", "engines": { - "node": ">=22.3" + "node": ">=20.12" }, "funding": { "url": "https://www.ryanatkn.com/funding" @@ -383,13 +383,13 @@ } }, "node_modules/@ryanatkn/gro": { - "version": "0.123.0", - "resolved": "https://registry.npmjs.org/@ryanatkn/gro/-/gro-0.123.0.tgz", - "integrity": "sha512-njFCTNtyLZ3q9al+IF1pak0Ce8Kh783+ISPpEoK9oRUcntnRqRmKvaf5ql2P3Jr6trFkDczhuzweR43fQ7BzNw==", + "version": "0.124.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/gro/-/gro-0.124.0.tgz", + "integrity": "sha512-j23NuUFONQord6N4VtK5YdCU8bRO2MBo24DFclDq2dSUHQq80S6dax7MT7560t+Gp6/OD+aDgiunRq+q04PkSQ==", "dev": true, "license": "MIT", "dependencies": { - "@ryanatkn/belt": "^0.21.0", + "@ryanatkn/belt": "^0.22.0", "chokidar": "^3.6.0", "dotenv": "^16.4.5", "es-module-lexer": "^1.5.4", @@ -405,7 +405,7 @@ "gro": "dist/gro.js" }, "engines": { - "node": ">=22.3" + "node": ">=20.12" }, "funding": { "url": "https://www.ryanatkn.com/funding" @@ -416,13 +416,13 @@ } }, "node_modules/@ryanatkn/moss": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@ryanatkn/moss/-/moss-0.5.0.tgz", - "integrity": "sha512-9r8uwiaf4vYq4IZ1h+ykJ1SzhRceI6+wiu4OVAjE80DJWWjHlPMux2ozaLPC+ax6fQV/9YaQoF4QAsIIqScvRQ==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/moss/-/moss-0.6.0.tgz", + "integrity": "sha512-j2XY6RfhNoXbtzFEaKtQO7aw6hSgTcMna3nL6c5VkaNas0ck/5/C5E+rHJT7yJm1sWz3bVZrY1XGod62PaXinA==", "dev": true, "license": "MIT", "engines": { - "node": ">=22.3" + "node": ">=20.12" }, "funding": { "url": "https://www.ryanatkn.com/funding" diff --git a/package.json b/package.json index 5ab728d49..76c2725c7 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "funding": "https://www.ryanatkn.com/funding", "type": "module", "engines": { - "node": ">=22.3" + "node": ">=20.12" }, "scripts": { "dev": "gro dev", @@ -41,11 +41,11 @@ }, "devDependencies": { "@changesets/changelog-git": "^0.2.0", - "@ryanatkn/belt": "^0.21.0", + "@ryanatkn/belt": "^0.22.0", "@ryanatkn/eslint-config": "^0.1.3", - "@ryanatkn/fuz_code": "^0.14.1", - "@ryanatkn/gro": "^0.123.0", - "@ryanatkn/moss": "^0.5.0", + "@ryanatkn/fuz_code": "^0.15.0", + "@ryanatkn/gro": "^0.124.0", + "@ryanatkn/moss": "^0.6.0", "@sveltejs/adapter-static": "^3.0.2", "@sveltejs/kit": "^2.5.17", "@sveltejs/package": "^2.3.2", diff --git a/src/routes/package.ts b/src/routes/package.ts index 6b21815aa..aca28cdd4 100644 --- a/src/routes/package.ts +++ b/src/routes/package.ts @@ -17,7 +17,7 @@ export const package_json = { bugs: 'https://github.com/ryanatkn/fuz/issues', funding: 'https://www.ryanatkn.com/funding', type: 'module', - engines: {node: '>=22.3'}, + engines: {node: '>=20.12'}, scripts: { dev: 'gro dev', build: 'gro build', @@ -34,11 +34,11 @@ export const package_json = { }, devDependencies: { '@changesets/changelog-git': '^0.2.0', - '@ryanatkn/belt': '^0.21.0', + '@ryanatkn/belt': '^0.22.0', '@ryanatkn/eslint-config': '^0.1.3', - '@ryanatkn/fuz_code': '^0.14.1', - '@ryanatkn/gro': '^0.123.0', - '@ryanatkn/moss': '^0.5.0', + '@ryanatkn/fuz_code': '^0.15.0', + '@ryanatkn/gro': '^0.124.0', + '@ryanatkn/moss': '^0.6.0', '@sveltejs/adapter-static': '^3.0.2', '@sveltejs/kit': '^2.5.17', '@sveltejs/package': '^2.3.2',