diff --git a/package-lock.json b/package-lock.json index b5e8e21..2a80e75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ "typescript": "5.4.5", "typescript-config-silverwind": "4.3.2", "updates": "16.1.1", - "versions": "12.0.2", + "versions": "12.1.1", "vite": "5.2.11", - "vite-config-silverwind": "1.1.2", + "vite-config-silverwind": "2.0.3", "vite-plugin-dts": "3.9.1", "vitest": "1.6.0", "vitest-config-silverwind": "9.0.6" @@ -31,12 +31,12 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.24.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", - "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.6.tgz", + "integrity": "sha512-ZJhac6FkEd1yhG2AHOmfcXG4ceoLltoCVJjN5XsWN9BifBQr+cHJbWi0h68HZuSORq+3WtJ2z0hwF2NG1b5kcA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.24.2", + "@babel/highlight": "^7.24.6", "picocolors": "^1.0.0" }, "engines": { @@ -44,21 +44,21 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz", - "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.6.tgz", + "integrity": "sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.24.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz", - "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.6.tgz", + "integrity": "sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.24.5", + "@babel/helper-validator-identifier": "^7.24.6", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -139,9 +139,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz", - "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.6.tgz", + "integrity": "sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -2528,9 +2528,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.780", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.780.tgz", - "integrity": "sha512-NPtACGFe7vunRYzvYqVRhQvsDrTevxpgDKxG/Vcbe0BTNOY+5+/2mOXSw2ls7ToNbE5Bf/+uQbjTxcmwMozpCw==", + "version": "1.4.783", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.783.tgz", + "integrity": "sha512-bT0jEz/Xz1fahQpbZ1D7LgmPYZ3iHVY39NcWWro1+hA2IvjiPeaXtfSqrQ+nXjApMvQRE2ASt1itSLRrebHMRQ==", "dev": true }, "node_modules/emoji-regex": { @@ -5729,9 +5729,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz", - "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", + "version": "3.0.18", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", + "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==", "dev": true }, "node_modules/sprintf-js": { @@ -6285,9 +6285,9 @@ } }, "node_modules/versions": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/versions/-/versions-12.0.2.tgz", - "integrity": "sha512-oPSZH3v6NYd1z0dhKzU84jIylVsW8vj9HV9fs5nPhO1JgNvt59iFnXLJLQmR6HRx97quuO9+DQJHGRNkMBaTEw==", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/versions/-/versions-12.1.1.tgz", + "integrity": "sha512-1JPGULYfXNVHL4A+MVYCitY4fbQ/dLpykZhmfVWU2uWdcoMpAHTlGlP7BP5/0uS0HunIy6tLGByyWoy21bS9Sw==", "dev": true, "bin": { "versions": "dist/versions.js" @@ -6352,9 +6352,9 @@ } }, "node_modules/vite-config-silverwind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vite-config-silverwind/-/vite-config-silverwind-1.1.2.tgz", - "integrity": "sha512-4EPwzUUnxUWCsJxDjUbw75nwH577b+zkT3x6OgLKXNZ7rtXrIDjvKAJl16lLcaW/3y1gHWw5kNdmXMuRq2zg/Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/vite-config-silverwind/-/vite-config-silverwind-2.0.3.tgz", + "integrity": "sha512-CjppeZsi+5oMzeWOdQehoD+zGfEs65zpfpcDobgCp5hkbgVEoToqIiZ/sEcWD3VTfO41o+9GlbCmm35nGz3MQg==", "dev": true, "dependencies": { "vite-plugin-dts": "3.9.1", @@ -6668,7 +6668,7 @@ "node": ">=12" } }, - "node_modules/yargs/node_modules/yargs-parser": { + "node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", diff --git a/package.json b/package.json index 88b8297..94b4109 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,9 @@ "typescript": "5.4.5", "typescript-config-silverwind": "4.3.2", "updates": "16.1.1", - "versions": "12.0.2", + "versions": "12.1.1", "vite": "5.2.11", - "vite-config-silverwind": "1.1.2", + "vite-config-silverwind": "2.0.3", "vite-plugin-dts": "3.9.1", "vitest": "1.6.0", "vitest-config-silverwind": "9.0.6" diff --git a/vite.config.ts b/vite.config.ts index 0cfe7c7..7dda7b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,7 @@ import {defineConfig} from "vite"; -import {lib} from "vite-config-silverwind"; +import {nodeLib} from "vite-config-silverwind"; -export default defineConfig(lib({ +export default defineConfig(nodeLib({ url: import.meta.url, build: { target: "node14",