From 5f5f796c8857a783db1a061131f0be6bfdf904ed Mon Sep 17 00:00:00 2001 From: Dallas Hoffman Date: Sat, 3 Feb 2024 19:39:08 -0500 Subject: [PATCH] Update nanoid --- package-lock.json | 10 +++++----- package.json | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0dae0c7..6cb956c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@sqlite.org/sqlite-wasm": "^3.45.1-build1", - "nanoid": "^4.0.2" + "nanoid": "^5.0.5" }, "devDependencies": { "@vitest/browser": "^1.2.1", @@ -3514,9 +3514,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.5.tgz", + "integrity": "sha512-/Veqm+QKsyMY3kqi4faWplnY1u+VuKO3dD2binyPIybP31DRO29bPF+1mszgLnrR2KqSLceFLBNw0zmvDzN1QQ==", "funding": [ { "type": "github", @@ -3527,7 +3527,7 @@ "nanoid": "bin/nanoid.js" }, "engines": { - "node": "^14 || ^16 || >=18" + "node": "^18 || >=20" } }, "node_modules/netmask": { diff --git a/package.json b/package.json index b843748..e99ea61 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "scripts": { "build": "tsc", "test": "vitest", + "format": "prettier . --write", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", @@ -36,7 +37,7 @@ }, "dependencies": { "@sqlite.org/sqlite-wasm": "^3.45.1-build1", - "nanoid": "^4.0.2" + "nanoid": "^5.0.5" }, "devDependencies": { "@vitest/browser": "^1.2.1",