From 34fa5811e9085baba288560ae00be034a72b69d1 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Mon, 19 Feb 2024 17:13:05 -0700 Subject: [PATCH] chore: update @kentcdodds/workshop-app --- package-lock.json | 458 ++++++++++++++++++++++++++-------- package.json | 2 +- scripts/deployed/package.json | 2 +- 3 files changed, 351 insertions(+), 111 deletions(-) diff --git a/package-lock.json b/package-lock.json index b30ac3eb5..9a88c21c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "react-hooks", "license": "GPL-3.0-only", "dependencies": { - "@kentcdodds/workshop-app": "^2.60.1", + "@kentcdodds/workshop-app": "^3.2.0", "@remix-run/eslint-config": "^2.4.1", "@typescript-eslint/eslint-plugin": "^6.18.0", "@typescript-eslint/parser": "^6.18.0", @@ -707,6 +707,21 @@ "statuses": "^2.0.1" } }, + "node_modules/@epic-web/cachified": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@epic-web/cachified/-/cachified-5.1.2.tgz", + "integrity": "sha512-8Q1J/jF0bOKUN+XPTSUo+z34WJHMBLkuDv+HkPPS9ufs+cHvInWrLOLi3qIljhe03Xq777pwEDBKnMafetnPhA==" + }, + "node_modules/@epic-web/invariant": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@epic-web/invariant/-/invariant-1.0.0.tgz", + "integrity": "sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==" + }, + "node_modules/@epic-web/remember": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@epic-web/remember/-/remember-1.0.2.tgz", + "integrity": "sha512-K7DcGoRPqVkjVhPEMQzqw7W/c3hq/3LuiI74he6SkXwR6A49aUmXpxmdb6o+NldY4FFtG42U7nL8PrqNGRxXuQ==" + }, "node_modules/@esbuild-plugins/node-resolve": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/@esbuild-plugins/node-resolve/-/node-resolve-0.2.2.tgz", @@ -1377,9 +1392,9 @@ } }, "node_modules/@kentcdodds/md-temp": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@kentcdodds/md-temp/-/md-temp-6.0.0.tgz", - "integrity": "sha512-J+SWP53vmCIkp3RQyDJeXM7IPTCOZSoxXL0oMVaOhuqjtj7R/OGzcOhx444deIWQt/0WGYEDU1nUd28vsJECiw==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@kentcdodds/md-temp/-/md-temp-6.0.1.tgz", + "integrity": "sha512-qTZvPsbgIrquIWdGqmfC2/IPLpmitFx9RRnye1OvlrVioiTzftkJqgdRgVx2nf73y+KxH2NZ0/clCe9/PTwAfg==", "dependencies": { "escape-goat": "^4.0.0", "parse-numeric-range": "^1.3.0", @@ -1390,9 +1405,9 @@ } }, "node_modules/@kentcdodds/workshop-app": { - "version": "2.60.1", - "resolved": "https://registry.npmjs.org/@kentcdodds/workshop-app/-/workshop-app-2.60.1.tgz", - "integrity": "sha512-u2pbMa0EgA+jm1my43Je2ue+nCcuIVreMjnt3su4ciz3znt6eskf31YHtcPkO45WhvQfpLhBAcji1ZGavaBLHg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@kentcdodds/workshop-app/-/workshop-app-3.2.0.tgz", + "integrity": "sha512-6MPWzuXP01k75hRXF+dD5P0BWjVCtX9ivFSidhsgMUuiSY/nSX5O37mSnqR8cxM1JC/UGmzmQWhMxUpB/0hMuw==", "bundleDependencies": [ "@conform-to/react", "@conform-to/zod", @@ -1418,9 +1433,14 @@ "dependencies": { "@conform-to/react": "^0.9.1", "@conform-to/zod": "^0.9.1", + "@epic-web/cachified": "^5.1.2", "@epic-web/client-hints": "^1.2.2", - "@epic-web/restore-scroll": "^1.0.0", - "@kentcdodds/md-temp": "^6.0.0", + "@epic-web/invariant": "^1.0.0", + "@epic-web/remember": "^1.0.2", + "@epic-web/restore-scroll": "^1.0.1", + "@kentcdodds/md-temp": "^6.0.1", + "@kentcdodds/workshop-presence": "3.2.0", + "@kentcdodds/workshop-utils": "3.2.0", "@mdx-js/mdx": "^3.0.0", "@mux/mux-player-react": "^2.3.1", "@paralleldrive/cuid2": "^2.2.2", @@ -1431,17 +1451,16 @@ "@radix-ui/react-tabs": "^1.0.4", "@radix-ui/react-toast": "^1.1.5", "@radix-ui/react-tooltip": "^1.0.7", - "@remix-run/css-bundle": "^2.3.0", - "@remix-run/express": "^2.3.0", - "@remix-run/node": "^2.3.0", - "@remix-run/react": "^2.3.0", + "@remix-run/css-bundle": "^2.6.0", + "@remix-run/express": "^2.6.0", + "@remix-run/node": "^2.6.0", + "@remix-run/react": "^2.6.0", "@remix-run/router": "*", "@sindresorhus/slugify": "^2.2.1", "@types/chai": "^4.3.10", "@types/chai-dom": "^1.11.3", "address": "^2.0.1", "ansi-to-html": "^0.7.2", - "cachified": "^3.5.4", "chai": "^4.3.10", "chai-dom": "^1.12.0", "chalk": "^5.3.0", @@ -1505,7 +1524,7 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/@babel/runtime": { - "version": "7.23.8", + "version": "7.23.9", "inBundle": true, "license": "MIT", "dependencies": { @@ -1570,28 +1589,28 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/@floating-ui/core": { - "version": "1.5.3", + "version": "1.6.0", "inBundle": true, "license": "MIT", "dependencies": { - "@floating-ui/utils": "^0.2.0" + "@floating-ui/utils": "^0.2.1" } }, "node_modules/@kentcdodds/workshop-app/node_modules/@floating-ui/dom": { - "version": "1.5.4", + "version": "1.6.1", "inBundle": true, "license": "MIT", "dependencies": { - "@floating-ui/core": "^1.5.3", - "@floating-ui/utils": "^0.2.0" + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.1" } }, "node_modules/@kentcdodds/workshop-app/node_modules/@floating-ui/react-dom": { - "version": "2.0.5", + "version": "2.0.8", "inBundle": true, "license": "MIT", "dependencies": { - "@floating-ui/dom": "^1.5.4" + "@floating-ui/dom": "^1.6.1" }, "peerDependencies": { "react": ">=16.8.0", @@ -2317,14 +2336,14 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/@remix-run/react": { - "version": "2.4.1", + "version": "2.6.0", "inBundle": true, "license": "MIT", "dependencies": { - "@remix-run/router": "1.14.1", - "@remix-run/server-runtime": "2.4.1", - "react-router": "6.21.1", - "react-router-dom": "6.21.1" + "@remix-run/router": "1.15.0", + "@remix-run/server-runtime": "2.6.0", + "react-router": "6.22.0", + "react-router-dom": "6.22.0" }, "engines": { "node": ">=18.0.0" @@ -2341,7 +2360,7 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/@remix-run/router": { - "version": "1.14.1", + "version": "1.15.0", "inBundle": true, "license": "MIT", "engines": { @@ -2349,14 +2368,14 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/@remix-run/server-runtime": { - "version": "2.4.1", + "version": "2.6.0", "inBundle": true, "license": "MIT", "dependencies": { - "@remix-run/router": "1.14.1", - "@types/cookie": "^0.5.3", + "@remix-run/router": "1.15.0", + "@types/cookie": "^0.6.0", "@web3-storage/multipart-parser": "^1.0.0", - "cookie": "^0.5.0", + "cookie": "^0.6.0", "set-cookie-parser": "^2.4.8", "source-map": "^0.7.3" }, @@ -2373,7 +2392,7 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/@types/cookie": { - "version": "0.5.4", + "version": "0.6.0", "inBundle": true, "license": "MIT" }, @@ -2402,7 +2421,7 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/chai": { - "version": "4.4.0", + "version": "4.4.1", "inBundle": true, "license": "MIT", "dependencies": { @@ -2449,7 +2468,7 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/cookie": { - "version": "0.5.0", + "version": "0.6.0", "inBundle": true, "license": "MIT", "engines": { @@ -2473,7 +2492,7 @@ "license": "MIT" }, "node_modules/@kentcdodds/workshop-app/node_modules/framer-motion": { - "version": "10.17.12", + "version": "10.18.0", "inBundle": true, "license": "MIT", "dependencies": { @@ -2597,11 +2616,11 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/react-router": { - "version": "6.21.1", + "version": "6.22.0", "inBundle": true, "license": "MIT", "dependencies": { - "@remix-run/router": "1.14.1" + "@remix-run/router": "1.15.0" }, "engines": { "node": ">=14.0.0" @@ -2611,12 +2630,12 @@ } }, "node_modules/@kentcdodds/workshop-app/node_modules/react-router-dom": { - "version": "6.21.1", + "version": "6.22.0", "inBundle": true, "license": "MIT", "dependencies": { - "@remix-run/router": "1.14.1", - "react-router": "6.21.1" + "@remix-run/router": "1.15.0", + "react-router": "6.22.0" }, "engines": { "node": ">=14.0.0" @@ -2708,36 +2727,25 @@ } } }, - "node_modules/@kentcdodds/workshop-app/node_modules/remix-utils/node_modules/type-fest": { - "version": "4.9.0", - "inBundle": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@kentcdodds/workshop-app/node_modules/set-cookie-parser": { "version": "2.6.0", "inBundle": true, "license": "MIT" }, "node_modules/@kentcdodds/workshop-app/node_modules/source-map": { - "version": "0.7.4", + "version": "0.6.1", "inBundle": true, "license": "BSD-3-Clause", "engines": { - "node": ">= 8" + "node": ">=0.10.0" } }, "node_modules/@kentcdodds/workshop-app/node_modules/tailwind-merge": { - "version": "2.2.0", + "version": "2.2.1", "inBundle": true, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.5" + "@babel/runtime": "^7.23.7" }, "funding": { "type": "github", @@ -2757,6 +2765,17 @@ "node": ">=4" } }, + "node_modules/@kentcdodds/workshop-app/node_modules/type-fest": { + "version": "4.10.2", + "inBundle": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@kentcdodds/workshop-app/node_modules/use-callback-ref": { "version": "1.3.1", "inBundle": true, @@ -2806,6 +2825,78 @@ "url": "https://github.com/sponsors/colinhacks" } }, + "node_modules/@kentcdodds/workshop-presence": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@kentcdodds/workshop-presence/-/workshop-presence-3.2.0.tgz", + "integrity": "sha512-PCEVOzl1ZJ5U5oRuE49W5v2R+w+EypN3sFdmFFyHsMWnJWLB+APkY/iOu+LT6OzhPSnCJS4vz3zghNC+K8VhVw==", + "dependencies": { + "@kentcdodds/workshop-utils": "3.2.0", + "zod": "^3.22.4" + } + }, + "node_modules/@kentcdodds/workshop-utils": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@kentcdodds/workshop-utils/-/workshop-utils-3.2.0.tgz", + "integrity": "sha512-9bTM1WILnFnoFDgqzAh58m0DJtkLjIRVX1ov7kR+fg8vvsvyi3OP4U27ZjDNDgwhSSW+TRcdQbOtNj3qwoANNg==", + "dependencies": { + "@epic-web/cachified": "^5.1.2", + "@epic-web/remember": "^1.0.2", + "@mdx-js/mdx": "^3.0.0", + "@playwright/test": "^1.41.2", + "@remix-run/node": "^2.6.0", + "@testing-library/dom": "^9.3.4", + "chai": "^5.0.3", + "chai-dom": "^1.12.0", + "chalk": "^5.3.0", + "close-with-grace": "^1.2.0", + "cross-spawn": "^7.0.3", + "execa": "^8.0.1", + "fkill": "^9.0.0", + "fs-extra": "^11.2.0", + "glob": "^10.3.10", + "globby": "^14.0.0", + "hast": "^1.0.0", + "lru-cache": "^10.2.0", + "md5-hex": "^5.0.0", + "mdast": "^3.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdx-bundler": "^10.0.1", + "p-queue": "^8.0.1", + "remark-autolink-headings": "^7.0.1", + "remark-emoji": "^4.0.1", + "remark-gfm": "^4.0.0", + "unified": "^11.0.4", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "zod": "^3.22.4" + } + }, + "node_modules/@kentcdodds/workshop-utils/node_modules/p-queue": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-8.0.1.tgz", + "integrity": "sha512-NXzu9aQJTAzbBqOt2hwsR63ea7yvxJc0PwN/zobNAudYfb1B7R08SzB4TsLeSbUCuG467NhnoT0oO6w1qRO+BA==", + "dependencies": { + "eventemitter3": "^5.0.1", + "p-timeout": "^6.1.2" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@kentcdodds/workshop-utils/node_modules/p-timeout": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.2.tgz", + "integrity": "sha512-UbD77BuZ9Bc9aABo74gfXhNvzC9Tx7SxtHSh1fxvx3jTLLYvmVhiQZZrJzqqU0jKbN32kb5VOKiLEQI/3bIjgQ==", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@mdx-js/esbuild": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@mdx-js/esbuild/-/esbuild-3.0.0.tgz", @@ -3138,6 +3229,20 @@ "node": ">=14" } }, + "node_modules/@playwright/test": { + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.41.2.tgz", + "integrity": "sha512-qQB9h7KbibJzrDpkXkYvsmiDJK14FULCCZgEcoe2AvFAS64oCirWTwzTlAYEbKaRxWs5TFesE1Na6izMv3HfGg==", + "dependencies": { + "playwright": "1.41.2" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@radix-ui/primitive": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.1.tgz", @@ -3618,9 +3723,9 @@ } }, "node_modules/@remix-run/css-bundle": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@remix-run/css-bundle/-/css-bundle-2.3.1.tgz", - "integrity": "sha512-07d40dZz3iS/rm2xyFzmvGylJ5K6vXbb0wCnO+60JBQGlKKZGR4O4u027EmgUT32tJP/Xryf6rpnR3QTjDxozg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@remix-run/css-bundle/-/css-bundle-2.6.0.tgz", + "integrity": "sha512-c3I1FVsWeBoA3c92Fwa1sufxAlosovfE2V7hwjc9HeQHA3DAHe18RXfgU6my/IvpItkIvaEgQPuoWEA6Dh8VDQ==", "engines": { "node": ">=18.0.0" } @@ -3935,11 +4040,11 @@ } }, "node_modules/@remix-run/express": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@remix-run/express/-/express-2.3.1.tgz", - "integrity": "sha512-6gh+3InqBWkWRmFQtyE25PRD5bCYKBBgE0DBtqcI165otBuLK/SQul003n/lu6EateenT1RuQZgLjaDGX5UlyA==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@remix-run/express/-/express-2.6.0.tgz", + "integrity": "sha512-sAb0eoMwqP4yhDCnT5H6Db0svfzBuRbuPuPSbQCtuLRWkEGmIhWN7vKA0IqaxsUA09qKwQQiKQdupra55KfCyA==", "dependencies": { - "@remix-run/node": "2.3.1" + "@remix-run/node": "2.6.0" }, "engines": { "node": ">=18.0.0" @@ -3955,12 +4060,12 @@ } }, "node_modules/@remix-run/node": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@remix-run/node/-/node-2.3.1.tgz", - "integrity": "sha512-dXoNrmLrPblUM8UjgPzq3YBLXEGzm3HwtIt0iob1SlgKx0I5ii40JG0IXHDTI9f+fN9f/Ufx7Cjp0MGcUVXWVw==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@remix-run/node/-/node-2.6.0.tgz", + "integrity": "sha512-bWemy3g258Kdqi+4OxIEZ7QS64T96jNK6a7NdlPXGJZqeLpxM5NmlCl/slSdx52oTi9r5Xoz1Tm4uR37nD1/Xw==", "dependencies": { - "@remix-run/server-runtime": "2.3.1", - "@remix-run/web-fetch": "^4.4.1", + "@remix-run/server-runtime": "2.6.0", + "@remix-run/web-fetch": "^4.4.2", "@remix-run/web-file": "^3.1.0", "@remix-run/web-stream": "^1.1.0", "@web3-storage/multipart-parser": "^1.0.0", @@ -3981,22 +4086,22 @@ } }, "node_modules/@remix-run/router": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.13.0.tgz", - "integrity": "sha512-5dMOnVnefRsl4uRnAdoWjtVTdh8e6aZqgM4puy9nmEADH72ck+uXwzpJLEKE9Q6F8ZljNewLgmTfkxUrBdv4WA==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.0.tgz", + "integrity": "sha512-HOil5aFtme37dVQTB6M34G95kPM3MMuqSmIRVCC52eKV+Y/tGSqw9P3rWhlAx6A+mz+MoX+XxsGsNJbaI5qCgQ==", "engines": { "node": ">=14.0.0" } }, "node_modules/@remix-run/server-runtime": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.3.1.tgz", - "integrity": "sha512-ym1nfuYJKn5Vd4bqGIJbZMR1wh/A/qXSzOwqCrZxjdsAmb4YLUBnUAJFIoCRBrvcge92kXq/lXjGOFYf+qidZg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.6.0.tgz", + "integrity": "sha512-qFXDl4pK55njBLuvyRn5AkI/hu8fEU3t1XFKv0Syivx0nmUVpWMW25Uzi1pkX/chF1VIxCVrZ8KuQ1rcrKj+DQ==", "dependencies": { - "@remix-run/router": "1.13.0", - "@types/cookie": "^0.5.3", + "@remix-run/router": "1.15.0", + "@types/cookie": "^0.6.0", "@web3-storage/multipart-parser": "^1.0.0", - "cookie": "^0.5.0", + "cookie": "^0.6.0", "set-cookie-parser": "^2.4.8", "source-map": "^0.7.3" }, @@ -4012,6 +4117,14 @@ } } }, + "node_modules/@remix-run/server-runtime/node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/@remix-run/v1-route-convention": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/@remix-run/v1-route-convention/-/v1-route-convention-0.1.4.tgz", @@ -4047,9 +4160,9 @@ } }, "node_modules/@remix-run/web-fetch": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/@remix-run/web-fetch/-/web-fetch-4.4.1.tgz", - "integrity": "sha512-xMceEGn2kvfeWS91nHSOhEQHPGgjFnmDVpWFZrbWPVdiTByMZIn421/tdSF6Kd1RsNsY+5Iwt3JFEKZHAcMQHw==", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@remix-run/web-fetch/-/web-fetch-4.4.2.tgz", + "integrity": "sha512-jgKfzA713/4kAW/oZ4bC3MoLWyjModOVDjFPNseVqcJKSafgIscrYL9G50SurEYLswPuoU3HzSbO0jQCMYWHhA==", "dependencies": { "@remix-run/web-blob": "^3.1.0", "@remix-run/web-file": "^3.1.0", @@ -4145,10 +4258,9 @@ } }, "node_modules/@testing-library/dom": { - "version": "9.3.3", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.3.tgz", - "integrity": "sha512-fB0R+fa3AUqbLHWyxXa2kGVtf1Fe1ZZFr0Zp6AIbIAzXb2mKbEXl+PCQNUOaq5lbTab5tfctfXRNsWXxa2f7Aw==", - "dev": true, + "version": "9.3.4", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.4.tgz", + "integrity": "sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==", "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.12.5", @@ -4167,7 +4279,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -4182,7 +4293,6 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -4239,9 +4349,9 @@ } }, "node_modules/@types/cookie": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.5.4.tgz", - "integrity": "sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==" }, "node_modules/@types/debug": { "version": "4.1.12", @@ -5054,6 +5164,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "engines": { + "node": ">=12" + } + }, "node_modules/ast-types-flow": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz", @@ -5286,11 +5404,6 @@ "node": ">= 0.8" } }, - "node_modules/cachified": { - "version": "3.5.4", - "resolved": "https://registry.npmjs.org/cachified/-/cachified-3.5.4.tgz", - "integrity": "sha512-RO7jQl7vL1qulRvr+o++iVVduFlKb2pJUYxY48LULusyqmGUFaRESERu1Z7UI895JNtTB4yvfErNv64OsayK8g==" - }, "node_modules/call-bind": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", @@ -5349,6 +5462,32 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/chai": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.0.tgz", + "integrity": "sha512-kDZ7MZyM6Q1DhR9jy7dalKohXQ2yrlXkk59CR52aRKxJrobmlBNqnFQxX9xOX8w+4mz8SYlKJa/7D7ddltFXCw==", + "dependencies": { + "assertion-error": "^2.0.1", + "check-error": "^2.0.0", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/chai-dom": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/chai-dom/-/chai-dom-1.12.0.tgz", + "integrity": "sha512-pLP8h6IBR8z1AdeQ+EMcJ7dXPdsax/1Q7gdGZjsnAmSBl3/gItQUYSCo32br1qOy4SlcBjvqId7ilAf3uJ2K1w==", + "engines": { + "node": ">= 0.12.0" + }, + "peerDependencies": { + "chai": ">= 3" + } + }, "node_modules/chalk": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", @@ -5409,6 +5548,14 @@ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" }, + "node_modules/check-error": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.0.0.tgz", + "integrity": "sha512-tjLAOBHKVxtPoHe/SA7kNOMvhCRdCJ3vETdeY0RuAc9popf+hyaSV6ZEg9hr4cpWF7jmo/JSWEnLDrnijS9Tog==", + "engines": { + "node": ">= 16" + } + }, "node_modules/chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", @@ -5788,6 +5935,14 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/deep-eql": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.1.tgz", + "integrity": "sha512-nwQCf6ne2gez3o1MxWifqkciwt0zhl0LO1/UwVu4uMBuPmflWM4oQ70XMqHqnBJA+nhzncaqL9HVL6KkHJ28lw==", + "engines": { + "node": ">=6" + } + }, "node_modules/deep-equal": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz", @@ -7958,6 +8113,14 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "engines": { + "node": "*" + } + }, "node_modules/get-intrinsic": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", @@ -8237,6 +8400,12 @@ "node": ">= 0.4" } }, + "node_modules/hast": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hast/-/hast-1.0.0.tgz", + "integrity": "sha512-vFUqlRV5C+xqP76Wwq2SrM0kipnmpxJm7OfvVXpB35Fp+Fn4MV+ozr+JZr5qFvyR1q/U+Foim2x+3P+x9S1PLA==", + "deprecated": "Renamed to rehype" + }, "node_modules/hast-util-to-estree": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/hast-util-to-estree/-/hast-util-to-estree-3.1.0.tgz", @@ -9197,9 +9366,9 @@ } }, "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.1.tgz", + "integrity": "sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==" }, "node_modules/jsonfile": { "version": "6.1.0", @@ -9382,10 +9551,18 @@ "loose-envify": "cli.js" } }, + "node_modules/loupe": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.0.tgz", + "integrity": "sha512-qKl+FrLXUhFuHUoDJG7f8P8gEMHq9NFS0c6ghXG1J0rldmZFQZoNVv/vyirE9qwCIhWZDsvEFd1sbFu3GvRQFg==", + "dependencies": { + "get-func-name": "^2.0.1" + } + }, "node_modules/lru-cache": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", - "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", "engines": { "node": "14 || >=16.14" } @@ -9432,6 +9609,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/mdast": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast/-/mdast-3.0.0.tgz", + "integrity": "sha512-xySmf8g4fPKMeC07jXGz971EkLbWAJ83s4US2Tj9lEdnZ142UP5grN73H1Xd3HzrdbU5o9GYYP/y8F9ZSwLE9g==", + "deprecated": "`mdast` was renamed to `remark`" + }, "node_modules/mdast-util-find-and-replace": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", @@ -11886,6 +12069,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/pathval": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", + "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", + "engines": { + "node": ">= 14.16" + } + }, "node_modules/periscopic": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.1.0.tgz", @@ -11947,6 +12138,47 @@ "node": ">=4" } }, + "node_modules/playwright": { + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.2.tgz", + "integrity": "sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==", + "dependencies": { + "playwright-core": "1.41.2" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/playwright-core": { + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.2.tgz", + "integrity": "sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/playwright/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -13017,9 +13249,9 @@ } }, "node_modules/shiki": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.5.tgz", - "integrity": "sha512-1gCAYOcmCFONmErGTrS1fjzJLA7MGZmKzrBNX7apqSwhyITJg2O102uFzXUeBxNnEkDA9vHIKLyeKq0V083vIw==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz", + "integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==", "dependencies": { "ansi-sequence-parser": "^1.1.0", "jsonc-parser": "^3.2.0", @@ -13550,9 +13782,9 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, "node_modules/tinypool": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.1.tgz", - "integrity": "sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.2.tgz", + "integrity": "sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==", "engines": { "node": ">=14.0.0" } @@ -14233,9 +14465,9 @@ } }, "node_modules/web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", "engines": { "node": ">= 8" } @@ -14531,6 +14763,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/zod": { + "version": "3.22.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", + "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "node_modules/zwitch": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", diff --git a/package.json b/package.json index 88c5b8384..43f2e4607 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "author": "Kent C. Dodds (https://kentcdodds.com/)", "license": "GPL-3.0-only", "dependencies": { - "@kentcdodds/workshop-app": "^2.60.1", + "@kentcdodds/workshop-app": "^3.2.0", "@remix-run/eslint-config": "^2.4.1", "@typescript-eslint/eslint-plugin": "^6.18.0", "@typescript-eslint/parser": "^6.18.0", diff --git a/scripts/deployed/package.json b/scripts/deployed/package.json index 9dfa28d94..3c3564ebf 100644 --- a/scripts/deployed/package.json +++ b/scripts/deployed/package.json @@ -8,7 +8,7 @@ "author": "Kent C. Dodds (https://kentcdodds.com/)", "license": "GPL-3.0-only", "dependencies": { - "@kentcdodds/workshop-app": "^2.58.8", + "@kentcdodds/workshop-app": "^3.2.0", "execa": "^7.2.0" }, "engines": {