From e6bdb6d62c7442672ac23b6314ec477ee295b39b Mon Sep 17 00:00:00 2001 From: rphlmr Date: Fri, 22 Sep 2023 10:49:28 +0200 Subject: [PATCH 01/10] update entry server to follow remix v2 requirement --- playground/app/entry.server.tsx | 49 +++++++++++---------------------- 1 file changed, 16 insertions(+), 33 deletions(-) diff --git a/playground/app/entry.server.tsx b/playground/app/entry.server.tsx index 5969ce15..ad186e17 100644 --- a/playground/app/entry.server.tsx +++ b/playground/app/entry.server.tsx @@ -4,13 +4,12 @@ * For more information, see https://remix.run/file-conventions/entry.server */ -import { PassThrough } from "node:stream"; +import { PassThrough } from 'node:stream'; -import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; -import { RemixServer } from "@remix-run/react"; -import isbot from "isbot"; -import { renderToPipeableStream } from "react-dom/server"; +import { createReadableStreamFromReadable, type AppLoadContext, type EntryContext } from '@remix-run/node'; +import { RemixServer } from '@remix-run/react'; +import isbot from 'isbot'; +import { renderToPipeableStream } from 'react-dom/server'; const ABORT_DELAY = 7_500; @@ -21,19 +20,9 @@ export default function handleRequest( remixContext: EntryContext, loadContext: AppLoadContext ) { - return isbot(request.headers.get("user-agent")) - ? handleBotRequest( - request, - responseStatusCode, - responseHeaders, - remixContext - ) - : handleBrowserRequest( - request, - responseStatusCode, - responseHeaders, - remixContext - ); + return isbot(request.headers.get('user-agent')) + ? handleBotRequest(request, responseStatusCode, responseHeaders, remixContext) + : handleBrowserRequest(request, responseStatusCode, responseHeaders, remixContext); } function handleBotRequest( @@ -45,20 +34,17 @@ function handleBotRequest( return new Promise((resolve, reject) => { let shellRendered = false; const { pipe, abort } = renderToPipeableStream( - , + , { onAllReady() { shellRendered = true; const body = new PassThrough(); + const stream = createReadableStreamFromReadable(body); - responseHeaders.set("Content-Type", "text/html"); + responseHeaders.set('Content-Type', 'text/html'); resolve( - new Response(body, { + new Response(stream, { headers: responseHeaders, status: responseStatusCode, }) @@ -94,20 +80,17 @@ function handleBrowserRequest( return new Promise((resolve, reject) => { let shellRendered = false; const { pipe, abort } = renderToPipeableStream( - , + , { onShellReady() { shellRendered = true; const body = new PassThrough(); + const stream = createReadableStreamFromReadable(body); - responseHeaders.set("Content-Type", "text/html"); + responseHeaders.set('Content-Type', 'text/html'); resolve( - new Response(body, { + new Response(stream, { headers: responseHeaders, status: responseStatusCode, }) From bde07bfac436d9da79e67d2d2bbff3f57e171ce6 Mon Sep 17 00:00:00 2001 From: rphlmr Date: Fri, 22 Sep 2023 11:05:14 +0200 Subject: [PATCH 02/10] update sw package --- package-lock.json | 3028 +++------------------------------------ playground/package.json | 2 +- 2 files changed, 206 insertions(+), 2824 deletions(-) diff --git a/package-lock.json b/package-lock.json index cd92ccd4..13d70d75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -203,16 +203,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.22.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-compilation-targets": { "version": "7.22.10", "license": "MIT", @@ -273,42 +263,6 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.22.9", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "regexpu-core": "^5.3.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.4.2", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.5", "license": "MIT", @@ -391,21 +345,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.22.9", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-wrap-function": "^7.22.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, "node_modules/@babel/helper-replace-supers": { "version": "7.22.9", "license": "MIT", @@ -444,1016 +383,84 @@ "node_modules/@babel/helper-split-export-declaration": { "version": "7.22.6", "license": "MIT", - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.5", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.22.5", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-function-name": "^7.22.5", - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.10", - "@babel/types": "^7.22.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.22.10", - "license": "MIT", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" - } - }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.21.0-placeholder-for-preset-env.2", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.10.tgz", - "integrity": "sha512-z1KTVemBjnz+kSEilAsI4lbkPOl5TvJH7YDSY1CTIzvLWJ+KHXp+mRe8VPmfnyvqOPqar1V2gid2PleKzRUstQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-unicode-sets-regex": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.9", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.22.6", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-optimise-call-expression": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/template": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-simple-access": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-display-name": { - "version": "7.22.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.22.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-module-imports": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-jsx": "^7.22.5", + "dependencies": { "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-react-jsx-development": { + "node_modules/@babel/helper-string-parser": { "version": "7.22.5", - "dev": true, "license": "MIT", - "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.22.5" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-react-pure-annotations": { + "node_modules/@babel/helper-validator-identifier": { "version": "7.22.5", - "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.22.10", + "node_modules/@babel/helper-validator-option": { + "version": "7.22.5", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "regenerator-transform": "^0.15.2" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.22.5", + "node_modules/@babel/helpers": { + "version": "7.22.10", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.10", + "@babel/types": "^7.22.10" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.22.5", + "node_modules/@babel/highlight": { + "version": "7.22.10", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-validator-identifier": "^7.22.5", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.22.5", + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=4" } }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.22.5", + "node_modules/@babel/parser": { + "version": "7.22.10", "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-decorators": { + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.10.tgz", + "integrity": "sha512-z1KTVemBjnz+kSEilAsI4lbkPOl5TvJH7YDSY1CTIzvLWJ+KHXp+mRe8VPmfnyvqOPqar1V2gid2PleKzRUstQ==", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -1464,7 +471,7 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-template-literals": { + "node_modules/@babel/plugin-syntax-jsx": { "version": "7.22.5", "license": "MIT", "dependencies": { @@ -1477,7 +484,7 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typeof-symbol": { + "node_modules/@babel/plugin-syntax-typescript": { "version": "7.22.5", "license": "MIT", "dependencies": { @@ -1490,14 +497,13 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.22.10", + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.22.5", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.10", + "@babel/helper-module-transforms": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-typescript": "^7.22.5" + "@babel/helper-simple-access": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1506,8 +512,9 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.22.10", + "node_modules/@babel/plugin-transform-react-display-name": { + "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1519,12 +526,16 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-property-regex": { + "node_modules/@babel/plugin-transform-react-jsx": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-jsx": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1533,12 +544,12 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-regex": { + "node_modules/@babel/plugin-transform-react-jsx-development": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/plugin-transform-react-jsx": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1547,104 +558,29 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-sets-regex": { + "node_modules/@babel/plugin-transform-react-pure-annotations": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/preset-env": { + "node_modules/@babel/plugin-transform-typescript": { "version": "7.22.10", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.10", + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.10", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", - "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.22.5", - "@babel/plugin-syntax-import-attributes": "^7.22.5", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.22.5", - "@babel/plugin-transform-async-generator-functions": "^7.22.10", - "@babel/plugin-transform-async-to-generator": "^7.22.5", - "@babel/plugin-transform-block-scoped-functions": "^7.22.5", - "@babel/plugin-transform-block-scoping": "^7.22.10", - "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/plugin-transform-class-static-block": "^7.22.5", - "@babel/plugin-transform-classes": "^7.22.6", - "@babel/plugin-transform-computed-properties": "^7.22.5", - "@babel/plugin-transform-destructuring": "^7.22.10", - "@babel/plugin-transform-dotall-regex": "^7.22.5", - "@babel/plugin-transform-duplicate-keys": "^7.22.5", - "@babel/plugin-transform-dynamic-import": "^7.22.5", - "@babel/plugin-transform-exponentiation-operator": "^7.22.5", - "@babel/plugin-transform-export-namespace-from": "^7.22.5", - "@babel/plugin-transform-for-of": "^7.22.5", - "@babel/plugin-transform-function-name": "^7.22.5", - "@babel/plugin-transform-json-strings": "^7.22.5", - "@babel/plugin-transform-literals": "^7.22.5", - "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", - "@babel/plugin-transform-member-expression-literals": "^7.22.5", - "@babel/plugin-transform-modules-amd": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.22.5", - "@babel/plugin-transform-modules-systemjs": "^7.22.5", - "@babel/plugin-transform-modules-umd": "^7.22.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", - "@babel/plugin-transform-new-target": "^7.22.5", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", - "@babel/plugin-transform-numeric-separator": "^7.22.5", - "@babel/plugin-transform-object-rest-spread": "^7.22.5", - "@babel/plugin-transform-object-super": "^7.22.5", - "@babel/plugin-transform-optional-catch-binding": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.10", - "@babel/plugin-transform-parameters": "^7.22.5", - "@babel/plugin-transform-private-methods": "^7.22.5", - "@babel/plugin-transform-private-property-in-object": "^7.22.5", - "@babel/plugin-transform-property-literals": "^7.22.5", - "@babel/plugin-transform-regenerator": "^7.22.10", - "@babel/plugin-transform-reserved-words": "^7.22.5", - "@babel/plugin-transform-shorthand-properties": "^7.22.5", - "@babel/plugin-transform-spread": "^7.22.5", - "@babel/plugin-transform-sticky-regex": "^7.22.5", - "@babel/plugin-transform-template-literals": "^7.22.5", - "@babel/plugin-transform-typeof-symbol": "^7.22.5", - "@babel/plugin-transform-unicode-escapes": "^7.22.10", - "@babel/plugin-transform-unicode-property-regex": "^7.22.5", - "@babel/plugin-transform-unicode-regex": "^7.22.5", - "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", - "@babel/preset-modules": "0.1.6-no-external-plugins", - "@babel/types": "^7.22.10", - "babel-plugin-polyfill-corejs2": "^0.4.5", - "babel-plugin-polyfill-corejs3": "^0.8.3", - "babel-plugin-polyfill-regenerator": "^0.5.2", - "core-js-compat": "^3.31.0", - "semver": "^6.3.1" + "@babel/plugin-syntax-typescript": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1653,25 +589,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/preset-env/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/preset-modules": { - "version": "0.1.6-no-external-plugins", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/@babel/preset-react": { "version": "7.22.5", "dev": true, @@ -1708,10 +625,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/regjsgen": { - "version": "0.8.0", - "license": "MIT" - }, "node_modules/@babel/runtime": { "version": "7.22.10", "license": "MIT", @@ -3422,10 +2335,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "license": "MIT" - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.11", "license": "Apache-2.0", @@ -3455,7 +2364,6 @@ }, "node_modules/@isaacs/cliui": { "version": "8.0.2", - "dev": true, "license": "ISC", "dependencies": { "string-width": "^5.1.2", @@ -3532,7 +2440,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-2.3.0.tgz", "integrity": "sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==", - "dev": true, "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/mdx": "^2.0.0", @@ -3561,7 +2468,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.0.tgz", "integrity": "sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -3570,7 +2476,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.1.0.tgz", "integrity": "sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==", - "dev": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" @@ -3580,7 +2485,6 @@ "version": "12.3.0", "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz", "integrity": "sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==", - "dev": true, "dependencies": { "@types/hast": "^2.0.0", "@types/mdast": "^3.0.0", @@ -3600,7 +2504,6 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-10.1.0.tgz", "integrity": "sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==", - "dev": true, "dependencies": { "@types/hast": "^2.0.0", "@types/mdast": "^3.0.0", @@ -3669,19 +2572,10 @@ "node": ">= 8" } }, - "node_modules/@npmcli/fs": { - "version": "1.1.1", - "license": "ISC", - "dependencies": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - } - }, "node_modules/@npmcli/git": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz", "integrity": "sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==", - "dev": true, "dependencies": { "@npmcli/promise-spawn": "^6.0.0", "lru-cache": "^7.4.4", @@ -3700,7 +2594,6 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, "engines": { "node": ">=12" } @@ -3709,7 +2602,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -3720,32 +2612,10 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@npmcli/move-file": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/package-json": { - "version": "2.0.0", - "license": "ISC", - "dependencies": { - "json-parse-even-better-errors": "^2.3.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, "node_modules/@npmcli/promise-spawn": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", - "dev": true, "dependencies": { "which": "^3.0.0" }, @@ -3757,7 +2627,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -3770,7 +2639,6 @@ }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "dev": true, "license": "MIT", "optional": true, "engines": { @@ -4135,50 +3003,6 @@ "node": ">=4.0" } }, - "node_modules/@remix-run/express": { - "version": "1.19.3", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/node": "1.19.3" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "express": "^4.17.1" - } - }, - "node_modules/@remix-run/node": { - "version": "1.19.3", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/server-runtime": "1.19.3", - "@remix-run/web-fetch": "^4.3.6", - "@remix-run/web-file": "^3.0.3", - "@remix-run/web-stream": "^1.0.4", - "@web3-storage/multipart-parser": "^1.0.0", - "abort-controller": "^3.0.0", - "cookie-signature": "^1.1.0", - "source-map-support": "^0.5.21", - "stream-slice": "^0.1.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@remix-run/node/node_modules/cookie-signature": { - "version": "1.2.1", - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=6.6.0" - } - }, "node_modules/@remix-run/router": { "version": "1.9.0", "license": "MIT", @@ -4188,7 +3012,8 @@ }, "node_modules/@remix-run/server-runtime": { "version": "1.19.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-1.19.3.tgz", + "integrity": "sha512-KzQ+htUsKqpBgKE2tWo7kIIGy3MyHP58Io/itUPvV+weDjApwr9tQr9PZDPA3yAY6rAzLax7BU0NMSYCXWFY5A==", "dependencies": { "@remix-run/router": "1.7.2", "@types/cookie": "^0.4.1", @@ -4203,7 +3028,8 @@ }, "node_modules/@remix-run/server-runtime/node_modules/@remix-run/router": { "version": "1.7.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.7.2.tgz", + "integrity": "sha512-7Lcn7IqGMV+vizMPoEl5F0XDshcdDYtMI6uJLQdQz5CfZAwy3vvGKYSUk789qndt5dEC4HfSjviSYlSoHGL2+A==", "engines": { "node": ">=14" } @@ -4266,21 +3092,6 @@ "web-streams-polyfill": "^3.1.1" } }, - "node_modules/@rollup/pluginutils": { - "version": "4.2.1", - "license": "MIT", - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/@rollup/pluginutils/node_modules/estree-walker": { - "version": "2.0.2", - "license": "MIT" - }, "node_modules/@rushstack/eslint-patch": { "version": "1.3.3", "dev": true, @@ -4290,26 +3101,6 @@ "version": "0.27.8", "license": "MIT" }, - "node_modules/@sindresorhus/is": { - "version": "4.6.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" - } - }, - "node_modules/@szmarczak/http-timer": { - "version": "4.0.6", - "license": "MIT", - "dependencies": { - "defer-to-connect": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@testing-library/dom": { "version": "8.20.1", "dev": true, @@ -4429,10 +3220,6 @@ "node": ">=8" } }, - "node_modules/@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "license": "MIT" - }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "devOptional": true, @@ -4465,16 +3252,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/cacheable-request": { - "version": "6.0.3", - "license": "MIT", - "dependencies": { - "@types/http-cache-semantics": "*", - "@types/keyv": "^3.1.4", - "@types/node": "*", - "@types/responselike": "^1.0.0" - } - }, "node_modules/@types/chai": { "version": "4.3.5", "license": "MIT" @@ -4506,17 +3283,10 @@ "@types/json-schema": "*" } }, - "node_modules/@types/estree": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/@types/estree-jsx": { - "version": "0.0.1", - "license": "MIT", - "dependencies": { - "@types/estree": "*" - } - }, + "node_modules/@types/estree": { + "version": "1.0.1", + "license": "MIT" + }, "node_modules/@types/fs-extra": { "version": "11.0.2", "dev": true, @@ -4526,14 +3296,6 @@ "@types/node": "*" } }, - "node_modules/@types/glob": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, "node_modules/@types/hast": { "version": "2.3.5", "license": "MIT", @@ -4541,10 +3303,6 @@ "@types/unist": "^2" } }, - "node_modules/@types/http-cache-semantics": { - "version": "4.0.1", - "license": "MIT" - }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", "dev": true, @@ -4566,13 +3324,6 @@ "@types/node": "*" } }, - "node_modules/@types/keyv": { - "version": "3.1.4", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/mdast": { "version": "3.0.12", "license": "MIT", @@ -4580,19 +3331,10 @@ "@types/unist": "^2" } }, - "node_modules/@types/mdurl": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/@types/mdx": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.7.tgz", - "integrity": "sha512-BG4tyr+4amr3WsSEmHn/fXPqaCba/AYZ7dsaQTiavihQunHSIxk+uAtqsjvicNpyHN6cm+B9RVrUOtW9VzIKHw==", - "dev": true - }, - "node_modules/@types/minimatch": { - "version": "5.1.2", - "license": "MIT" + "integrity": "sha512-BG4tyr+4amr3WsSEmHn/fXPqaCba/AYZ7dsaQTiavihQunHSIxk+uAtqsjvicNpyHN6cm+B9RVrUOtW9VzIKHw==" }, "node_modules/@types/minimist": { "version": "1.2.2", @@ -4636,13 +3378,6 @@ "@types/react": "*" } }, - "node_modules/@types/responselike": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/scheduler": { "version": "0.16.3", "dev": true, @@ -5181,16 +3916,6 @@ "node": ">=0.4.0" } }, - "node_modules/agent-base": { - "version": "7.1.0", - "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "license": "MIT", @@ -5438,16 +4163,6 @@ "node": "*" } }, - "node_modules/ast-types": { - "version": "0.13.4", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/ast-types-flow": { "version": "0.0.7", "dev": true, @@ -5494,46 +4209,6 @@ "dequal": "^2.0.3" } }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.5", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.2", - "semver": "^6.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.2", - "core-js-compat": "^3.31.0" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.2", - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/bail": { "version": "2.0.2", "license": "MIT", @@ -5578,13 +4253,6 @@ "version": "5.1.2", "license": "MIT" }, - "node_modules/basic-ftp": { - "version": "5.0.3", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/big-integer": { "version": "1.6.51", "license": "Unlicense", @@ -5592,13 +4260,6 @@ "node": ">=0.6" } }, - "node_modules/big.js": { - "version": "5.2.2", - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/binary-extensions": { "version": "2.2.0", "license": "MIT", @@ -5606,14 +4267,6 @@ "node": ">=8" } }, - "node_modules/bindings": { - "version": "1.5.0", - "license": "MIT", - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, "node_modules/bl": { "version": "4.1.0", "license": "MIT", @@ -5791,77 +4444,6 @@ "node": ">=8" } }, - "node_modules/cacache": { - "version": "15.3.0", - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/cacheable-lookup": { - "version": "5.0.4", - "license": "MIT", - "engines": { - "node": ">=10.6.0" - } - }, - "node_modules/cacheable-request": { - "version": "7.0.4", - "license": "MIT", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^4.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^6.0.1", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cacheable-request/node_modules/pump": { - "version": "3.0.0", - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "node_modules/cachified": { "version": "3.5.4", "license": "MIT" @@ -5946,7 +4528,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -6012,6 +4593,7 @@ }, "node_modules/chardet": { "version": "0.7.0", + "dev": true, "license": "MIT" }, "node_modules/check-error": { @@ -6098,13 +4680,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cli-width": { - "version": "3.0.0", - "license": "ISC", - "engines": { - "node": ">= 10" - } - }, "node_modules/cliui": { "version": "8.0.1", "dev": true, @@ -6216,16 +4791,6 @@ "node": ">=0.8" } }, - "node_modules/clone-response": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/color-convert": { "version": "1.9.3", "license": "MIT", @@ -6396,17 +4961,6 @@ "version": "1.0.6", "license": "MIT" }, - "node_modules/core-js-compat": { - "version": "3.32.0", - "license": "MIT", - "dependencies": { - "browserslist": "^4.21.9" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/core-util-is": { "version": "1.0.3", "license": "MIT" @@ -6544,26 +5098,6 @@ "node": ">=8" } }, - "node_modules/data-uri-to-buffer": { - "version": "5.0.1", - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, - "node_modules/deasync": { - "version": "0.1.28", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "bindings": "^1.5.0", - "node-addon-api": "^1.7.1" - }, - "engines": { - "node": ">=0.11.0" - } - }, "node_modules/debug": { "version": "4.3.4", "license": "MIT", @@ -6621,29 +5155,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/decompress-response": { - "version": "6.0.0", - "license": "MIT", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/deep-eql": { "version": "4.1.3", "license": "MIT", @@ -6737,13 +5248,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/define-lazy-prop": { "version": "3.0.0", "license": "MIT", @@ -6768,18 +5272,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/degenerator": { - "version": "5.0.1", - "license": "MIT", - "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/depd": { "version": "2.0.0", "license": "MIT", @@ -6802,20 +5294,6 @@ "npm": "1.2.8000 || >= 1.4.16" } }, - "node_modules/detect-indent": { - "version": "6.1.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/dexie": { "version": "3.2.4", "license": "Apache-2.0", @@ -6952,16 +5430,8 @@ }, "node_modules/emoji-regex": { "version": "9.2.2", - "dev": true, "license": "MIT" }, - "node_modules/emojis-list": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/encodeurl": { "version": "1.0.2", "license": "MIT", @@ -7030,8 +5500,7 @@ "node_modules/err-code": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" }, "node_modules/error-ex": { "version": "1.3.2", @@ -7564,33 +6033,6 @@ "node": ">=0.8.0" } }, - "node_modules/escodegen": { - "version": "2.1.0", - "license": "BSD-2-Clause", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "license": "BSD-3-Clause", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/eslint": { "version": "8.49.0", "license": "MIT", @@ -8478,25 +6920,14 @@ "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" }, "engines": { - "node": ">=4" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/esquery": { @@ -8577,7 +7008,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-1.2.0.tgz", "integrity": "sha512-IzU74r1PK5IMMGZXUVZbmiu4A1uhiPgW5hm1GjcOfr4ZzHaMPpLNJjR7HjXiIOzi25nZDrgFTobHTkV5Q6ITjA==", - "dev": true, "dependencies": { "@types/estree-jsx": "^1.0.0", "astring": "^1.8.0", @@ -8592,7 +7022,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.0.tgz", "integrity": "sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -8763,6 +7192,7 @@ }, "node_modules/external-editor": { "version": "3.1.0", + "dev": true, "license": "MIT", "dependencies": { "chardet": "^0.7.0", @@ -8821,19 +7251,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/figures": { - "version": "3.2.0", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/file-entry-cache": { "version": "6.0.1", "license": "MIT", @@ -8844,11 +7261,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "license": "MIT", - "optional": true - }, "node_modules/fill-range": { "version": "7.0.1", "license": "MIT", @@ -8924,7 +7336,6 @@ }, "node_modules/foreground-child": { "version": "3.1.1", - "dev": true, "license": "ISC", "dependencies": { "cross-spawn": "^7.0.0", @@ -8939,7 +7350,6 @@ }, "node_modules/foreground-child/node_modules/signal-exit": { "version": "4.1.0", - "dev": true, "license": "ISC", "engines": { "node": ">=14" @@ -9122,52 +7532,6 @@ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, - "node_modules/get-uri": { - "version": "6.0.1", - "license": "MIT", - "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^5.0.1", - "debug": "^4.3.4", - "fs-extra": "^8.1.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/get-uri/node_modules/fs-extra": { - "version": "8.1.0", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/get-uri/node_modules/jsonfile": { - "version": "4.0.0", - "license": "MIT", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/get-uri/node_modules/universalify": { - "version": "0.1.2", - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/git-hooks-list": { - "version": "1.0.3", - "license": "MIT", - "funding": { - "url": "https://github.com/fisker/git-hooks-list?sponsor=1" - } - }, "node_modules/git-raw-commits": { "version": "2.0.11", "dev": true, @@ -9281,29 +7645,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/got": { - "version": "11.8.6", - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.2", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=10.19.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, "node_modules/graceful-fs": { "version": "4.2.11", "license": "ISC" @@ -9486,305 +7827,96 @@ "dev": true, "license": "MIT" }, - "node_modules/http-cache-semantics": { - "version": "4.1.1", - "license": "BSD-2-Clause" - }, - "node_modules/http-errors": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-proxy-agent": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/http2-wrapper": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.0.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, - "node_modules/https-proxy-agent": { - "version": "7.0.1", - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/human-signals": { - "version": "4.3.1", - "license": "Apache-2.0", - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/husky": { - "version": "8.0.3", - "dev": true, - "license": "MIT", - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/icss-utils": { - "version": "5.1.0", - "license": "ISC", - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/idb": { - "version": "7.1.1", - "license": "ISC" - }, - "node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "5.2.4", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/infer-owner": { - "version": "1.0.4", - "license": "ISC" - }, - "node_modules/inflight": { - "version": "1.0.6", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "license": "ISC" - }, - "node_modules/ini": { - "version": "1.3.8", - "dev": true, - "license": "ISC" - }, - "node_modules/inline-style-parser": { - "version": "0.1.1", - "license": "MIT" - }, - "node_modules/inquirer": { - "version": "8.2.6", - "license": "MIT", - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^6.0.1" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/inquirer/node_modules/ansi-escapes": { - "version": "4.3.2", - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/ansi-regex": { - "version": "5.0.1", + "node_modules/http-errors": { + "version": "2.0.0", "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, "engines": { - "node": ">=8" + "node": ">= 0.8" } }, - "node_modules/inquirer/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, + "node_modules/human-signals": { + "version": "4.3.1", + "license": "Apache-2.0", "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=14.18.0" } }, - "node_modules/inquirer/node_modules/chalk": { - "version": "4.1.2", + "node_modules/husky": { + "version": "8.0.3", + "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "bin": { + "husky": "lib/bin.js" }, "engines": { - "node": ">=10" + "node": ">=14" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/typicode" } }, - "node_modules/inquirer/node_modules/cli-cursor": { - "version": "3.1.0", + "node_modules/iconv-lite": { + "version": "0.4.24", "license": "MIT", "dependencies": { - "restore-cursor": "^3.1.0" + "safer-buffer": ">= 2.1.2 < 3" }, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/inquirer/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, + "node_modules/icss-utils": { + "version": "5.1.0", + "license": "ISC", "engines": { - "node": ">=7.0.0" + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/inquirer/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/inquirer/node_modules/emoji-regex": { - "version": "8.0.0", - "license": "MIT" - }, - "node_modules/inquirer/node_modules/has-flag": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } + "node_modules/idb": { + "version": "7.1.1", + "license": "ISC" }, - "node_modules/inquirer/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } + "node_modules/ieee754": { + "version": "1.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" }, - "node_modules/inquirer/node_modules/mimic-fn": { - "version": "2.1.0", + "node_modules/ignore": { + "version": "5.2.4", "license": "MIT", "engines": { - "node": ">=6" + "node": ">= 4" } }, - "node_modules/inquirer/node_modules/onetime": { - "version": "5.1.2", + "node_modules/import-fresh": { + "version": "3.3.0", "license": "MIT", "dependencies": { - "mimic-fn": "^2.1.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { "node": ">=6" @@ -9793,70 +7925,40 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/inquirer/node_modules/restore-cursor": { - "version": "3.1.0", + "node_modules/imurmurhash": { + "version": "0.1.4", "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, "engines": { - "node": ">=8" + "node": ">=0.8.19" } }, - "node_modules/inquirer/node_modules/string-width": { - "version": "4.2.3", + "node_modules/indent-string": { + "version": "4.0.0", "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, "engines": { "node": ">=8" } }, - "node_modules/inquirer/node_modules/strip-ansi": { - "version": "6.0.1", - "license": "MIT", + "node_modules/inflight": { + "version": "1.0.6", + "license": "ISC", "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/inquirer/node_modules/supports-color": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/inherits": { + "version": "2.0.4", + "license": "ISC" }, - "node_modules/inquirer/node_modules/type-fest": { - "version": "0.21.3", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/ini": { + "version": "1.3.8", + "dev": true, + "license": "ISC" }, - "node_modules/inquirer/node_modules/wrap-ansi": { - "version": "6.2.0", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/inline-style-parser": { + "version": "0.1.1", + "license": "MIT" }, "node_modules/internal-slot": { "version": "1.0.5", @@ -9870,10 +7972,6 @@ "node": ">= 0.4" } }, - "node_modules/ip": { - "version": "1.1.8", - "license": "MIT" - }, "node_modules/ipaddr.js": { "version": "1.9.1", "license": "MIT", @@ -10490,7 +8588,6 @@ }, "node_modules/jackspeak": { "version": "2.2.3", - "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" @@ -10548,10 +8645,6 @@ "node": ">=6" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "license": "MIT" - }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "dev": true, @@ -10559,6 +8652,7 @@ }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", + "dev": true, "license": "MIT" }, "node_modules/json-schema-traverse": { @@ -10630,13 +8724,6 @@ "node": ">=4.0" } }, - "node_modules/keyv": { - "version": "4.5.3", - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, "node_modules/kind-of": { "version": "6.0.3", "dev": true, @@ -10953,13 +9040,6 @@ "get-func-name": "^2.0.0" } }, - "node_modules/lowercase-keys": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/lru-cache": { "version": "6.0.0", "license": "ISC", @@ -11073,19 +9153,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdx": { - "version": "1.1.0", - "license": "MIT", - "dependencies": { - "mdast-util-mdx-expression": "^1.0.0", - "mdast-util-mdx-jsx": "^1.0.0", - "mdast-util-mdxjs-esm": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdx-expression": { "version": "1.3.2", "license": "MIT", @@ -11108,24 +9175,6 @@ "@types/estree": "*" } }, - "node_modules/mdast-util-mdx-jsx": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^0.0.1", - "@types/mdast": "^3.0.0", - "mdast-util-to-markdown": "^1.0.0", - "parse-entities": "^4.0.0", - "stringify-entities": "^4.0.0", - "unist-util-remove-position": "^4.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdxjs-esm": { "version": "1.3.1", "license": "MIT", @@ -11160,25 +9209,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-to-hast": { - "version": "11.3.0", - "license": "MIT", - "dependencies": { - "@types/hast": "^2.0.0", - "@types/mdast": "^3.0.0", - "@types/mdurl": "^1.0.0", - "mdast-util-definitions": "^5.0.0", - "mdurl": "^1.0.0", - "unist-builder": "^3.0.0", - "unist-util-generated": "^2.0.0", - "unist-util-position": "^4.0.0", - "unist-util-visit": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-to-markdown": { "version": "1.5.0", "license": "MIT", @@ -11208,10 +9238,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdurl": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/media-query-parser": { "version": "2.0.2", "license": "MIT", @@ -11925,13 +9951,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/mimic-response": { - "version": "1.0.1", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/min-indent": { "version": "1.0.1", "dev": true, @@ -12106,10 +10125,6 @@ "version": "2.1.2", "license": "MIT" }, - "node_modules/mute-stream": { - "version": "0.0.8", - "license": "ISC" - }, "node_modules/mz": { "version": "2.7.0", "dev": true, @@ -12151,23 +10166,11 @@ "node": ">= 0.6" } }, - "node_modules/netmask": { - "version": "2.0.2", - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/nice-try": { "version": "1.0.5", "dev": true, "license": "MIT" }, - "node_modules/node-addon-api": { - "version": "1.7.2", - "license": "MIT", - "optional": true - }, "node_modules/node-fetch": { "version": "2.6.12", "license": "MIT", @@ -12216,21 +10219,10 @@ "node": ">=0.10.0" } }, - "node_modules/normalize-url": { - "version": "6.1.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/npm-install-checks": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz", "integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==", - "dev": true, "dependencies": { "semver": "^7.1.1" }, @@ -12242,7 +10234,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -12251,7 +10242,6 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", - "dev": true, "dependencies": { "hosted-git-info": "^6.0.0", "proc-log": "^3.0.0", @@ -12266,7 +10256,6 @@ "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", - "dev": true, "dependencies": { "lru-cache": "^7.5.1" }, @@ -12278,7 +10267,6 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, "engines": { "node": ">=12" } @@ -12287,7 +10275,6 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.2.tgz", "integrity": "sha512-1dKY+86/AIiq1tkKVD3l0WI+Gd3vkknVGAggsFeBkTvbhMQ1OND/LKkYv4JtXPKUJ8bOTCyLiqEg2P6QNdK+Gg==", - "dev": true, "dependencies": { "npm-install-checks": "^6.0.0", "npm-normalize-package-bin": "^3.0.0", @@ -12763,6 +10750,7 @@ }, "node_modules/os-tmpdir": { "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -12772,13 +10760,6 @@ "version": "0.8.0", "license": "MIT" }, - "node_modules/p-cancelable": { - "version": "2.1.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/p-limit": { "version": "3.1.0", "license": "MIT", @@ -12826,35 +10807,6 @@ "node": ">=6" } }, - "node_modules/pac-proxy-agent": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "get-uri": "^6.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", - "pac-resolver": "^7.0.0", - "socks-proxy-agent": "^8.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/pac-resolver": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "degenerator": "^5.0.0", - "ip": "^1.1.8", - "netmask": "^2.0.2" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/pako": { "version": "0.2.9", "license": "MIT" @@ -12940,7 +10892,6 @@ }, "node_modules/path-scurry": { "version": "1.10.1", - "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", @@ -12955,7 +10906,6 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.0.1", - "dev": true, "license": "ISC", "engines": { "node": "14 || >=16.14" @@ -12963,7 +10913,6 @@ }, "node_modules/path-scurry/node_modules/minipass": { "version": "7.0.3", - "dev": true, "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" @@ -13348,7 +11297,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -13365,7 +11313,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "dev": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -13408,34 +11355,6 @@ "node": ">= 0.10" } }, - "node_modules/proxy-agent": { - "version": "6.3.0", - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", - "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.0", - "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/proxy-agent/node_modules/lru-cache": { - "version": "7.18.3", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "license": "MIT" - }, "node_modules/pump": { "version": "2.0.1", "license": "MIT", @@ -13491,16 +11410,6 @@ ], "license": "MIT" }, - "node_modules/quick-lru": { - "version": "5.1.1", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/range-parser": { "version": "1.2.1", "license": "MIT", @@ -13715,36 +11624,6 @@ "node": ">=8.10.0" } }, - "node_modules/recast": { - "version": "0.21.5", - "license": "MIT", - "dependencies": { - "ast-types": "0.15.2", - "esprima": "~4.0.0", - "source-map": "~0.6.1", - "tslib": "^2.0.1" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/recast/node_modules/ast-types": { - "version": "0.15.2", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/recast/node_modules/source-map": { - "version": "0.6.1", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/redent": { "version": "3.0.0", "dev": true, @@ -13776,31 +11655,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/regenerate": { - "version": "1.4.2", - "license": "MIT" - }, - "node_modules/regenerate-unicode-properties": { - "version": "10.1.0", - "license": "MIT", - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/regenerator-runtime": { "version": "0.14.0", "license": "MIT" }, - "node_modules/regenerator-transform": { - "version": "0.15.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.8.4" - } - }, "node_modules/regexp.prototype.flags": { "version": "1.5.0", "license": "MIT", @@ -13826,37 +11684,6 @@ "url": "https://github.com/sponsors/mysticatea" } }, - "node_modules/regexpu-core": { - "version": "5.3.2", - "license": "MIT", - "dependencies": { - "@babel/regjsgen": "^0.8.0", - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.1.0", - "regjsparser": "^0.9.1", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regjsparser": { - "version": "0.9.1", - "license": "BSD-2-Clause", - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "bin": { - "jsesc": "bin/jsesc" - } - }, "node_modules/remark-frontmatter": { "version": "4.0.1", "license": "MIT", @@ -13875,7 +11702,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-2.3.0.tgz", "integrity": "sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==", - "dev": true, "dependencies": { "mdast-util-mdx": "^2.0.0", "micromark-extension-mdxjs": "^1.0.0" @@ -13902,7 +11728,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.0.tgz", "integrity": "sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -13911,7 +11736,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-mdx/-/mdast-util-mdx-2.0.1.tgz", "integrity": "sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==", - "dev": true, "dependencies": { "mdast-util-from-markdown": "^1.0.0", "mdast-util-mdx-expression": "^1.0.0", @@ -13928,7 +11752,6 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-2.1.4.tgz", "integrity": "sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==", - "dev": true, "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^2.0.0", @@ -13961,20 +11784,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-rehype": { - "version": "9.1.0", - "license": "MIT", - "dependencies": { - "@types/hast": "^2.0.0", - "@types/mdast": "^3.0.0", - "mdast-util-to-hast": "^11.0.0", - "unified": "^10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remix-pwa": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/remix-pwa/-/remix-pwa-3.0.6.tgz", @@ -14032,10 +11841,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/resolve-alpn": { - "version": "1.2.1", - "license": "MIT" - }, "node_modules/resolve-from": { "version": "4.0.0", "license": "MIT", @@ -14068,16 +11873,6 @@ "node": ">=10" } }, - "node_modules/responselike": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "lowercase-keys": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/restore-cursor": { "version": "4.0.0", "license": "MIT", @@ -14116,7 +11911,6 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", - "dev": true, "engines": { "node": ">= 4" } @@ -14251,6 +12045,7 @@ }, "node_modules/run-async": { "version": "2.4.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.12.0" @@ -14277,13 +12072,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rxjs": { - "version": "7.8.1", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/sade": { "version": "1.8.1", "license": "MIT", @@ -14500,85 +12288,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "license": "MIT", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks": { - "version": "2.7.1", - "license": "MIT", - "dependencies": { - "ip": "^2.0.0", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "8.0.1", - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.1", - "debug": "^4.3.4", - "socks": "^2.7.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/socks/node_modules/ip": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/sort-object-keys": { - "version": "1.1.3", - "license": "MIT" - }, - "node_modules/sort-package-json": { - "version": "1.57.0", - "license": "MIT", - "dependencies": { - "detect-indent": "^6.0.0", - "detect-newline": "3.1.0", - "git-hooks-list": "1.0.3", - "globby": "10.0.0", - "is-plain-obj": "2.1.0", - "sort-object-keys": "^1.1.3" - }, - "bin": { - "sort-package-json": "cli.js" - } - }, - "node_modules/sort-package-json/node_modules/globby": { - "version": "10.0.0", - "license": "MIT", - "dependencies": { - "@types/glob": "^7.1.1", - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.0.3", - "glob": "^7.1.3", - "ignore": "^5.1.1", - "merge2": "^1.2.3", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/sort-package-json/node_modules/is-plain-obj": { - "version": "2.1.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/source-map": { "version": "0.7.4", "license": "BSD-3-Clause", @@ -14618,7 +12327,6 @@ }, "node_modules/spdx-correct": { "version": "3.2.0", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -14649,16 +12357,6 @@ "readable-stream": "^3.0.0" } }, - "node_modules/ssri": { - "version": "8.0.1", - "license": "ISC", - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/stackback": { "version": "0.0.2", "license": "MIT" @@ -14758,7 +12456,6 @@ }, "node_modules/string-width": { "version": "5.1.2", - "dev": true, "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", @@ -14775,7 +12472,6 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -14788,7 +12484,6 @@ }, "node_modules/string-width-cjs/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -14796,12 +12491,10 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "dev": true, "license": "MIT" }, "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -14809,7 +12502,6 @@ }, "node_modules/string-width-cjs/node_modules/strip-ansi": { "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -14919,7 +12611,6 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -14930,7 +12621,6 @@ }, "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -15257,6 +12947,7 @@ }, "node_modules/through": { "version": "2.3.8", + "dev": true, "license": "MIT" }, "node_modules/through2": { @@ -15329,6 +13020,7 @@ }, "node_modules/tmp": { "version": "0.0.33", + "dev": true, "license": "MIT", "dependencies": { "os-tmpdir": "~1.0.2" @@ -15373,7 +13065,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -15695,60 +13386,28 @@ "version": "5.2.2", "license": "Apache-2.0", "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/ufo": { - "version": "1.2.0", - "license": "MIT" - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "license": "MIT", + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, "engines": { - "node": ">=4" + "node": ">=14.17" } }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", + "node_modules/ufo": { + "version": "1.2.0", + "license": "MIT" + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", "license": "MIT", - "engines": { - "node": ">=4" + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/unified": { @@ -15778,31 +13437,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unique-filename": { - "version": "1.1.1", - "license": "ISC", - "dependencies": { - "unique-slug": "^2.0.0" - } - }, - "node_modules/unique-slug": { - "version": "2.0.2", - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - } - }, - "node_modules/unist-builder": { - "version": "3.0.1", - "license": "MIT", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/unist-util-generated": { "version": "2.0.1", "license": "MIT", @@ -16007,7 +13641,6 @@ }, "node_modules/validate-npm-package-license": { "version": "3.0.4", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", @@ -16018,7 +13651,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", - "dev": true, "dependencies": { "builtins": "^5.0.0" }, @@ -16750,7 +14382,6 @@ }, "node_modules/wrap-ansi": { "version": "8.1.0", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", @@ -16767,7 +14398,6 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -16783,7 +14413,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -16791,7 +14420,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { "version": "4.3.0", - "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -16805,7 +14433,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/color-convert": { "version": "2.0.1", - "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -16816,17 +14443,14 @@ }, "node_modules/wrap-ansi-cjs/node_modules/color-name": { "version": "1.1.4", - "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -16834,7 +14458,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -16847,7 +14470,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -16858,7 +14480,6 @@ }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "6.2.1", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -16890,60 +14511,6 @@ } } }, - "node_modules/xdm": { - "version": "2.1.0", - "license": "MIT", - "dependencies": { - "@rollup/pluginutils": "^4.0.0", - "@types/estree-jsx": "^0.0.1", - "astring": "^1.6.0", - "estree-util-build-jsx": "^2.0.0", - "estree-util-is-identifier-name": "^2.0.0", - "estree-walker": "^3.0.0", - "got": "^11.0.0", - "hast-util-to-estree": "^2.0.0", - "loader-utils": "^2.0.0", - "markdown-extensions": "^1.0.0", - "mdast-util-mdx": "^1.0.0", - "micromark-extension-mdxjs": "^1.0.0", - "periscopic": "^3.0.0", - "remark-parse": "^10.0.0", - "remark-rehype": "^9.0.0", - "source-map": "^0.7.0", - "unified": "^10.0.0", - "unist-util-position-from-estree": "^1.0.0", - "unist-util-stringify-position": "^3.0.0", - "unist-util-visit": "^4.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - }, - "optionalDependencies": { - "deasync": "^0.1.0" - } - }, - "node_modules/xdm/node_modules/estree-util-is-identifier-name": { - "version": "2.1.0", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/xdm/node_modules/loader-utils": { - "version": "2.0.4", - "license": "MIT", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, "node_modules/xtend": { "version": "4.0.2", "license": "MIT", @@ -17076,7 +14643,7 @@ }, "packages/cache": { "name": "@remix-pwa/cache", - "version": "2.0.5", + "version": "2.0.7", "license": "MIT", "dependencies": { "cachified": "^3.5.4" @@ -17091,7 +14658,7 @@ }, "packages/client": { "name": "@remix-pwa/client", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "devDependencies": { "@remix-pwa/eslint-config": "^0.0.0", @@ -17103,7 +14670,7 @@ }, "packages/dev": { "name": "@remix-pwa/dev", - "version": "2.0.16", + "version": "2.0.17", "license": "MIT", "dependencies": { "arg": "^5.0.2", @@ -17117,7 +14684,7 @@ "devDependencies": { "@remix-pwa/eslint-config": "^0.0.0", "@remix-pwa/lint-staged-config": "^0.0.0", - "@remix-pwa/worker-runtime": "^2.0.2", + "@remix-pwa/worker-runtime": "^2.0.4", "@remix-run/dev": "^2.0.0", "@types/fs-extra": "^11.0.2", "cross-env": "^7.0.3", @@ -17127,8 +14694,8 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@remix-pwa/worker-runtime": "^2.0.2", - "@remix-run/dev": "^1.19.3 || ^2.0.0" + "@remix-pwa/worker-runtime": "^2.0.4", + "@remix-run/dev": "^1.19.0 || ^2.0.0" }, "peerDependenciesMeta": { "@remix-pwa/worker-runtime": { @@ -18022,10 +15589,10 @@ }, "packages/strategy": { "name": "@remix-pwa/strategy", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "dependencies": { - "@remix-pwa/cache": "^2.0.2" + "@remix-pwa/cache": "^2.0.7" }, "devDependencies": { "@remix-pwa/eslint-config": "^0.0.0", @@ -18035,12 +15602,12 @@ "node": ">=14.0.0" }, "peerDependencies": { - "@remix-pwa/cache": "^2.0.2" + "@remix-pwa/cache": "^2.0.7" } }, "packages/sw": { "name": "@remix-pwa/sw", - "version": "2.1.4", + "version": "2.1.5", "license": "MIT", "dependencies": { "@remix-run/server-runtime": "^2.0.0", @@ -18048,7 +15615,7 @@ "tiny-invariant": "^1.3.1" }, "devDependencies": { - "@remix-pwa/cache": "^2.0.3", + "@remix-pwa/cache": "^2.0.7", "@remix-pwa/eslint-config": "^0.0.0", "@remix-pwa/lint-staged-config": "^0.0.0", "@remix-run/dev": "^2.0.0", @@ -18061,7 +15628,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "@remix-pwa/cache": "^2.0.3", + "@remix-pwa/cache": "^2.0.7", "@remix-run/dev": "^1.15.0 || ^2.0.0", "@remix-run/react": "^1.15.0 || ^2.0.0", "react": "^18.2.0", @@ -18778,7 +16345,7 @@ }, "packages/sync": { "name": "@remix-pwa/sync", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "dependencies": { "idb": "^7.1.1" @@ -18863,7 +16430,7 @@ }, "packages/worker-runtime": { "name": "@remix-pwa/worker-runtime", - "version": "2.0.2", + "version": "2.0.4", "license": "MIT", "dependencies": { "@remix-run/router": "^1.9.0" @@ -18934,7 +16501,7 @@ "license": "MIT", "dependencies": { "@remix-pwa/strategy": "^2.1.2", - "@remix-pwa/sw": "2.1.2", + "@remix-pwa/sw": "2.1.4", "@remix-pwa/sync": "^2.0.1", "@remix-pwa/worker-runtime": "^2.0.2", "@remix-run/css-bundle": "^2.0.0", @@ -18982,7 +16549,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", - "dev": true, "dependencies": { "semver": "^7.3.5" }, @@ -18991,200 +16557,29 @@ } }, "playground/node_modules/@remix-pwa/sw": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@remix-pwa/sw/-/sw-2.1.2.tgz", - "integrity": "sha512-0GzWpwM0FOxrMcaSCtSrM56l9PDFkGsIug3T23Bp/Qr2LmZq9k81B+PksCus36sHVerOKa+aFF1J5uNHAKTwAg==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@remix-pwa/sw/-/sw-2.1.4.tgz", + "integrity": "sha512-jWPUl5JrW8umlNd4B7YzLObG5sGOZ5yR4/6uuu2+TmwW2ZSVDlBXU2m1Wd8oi3aAovVwx2IoDU7aqgwxBF4c4g==", "dependencies": { - "@remix-pwa/cache": "^2.0.3", - "@remix-run/dev": "^1.19.3", - "@remix-run/react": "^1.19.3", + "@remix-run/server-runtime": "^1.19.3", "idb": "^7.1.1", - "react-router-dom": "^6.16.0", "tiny-invariant": "^1.3.1" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@remix-pwa/cache": "^2.0.3" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/dev": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/dev/-/dev-1.19.3.tgz", - "integrity": "sha512-Yh733OI0AxR7QbPaJbocujxSF1S5CToDmfZnmv5SlTTIXEw5KfnbCceHy9qhUp0nrkz2YT7pd1zbTEVYIi/Vug==", - "dependencies": { - "@babel/core": "^7.21.8", - "@babel/generator": "^7.21.5", - "@babel/parser": "^7.21.8", - "@babel/plugin-syntax-jsx": "^7.21.4", - "@babel/plugin-syntax-typescript": "^7.21.4", - "@babel/preset-env": "^7.21.5", - "@babel/preset-typescript": "^7.21.5", - "@babel/traverse": "^7.21.5", - "@babel/types": "^7.21.5", - "@npmcli/package-json": "^2.0.0", - "@remix-run/server-runtime": "1.19.3", - "@vanilla-extract/integration": "^6.2.0", - "arg": "^5.0.1", - "cacache": "^15.0.5", - "chalk": "^4.1.2", - "chokidar": "^3.5.1", - "dotenv": "^16.0.0", - "esbuild": "0.17.6", - "esbuild-plugins-node-modules-polyfill": "^1.3.0", - "execa": "5.1.1", - "exit-hook": "2.2.1", - "express": "^4.17.1", - "fast-glob": "3.2.11", - "fs-extra": "^10.0.0", - "get-port": "^5.1.1", - "gunzip-maybe": "^1.4.2", - "inquirer": "^8.2.1", - "jsesc": "3.0.2", - "json5": "^2.2.2", - "lodash": "^4.17.21", - "lodash.debounce": "^4.0.8", - "minimatch": "^9.0.0", - "node-fetch": "^2.6.9", - "ora": "^5.4.1", - "picocolors": "^1.0.0", - "picomatch": "^2.3.1", - "pidtree": "^0.6.0", - "postcss": "^8.4.19", - "postcss-discard-duplicates": "^5.1.0", - "postcss-load-config": "^4.0.1", - "postcss-modules": "^6.0.0", - "prettier": "^2.7.1", - "pretty-ms": "^7.0.1", - "proxy-agent": "^6.3.0", - "react-refresh": "^0.14.0", - "recast": "^0.21.5", - "remark-frontmatter": "4.0.1", - "remark-mdx-frontmatter": "^1.0.1", - "semver": "^7.3.7", - "sort-package-json": "^1.55.0", - "tar-fs": "^2.1.1", - "tsconfig-paths": "^4.0.0", - "ws": "^7.4.5", - "xdm": "^2.0.0" - }, - "bin": { - "remix": "dist/cli.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@remix-run/serve": "^1.19.3" - }, - "peerDependenciesMeta": { - "@remix-run/serve": { - "optional": true - } - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/node": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/node/-/node-1.19.3.tgz", - "integrity": "sha512-z5qrVL65xLXIUpU4mkR4MKlMeKARLepgHAk4W5YY3IBXOreRqOGUC70POViYmY7x38c2Ia1NwqL80H+0h7jbMw==", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/server-runtime": "1.19.3", - "@remix-run/web-fetch": "^4.3.6", - "@remix-run/web-file": "^3.0.3", - "@remix-run/web-stream": "^1.0.4", - "@web3-storage/multipart-parser": "^1.0.0", - "abort-controller": "^3.0.0", - "cookie-signature": "^1.1.0", - "source-map-support": "^0.5.21", - "stream-slice": "^0.1.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/react": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/react/-/react-1.19.3.tgz", - "integrity": "sha512-iP37MZ+oG1n4kv4rX77pKT/knra51lNwKo5tinPPF0SuNJhF3+XjWo5nwEjvisKTXLZ/OHeicinhgX2JHHdDvA==", - "dependencies": { - "@remix-run/router": "1.7.2", - "react-router-dom": "6.14.2" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/react/node_modules/react-router-dom": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.14.2.tgz", - "integrity": "sha512-5pWX0jdKR48XFZBuJqHosX3AAHjRAzygouMTyimnBPOLdY3WjzUSKhus2FVMihUFWzeLebDgr4r8UeQFAct7Bg==", - "dependencies": { - "@remix-run/router": "1.7.2", - "react-router": "6.14.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/router": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.7.2.tgz", - "integrity": "sha512-7Lcn7IqGMV+vizMPoEl5F0XDshcdDYtMI6uJLQdQz5CfZAwy3vvGKYSUk789qndt5dEC4HfSjviSYlSoHGL2+A==", - "engines": { - "node": ">=14" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/serve": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/serve/-/serve-1.19.3.tgz", - "integrity": "sha512-RUVEy7EBYvHO1hIuyVQJyIYZeFfXecC+Uaw6GvZscLywIGnhcAj+5dpeK6HVayNuV4kKLvBp0F4ZGHbwW1oWaA==", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/express": "1.19.3", - "@remix-run/node": "1.19.3", - "compression": "^1.7.4", - "express": "^4.17.1", - "morgan": "^1.10.0", - "source-map-support": "^0.5.21" - }, - "bin": { - "remix-serve": "dist/cli.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/react-router": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.14.2.tgz", - "integrity": "sha512-09Zss2dE2z+T1D03IheqAFtK4UzQyX8nFPWx6jkwdYzGLXd5ie06A6ezS2fO6zJfEb/SpG6UocN2O1hfD+2urQ==", - "dependencies": { - "@remix-run/router": "1.7.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "react": ">=16.8" + "@remix-pwa/cache": "^2.0.3", + "@remix-run/dev": "^1.15.0 || ^2.0.0", + "@remix-run/react": "^1.15.0 || ^2.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" } }, "playground/node_modules/@remix-run/dev": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@remix-run/dev/-/dev-2.0.0.tgz", "integrity": "sha512-cdUOuywlC6uHZPGhK+ASGBBKXUUtz94OFsAmRziu7lH7I3GZJ7llExlM+FtkQYEdD0u00/1FSnv2xjXAq/sHzw==", - "dev": true, "dependencies": { "@babel/core": "^7.21.8", "@babel/generator": "^7.21.5", @@ -19258,7 +16653,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-4.0.1.tgz", "integrity": "sha512-lRCEGdHZomFsURroh522YvA/2cVb9oPIJrjHanCJZkiasz1BzcnLr3tBJhlV7S86MBJBuAQ33is2D60YitZL2Q==", - "dev": true, "dependencies": { "@npmcli/git": "^4.1.0", "glob": "^10.2.2", @@ -19276,7 +16670,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.0.0.tgz", "integrity": "sha512-HaNszj/mp/A1Qz5sVupVIXqDyeEni3nwW5iKDqGAqv0n8E6FRkzEhOtAJypRABcKWBq0M9VM3fm6IO0vaMti8Q==", - "dev": true, "dependencies": { "@remix-run/router": "1.9.0", "@types/cookie": "^0.4.1", @@ -19302,7 +16695,6 @@ "version": "17.1.4", "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", - "dev": true, "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", @@ -19597,7 +16989,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", - "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -19609,7 +17000,6 @@ "version": "10.3.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.5.tgz", "integrity": "sha512-bYUpUD7XDEHI4Q2O5a7PXGvyw4deKR70kHiDxzQbe925wbZknhOzUt2xBgTkYL6RBcVeXYuD9iNYeqoWbBZQnA==", - "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", @@ -19639,7 +17029,6 @@ "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", - "dev": true, "dependencies": { "lru-cache": "^7.5.1" }, @@ -19670,7 +17059,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz", "integrity": "sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -19679,7 +17067,6 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, "engines": { "node": ">=12" } @@ -19710,7 +17097,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz", "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==", - "dev": true, "engines": { "node": ">=16 || 14 >=14.17" } @@ -19719,7 +17105,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", - "dev": true, "dependencies": { "hosted-git-info": "^6.0.0", "is-core-module": "^2.8.1", @@ -19803,7 +17188,6 @@ "version": "10.0.5", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", - "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -19845,7 +17229,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", - "dev": true, "dependencies": { "unique-slug": "^4.0.0" }, @@ -19857,7 +17240,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", - "dev": true, "dependencies": { "imurmurhash": "^0.1.4" }, diff --git a/playground/package.json b/playground/package.json index 92dac2fe..17e905a7 100644 --- a/playground/package.json +++ b/playground/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@remix-pwa/strategy": "^2.1.2", - "@remix-pwa/sw": "2.1.2", + "@remix-pwa/sw": "2.1.4", "@remix-pwa/sync": "^2.0.1", "@remix-pwa/worker-runtime": "^2.0.2", "@remix-run/css-bundle": "^2.0.0", From 27bc92f055562b4eeecf5a3b10ae1e2bd403fc3c Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Date: Fri, 22 Sep 2023 10:08:12 +0100 Subject: [PATCH 03/10] chore(playground): remix v2 --- package-lock.json | 3030 ++--------------------------- playground/app/entry.server.tsx | 135 -- playground/package.json | 4 +- playground/public/entry.worker.js | 917 ++++----- playground/remix.config.js | 8 - 5 files changed, 533 insertions(+), 3561 deletions(-) delete mode 100644 playground/app/entry.server.tsx diff --git a/package-lock.json b/package-lock.json index cd92ccd4..2beab274 100644 --- a/package-lock.json +++ b/package-lock.json @@ -203,16 +203,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.22.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-compilation-targets": { "version": "7.22.10", "license": "MIT", @@ -273,42 +263,6 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.22.9", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "regexpu-core": "^5.3.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.4.2", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.5", "license": "MIT", @@ -391,21 +345,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.22.9", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-wrap-function": "^7.22.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, "node_modules/@babel/helper-replace-supers": { "version": "7.22.9", "license": "MIT", @@ -444,1016 +383,84 @@ "node_modules/@babel/helper-split-export-declaration": { "version": "7.22.6", "license": "MIT", - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.5", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.22.5", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-function-name": "^7.22.5", - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.10", - "@babel/types": "^7.22.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.22.10", - "license": "MIT", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" - } - }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.21.0-placeholder-for-preset-env.2", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.10.tgz", - "integrity": "sha512-z1KTVemBjnz+kSEilAsI4lbkPOl5TvJH7YDSY1CTIzvLWJ+KHXp+mRe8VPmfnyvqOPqar1V2gid2PleKzRUstQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-unicode-sets-regex": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.9", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.22.6", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-optimise-call-expression": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/template": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-simple-access": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.22.10", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.22.5", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-display-name": { - "version": "7.22.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.22.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-module-imports": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-jsx": "^7.22.5", + "dependencies": { "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-react-jsx-development": { + "node_modules/@babel/helper-string-parser": { "version": "7.22.5", - "dev": true, "license": "MIT", - "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.22.5" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-react-pure-annotations": { + "node_modules/@babel/helper-validator-identifier": { "version": "7.22.5", - "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.22.10", + "node_modules/@babel/helper-validator-option": { + "version": "7.22.5", "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "regenerator-transform": "^0.15.2" - }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.22.5", + "node_modules/@babel/helpers": { + "version": "7.22.10", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.10", + "@babel/types": "^7.22.10" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.22.5", + "node_modules/@babel/highlight": { + "version": "7.22.10", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-validator-identifier": "^7.22.5", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" }, "engines": { "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.22.5", + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=4" } }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.22.5", + "node_modules/@babel/parser": { + "version": "7.22.10", "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-decorators": { + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.10.tgz", + "integrity": "sha512-z1KTVemBjnz+kSEilAsI4lbkPOl5TvJH7YDSY1CTIzvLWJ+KHXp+mRe8VPmfnyvqOPqar1V2gid2PleKzRUstQ==", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -1464,7 +471,7 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-template-literals": { + "node_modules/@babel/plugin-syntax-jsx": { "version": "7.22.5", "license": "MIT", "dependencies": { @@ -1477,7 +484,7 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typeof-symbol": { + "node_modules/@babel/plugin-syntax-typescript": { "version": "7.22.5", "license": "MIT", "dependencies": { @@ -1490,14 +497,13 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.22.10", + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.22.5", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.10", + "@babel/helper-module-transforms": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-typescript": "^7.22.5" + "@babel/helper-simple-access": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1506,8 +512,9 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.22.10", + "node_modules/@babel/plugin-transform-react-display-name": { + "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1519,12 +526,16 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-property-regex": { + "node_modules/@babel/plugin-transform-react-jsx": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-jsx": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1533,12 +544,12 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-regex": { + "node_modules/@babel/plugin-transform-react-jsx-development": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/plugin-transform-react-jsx": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1547,104 +558,29 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-sets-regex": { + "node_modules/@babel/plugin-transform-react-pure-annotations": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/preset-env": { + "node_modules/@babel/plugin-transform-typescript": { "version": "7.22.10", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.10", + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.10", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", - "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.22.5", - "@babel/plugin-syntax-import-attributes": "^7.22.5", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.22.5", - "@babel/plugin-transform-async-generator-functions": "^7.22.10", - "@babel/plugin-transform-async-to-generator": "^7.22.5", - "@babel/plugin-transform-block-scoped-functions": "^7.22.5", - "@babel/plugin-transform-block-scoping": "^7.22.10", - "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/plugin-transform-class-static-block": "^7.22.5", - "@babel/plugin-transform-classes": "^7.22.6", - "@babel/plugin-transform-computed-properties": "^7.22.5", - "@babel/plugin-transform-destructuring": "^7.22.10", - "@babel/plugin-transform-dotall-regex": "^7.22.5", - "@babel/plugin-transform-duplicate-keys": "^7.22.5", - "@babel/plugin-transform-dynamic-import": "^7.22.5", - "@babel/plugin-transform-exponentiation-operator": "^7.22.5", - "@babel/plugin-transform-export-namespace-from": "^7.22.5", - "@babel/plugin-transform-for-of": "^7.22.5", - "@babel/plugin-transform-function-name": "^7.22.5", - "@babel/plugin-transform-json-strings": "^7.22.5", - "@babel/plugin-transform-literals": "^7.22.5", - "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", - "@babel/plugin-transform-member-expression-literals": "^7.22.5", - "@babel/plugin-transform-modules-amd": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.22.5", - "@babel/plugin-transform-modules-systemjs": "^7.22.5", - "@babel/plugin-transform-modules-umd": "^7.22.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", - "@babel/plugin-transform-new-target": "^7.22.5", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", - "@babel/plugin-transform-numeric-separator": "^7.22.5", - "@babel/plugin-transform-object-rest-spread": "^7.22.5", - "@babel/plugin-transform-object-super": "^7.22.5", - "@babel/plugin-transform-optional-catch-binding": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.10", - "@babel/plugin-transform-parameters": "^7.22.5", - "@babel/plugin-transform-private-methods": "^7.22.5", - "@babel/plugin-transform-private-property-in-object": "^7.22.5", - "@babel/plugin-transform-property-literals": "^7.22.5", - "@babel/plugin-transform-regenerator": "^7.22.10", - "@babel/plugin-transform-reserved-words": "^7.22.5", - "@babel/plugin-transform-shorthand-properties": "^7.22.5", - "@babel/plugin-transform-spread": "^7.22.5", - "@babel/plugin-transform-sticky-regex": "^7.22.5", - "@babel/plugin-transform-template-literals": "^7.22.5", - "@babel/plugin-transform-typeof-symbol": "^7.22.5", - "@babel/plugin-transform-unicode-escapes": "^7.22.10", - "@babel/plugin-transform-unicode-property-regex": "^7.22.5", - "@babel/plugin-transform-unicode-regex": "^7.22.5", - "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", - "@babel/preset-modules": "0.1.6-no-external-plugins", - "@babel/types": "^7.22.10", - "babel-plugin-polyfill-corejs2": "^0.4.5", - "babel-plugin-polyfill-corejs3": "^0.8.3", - "babel-plugin-polyfill-regenerator": "^0.5.2", - "core-js-compat": "^3.31.0", - "semver": "^6.3.1" + "@babel/plugin-syntax-typescript": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1653,25 +589,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/preset-env/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/preset-modules": { - "version": "0.1.6-no-external-plugins", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/@babel/preset-react": { "version": "7.22.5", "dev": true, @@ -1708,10 +625,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/regjsgen": { - "version": "0.8.0", - "license": "MIT" - }, "node_modules/@babel/runtime": { "version": "7.22.10", "license": "MIT", @@ -3422,10 +2335,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "license": "MIT" - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.11", "license": "Apache-2.0", @@ -3455,7 +2364,6 @@ }, "node_modules/@isaacs/cliui": { "version": "8.0.2", - "dev": true, "license": "ISC", "dependencies": { "string-width": "^5.1.2", @@ -3532,7 +2440,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-2.3.0.tgz", "integrity": "sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==", - "dev": true, "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/mdx": "^2.0.0", @@ -3561,7 +2468,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.0.tgz", "integrity": "sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -3570,7 +2476,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.1.0.tgz", "integrity": "sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==", - "dev": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" @@ -3580,7 +2485,6 @@ "version": "12.3.0", "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz", "integrity": "sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==", - "dev": true, "dependencies": { "@types/hast": "^2.0.0", "@types/mdast": "^3.0.0", @@ -3600,7 +2504,6 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-10.1.0.tgz", "integrity": "sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==", - "dev": true, "dependencies": { "@types/hast": "^2.0.0", "@types/mdast": "^3.0.0", @@ -3669,19 +2572,10 @@ "node": ">= 8" } }, - "node_modules/@npmcli/fs": { - "version": "1.1.1", - "license": "ISC", - "dependencies": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - } - }, "node_modules/@npmcli/git": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz", "integrity": "sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==", - "dev": true, "dependencies": { "@npmcli/promise-spawn": "^6.0.0", "lru-cache": "^7.4.4", @@ -3700,7 +2594,6 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, "engines": { "node": ">=12" } @@ -3709,7 +2602,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -3720,32 +2612,10 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@npmcli/move-file": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/package-json": { - "version": "2.0.0", - "license": "ISC", - "dependencies": { - "json-parse-even-better-errors": "^2.3.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, "node_modules/@npmcli/promise-spawn": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", - "dev": true, "dependencies": { "which": "^3.0.0" }, @@ -3757,7 +2627,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -3770,7 +2639,6 @@ }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "dev": true, "license": "MIT", "optional": true, "engines": { @@ -4135,50 +3003,6 @@ "node": ">=4.0" } }, - "node_modules/@remix-run/express": { - "version": "1.19.3", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/node": "1.19.3" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "express": "^4.17.1" - } - }, - "node_modules/@remix-run/node": { - "version": "1.19.3", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/server-runtime": "1.19.3", - "@remix-run/web-fetch": "^4.3.6", - "@remix-run/web-file": "^3.0.3", - "@remix-run/web-stream": "^1.0.4", - "@web3-storage/multipart-parser": "^1.0.0", - "abort-controller": "^3.0.0", - "cookie-signature": "^1.1.0", - "source-map-support": "^0.5.21", - "stream-slice": "^0.1.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@remix-run/node/node_modules/cookie-signature": { - "version": "1.2.1", - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=6.6.0" - } - }, "node_modules/@remix-run/router": { "version": "1.9.0", "license": "MIT", @@ -4188,7 +3012,8 @@ }, "node_modules/@remix-run/server-runtime": { "version": "1.19.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-1.19.3.tgz", + "integrity": "sha512-KzQ+htUsKqpBgKE2tWo7kIIGy3MyHP58Io/itUPvV+weDjApwr9tQr9PZDPA3yAY6rAzLax7BU0NMSYCXWFY5A==", "dependencies": { "@remix-run/router": "1.7.2", "@types/cookie": "^0.4.1", @@ -4203,7 +3028,8 @@ }, "node_modules/@remix-run/server-runtime/node_modules/@remix-run/router": { "version": "1.7.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.7.2.tgz", + "integrity": "sha512-7Lcn7IqGMV+vizMPoEl5F0XDshcdDYtMI6uJLQdQz5CfZAwy3vvGKYSUk789qndt5dEC4HfSjviSYlSoHGL2+A==", "engines": { "node": ">=14" } @@ -4266,21 +3092,6 @@ "web-streams-polyfill": "^3.1.1" } }, - "node_modules/@rollup/pluginutils": { - "version": "4.2.1", - "license": "MIT", - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/@rollup/pluginutils/node_modules/estree-walker": { - "version": "2.0.2", - "license": "MIT" - }, "node_modules/@rushstack/eslint-patch": { "version": "1.3.3", "dev": true, @@ -4290,26 +3101,6 @@ "version": "0.27.8", "license": "MIT" }, - "node_modules/@sindresorhus/is": { - "version": "4.6.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" - } - }, - "node_modules/@szmarczak/http-timer": { - "version": "4.0.6", - "license": "MIT", - "dependencies": { - "defer-to-connect": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@testing-library/dom": { "version": "8.20.1", "dev": true, @@ -4429,10 +3220,6 @@ "node": ">=8" } }, - "node_modules/@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "license": "MIT" - }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "devOptional": true, @@ -4465,16 +3252,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/cacheable-request": { - "version": "6.0.3", - "license": "MIT", - "dependencies": { - "@types/http-cache-semantics": "*", - "@types/keyv": "^3.1.4", - "@types/node": "*", - "@types/responselike": "^1.0.0" - } - }, "node_modules/@types/chai": { "version": "4.3.5", "license": "MIT" @@ -4506,17 +3283,10 @@ "@types/json-schema": "*" } }, - "node_modules/@types/estree": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/@types/estree-jsx": { - "version": "0.0.1", - "license": "MIT", - "dependencies": { - "@types/estree": "*" - } - }, + "node_modules/@types/estree": { + "version": "1.0.1", + "license": "MIT" + }, "node_modules/@types/fs-extra": { "version": "11.0.2", "dev": true, @@ -4526,14 +3296,6 @@ "@types/node": "*" } }, - "node_modules/@types/glob": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, "node_modules/@types/hast": { "version": "2.3.5", "license": "MIT", @@ -4541,10 +3303,6 @@ "@types/unist": "^2" } }, - "node_modules/@types/http-cache-semantics": { - "version": "4.0.1", - "license": "MIT" - }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", "dev": true, @@ -4566,13 +3324,6 @@ "@types/node": "*" } }, - "node_modules/@types/keyv": { - "version": "3.1.4", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/mdast": { "version": "3.0.12", "license": "MIT", @@ -4580,19 +3331,10 @@ "@types/unist": "^2" } }, - "node_modules/@types/mdurl": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/@types/mdx": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.7.tgz", - "integrity": "sha512-BG4tyr+4amr3WsSEmHn/fXPqaCba/AYZ7dsaQTiavihQunHSIxk+uAtqsjvicNpyHN6cm+B9RVrUOtW9VzIKHw==", - "dev": true - }, - "node_modules/@types/minimatch": { - "version": "5.1.2", - "license": "MIT" + "integrity": "sha512-BG4tyr+4amr3WsSEmHn/fXPqaCba/AYZ7dsaQTiavihQunHSIxk+uAtqsjvicNpyHN6cm+B9RVrUOtW9VzIKHw==" }, "node_modules/@types/minimist": { "version": "1.2.2", @@ -4636,13 +3378,6 @@ "@types/react": "*" } }, - "node_modules/@types/responselike": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/scheduler": { "version": "0.16.3", "dev": true, @@ -5181,16 +3916,6 @@ "node": ">=0.4.0" } }, - "node_modules/agent-base": { - "version": "7.1.0", - "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "license": "MIT", @@ -5438,16 +4163,6 @@ "node": "*" } }, - "node_modules/ast-types": { - "version": "0.13.4", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/ast-types-flow": { "version": "0.0.7", "dev": true, @@ -5494,46 +4209,6 @@ "dequal": "^2.0.3" } }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.5", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.2", - "semver": "^6.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { - "version": "6.3.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.3", - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.2", - "core-js-compat": "^3.31.0" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.2", - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, "node_modules/bail": { "version": "2.0.2", "license": "MIT", @@ -5578,13 +4253,6 @@ "version": "5.1.2", "license": "MIT" }, - "node_modules/basic-ftp": { - "version": "5.0.3", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/big-integer": { "version": "1.6.51", "license": "Unlicense", @@ -5592,13 +4260,6 @@ "node": ">=0.6" } }, - "node_modules/big.js": { - "version": "5.2.2", - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/binary-extensions": { "version": "2.2.0", "license": "MIT", @@ -5606,14 +4267,6 @@ "node": ">=8" } }, - "node_modules/bindings": { - "version": "1.5.0", - "license": "MIT", - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, "node_modules/bl": { "version": "4.1.0", "license": "MIT", @@ -5791,77 +4444,6 @@ "node": ">=8" } }, - "node_modules/cacache": { - "version": "15.3.0", - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/cacheable-lookup": { - "version": "5.0.4", - "license": "MIT", - "engines": { - "node": ">=10.6.0" - } - }, - "node_modules/cacheable-request": { - "version": "7.0.4", - "license": "MIT", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^4.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^6.0.1", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cacheable-request/node_modules/pump": { - "version": "3.0.0", - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "node_modules/cachified": { "version": "3.5.4", "license": "MIT" @@ -5946,7 +4528,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -6012,6 +4593,7 @@ }, "node_modules/chardet": { "version": "0.7.0", + "dev": true, "license": "MIT" }, "node_modules/check-error": { @@ -6098,13 +4680,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cli-width": { - "version": "3.0.0", - "license": "ISC", - "engines": { - "node": ">= 10" - } - }, "node_modules/cliui": { "version": "8.0.1", "dev": true, @@ -6216,16 +4791,6 @@ "node": ">=0.8" } }, - "node_modules/clone-response": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/color-convert": { "version": "1.9.3", "license": "MIT", @@ -6396,17 +4961,6 @@ "version": "1.0.6", "license": "MIT" }, - "node_modules/core-js-compat": { - "version": "3.32.0", - "license": "MIT", - "dependencies": { - "browserslist": "^4.21.9" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/core-util-is": { "version": "1.0.3", "license": "MIT" @@ -6544,26 +5098,6 @@ "node": ">=8" } }, - "node_modules/data-uri-to-buffer": { - "version": "5.0.1", - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, - "node_modules/deasync": { - "version": "0.1.28", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "bindings": "^1.5.0", - "node-addon-api": "^1.7.1" - }, - "engines": { - "node": ">=0.11.0" - } - }, "node_modules/debug": { "version": "4.3.4", "license": "MIT", @@ -6621,29 +5155,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/decompress-response": { - "version": "6.0.0", - "license": "MIT", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/deep-eql": { "version": "4.1.3", "license": "MIT", @@ -6737,13 +5248,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/define-lazy-prop": { "version": "3.0.0", "license": "MIT", @@ -6768,18 +5272,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/degenerator": { - "version": "5.0.1", - "license": "MIT", - "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/depd": { "version": "2.0.0", "license": "MIT", @@ -6802,20 +5294,6 @@ "npm": "1.2.8000 || >= 1.4.16" } }, - "node_modules/detect-indent": { - "version": "6.1.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/dexie": { "version": "3.2.4", "license": "Apache-2.0", @@ -6952,16 +5430,8 @@ }, "node_modules/emoji-regex": { "version": "9.2.2", - "dev": true, "license": "MIT" }, - "node_modules/emojis-list": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/encodeurl": { "version": "1.0.2", "license": "MIT", @@ -7030,8 +5500,7 @@ "node_modules/err-code": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" }, "node_modules/error-ex": { "version": "1.3.2", @@ -7564,33 +6033,6 @@ "node": ">=0.8.0" } }, - "node_modules/escodegen": { - "version": "2.1.0", - "license": "BSD-2-Clause", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "license": "BSD-3-Clause", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/eslint": { "version": "8.49.0", "license": "MIT", @@ -8478,25 +6920,14 @@ "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" }, "engines": { - "node": ">=4" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/esquery": { @@ -8577,7 +7008,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-1.2.0.tgz", "integrity": "sha512-IzU74r1PK5IMMGZXUVZbmiu4A1uhiPgW5hm1GjcOfr4ZzHaMPpLNJjR7HjXiIOzi25nZDrgFTobHTkV5Q6ITjA==", - "dev": true, "dependencies": { "@types/estree-jsx": "^1.0.0", "astring": "^1.8.0", @@ -8592,7 +7022,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.0.tgz", "integrity": "sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -8763,6 +7192,7 @@ }, "node_modules/external-editor": { "version": "3.1.0", + "dev": true, "license": "MIT", "dependencies": { "chardet": "^0.7.0", @@ -8821,19 +7251,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/figures": { - "version": "3.2.0", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/file-entry-cache": { "version": "6.0.1", "license": "MIT", @@ -8844,11 +7261,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "license": "MIT", - "optional": true - }, "node_modules/fill-range": { "version": "7.0.1", "license": "MIT", @@ -8924,7 +7336,6 @@ }, "node_modules/foreground-child": { "version": "3.1.1", - "dev": true, "license": "ISC", "dependencies": { "cross-spawn": "^7.0.0", @@ -8939,7 +7350,6 @@ }, "node_modules/foreground-child/node_modules/signal-exit": { "version": "4.1.0", - "dev": true, "license": "ISC", "engines": { "node": ">=14" @@ -9122,52 +7532,6 @@ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, - "node_modules/get-uri": { - "version": "6.0.1", - "license": "MIT", - "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^5.0.1", - "debug": "^4.3.4", - "fs-extra": "^8.1.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/get-uri/node_modules/fs-extra": { - "version": "8.1.0", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/get-uri/node_modules/jsonfile": { - "version": "4.0.0", - "license": "MIT", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/get-uri/node_modules/universalify": { - "version": "0.1.2", - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/git-hooks-list": { - "version": "1.0.3", - "license": "MIT", - "funding": { - "url": "https://github.com/fisker/git-hooks-list?sponsor=1" - } - }, "node_modules/git-raw-commits": { "version": "2.0.11", "dev": true, @@ -9281,29 +7645,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/got": { - "version": "11.8.6", - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.2", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=10.19.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, "node_modules/graceful-fs": { "version": "4.2.11", "license": "ISC" @@ -9486,305 +7827,96 @@ "dev": true, "license": "MIT" }, - "node_modules/http-cache-semantics": { - "version": "4.1.1", - "license": "BSD-2-Clause" - }, - "node_modules/http-errors": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-proxy-agent": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/http2-wrapper": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.0.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, - "node_modules/https-proxy-agent": { - "version": "7.0.1", - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/human-signals": { - "version": "4.3.1", - "license": "Apache-2.0", - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/husky": { - "version": "8.0.3", - "dev": true, - "license": "MIT", - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/icss-utils": { - "version": "5.1.0", - "license": "ISC", - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/idb": { - "version": "7.1.1", - "license": "ISC" - }, - "node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "5.2.4", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/infer-owner": { - "version": "1.0.4", - "license": "ISC" - }, - "node_modules/inflight": { - "version": "1.0.6", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "license": "ISC" - }, - "node_modules/ini": { - "version": "1.3.8", - "dev": true, - "license": "ISC" - }, - "node_modules/inline-style-parser": { - "version": "0.1.1", - "license": "MIT" - }, - "node_modules/inquirer": { - "version": "8.2.6", - "license": "MIT", - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^6.0.1" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/inquirer/node_modules/ansi-escapes": { - "version": "4.3.2", - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/ansi-regex": { - "version": "5.0.1", + "node_modules/http-errors": { + "version": "2.0.0", "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, "engines": { - "node": ">=8" + "node": ">= 0.8" } }, - "node_modules/inquirer/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, + "node_modules/human-signals": { + "version": "4.3.1", + "license": "Apache-2.0", "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=14.18.0" } }, - "node_modules/inquirer/node_modules/chalk": { - "version": "4.1.2", + "node_modules/husky": { + "version": "8.0.3", + "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "bin": { + "husky": "lib/bin.js" }, "engines": { - "node": ">=10" + "node": ">=14" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/typicode" } }, - "node_modules/inquirer/node_modules/cli-cursor": { - "version": "3.1.0", + "node_modules/iconv-lite": { + "version": "0.4.24", "license": "MIT", "dependencies": { - "restore-cursor": "^3.1.0" + "safer-buffer": ">= 2.1.2 < 3" }, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/inquirer/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, + "node_modules/icss-utils": { + "version": "5.1.0", + "license": "ISC", "engines": { - "node": ">=7.0.0" + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/inquirer/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/inquirer/node_modules/emoji-regex": { - "version": "8.0.0", - "license": "MIT" - }, - "node_modules/inquirer/node_modules/has-flag": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } + "node_modules/idb": { + "version": "7.1.1", + "license": "ISC" }, - "node_modules/inquirer/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } + "node_modules/ieee754": { + "version": "1.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" }, - "node_modules/inquirer/node_modules/mimic-fn": { - "version": "2.1.0", + "node_modules/ignore": { + "version": "5.2.4", "license": "MIT", "engines": { - "node": ">=6" + "node": ">= 4" } }, - "node_modules/inquirer/node_modules/onetime": { - "version": "5.1.2", + "node_modules/import-fresh": { + "version": "3.3.0", "license": "MIT", "dependencies": { - "mimic-fn": "^2.1.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { "node": ">=6" @@ -9793,70 +7925,40 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/inquirer/node_modules/restore-cursor": { - "version": "3.1.0", + "node_modules/imurmurhash": { + "version": "0.1.4", "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, "engines": { - "node": ">=8" + "node": ">=0.8.19" } }, - "node_modules/inquirer/node_modules/string-width": { - "version": "4.2.3", + "node_modules/indent-string": { + "version": "4.0.0", "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, "engines": { "node": ">=8" } }, - "node_modules/inquirer/node_modules/strip-ansi": { - "version": "6.0.1", - "license": "MIT", + "node_modules/inflight": { + "version": "1.0.6", + "license": "ISC", "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/inquirer/node_modules/supports-color": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/inherits": { + "version": "2.0.4", + "license": "ISC" }, - "node_modules/inquirer/node_modules/type-fest": { - "version": "0.21.3", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/ini": { + "version": "1.3.8", + "dev": true, + "license": "ISC" }, - "node_modules/inquirer/node_modules/wrap-ansi": { - "version": "6.2.0", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/inline-style-parser": { + "version": "0.1.1", + "license": "MIT" }, "node_modules/internal-slot": { "version": "1.0.5", @@ -9870,10 +7972,6 @@ "node": ">= 0.4" } }, - "node_modules/ip": { - "version": "1.1.8", - "license": "MIT" - }, "node_modules/ipaddr.js": { "version": "1.9.1", "license": "MIT", @@ -10490,7 +8588,6 @@ }, "node_modules/jackspeak": { "version": "2.2.3", - "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" @@ -10548,10 +8645,6 @@ "node": ">=6" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "license": "MIT" - }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "dev": true, @@ -10559,6 +8652,7 @@ }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", + "dev": true, "license": "MIT" }, "node_modules/json-schema-traverse": { @@ -10630,13 +8724,6 @@ "node": ">=4.0" } }, - "node_modules/keyv": { - "version": "4.5.3", - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, "node_modules/kind-of": { "version": "6.0.3", "dev": true, @@ -10953,13 +9040,6 @@ "get-func-name": "^2.0.0" } }, - "node_modules/lowercase-keys": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/lru-cache": { "version": "6.0.0", "license": "ISC", @@ -11073,19 +9153,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdx": { - "version": "1.1.0", - "license": "MIT", - "dependencies": { - "mdast-util-mdx-expression": "^1.0.0", - "mdast-util-mdx-jsx": "^1.0.0", - "mdast-util-mdxjs-esm": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdx-expression": { "version": "1.3.2", "license": "MIT", @@ -11108,24 +9175,6 @@ "@types/estree": "*" } }, - "node_modules/mdast-util-mdx-jsx": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^0.0.1", - "@types/mdast": "^3.0.0", - "mdast-util-to-markdown": "^1.0.0", - "parse-entities": "^4.0.0", - "stringify-entities": "^4.0.0", - "unist-util-remove-position": "^4.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdxjs-esm": { "version": "1.3.1", "license": "MIT", @@ -11160,25 +9209,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-to-hast": { - "version": "11.3.0", - "license": "MIT", - "dependencies": { - "@types/hast": "^2.0.0", - "@types/mdast": "^3.0.0", - "@types/mdurl": "^1.0.0", - "mdast-util-definitions": "^5.0.0", - "mdurl": "^1.0.0", - "unist-builder": "^3.0.0", - "unist-util-generated": "^2.0.0", - "unist-util-position": "^4.0.0", - "unist-util-visit": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-to-markdown": { "version": "1.5.0", "license": "MIT", @@ -11208,10 +9238,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdurl": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/media-query-parser": { "version": "2.0.2", "license": "MIT", @@ -11925,13 +9951,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/mimic-response": { - "version": "1.0.1", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/min-indent": { "version": "1.0.1", "dev": true, @@ -12106,10 +10125,6 @@ "version": "2.1.2", "license": "MIT" }, - "node_modules/mute-stream": { - "version": "0.0.8", - "license": "ISC" - }, "node_modules/mz": { "version": "2.7.0", "dev": true, @@ -12151,23 +10166,11 @@ "node": ">= 0.6" } }, - "node_modules/netmask": { - "version": "2.0.2", - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/nice-try": { "version": "1.0.5", "dev": true, "license": "MIT" }, - "node_modules/node-addon-api": { - "version": "1.7.2", - "license": "MIT", - "optional": true - }, "node_modules/node-fetch": { "version": "2.6.12", "license": "MIT", @@ -12216,21 +10219,10 @@ "node": ">=0.10.0" } }, - "node_modules/normalize-url": { - "version": "6.1.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/npm-install-checks": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz", "integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==", - "dev": true, "dependencies": { "semver": "^7.1.1" }, @@ -12242,7 +10234,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -12251,7 +10242,6 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", - "dev": true, "dependencies": { "hosted-git-info": "^6.0.0", "proc-log": "^3.0.0", @@ -12266,7 +10256,6 @@ "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", - "dev": true, "dependencies": { "lru-cache": "^7.5.1" }, @@ -12278,7 +10267,6 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, "engines": { "node": ">=12" } @@ -12287,7 +10275,6 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.2.tgz", "integrity": "sha512-1dKY+86/AIiq1tkKVD3l0WI+Gd3vkknVGAggsFeBkTvbhMQ1OND/LKkYv4JtXPKUJ8bOTCyLiqEg2P6QNdK+Gg==", - "dev": true, "dependencies": { "npm-install-checks": "^6.0.0", "npm-normalize-package-bin": "^3.0.0", @@ -12763,6 +10750,7 @@ }, "node_modules/os-tmpdir": { "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -12772,13 +10760,6 @@ "version": "0.8.0", "license": "MIT" }, - "node_modules/p-cancelable": { - "version": "2.1.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/p-limit": { "version": "3.1.0", "license": "MIT", @@ -12826,35 +10807,6 @@ "node": ">=6" } }, - "node_modules/pac-proxy-agent": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "get-uri": "^6.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", - "pac-resolver": "^7.0.0", - "socks-proxy-agent": "^8.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/pac-resolver": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "degenerator": "^5.0.0", - "ip": "^1.1.8", - "netmask": "^2.0.2" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/pako": { "version": "0.2.9", "license": "MIT" @@ -12940,7 +10892,6 @@ }, "node_modules/path-scurry": { "version": "1.10.1", - "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", @@ -12955,7 +10906,6 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.0.1", - "dev": true, "license": "ISC", "engines": { "node": "14 || >=16.14" @@ -12963,7 +10913,6 @@ }, "node_modules/path-scurry/node_modules/minipass": { "version": "7.0.3", - "dev": true, "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" @@ -13348,7 +11297,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -13365,7 +11313,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "dev": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -13408,34 +11355,6 @@ "node": ">= 0.10" } }, - "node_modules/proxy-agent": { - "version": "6.3.0", - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", - "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.0", - "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/proxy-agent/node_modules/lru-cache": { - "version": "7.18.3", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "license": "MIT" - }, "node_modules/pump": { "version": "2.0.1", "license": "MIT", @@ -13491,16 +11410,6 @@ ], "license": "MIT" }, - "node_modules/quick-lru": { - "version": "5.1.1", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/range-parser": { "version": "1.2.1", "license": "MIT", @@ -13715,36 +11624,6 @@ "node": ">=8.10.0" } }, - "node_modules/recast": { - "version": "0.21.5", - "license": "MIT", - "dependencies": { - "ast-types": "0.15.2", - "esprima": "~4.0.0", - "source-map": "~0.6.1", - "tslib": "^2.0.1" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/recast/node_modules/ast-types": { - "version": "0.15.2", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/recast/node_modules/source-map": { - "version": "0.6.1", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/redent": { "version": "3.0.0", "dev": true, @@ -13776,31 +11655,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/regenerate": { - "version": "1.4.2", - "license": "MIT" - }, - "node_modules/regenerate-unicode-properties": { - "version": "10.1.0", - "license": "MIT", - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/regenerator-runtime": { "version": "0.14.0", "license": "MIT" }, - "node_modules/regenerator-transform": { - "version": "0.15.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.8.4" - } - }, "node_modules/regexp.prototype.flags": { "version": "1.5.0", "license": "MIT", @@ -13826,37 +11684,6 @@ "url": "https://github.com/sponsors/mysticatea" } }, - "node_modules/regexpu-core": { - "version": "5.3.2", - "license": "MIT", - "dependencies": { - "@babel/regjsgen": "^0.8.0", - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.1.0", - "regjsparser": "^0.9.1", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regjsparser": { - "version": "0.9.1", - "license": "BSD-2-Clause", - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "bin": { - "jsesc": "bin/jsesc" - } - }, "node_modules/remark-frontmatter": { "version": "4.0.1", "license": "MIT", @@ -13875,7 +11702,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-2.3.0.tgz", "integrity": "sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==", - "dev": true, "dependencies": { "mdast-util-mdx": "^2.0.0", "micromark-extension-mdxjs": "^1.0.0" @@ -13902,7 +11728,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.0.tgz", "integrity": "sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -13911,7 +11736,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-mdx/-/mdast-util-mdx-2.0.1.tgz", "integrity": "sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==", - "dev": true, "dependencies": { "mdast-util-from-markdown": "^1.0.0", "mdast-util-mdx-expression": "^1.0.0", @@ -13928,7 +11752,6 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-2.1.4.tgz", "integrity": "sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==", - "dev": true, "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^2.0.0", @@ -13961,20 +11784,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-rehype": { - "version": "9.1.0", - "license": "MIT", - "dependencies": { - "@types/hast": "^2.0.0", - "@types/mdast": "^3.0.0", - "mdast-util-to-hast": "^11.0.0", - "unified": "^10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remix-pwa": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/remix-pwa/-/remix-pwa-3.0.6.tgz", @@ -14032,10 +11841,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/resolve-alpn": { - "version": "1.2.1", - "license": "MIT" - }, "node_modules/resolve-from": { "version": "4.0.0", "license": "MIT", @@ -14068,16 +11873,6 @@ "node": ">=10" } }, - "node_modules/responselike": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "lowercase-keys": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/restore-cursor": { "version": "4.0.0", "license": "MIT", @@ -14116,7 +11911,6 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", - "dev": true, "engines": { "node": ">= 4" } @@ -14251,6 +12045,7 @@ }, "node_modules/run-async": { "version": "2.4.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.12.0" @@ -14277,13 +12072,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rxjs": { - "version": "7.8.1", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/sade": { "version": "1.8.1", "license": "MIT", @@ -14500,85 +12288,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "license": "MIT", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks": { - "version": "2.7.1", - "license": "MIT", - "dependencies": { - "ip": "^2.0.0", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "8.0.1", - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.1", - "debug": "^4.3.4", - "socks": "^2.7.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/socks/node_modules/ip": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/sort-object-keys": { - "version": "1.1.3", - "license": "MIT" - }, - "node_modules/sort-package-json": { - "version": "1.57.0", - "license": "MIT", - "dependencies": { - "detect-indent": "^6.0.0", - "detect-newline": "3.1.0", - "git-hooks-list": "1.0.3", - "globby": "10.0.0", - "is-plain-obj": "2.1.0", - "sort-object-keys": "^1.1.3" - }, - "bin": { - "sort-package-json": "cli.js" - } - }, - "node_modules/sort-package-json/node_modules/globby": { - "version": "10.0.0", - "license": "MIT", - "dependencies": { - "@types/glob": "^7.1.1", - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.0.3", - "glob": "^7.1.3", - "ignore": "^5.1.1", - "merge2": "^1.2.3", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/sort-package-json/node_modules/is-plain-obj": { - "version": "2.1.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/source-map": { "version": "0.7.4", "license": "BSD-3-Clause", @@ -14618,7 +12327,6 @@ }, "node_modules/spdx-correct": { "version": "3.2.0", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -14649,16 +12357,6 @@ "readable-stream": "^3.0.0" } }, - "node_modules/ssri": { - "version": "8.0.1", - "license": "ISC", - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/stackback": { "version": "0.0.2", "license": "MIT" @@ -14758,7 +12456,6 @@ }, "node_modules/string-width": { "version": "5.1.2", - "dev": true, "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", @@ -14775,7 +12472,6 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -14788,7 +12484,6 @@ }, "node_modules/string-width-cjs/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -14796,12 +12491,10 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "dev": true, "license": "MIT" }, "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -14809,7 +12502,6 @@ }, "node_modules/string-width-cjs/node_modules/strip-ansi": { "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -14919,7 +12611,6 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -14930,7 +12621,6 @@ }, "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -15257,6 +12947,7 @@ }, "node_modules/through": { "version": "2.3.8", + "dev": true, "license": "MIT" }, "node_modules/through2": { @@ -15329,6 +13020,7 @@ }, "node_modules/tmp": { "version": "0.0.33", + "dev": true, "license": "MIT", "dependencies": { "os-tmpdir": "~1.0.2" @@ -15373,7 +13065,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -15695,60 +13386,28 @@ "version": "5.2.2", "license": "Apache-2.0", "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/ufo": { - "version": "1.2.0", - "license": "MIT" - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "license": "MIT", + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, "engines": { - "node": ">=4" + "node": ">=14.17" } }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", + "node_modules/ufo": { + "version": "1.2.0", + "license": "MIT" + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", "license": "MIT", - "engines": { - "node": ">=4" + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/unified": { @@ -15778,31 +13437,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unique-filename": { - "version": "1.1.1", - "license": "ISC", - "dependencies": { - "unique-slug": "^2.0.0" - } - }, - "node_modules/unique-slug": { - "version": "2.0.2", - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - } - }, - "node_modules/unist-builder": { - "version": "3.0.1", - "license": "MIT", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/unist-util-generated": { "version": "2.0.1", "license": "MIT", @@ -16007,7 +13641,6 @@ }, "node_modules/validate-npm-package-license": { "version": "3.0.4", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", @@ -16018,7 +13651,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", - "dev": true, "dependencies": { "builtins": "^5.0.0" }, @@ -16750,7 +14382,6 @@ }, "node_modules/wrap-ansi": { "version": "8.1.0", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", @@ -16767,7 +14398,6 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -16783,7 +14413,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -16791,7 +14420,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { "version": "4.3.0", - "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -16805,7 +14433,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/color-convert": { "version": "2.0.1", - "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -16816,17 +14443,14 @@ }, "node_modules/wrap-ansi-cjs/node_modules/color-name": { "version": "1.1.4", - "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "dev": true, "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -16834,7 +14458,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -16847,7 +14470,6 @@ }, "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -16858,7 +14480,6 @@ }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "6.2.1", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -16890,60 +14511,6 @@ } } }, - "node_modules/xdm": { - "version": "2.1.0", - "license": "MIT", - "dependencies": { - "@rollup/pluginutils": "^4.0.0", - "@types/estree-jsx": "^0.0.1", - "astring": "^1.6.0", - "estree-util-build-jsx": "^2.0.0", - "estree-util-is-identifier-name": "^2.0.0", - "estree-walker": "^3.0.0", - "got": "^11.0.0", - "hast-util-to-estree": "^2.0.0", - "loader-utils": "^2.0.0", - "markdown-extensions": "^1.0.0", - "mdast-util-mdx": "^1.0.0", - "micromark-extension-mdxjs": "^1.0.0", - "periscopic": "^3.0.0", - "remark-parse": "^10.0.0", - "remark-rehype": "^9.0.0", - "source-map": "^0.7.0", - "unified": "^10.0.0", - "unist-util-position-from-estree": "^1.0.0", - "unist-util-stringify-position": "^3.0.0", - "unist-util-visit": "^4.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - }, - "optionalDependencies": { - "deasync": "^0.1.0" - } - }, - "node_modules/xdm/node_modules/estree-util-is-identifier-name": { - "version": "2.1.0", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/xdm/node_modules/loader-utils": { - "version": "2.0.4", - "license": "MIT", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, "node_modules/xtend": { "version": "4.0.2", "license": "MIT", @@ -17076,7 +14643,7 @@ }, "packages/cache": { "name": "@remix-pwa/cache", - "version": "2.0.5", + "version": "2.0.7", "license": "MIT", "dependencies": { "cachified": "^3.5.4" @@ -17091,7 +14658,7 @@ }, "packages/client": { "name": "@remix-pwa/client", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "devDependencies": { "@remix-pwa/eslint-config": "^0.0.0", @@ -17103,7 +14670,7 @@ }, "packages/dev": { "name": "@remix-pwa/dev", - "version": "2.0.16", + "version": "2.0.17", "license": "MIT", "dependencies": { "arg": "^5.0.2", @@ -17117,7 +14684,7 @@ "devDependencies": { "@remix-pwa/eslint-config": "^0.0.0", "@remix-pwa/lint-staged-config": "^0.0.0", - "@remix-pwa/worker-runtime": "^2.0.2", + "@remix-pwa/worker-runtime": "^2.0.4", "@remix-run/dev": "^2.0.0", "@types/fs-extra": "^11.0.2", "cross-env": "^7.0.3", @@ -17127,8 +14694,8 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@remix-pwa/worker-runtime": "^2.0.2", - "@remix-run/dev": "^1.19.3 || ^2.0.0" + "@remix-pwa/worker-runtime": "^2.0.4", + "@remix-run/dev": "^1.19.0 || ^2.0.0" }, "peerDependenciesMeta": { "@remix-pwa/worker-runtime": { @@ -18022,10 +15589,10 @@ }, "packages/strategy": { "name": "@remix-pwa/strategy", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "dependencies": { - "@remix-pwa/cache": "^2.0.2" + "@remix-pwa/cache": "^2.0.7" }, "devDependencies": { "@remix-pwa/eslint-config": "^0.0.0", @@ -18035,12 +15602,12 @@ "node": ">=14.0.0" }, "peerDependencies": { - "@remix-pwa/cache": "^2.0.2" + "@remix-pwa/cache": "^2.0.7" } }, "packages/sw": { "name": "@remix-pwa/sw", - "version": "2.1.4", + "version": "2.1.5", "license": "MIT", "dependencies": { "@remix-run/server-runtime": "^2.0.0", @@ -18048,7 +15615,7 @@ "tiny-invariant": "^1.3.1" }, "devDependencies": { - "@remix-pwa/cache": "^2.0.3", + "@remix-pwa/cache": "^2.0.7", "@remix-pwa/eslint-config": "^0.0.0", "@remix-pwa/lint-staged-config": "^0.0.0", "@remix-run/dev": "^2.0.0", @@ -18061,7 +15628,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "@remix-pwa/cache": "^2.0.3", + "@remix-pwa/cache": "^2.0.7", "@remix-run/dev": "^1.15.0 || ^2.0.0", "@remix-run/react": "^1.15.0 || ^2.0.0", "react": "^18.2.0", @@ -18778,7 +16345,7 @@ }, "packages/sync": { "name": "@remix-pwa/sync", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "dependencies": { "idb": "^7.1.1" @@ -18863,7 +16430,7 @@ }, "packages/worker-runtime": { "name": "@remix-pwa/worker-runtime", - "version": "2.0.2", + "version": "2.0.4", "license": "MIT", "dependencies": { "@remix-run/router": "^1.9.0" @@ -18934,7 +16501,7 @@ "license": "MIT", "dependencies": { "@remix-pwa/strategy": "^2.1.2", - "@remix-pwa/sw": "2.1.2", + "@remix-pwa/sw": "2.1.4", "@remix-pwa/sync": "^2.0.1", "@remix-pwa/worker-runtime": "^2.0.2", "@remix-run/css-bundle": "^2.0.0", @@ -18948,7 +16515,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@remix-pwa/dev": "^2.0.12", + "@remix-pwa/dev": "^2.0.16", "@remix-run/dev": "^2.0.0", "@remix-run/eslint-config": "^2.0.0", "@types/react": "^18.2.22", @@ -18982,7 +16549,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", - "dev": true, "dependencies": { "semver": "^7.3.5" }, @@ -18991,200 +16557,29 @@ } }, "playground/node_modules/@remix-pwa/sw": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@remix-pwa/sw/-/sw-2.1.2.tgz", - "integrity": "sha512-0GzWpwM0FOxrMcaSCtSrM56l9PDFkGsIug3T23Bp/Qr2LmZq9k81B+PksCus36sHVerOKa+aFF1J5uNHAKTwAg==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@remix-pwa/sw/-/sw-2.1.4.tgz", + "integrity": "sha512-jWPUl5JrW8umlNd4B7YzLObG5sGOZ5yR4/6uuu2+TmwW2ZSVDlBXU2m1Wd8oi3aAovVwx2IoDU7aqgwxBF4c4g==", "dependencies": { - "@remix-pwa/cache": "^2.0.3", - "@remix-run/dev": "^1.19.3", - "@remix-run/react": "^1.19.3", + "@remix-run/server-runtime": "^1.19.3", "idb": "^7.1.1", - "react-router-dom": "^6.16.0", "tiny-invariant": "^1.3.1" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@remix-pwa/cache": "^2.0.3" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/dev": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/dev/-/dev-1.19.3.tgz", - "integrity": "sha512-Yh733OI0AxR7QbPaJbocujxSF1S5CToDmfZnmv5SlTTIXEw5KfnbCceHy9qhUp0nrkz2YT7pd1zbTEVYIi/Vug==", - "dependencies": { - "@babel/core": "^7.21.8", - "@babel/generator": "^7.21.5", - "@babel/parser": "^7.21.8", - "@babel/plugin-syntax-jsx": "^7.21.4", - "@babel/plugin-syntax-typescript": "^7.21.4", - "@babel/preset-env": "^7.21.5", - "@babel/preset-typescript": "^7.21.5", - "@babel/traverse": "^7.21.5", - "@babel/types": "^7.21.5", - "@npmcli/package-json": "^2.0.0", - "@remix-run/server-runtime": "1.19.3", - "@vanilla-extract/integration": "^6.2.0", - "arg": "^5.0.1", - "cacache": "^15.0.5", - "chalk": "^4.1.2", - "chokidar": "^3.5.1", - "dotenv": "^16.0.0", - "esbuild": "0.17.6", - "esbuild-plugins-node-modules-polyfill": "^1.3.0", - "execa": "5.1.1", - "exit-hook": "2.2.1", - "express": "^4.17.1", - "fast-glob": "3.2.11", - "fs-extra": "^10.0.0", - "get-port": "^5.1.1", - "gunzip-maybe": "^1.4.2", - "inquirer": "^8.2.1", - "jsesc": "3.0.2", - "json5": "^2.2.2", - "lodash": "^4.17.21", - "lodash.debounce": "^4.0.8", - "minimatch": "^9.0.0", - "node-fetch": "^2.6.9", - "ora": "^5.4.1", - "picocolors": "^1.0.0", - "picomatch": "^2.3.1", - "pidtree": "^0.6.0", - "postcss": "^8.4.19", - "postcss-discard-duplicates": "^5.1.0", - "postcss-load-config": "^4.0.1", - "postcss-modules": "^6.0.0", - "prettier": "^2.7.1", - "pretty-ms": "^7.0.1", - "proxy-agent": "^6.3.0", - "react-refresh": "^0.14.0", - "recast": "^0.21.5", - "remark-frontmatter": "4.0.1", - "remark-mdx-frontmatter": "^1.0.1", - "semver": "^7.3.7", - "sort-package-json": "^1.55.0", - "tar-fs": "^2.1.1", - "tsconfig-paths": "^4.0.0", - "ws": "^7.4.5", - "xdm": "^2.0.0" - }, - "bin": { - "remix": "dist/cli.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@remix-run/serve": "^1.19.3" - }, - "peerDependenciesMeta": { - "@remix-run/serve": { - "optional": true - } - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/node": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/node/-/node-1.19.3.tgz", - "integrity": "sha512-z5qrVL65xLXIUpU4mkR4MKlMeKARLepgHAk4W5YY3IBXOreRqOGUC70POViYmY7x38c2Ia1NwqL80H+0h7jbMw==", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/server-runtime": "1.19.3", - "@remix-run/web-fetch": "^4.3.6", - "@remix-run/web-file": "^3.0.3", - "@remix-run/web-stream": "^1.0.4", - "@web3-storage/multipart-parser": "^1.0.0", - "abort-controller": "^3.0.0", - "cookie-signature": "^1.1.0", - "source-map-support": "^0.5.21", - "stream-slice": "^0.1.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/react": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/react/-/react-1.19.3.tgz", - "integrity": "sha512-iP37MZ+oG1n4kv4rX77pKT/knra51lNwKo5tinPPF0SuNJhF3+XjWo5nwEjvisKTXLZ/OHeicinhgX2JHHdDvA==", - "dependencies": { - "@remix-run/router": "1.7.2", - "react-router-dom": "6.14.2" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/react/node_modules/react-router-dom": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.14.2.tgz", - "integrity": "sha512-5pWX0jdKR48XFZBuJqHosX3AAHjRAzygouMTyimnBPOLdY3WjzUSKhus2FVMihUFWzeLebDgr4r8UeQFAct7Bg==", - "dependencies": { - "@remix-run/router": "1.7.2", - "react-router": "6.14.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/router": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.7.2.tgz", - "integrity": "sha512-7Lcn7IqGMV+vizMPoEl5F0XDshcdDYtMI6uJLQdQz5CfZAwy3vvGKYSUk789qndt5dEC4HfSjviSYlSoHGL2+A==", - "engines": { - "node": ">=14" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/@remix-run/serve": { - "version": "1.19.3", - "resolved": "https://registry.npmjs.org/@remix-run/serve/-/serve-1.19.3.tgz", - "integrity": "sha512-RUVEy7EBYvHO1hIuyVQJyIYZeFfXecC+Uaw6GvZscLywIGnhcAj+5dpeK6HVayNuV4kKLvBp0F4ZGHbwW1oWaA==", - "optional": true, - "peer": true, - "dependencies": { - "@remix-run/express": "1.19.3", - "@remix-run/node": "1.19.3", - "compression": "^1.7.4", - "express": "^4.17.1", - "morgan": "^1.10.0", - "source-map-support": "^0.5.21" - }, - "bin": { - "remix-serve": "dist/cli.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "playground/node_modules/@remix-pwa/sw/node_modules/react-router": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.14.2.tgz", - "integrity": "sha512-09Zss2dE2z+T1D03IheqAFtK4UzQyX8nFPWx6jkwdYzGLXd5ie06A6ezS2fO6zJfEb/SpG6UocN2O1hfD+2urQ==", - "dependencies": { - "@remix-run/router": "1.7.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "react": ">=16.8" + "@remix-pwa/cache": "^2.0.3", + "@remix-run/dev": "^1.15.0 || ^2.0.0", + "@remix-run/react": "^1.15.0 || ^2.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" } }, "playground/node_modules/@remix-run/dev": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@remix-run/dev/-/dev-2.0.0.tgz", "integrity": "sha512-cdUOuywlC6uHZPGhK+ASGBBKXUUtz94OFsAmRziu7lH7I3GZJ7llExlM+FtkQYEdD0u00/1FSnv2xjXAq/sHzw==", - "dev": true, "dependencies": { "@babel/core": "^7.21.8", "@babel/generator": "^7.21.5", @@ -19258,7 +16653,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-4.0.1.tgz", "integrity": "sha512-lRCEGdHZomFsURroh522YvA/2cVb9oPIJrjHanCJZkiasz1BzcnLr3tBJhlV7S86MBJBuAQ33is2D60YitZL2Q==", - "dev": true, "dependencies": { "@npmcli/git": "^4.1.0", "glob": "^10.2.2", @@ -19276,7 +16670,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.0.0.tgz", "integrity": "sha512-HaNszj/mp/A1Qz5sVupVIXqDyeEni3nwW5iKDqGAqv0n8E6FRkzEhOtAJypRABcKWBq0M9VM3fm6IO0vaMti8Q==", - "dev": true, "dependencies": { "@remix-run/router": "1.9.0", "@types/cookie": "^0.4.1", @@ -19302,7 +16695,6 @@ "version": "17.1.4", "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", - "dev": true, "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", @@ -19597,7 +16989,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", - "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -19609,7 +17000,6 @@ "version": "10.3.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.5.tgz", "integrity": "sha512-bYUpUD7XDEHI4Q2O5a7PXGvyw4deKR70kHiDxzQbe925wbZknhOzUt2xBgTkYL6RBcVeXYuD9iNYeqoWbBZQnA==", - "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", @@ -19639,7 +17029,6 @@ "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", - "dev": true, "dependencies": { "lru-cache": "^7.5.1" }, @@ -19670,7 +17059,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz", "integrity": "sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -19679,7 +17067,6 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, "engines": { "node": ">=12" } @@ -19710,7 +17097,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.3.tgz", "integrity": "sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==", - "dev": true, "engines": { "node": ">=16 || 14 >=14.17" } @@ -19719,7 +17105,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", - "dev": true, "dependencies": { "hosted-git-info": "^6.0.0", "is-core-module": "^2.8.1", @@ -19803,7 +17188,6 @@ "version": "10.0.5", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", - "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -19845,7 +17229,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", - "dev": true, "dependencies": { "unique-slug": "^4.0.0" }, @@ -19857,7 +17240,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", - "dev": true, "dependencies": { "imurmurhash": "^0.1.4" }, diff --git a/playground/app/entry.server.tsx b/playground/app/entry.server.tsx deleted file mode 100644 index 5969ce15..00000000 --- a/playground/app/entry.server.tsx +++ /dev/null @@ -1,135 +0,0 @@ -/** - * By default, Remix will handle generating the HTTP Response for you. - * You are free to delete this file if you'd like to, but if you ever want it revealed again, you can run `npx remix reveal` ✨ - * For more information, see https://remix.run/file-conventions/entry.server - */ - -import { PassThrough } from "node:stream"; - -import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; -import { RemixServer } from "@remix-run/react"; -import isbot from "isbot"; -import { renderToPipeableStream } from "react-dom/server"; - -const ABORT_DELAY = 7_500; - -export default function handleRequest( - request: Request, - responseStatusCode: number, - responseHeaders: Headers, - remixContext: EntryContext, - loadContext: AppLoadContext -) { - return isbot(request.headers.get("user-agent")) - ? handleBotRequest( - request, - responseStatusCode, - responseHeaders, - remixContext - ) - : handleBrowserRequest( - request, - responseStatusCode, - responseHeaders, - remixContext - ); -} - -function handleBotRequest( - request: Request, - responseStatusCode: number, - responseHeaders: Headers, - remixContext: EntryContext -) { - return new Promise((resolve, reject) => { - let shellRendered = false; - const { pipe, abort } = renderToPipeableStream( - , - { - onAllReady() { - shellRendered = true; - const body = new PassThrough(); - - responseHeaders.set("Content-Type", "text/html"); - - resolve( - new Response(body, { - headers: responseHeaders, - status: responseStatusCode, - }) - ); - - pipe(body); - }, - onShellError(error: unknown) { - reject(error); - }, - onError(error: unknown) { - responseStatusCode = 500; - // Log streaming rendering errors from inside the shell. Don't log - // errors encountered during initial shell rendering since they'll - // reject and get logged in handleDocumentRequest. - if (shellRendered) { - console.error(error); - } - }, - } - ); - - setTimeout(abort, ABORT_DELAY); - }); -} - -function handleBrowserRequest( - request: Request, - responseStatusCode: number, - responseHeaders: Headers, - remixContext: EntryContext -) { - return new Promise((resolve, reject) => { - let shellRendered = false; - const { pipe, abort } = renderToPipeableStream( - , - { - onShellReady() { - shellRendered = true; - const body = new PassThrough(); - - responseHeaders.set("Content-Type", "text/html"); - - resolve( - new Response(body, { - headers: responseHeaders, - status: responseStatusCode, - }) - ); - - pipe(body); - }, - onShellError(error: unknown) { - reject(error); - }, - onError(error: unknown) { - responseStatusCode = 500; - // Log streaming rendering errors from inside the shell. Don't log - // errors encountered during initial shell rendering since they'll - // reject and get logged in handleDocumentRequest. - if (shellRendered) { - console.error(error); - } - }, - } - ); - - setTimeout(abort, ABORT_DELAY); - }); -} diff --git a/playground/package.json b/playground/package.json index 92dac2fe..7ef035e5 100644 --- a/playground/package.json +++ b/playground/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@remix-pwa/strategy": "^2.1.2", - "@remix-pwa/sw": "2.1.2", + "@remix-pwa/sw": "2.1.4", "@remix-pwa/sync": "^2.0.1", "@remix-pwa/worker-runtime": "^2.0.2", "@remix-run/css-bundle": "^2.0.0", @@ -33,7 +33,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@remix-pwa/dev": "^2.0.12", + "@remix-pwa/dev": "^2.0.16", "@remix-run/dev": "^2.0.0", "@remix-run/eslint-config": "^2.0.0", "@types/react": "^18.2.22", diff --git a/playground/public/entry.worker.js b/playground/public/entry.worker.js index f7fc924a..7fd88c74 100644 --- a/playground/public/entry.worker.js +++ b/playground/public/entry.worker.js @@ -67,72 +67,48 @@ var require_jsx_runtime = __commonJS({ } }); -// routes-module:routes/_index.tsx?worker -var require_index = __commonJS({ - "routes-module:routes/_index.tsx?worker"(exports, module) { - module.exports = {}; - } -}); - -// ../node_modules/@remix-run/server-runtime/dist/mode.js -var require_mode = __commonJS({ - "../node_modules/@remix-run/server-runtime/dist/mode.js"(exports) { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var ServerMode2 = /* @__PURE__ */ function(ServerMode3) { - ServerMode3["Development"] = "development"; - ServerMode3["Production"] = "production"; - ServerMode3["Test"] = "test"; - return ServerMode3; - }({}); - function isServerMode(value) { - return value === ServerMode2.Development || value === ServerMode2.Production || value === ServerMode2.Test; - } - exports.ServerMode = ServerMode2; - exports.isServerMode = isServerMode; - } -}); - -// ../node_modules/@remix-run/server-runtime/node_modules/@remix-run/router/dist/router.js +// ../node_modules/@remix-run/router/dist/router.js var router_exports = {}; __export(router_exports, { - AbortedDeferredError: () => AbortedDeferredError2, - Action: () => Action2, - ErrorResponse: () => ErrorResponse, + AbortedDeferredError: () => AbortedDeferredError, + Action: () => Action, IDLE_BLOCKER: () => IDLE_BLOCKER, IDLE_FETCHER: () => IDLE_FETCHER, IDLE_NAVIGATION: () => IDLE_NAVIGATION, - UNSAFE_DEFERRED_SYMBOL: () => UNSAFE_DEFERRED_SYMBOL2, - UNSAFE_DeferredData: () => DeferredData2, + UNSAFE_DEFERRED_SYMBOL: () => UNSAFE_DEFERRED_SYMBOL, + UNSAFE_DeferredData: () => DeferredData, + UNSAFE_ErrorResponseImpl: () => ErrorResponseImpl, + UNSAFE_convertRouteMatchToUiMatch: () => convertRouteMatchToUiMatch, UNSAFE_convertRoutesToDataRoutes: () => convertRoutesToDataRoutes, UNSAFE_getPathContributingMatches: () => getPathContributingMatches, - UNSAFE_invariant: () => invariant2, - UNSAFE_warning: () => warning2, + UNSAFE_invariant: () => invariant, + UNSAFE_warning: () => warning, createBrowserHistory: () => createBrowserHistory, createHashHistory: () => createHashHistory, createMemoryHistory: () => createMemoryHistory, createPath: () => createPath, createRouter: () => createRouter, createStaticHandler: () => createStaticHandler, - defer: () => defer4, + defer: () => defer, generatePath: () => generatePath, getStaticContextFromError: () => getStaticContextFromError, getToPathname: () => getToPathname, isDeferredData: () => isDeferredData, - isRouteErrorResponse: () => isRouteErrorResponse2, + isRouteErrorResponse: () => isRouteErrorResponse, joinPaths: () => joinPaths, - json: () => json5, - matchPath: () => matchPath2, + json: () => json2, + matchPath: () => matchPath, matchRoutes: () => matchRoutes, normalizePathname: () => normalizePathname, parsePath: () => parsePath, - redirect: () => redirect5, + redirect: () => redirect, + redirectDocument: () => redirectDocument, resolvePath: () => resolvePath, resolveTo: () => resolveTo, stripBasename: () => stripBasename }); -function _extends2() { - _extends2 = Object.assign ? Object.assign.bind() : function(target) { +function _extends() { + _extends = Object.assign ? Object.assign.bind() : function(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { @@ -143,7 +119,7 @@ function _extends2() { } return target; }; - return _extends2.apply(this, arguments); + return _extends.apply(this, arguments); } function createMemoryHistory(options) { if (options === void 0) { @@ -157,7 +133,7 @@ function createMemoryHistory(options) { let entries; entries = initialEntries.map((entry2, index2) => createMemoryLocation(entry2, typeof entry2 === "string" ? null : entry2.state, index2 === 0 ? "default" : void 0)); let index = clampIndex(initialIndex == null ? entries.length - 1 : initialIndex); - let action = Action2.Pop; + let action = Action.Pop; let listener = null; function clampIndex(n) { return Math.min(Math.max(n, 0), entries.length - 1); @@ -170,7 +146,7 @@ function createMemoryHistory(options) { state = null; } let location2 = createLocation(entries ? getCurrentLocation().pathname : "/", to, state, key); - warning2(location2.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(to)); + warning(location2.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(to)); return location2; } function createHref(to) { @@ -199,7 +175,7 @@ function createMemoryHistory(options) { }; }, push(to, state) { - action = Action2.Push; + action = Action.Push; let nextLocation = createMemoryLocation(to, state); index += 1; entries.splice(index, entries.length, nextLocation); @@ -212,7 +188,7 @@ function createMemoryHistory(options) { } }, replace(to, state) { - action = Action2.Replace; + action = Action.Replace; let nextLocation = createMemoryLocation(to, state); entries[index] = nextLocation; if (v5Compat && listener) { @@ -224,7 +200,7 @@ function createMemoryHistory(options) { } }, go(delta) { - action = Action2.Pop; + action = Action.Pop; let nextIndex = clampIndex(index + delta); let nextLocation = entries[nextIndex]; index = nextIndex; @@ -282,6 +258,9 @@ function createHashHistory(options) { search = "", hash = "" } = parsePath(window2.location.hash.substr(1)); + if (!pathname.startsWith("/") && !pathname.startsWith(".")) { + pathname = "/" + pathname; + } return createLocation( "", { @@ -305,16 +284,16 @@ function createHashHistory(options) { return href + "#" + (typeof to === "string" ? to : createPath(to)); } function validateHashLocation(location2, to) { - warning2(location2.pathname.charAt(0) === "/", "relative pathnames are not supported in hash history.push(" + JSON.stringify(to) + ")"); + warning(location2.pathname.charAt(0) === "/", "relative pathnames are not supported in hash history.push(" + JSON.stringify(to) + ")"); } return getUrlBasedHistory(createHashLocation, createHashHref, validateHashLocation, options); } -function invariant2(value, message) { +function invariant(value, message) { if (value === false || value === null || typeof value === "undefined") { throw new Error(message); } } -function warning2(cond, message) { +function warning(cond, message) { if (!cond) { if (typeof console !== "undefined") console.warn(message); @@ -338,7 +317,7 @@ function createLocation(current, to, state, key) { if (state === void 0) { state = null; } - let location2 = _extends2({ + let location2 = _extends({ pathname: typeof current === "string" ? current : current.pathname, search: "", hash: "" @@ -392,12 +371,12 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options) v5Compat = false } = options; let globalHistory = window2.history; - let action = Action2.Pop; + let action = Action.Pop; let listener = null; let index = getIndex(); if (index == null) { index = 0; - globalHistory.replaceState(_extends2({}, globalHistory.state, { + globalHistory.replaceState(_extends({}, globalHistory.state, { idx: index }), ""); } @@ -408,7 +387,7 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options) return state.idx; } function handlePop() { - action = Action2.Pop; + action = Action.Pop; let nextIndex = getIndex(); let delta = nextIndex == null ? null : nextIndex - index; index = nextIndex; @@ -421,7 +400,7 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options) } } function push(to, state) { - action = Action2.Push; + action = Action.Push; let location2 = createLocation(history.location, to, state); if (validateLocation) validateLocation(location2, to); @@ -445,7 +424,7 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options) } } function replace(to, state) { - action = Action2.Replace; + action = Action.Replace; let location2 = createLocation(history.location, to, state); if (validateLocation) validateLocation(location2, to); @@ -464,7 +443,7 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options) function createURL(to) { let base = window2.location.origin !== "null" ? window2.location.origin : window2.location.href; let href = typeof to === "string" ? to : createPath(to); - invariant2(base, "No window.location.(origin|href) available to create URL for href: " + href); + invariant(base, "No window.location.(origin|href) available to create URL for href: " + href); return new URL(href, base); } let history = { @@ -518,16 +497,16 @@ function convertRoutesToDataRoutes(routes2, mapRouteProperties, parentPath, mani return routes2.map((route, index) => { let treePath = [...parentPath, index]; let id = typeof route.id === "string" ? route.id : treePath.join("-"); - invariant2(route.index !== true || !route.children, "Cannot specify children on an index route"); - invariant2(!manifest[id], 'Found a route id collision on id "' + id + `". Route id's must be globally unique within Data Router usages`); + invariant(route.index !== true || !route.children, "Cannot specify children on an index route"); + invariant(!manifest[id], 'Found a route id collision on id "' + id + `". Route id's must be globally unique within Data Router usages`); if (isIndexRoute(route)) { - let indexRoute = _extends2({}, route, mapRouteProperties(route), { + let indexRoute = _extends({}, route, mapRouteProperties(route), { id }); manifest[id] = indexRoute; return indexRoute; } else { - let pathOrLayoutRoute = _extends2({}, route, mapRouteProperties(route), { + let pathOrLayoutRoute = _extends({}, route, mapRouteProperties(route), { id, children: void 0 }); @@ -565,6 +544,20 @@ function matchRoutes(routes2, locationArg, basename) { } return matches; } +function convertRouteMatchToUiMatch(match, loaderData) { + let { + route, + pathname, + params + } = match; + return { + id: route.id, + pathname, + params, + data: loaderData[route.id], + handle: route.handle + }; +} function flattenRoutes(routes2, branches, parentsMeta, parentPath) { if (branches === void 0) { branches = []; @@ -583,13 +576,13 @@ function flattenRoutes(routes2, branches, parentsMeta, parentPath) { route }; if (meta.relativePath.startsWith("/")) { - invariant2(meta.relativePath.startsWith(parentPath), 'Absolute route path "' + meta.relativePath + '" nested under path ' + ('"' + parentPath + '" is not valid. An absolute child route path ') + "must start with the combined path of all its parent routes."); + invariant(meta.relativePath.startsWith(parentPath), 'Absolute route path "' + meta.relativePath + '" nested under path ' + ('"' + parentPath + '" is not valid. An absolute child route path ') + "must start with the combined path of all its parent routes."); meta.relativePath = meta.relativePath.slice(parentPath.length); } let path = joinPaths([parentPath, meta.relativePath]); let routesMeta = parentsMeta.concat(meta); if (route.children && route.children.length > 0) { - invariant2( + invariant( // Our types know better, but runtime JS may not! // @ts-expect-error route.index !== true, @@ -675,7 +668,7 @@ function matchRouteBranch(branch, pathname) { let meta = routesMeta[i]; let end = i === routesMeta.length - 1; let remainingPathname = matchedPathname === "/" ? pathname : pathname.slice(matchedPathname.length) || "/"; - let match = matchPath2({ + let match = matchPath({ path: meta.relativePath, caseSensitive: meta.caseSensitive, end @@ -703,7 +696,7 @@ function generatePath(originalPath, params) { } let path = originalPath; if (path.endsWith("*") && path !== "*" && !path.endsWith("/*")) { - warning2(false, 'Route path "' + path + '" will be treated as if it were ' + ('"' + path.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + path.replace(/\*$/, "/*") + '".')); + warning(false, 'Route path "' + path + '" will be treated as if it were ' + ('"' + path.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + path.replace(/\*$/, "/*") + '".')); path = path.replace(/\*$/, "/*"); } const prefix = path.startsWith("/") ? "/" : ""; @@ -718,14 +711,14 @@ function generatePath(originalPath, params) { if (keyMatch) { const [, key, optional] = keyMatch; let param = params[key]; - invariant2(optional === "?" || param != null, 'Missing ":' + key + '" param'); + invariant(optional === "?" || param != null, 'Missing ":' + key + '" param'); return stringify(param); } return segment.replace(/\?$/g, ""); }).filter((segment) => !!segment); return prefix + segments.join("/"); } -function matchPath2(pattern, pathname) { +function matchPath(pattern, pathname) { if (typeof pattern === "string") { pattern = { path: pattern, @@ -733,7 +726,7 @@ function matchPath2(pattern, pathname) { end: true }; } - let [matcher, paramNames] = compilePath2(pattern.path, pattern.caseSensitive, pattern.end); + let [matcher, paramNames] = compilePath(pattern.path, pattern.caseSensitive, pattern.end); let match = pathname.match(matcher); if (!match) return null; @@ -745,7 +738,7 @@ function matchPath2(pattern, pathname) { let splatValue = captureGroups[index] || ""; pathnameBase = matchedPathname.slice(0, matchedPathname.length - splatValue.length).replace(/(.)\/+$/, "$1"); } - memo[paramName] = safelyDecodeURIComponent2(captureGroups[index] || "", paramName); + memo[paramName] = safelyDecodeURIComponent(captureGroups[index] || "", paramName); return memo; }, {}); return { @@ -755,14 +748,14 @@ function matchPath2(pattern, pathname) { pattern }; } -function compilePath2(path, caseSensitive, end) { +function compilePath(path, caseSensitive, end) { if (caseSensitive === void 0) { caseSensitive = false; } if (end === void 0) { end = true; } - warning2(path === "*" || !path.endsWith("*") || path.endsWith("/*"), 'Route path "' + path + '" will be treated as if it were ' + ('"' + path.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + path.replace(/\*$/, "/*") + '".')); + warning(path === "*" || !path.endsWith("*") || path.endsWith("/*"), 'Route path "' + path + '" will be treated as if it were ' + ('"' + path.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + path.replace(/\*$/, "/*") + '".')); let paramNames = []; let regexpSource = "^" + path.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^$?{}|()[\]]/g, "\\$&").replace(/\/:(\w+)/g, (_, paramName) => { paramNames.push(paramName); @@ -784,15 +777,15 @@ function safelyDecodeURI(value) { try { return decodeURI(value); } catch (error) { - warning2(false, 'The URL path "' + value + '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + ("encoding (" + error + ").")); + warning(false, 'The URL path "' + value + '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + ("encoding (" + error + ").")); return value; } } -function safelyDecodeURIComponent2(value, paramName) { +function safelyDecodeURIComponent(value, paramName) { try { return decodeURIComponent(value); } catch (error) { - warning2(false, 'The value for the URL param "' + paramName + '" will not be decoded because' + (' the string "' + value + '" is a malformed URL segment. This is probably') + (" due to a bad percent encoding (" + error + ").")); + warning(false, 'The value for the URL param "' + paramName + '" will not be decoded because' + (' the string "' + value + '" is a malformed URL segment. This is probably') + (" due to a bad percent encoding (" + error + ").")); return value; } } @@ -852,10 +845,10 @@ function resolveTo(toArg, routePathnames, locationPathname, isPathRelative) { if (typeof toArg === "string") { to = parsePath(toArg); } else { - to = _extends2({}, toArg); - invariant2(!to.pathname || !to.pathname.includes("?"), getInvalidPathError("?", "pathname", "search", to)); - invariant2(!to.pathname || !to.pathname.includes("#"), getInvalidPathError("#", "pathname", "hash", to)); - invariant2(!to.search || !to.search.includes("#"), getInvalidPathError("#", "search", "hash", to)); + to = _extends({}, toArg); + invariant(!to.pathname || !to.pathname.includes("?"), getInvalidPathError("?", "pathname", "search", to)); + invariant(!to.pathname || !to.pathname.includes("#"), getInvalidPathError("#", "pathname", "hash", to)); + invariant(!to.search || !to.search.includes("#"), getInvalidPathError("#", "search", "hash", to)); } let isEmptyPath = toArg === "" || to.pathname === ""; let toPathname = isEmptyPath ? "/" : to.pathname; @@ -885,11 +878,11 @@ function resolveTo(toArg, routePathnames, locationPathname, isPathRelative) { function getToPathname(to) { return to === "" || to.pathname === "" ? "/" : typeof to === "string" ? parsePath(to).pathname : to.pathname; } -function isTrackedPromise2(value) { +function isTrackedPromise(value) { return value instanceof Promise && value._tracked === true; } -function unwrapTrackedPromise2(value) { - if (!isTrackedPromise2(value)) { +function unwrapTrackedPromise(value) { + if (!isTrackedPromise(value)) { return value; } if (value._error) { @@ -897,14 +890,14 @@ function unwrapTrackedPromise2(value) { } return value._data; } -function isRouteErrorResponse2(error) { +function isRouteErrorResponse(error) { return error != null && typeof error.status === "number" && typeof error.statusText === "string" && typeof error.internal === "boolean" && "data" in error; } function createRouter(init) { const routerWindow = init.window ? init.window : typeof window !== "undefined" ? window : void 0; const isBrowser = typeof routerWindow !== "undefined" && typeof routerWindow.document !== "undefined" && typeof routerWindow.document.createElement !== "undefined"; const isServer = !isBrowser; - invariant2(init.routes.length > 0, "You must provide a non-empty routes array to createRouter"); + invariant(init.routes.length > 0, "You must provide a non-empty routes array to createRouter"); let mapRouteProperties; if (init.mapRouteProperties) { mapRouteProperties = init.mapRouteProperties; @@ -920,7 +913,7 @@ function createRouter(init) { let dataRoutes = convertRoutesToDataRoutes(init.routes, mapRouteProperties, void 0, manifest); let inFlightDataRoutes; let basename = init.basename || "/"; - let future = _extends2({ + let future = _extends({ v7_normalizeFormMethod: false, v7_prependBasename: false }, init.future); @@ -968,7 +961,7 @@ function createRouter(init) { fetchers: /* @__PURE__ */ new Map(), blockers: /* @__PURE__ */ new Map() }; - let pendingAction = Action2.Pop; + let pendingAction = Action.Pop; let pendingPreventScrollReset = false; let pendingNavigationController; let isUninterruptedRevalidation = false; @@ -995,7 +988,7 @@ function createRouter(init) { ignoreNextHistoryUpdate = false; return; } - warning2(blockerFunctions.size === 0 || delta != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL."); + warning(blockerFunctions.size === 0 || delta != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL."); let blockerKey = shouldBlockNavigation({ currentLocation: state.location, nextLocation: location2, @@ -1029,7 +1022,7 @@ function createRouter(init) { return startNavigation(historyAction, location2); }); if (!state.initialized) { - startNavigation(Action2.Pop, state.location); + startNavigation(Action.Pop, state.location); } return router; } @@ -1047,7 +1040,7 @@ function createRouter(init) { return () => subscribers.delete(fn); } function updateState(newState) { - state = _extends2({}, state, newState); + state = _extends({}, state, newState); subscribers.forEach((subscriber) => subscriber(state)); } function completeNavigation(location2, newState) { @@ -1078,14 +1071,14 @@ function createRouter(init) { } if (isUninterruptedRevalidation) ; - else if (pendingAction === Action2.Pop) + else if (pendingAction === Action.Pop) ; - else if (pendingAction === Action2.Push) { + else if (pendingAction === Action.Push) { init.history.push(location2, location2.state); - } else if (pendingAction === Action2.Replace) { + } else if (pendingAction === Action.Replace) { init.history.replace(location2, location2.state); } - updateState(_extends2({}, newState, { + updateState(_extends({}, newState, { actionData, loaderData, historyAction: pendingAction, @@ -1097,7 +1090,7 @@ function createRouter(init) { preventScrollReset, blockers })); - pendingAction = Action2.Pop; + pendingAction = Action.Pop; pendingPreventScrollReset = false; isUninterruptedRevalidation = false; isRevalidationRequired = false; @@ -1117,15 +1110,15 @@ function createRouter(init) { } = normalizeNavigateOptions(future.v7_normalizeFormMethod, false, normalizedPath, opts); let currentLocation = state.location; let nextLocation = createLocation(state.location, path, opts && opts.state); - nextLocation = _extends2({}, nextLocation, init.history.encodeLocation(nextLocation)); + nextLocation = _extends({}, nextLocation, init.history.encodeLocation(nextLocation)); let userReplace = opts && opts.replace != null ? opts.replace : void 0; - let historyAction = Action2.Push; + let historyAction = Action.Push; if (userReplace === true) { - historyAction = Action2.Replace; + historyAction = Action.Replace; } else if (userReplace === false) ; else if (submission != null && isMutationMethod(submission.formMethod) && submission.formAction === state.location.pathname + state.location.search) { - historyAction = Action2.Replace; + historyAction = Action.Replace; } let preventScrollReset = opts && "preventScrollReset" in opts ? opts.preventScrollReset === true : void 0; let blockerKey = shouldBlockNavigation({ @@ -1248,7 +1241,7 @@ function createRouter(init) { return; } pendingNavigationController = null; - completeNavigation(location2, _extends2({ + completeNavigation(location2, _extends({ matches }, pendingActionData ? { actionData: pendingActionData @@ -1270,7 +1263,7 @@ function createRouter(init) { let actionMatch = getTargetMatch(matches, location2); if (!actionMatch.route.action && !actionMatch.route.lazy) { result = { - type: ResultType2.error, + type: ResultType.error, error: getInternalRouterError(405, { method: request.method, pathname: location2.pathname, @@ -1303,7 +1296,7 @@ function createRouter(init) { if (isErrorResult(result)) { let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id); if ((opts && opts.replace) !== true) { - pendingAction = Action2.Push; + pendingAction = Action.Push; } return { // Send back an empty object we can use to clear out any prior actionData @@ -1333,7 +1326,7 @@ function createRouter(init) { pendingNavigationLoadId = ++incrementingLoadId; if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) { let updatedFetchers2 = markFetchRedirectsDone(); - completeNavigation(location2, _extends2({ + completeNavigation(location2, _extends({ matches, loaderData: {}, // Commit pending error if we're short circuiting @@ -1354,7 +1347,7 @@ function createRouter(init) { state.fetchers.set(rf.key, revalidatingFetcher); }); let actionData = pendingActionData || state.actionData; - updateState(_extends2({ + updateState(_extends({ navigation: loadingNavigation }, actionData ? Object.keys(actionData).length === 0 ? { actionData: null @@ -1390,13 +1383,13 @@ function createRouter(init) { pendingNavigationController.signal.removeEventListener("abort", abortPendingFetchRevalidations); } revalidatingFetchers.forEach((rf) => fetchControllers.delete(rf.key)); - let redirect8 = findRedirect(results); - if (redirect8) { - if (redirect8.idx >= matchesToLoad.length) { - let fetcherKey = revalidatingFetchers[redirect8.idx - matchesToLoad.length].key; + let redirect6 = findRedirect(results); + if (redirect6) { + if (redirect6.idx >= matchesToLoad.length) { + let fetcherKey = revalidatingFetchers[redirect6.idx - matchesToLoad.length].key; fetchRedirectIds.add(fetcherKey); } - await startRedirectNavigation(state, redirect8.result, { + await startRedirectNavigation(state, redirect6.result, { replace }); return { @@ -1417,7 +1410,7 @@ function createRouter(init) { let updatedFetchers = markFetchRedirectsDone(); let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId); let shouldUpdateFetchers = updatedFetchers || didAbortFetchLoads || revalidatingFetchers.length > 0; - return _extends2({ + return _extends({ loaderData, errors }, shouldUpdateFetchers ? { @@ -1509,8 +1502,7 @@ function createRouter(init) { fetchers: new Map(state.fetchers) }); return startRedirectNavigation(state, actionResult, { - submission, - isFetchActionRedirect: true + fetcherSubmission: submission }); } } @@ -1527,7 +1519,7 @@ function createRouter(init) { let revalidationRequest = createClientSideRequest(init.history, nextLocation, abortController.signal); let routesToUse = inFlightDataRoutes || dataRoutes; let matches = state.navigation.state !== "idle" ? matchRoutes(routesToUse, state.navigation.location, basename) : state.matches; - invariant2(matches, "Didn't find any matches after fetcher action"); + invariant(matches, "Didn't find any matches after fetcher action"); let loadId = ++incrementingLoadId; fetchReloadIds.set(key, loadId); let loadFetcher = getLoadingFetcher(submission, actionResult.data); @@ -1580,13 +1572,13 @@ function createRouter(init) { fetchReloadIds.delete(key); fetchControllers.delete(key); revalidatingFetchers.forEach((r) => fetchControllers.delete(r.key)); - let redirect8 = findRedirect(results); - if (redirect8) { - if (redirect8.idx >= matchesToLoad.length) { - let fetcherKey = revalidatingFetchers[redirect8.idx - matchesToLoad.length].key; + let redirect6 = findRedirect(results); + if (redirect6) { + if (redirect6.idx >= matchesToLoad.length) { + let fetcherKey = revalidatingFetchers[redirect6.idx - matchesToLoad.length].key; fetchRedirectIds.add(fetcherKey); } - return startRedirectNavigation(state, redirect8.result); + return startRedirectNavigation(state, redirect6.result); } let { loaderData, @@ -1598,7 +1590,7 @@ function createRouter(init) { } let didAbortFetchLoads = abortStaleFetchLoads(loadId); if (state.navigation.state === "loading" && loadId > pendingNavigationLoadId) { - invariant2(pendingAction, "Expected pending action"); + invariant(pendingAction, "Expected pending action"); pendingNavigationController && pendingNavigationController.abort(); completeNavigation(state.navigation.location, { matches, @@ -1607,7 +1599,7 @@ function createRouter(init) { fetchers: new Map(state.fetchers) }); } else { - updateState(_extends2({ + updateState(_extends({ errors, loaderData: mergeLoaderData(state.loaderData, loaderData, matches, errors) }, didAbortFetchLoads || revalidatingFetchers.length > 0 ? { @@ -1662,67 +1654,70 @@ function createRouter(init) { }); return; } - invariant2(!isDeferredResult(result), "Unhandled fetcher deferred data"); + invariant(!isDeferredResult(result), "Unhandled fetcher deferred data"); let doneFetcher = getDoneFetcher(result.data); state.fetchers.set(key, doneFetcher); updateState({ fetchers: new Map(state.fetchers) }); } - async function startRedirectNavigation(state2, redirect8, _temp) { + async function startRedirectNavigation(state2, redirect6, _temp) { let { submission, - replace, - isFetchActionRedirect + fetcherSubmission, + replace } = _temp === void 0 ? {} : _temp; - if (redirect8.revalidate) { + if (redirect6.revalidate) { isRevalidationRequired = true; } - let redirectLocation = createLocation( - state2.location, - redirect8.location, - // TODO: This can be removed once we get rid of useTransition in Remix v2 - _extends2({ - _isRedirect: true - }, isFetchActionRedirect ? { - _isFetchActionRedirect: true - } : {}) - ); - invariant2(redirectLocation, "Expected a location on the redirect navigation"); - if (ABSOLUTE_URL_REGEX.test(redirect8.location) && isBrowser) { - let url = init.history.createURL(redirect8.location); - let isDifferentBasename = stripBasename(url.pathname, basename) == null; - if (routerWindow.location.origin !== url.origin || isDifferentBasename) { + let redirectLocation = createLocation(state2.location, redirect6.location, { + _isRedirect: true + }); + invariant(redirectLocation, "Expected a location on the redirect navigation"); + if (isBrowser) { + let isDocumentReload = false; + if (redirect6.reloadDocument) { + isDocumentReload = true; + } else if (ABSOLUTE_URL_REGEX.test(redirect6.location)) { + const url = init.history.createURL(redirect6.location); + isDocumentReload = // Hard reload if it's an absolute URL to a new origin + url.origin !== routerWindow.location.origin || // Hard reload if it's an absolute URL that does not match our basename + stripBasename(url.pathname, basename) == null; + } + if (isDocumentReload) { if (replace) { - routerWindow.location.replace(redirect8.location); + routerWindow.location.replace(redirect6.location); } else { - routerWindow.location.assign(redirect8.location); + routerWindow.location.assign(redirect6.location); } return; } } pendingNavigationController = null; - let redirectHistoryAction = replace === true ? Action2.Replace : Action2.Push; - let activeSubmission = submission || getSubmissionFromNavigation(state2.navigation); - if (redirectPreserveMethodStatusCodes.has(redirect8.status) && activeSubmission && isMutationMethod(activeSubmission.formMethod)) { + let redirectHistoryAction = replace === true ? Action.Replace : Action.Push; + let { + formMethod, + formAction, + formEncType + } = state2.navigation; + if (!submission && !fetcherSubmission && formMethod && formAction && formEncType) { + submission = getSubmissionFromNavigation(state2.navigation); + } + let activeSubmission = submission || fetcherSubmission; + if (redirectPreserveMethodStatusCodes.has(redirect6.status) && activeSubmission && isMutationMethod(activeSubmission.formMethod)) { await startNavigation(redirectHistoryAction, redirectLocation, { - submission: _extends2({}, activeSubmission, { - formAction: redirect8.location + submission: _extends({}, activeSubmission, { + formAction: redirect6.location }), // Preserve this flag across redirects preventScrollReset: pendingPreventScrollReset }); - } else if (isFetchActionRedirect) { - await startNavigation(redirectHistoryAction, redirectLocation, { - overrideNavigation: getLoadingNavigation(redirectLocation), - fetcherSubmission: activeSubmission, - // Preserve this flag across redirects - preventScrollReset: pendingPreventScrollReset - }); } else { - let overrideNavigation = getLoadingNavigation(redirectLocation, activeSubmission); + let overrideNavigation = getLoadingNavigation(redirectLocation, submission); await startNavigation(redirectHistoryAction, redirectLocation, { overrideNavigation, + // Send fetcher submissions through for shouldRevalidate + fetcherSubmission, // Preserve this flag across redirects preventScrollReset: pendingPreventScrollReset }); @@ -1734,7 +1729,7 @@ function createRouter(init) { return callLoaderOrAction("loader", createClientSideRequest(init.history, f2.path, f2.controller.signal), f2.match, f2.matches, manifest, mapRouteProperties, basename); } else { let error = { - type: ResultType2.error, + type: ResultType.error, error: getInternalRouterError(404, { pathname: f2.path }) @@ -1783,7 +1778,7 @@ function createRouter(init) { } function abortFetcher(key) { let controller = fetchControllers.get(key); - invariant2(controller, "Expected fetch controller: " + key); + invariant(controller, "Expected fetch controller: " + key); controller.abort(); fetchControllers.delete(key); } @@ -1799,7 +1794,7 @@ function createRouter(init) { let updatedFetchers = false; for (let key of fetchRedirectIds) { let fetcher = state.fetchers.get(key); - invariant2(fetcher, "Expected fetcher: " + key); + invariant(fetcher, "Expected fetcher: " + key); if (fetcher.state === "loading") { fetchRedirectIds.delete(key); doneKeys.push(key); @@ -1814,7 +1809,7 @@ function createRouter(init) { for (let [key, id] of fetchReloadIds) { if (id < landedId) { let fetcher = state.fetchers.get(key); - invariant2(fetcher, "Expected fetcher: " + key); + invariant(fetcher, "Expected fetcher: " + key); if (fetcher.state === "loading") { abortFetcher(key); fetchReloadIds.delete(key); @@ -1838,7 +1833,7 @@ function createRouter(init) { } function updateBlocker(key, newBlocker) { let blocker = state.blockers.get(key) || IDLE_BLOCKER; - invariant2(blocker.state === "unblocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "proceeding" || blocker.state === "blocked" && newBlocker.state === "unblocked" || blocker.state === "proceeding" && newBlocker.state === "unblocked", "Invalid blocker state transition: " + blocker.state + " -> " + newBlocker.state); + invariant(blocker.state === "unblocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "proceeding" || blocker.state === "blocked" && newBlocker.state === "unblocked" || blocker.state === "proceeding" && newBlocker.state === "unblocked", "Invalid blocker state transition: " + blocker.state + " -> " + newBlocker.state); let blockers = new Map(state.blockers); blockers.set(key, newBlocker); updateState({ @@ -1855,7 +1850,7 @@ function createRouter(init) { return; } if (blockerFunctions.size > 1) { - warning2(false, "A router only supports one blocker at a time"); + warning(false, "A router only supports one blocker at a time"); } let entries = Array.from(blockerFunctions.entries()); let [blockerKey, blockerFunction] = entries[entries.length - 1]; @@ -1903,7 +1898,7 @@ function createRouter(init) { } function getScrollKey(location2, matches) { if (getScrollRestorationKey) { - let key = getScrollRestorationKey(location2, matches.map((m) => createUseMatchesMatch(m, state.loaderData))); + let key = getScrollRestorationKey(location2, matches.map((m) => convertRouteMatchToUiMatch(m, state.loaderData))); return key || location2.key; } return location2.key; @@ -1962,7 +1957,7 @@ function createRouter(init) { return router; } function createStaticHandler(routes2, opts) { - invariant2(routes2.length > 0, "You must provide a non-empty routes array to createStaticHandler"); + invariant(routes2.length > 0, "You must provide a non-empty routes array to createStaticHandler"); let manifest = {}; let basename = (opts ? opts.basename : null) || "/"; let mapRouteProperties; @@ -2034,7 +2029,7 @@ function createStaticHandler(routes2, opts) { if (isResponse(result)) { return result; } - return _extends2({ + return _extends({ location: location2, basename }, result); @@ -2083,27 +2078,27 @@ function createStaticHandler(routes2, opts) { var _result$activeDeferre; let data = Object.values(result.loaderData)[0]; if ((_result$activeDeferre = result.activeDeferreds) != null && _result$activeDeferre[match.route.id]) { - data[UNSAFE_DEFERRED_SYMBOL2] = result.activeDeferreds[match.route.id]; + data[UNSAFE_DEFERRED_SYMBOL] = result.activeDeferreds[match.route.id]; } return data; } return void 0; } async function queryImpl(request, location2, matches, requestContext, routeMatch) { - invariant2(request.signal, "query()/queryRoute() requests must contain an AbortController signal"); + invariant(request.signal, "query()/queryRoute() requests must contain an AbortController signal"); try { if (isMutationMethod(request.method.toLowerCase())) { let result2 = await submit(request, matches, routeMatch || getTargetMatch(matches, location2), requestContext, routeMatch != null); return result2; } let result = await loadRouteData(request, matches, requestContext, routeMatch); - return isResponse(result) ? result : _extends2({}, result, { + return isResponse(result) ? result : _extends({}, result, { actionData: null, actionHeaders: {} }); } catch (e) { if (isQueryRouteResponse(e)) { - if (e.type === ResultType2.error && !isRedirectResponse(e.response)) { + if (e.type === ResultType.error) { throw e.response; } return e.response; @@ -2126,7 +2121,7 @@ function createStaticHandler(routes2, opts) { throw error; } result = { - type: ResultType2.error, + type: ResultType.error, error }; } else { @@ -2137,7 +2132,7 @@ function createStaticHandler(routes2, opts) { }); if (request.signal.aborted) { let method = isRouteRequest ? "queryRoute" : "query"; - throw new Error(method + "() call aborted"); + throw new Error(method + "() call aborted: " + request.method + " " + request.url); } } if (isRedirectResult(result)) { @@ -2156,7 +2151,7 @@ function createStaticHandler(routes2, opts) { throw error; } result = { - type: ResultType2.error, + type: ResultType.error, error }; } @@ -2184,10 +2179,10 @@ function createStaticHandler(routes2, opts) { let context2 = await loadRouteData(request, matches, requestContext, void 0, { [boundaryMatch.route.id]: result.error }); - return _extends2({}, context2, { - statusCode: isRouteErrorResponse2(result.error) ? result.error.status : 500, + return _extends({}, context2, { + statusCode: isRouteErrorResponse(result.error) ? result.error.status : 500, actionData: null, - actionHeaders: _extends2({}, result.headers ? { + actionHeaders: _extends({}, result.headers ? { [actionMatch.route.id]: result.headers } : {}) }); @@ -2198,13 +2193,13 @@ function createStaticHandler(routes2, opts) { signal: request.signal }); let context = await loadRouteData(loaderRequest, matches, requestContext); - return _extends2({}, context, result.statusCode ? { + return _extends({}, context, result.statusCode ? { statusCode: result.statusCode } : {}, { actionData: { [actionMatch.route.id]: result.data }, - actionHeaders: _extends2({}, result.headers ? { + actionHeaders: _extends({}, result.headers ? { [actionMatch.route.id]: result.headers } : {}) }); @@ -2240,7 +2235,7 @@ function createStaticHandler(routes2, opts) { }))]); if (request.signal.aborted) { let method = isRouteRequest ? "queryRoute" : "query"; - throw new Error(method + "() call aborted"); + throw new Error(method + "() call aborted: " + request.method + " " + request.url); } let activeDeferreds = /* @__PURE__ */ new Map(); let context = processRouteLoaderData(matches, matchesToLoad, results, pendingActionError, activeDeferreds); @@ -2250,7 +2245,7 @@ function createStaticHandler(routes2, opts) { context.loaderData[match.route.id] = null; } }); - return _extends2({}, context, { + return _extends({}, context, { matches, activeDeferreds: activeDeferreds.size > 0 ? Object.fromEntries(activeDeferreds.entries()) : null }); @@ -2262,7 +2257,7 @@ function createStaticHandler(routes2, opts) { }; } function getStaticContextFromError(routes2, context, error) { - let newContext = _extends2({}, context, { + let newContext = _extends({}, context, { statusCode: 500, errors: { [context._deepestRenderedBoundaryId || routes2[0].id]: error @@ -2353,7 +2348,7 @@ function normalizeNavigateOptions(normalizeFormMethod, isFetcher, path, opts) { return getInvalidBodyError(); } try { - let json9 = typeof opts.body === "string" ? JSON.parse(opts.body) : opts.body; + let json7 = typeof opts.body === "string" ? JSON.parse(opts.body) : opts.body; return { path, submission: { @@ -2361,7 +2356,7 @@ function normalizeNavigateOptions(normalizeFormMethod, isFetcher, path, opts) { formAction, formEncType: opts.formEncType, formData: void 0, - json: json9, + json: json7, text: void 0 } }; @@ -2370,7 +2365,7 @@ function normalizeNavigateOptions(normalizeFormMethod, isFetcher, path, opts) { } } } - invariant2(typeof FormData === "function", "FormData is not available in this environment"); + invariant(typeof FormData === "function", "FormData is not available in this environment"); let searchParams; let formData; if (opts.formData) { @@ -2445,7 +2440,7 @@ function getMatchesToLoad(history, state, matches, submission, location2, isReva } let currentRouteMatch = state.matches[index]; let nextRouteMatch = match; - return shouldRevalidateLoader(match, _extends2({ + return shouldRevalidateLoader(match, _extends({ currentUrl, currentParams: currentRouteMatch.params, nextUrl, @@ -2487,7 +2482,7 @@ function getMatchesToLoad(history, state, matches, submission, location2, isReva } else if (fetcher && fetcher.state !== "idle" && fetcher.data === void 0) { shouldRevalidate = isRevalidationRequired; } else { - shouldRevalidate = shouldRevalidateLoader(fetcherMatch, _extends2({ + shouldRevalidate = shouldRevalidateLoader(fetcherMatch, _extends({ currentUrl, currentParams: state.matches[state.matches.length - 1].params, nextUrl, @@ -2546,20 +2541,20 @@ async function loadLazyRouteModule(route, mapRouteProperties, manifest) { return; } let routeToUpdate = manifest[route.id]; - invariant2(routeToUpdate, "No route found in manifest"); + invariant(routeToUpdate, "No route found in manifest"); let routeUpdates = {}; for (let lazyRouteProperty in lazyRoute) { let staticRouteValue = routeToUpdate[lazyRouteProperty]; let isPropertyStaticallyDefined = staticRouteValue !== void 0 && // This property isn't static since it should always be updated based // on the route updates lazyRouteProperty !== "hasErrorBoundary"; - warning2(!isPropertyStaticallyDefined, 'Route "' + routeToUpdate.id + '" has a static property "' + lazyRouteProperty + '" defined but its lazy function is also returning a value for this property. ' + ('The lazy route property "' + lazyRouteProperty + '" will be ignored.')); + warning(!isPropertyStaticallyDefined, 'Route "' + routeToUpdate.id + '" has a static property "' + lazyRouteProperty + '" defined but its lazy function is also returning a value for this property. ' + ('The lazy route property "' + lazyRouteProperty + '" will be ignored.')); if (!isPropertyStaticallyDefined && !immutableRouteKeys.has(lazyRouteProperty)) { routeUpdates[lazyRouteProperty] = lazyRoute[lazyRouteProperty]; } } Object.assign(routeToUpdate, routeUpdates); - Object.assign(routeToUpdate, _extends2({}, mapRouteProperties(routeToUpdate), { + Object.assign(routeToUpdate, _extends({}, mapRouteProperties(routeToUpdate), { lazy: void 0 })); } @@ -2585,7 +2580,19 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR let handler2 = match.route[type2]; if (match.route.lazy) { if (handler2) { - let values = await Promise.all([runHandler(handler2), loadLazyRouteModule(match.route, mapRouteProperties, manifest)]); + let handlerError; + let values = await Promise.all([ + // If the handler throws, don't let it immediately bubble out, + // since we need to let the lazy() execution finish so we know if this + // route has a boundary that can handle the error + runHandler(handler2).catch((e) => { + handlerError = e; + }), + loadLazyRouteModule(match.route, mapRouteProperties, manifest) + ]); + if (handlerError) { + throw handlerError; + } result = values[0]; } else { await loadLazyRouteModule(match.route, mapRouteProperties, manifest); @@ -2602,7 +2609,7 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR }); } else { return { - type: ResultType2.data, + type: ResultType.data, data: void 0 }; } @@ -2616,9 +2623,9 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR } else { result = await runHandler(handler2); } - invariant2(result !== void 0, "You defined " + (type2 === "action" ? "an action" : "a loader") + " for route " + ('"' + match.route.id + "\" but didn't return anything from your `" + type2 + "` ") + "function. Please return a value or `null`."); + invariant(result !== void 0, "You defined " + (type2 === "action" ? "an action" : "a loader") + " for route " + ('"' + match.route.id + "\" but didn't return anything from your `" + type2 + "` ") + "function. Please return a value or `null`."); } catch (e) { - resultType = ResultType2.error; + resultType = ResultType.error; result = e; } finally { if (onReject) { @@ -2629,7 +2636,7 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR let status = result.status; if (redirectStatusCodes.has(status)) { let location2 = result.headers.get("Location"); - invariant2(location2, "Redirects returned/thrown from loaders/actions must have a Location header"); + invariant(location2, "Redirects returned/thrown from loaders/actions must have a Location header"); if (!ABSOLUTE_URL_REGEX.test(location2)) { location2 = normalizeTo(new URL(request.url), matches.slice(0, matches.indexOf(match) + 1), basename, true, location2); } else if (!opts.isStaticRequest) { @@ -2645,17 +2652,19 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR throw result; } return { - type: ResultType2.redirect, + type: ResultType.redirect, status, location: location2, - revalidate: result.headers.get("X-Remix-Revalidate") !== null + revalidate: result.headers.get("X-Remix-Revalidate") !== null, + reloadDocument: result.headers.get("X-Remix-Reload-Document") !== null }; } if (opts.isRouteRequest) { - throw { - type: resultType || ResultType2.data, + let queryRouteResponse = { + type: resultType === ResultType.error ? ResultType.error : ResultType.data, response: result }; + throw queryRouteResponse; } let data; let contentType = result.headers.get("Content-Type"); @@ -2664,21 +2673,21 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR } else { data = await result.text(); } - if (resultType === ResultType2.error) { + if (resultType === ResultType.error) { return { type: resultType, - error: new ErrorResponse(status, result.statusText, data), + error: new ErrorResponseImpl(status, result.statusText, data), headers: result.headers }; } return { - type: ResultType2.data, + type: ResultType.data, data, statusCode: result.status, headers: result.headers }; } - if (resultType === ResultType2.error) { + if (resultType === ResultType.error) { return { type: resultType, error: result @@ -2687,14 +2696,14 @@ async function callLoaderOrAction(type2, request, match, matches, manifest, mapR if (isDeferredData(result)) { var _result$init, _result$init2; return { - type: ResultType2.deferred, + type: ResultType.deferred, deferredData: result, statusCode: (_result$init = result.init) == null ? void 0 : _result$init.status, headers: ((_result$init2 = result.init) == null ? void 0 : _result$init2.headers) && new Headers(result.init.headers) }; } return { - type: ResultType2.data, + type: ResultType.data, data: result }; } @@ -2746,7 +2755,7 @@ function processRouteLoaderData(matches, matchesToLoad, results, pendingError, a let loaderHeaders = {}; results.forEach((result, index) => { let id = matchesToLoad[index].route.id; - invariant2(!isRedirectResult(result), "Cannot handle redirect results in processLoaderData"); + invariant(!isRedirectResult(result), "Cannot handle redirect results in processLoaderData"); if (isErrorResult(result)) { let boundaryMatch = findNearestBoundary(matches, id); let error = result.error; @@ -2761,7 +2770,7 @@ function processRouteLoaderData(matches, matchesToLoad, results, pendingError, a loaderData[id] = void 0; if (!foundError) { foundError = true; - statusCode = isRouteErrorResponse2(result.error) ? result.error.status : 500; + statusCode = isRouteErrorResponse(result.error) ? result.error.status : 500; } if (result.headers) { loaderHeaders[id] = result.headers; @@ -2803,22 +2812,22 @@ function processLoaderData(state, matches, matchesToLoad, results, pendingError, match, controller } = revalidatingFetchers[index]; - invariant2(fetcherResults !== void 0 && fetcherResults[index] !== void 0, "Did not find corresponding fetcher result"); + invariant(fetcherResults !== void 0 && fetcherResults[index] !== void 0, "Did not find corresponding fetcher result"); let result = fetcherResults[index]; if (controller && controller.signal.aborted) { continue; } else if (isErrorResult(result)) { let boundaryMatch = findNearestBoundary(state.matches, match == null ? void 0 : match.route.id); if (!(errors && errors[boundaryMatch.route.id])) { - errors = _extends2({}, errors, { + errors = _extends({}, errors, { [boundaryMatch.route.id]: result.error }); } state.fetchers.delete(key); } else if (isRedirectResult(result)) { - invariant2(false, "Unhandled fetcher revalidation redirect"); + invariant(false, "Unhandled fetcher revalidation redirect"); } else if (isDeferredResult(result)) { - invariant2(false, "Unhandled fetcher deferred data"); + invariant(false, "Unhandled fetcher deferred data"); } else { let doneFetcher = getDoneFetcher(result.data); state.fetchers.set(key, doneFetcher); @@ -2830,7 +2839,7 @@ function processLoaderData(state, matches, matchesToLoad, results, pendingError, }; } function mergeLoaderData(loaderData, newLoaderData, matches, errors) { - let mergedLoaderData = _extends2({}, newLoaderData); + let mergedLoaderData = _extends({}, newLoaderData); for (let match of matches) { let id = match.route.id; if (newLoaderData.hasOwnProperty(id)) { @@ -2896,7 +2905,7 @@ function getInternalRouterError(status, _temp4) { errorMessage = 'Invalid request method "' + method.toUpperCase() + '"'; } } - return new ErrorResponse(status || 500, statusText, new Error(errorMessage), true); + return new ErrorResponseImpl(status || 500, statusText, new Error(errorMessage), true); } function findRedirect(results) { for (let i = results.length - 1; i >= 0; i--) { @@ -2911,7 +2920,7 @@ function findRedirect(results) { } function stripHashFromPath(path) { let parsedPath = typeof path === "string" ? parsePath(path) : path; - return createPath(_extends2({}, parsedPath, { + return createPath(_extends({}, parsedPath, { hash: "" })); } @@ -2929,13 +2938,13 @@ function isHashChangeOnly(a, b2) { return false; } function isDeferredResult(result) { - return result.type === ResultType2.deferred; + return result.type === ResultType.deferred; } function isErrorResult(result) { - return result.type === ResultType2.error; + return result.type === ResultType.error; } function isRedirectResult(result) { - return (result && result.type) === ResultType2.redirect; + return (result && result.type) === ResultType.redirect; } function isDeferredData(value) { let deferred = value; @@ -2953,13 +2962,13 @@ function isRedirectResponse(result) { return status >= 300 && status <= 399 && location2 != null; } function isQueryRouteResponse(obj) { - return obj && isResponse(obj.response) && (obj.type === ResultType2.data || ResultType2.error); + return obj && isResponse(obj.response) && (obj.type === ResultType.data || obj.type === ResultType.error); } function isValidMethod(method) { - return validRequestMethods2.has(method.toLowerCase()); + return validRequestMethods.has(method.toLowerCase()); } function isMutationMethod(method) { - return validMutationMethods2.has(method.toLowerCase()); + return validMutationMethods.has(method.toLowerCase()); } async function resolveDeferredResults(currentMatches, matchesToLoad, results, signals, isFetcher, currentLoaderData) { for (let index = 0; index < results.length; index++) { @@ -2972,7 +2981,7 @@ async function resolveDeferredResults(currentMatches, matchesToLoad, results, si let isRevalidatingLoader = currentMatch != null && !isNewRouteInstance(currentMatch, match) && (currentLoaderData && currentLoaderData[match.route.id]) !== void 0; if (isDeferredResult(result) && (isFetcher || isRevalidatingLoader)) { let signal = signals[index]; - invariant2(signal, "Expected an AbortSignal for revalidating fetcher deferred result"); + invariant(signal, "Expected an AbortSignal for revalidating fetcher deferred result"); await resolveDeferredData(result, signal, isFetcher).then((result2) => { if (result2) { results[index] = result2 || results[index]; @@ -2992,38 +3001,24 @@ async function resolveDeferredData(result, signal, unwrap2) { if (unwrap2) { try { return { - type: ResultType2.data, + type: ResultType.data, data: result.deferredData.unwrappedData }; } catch (e) { return { - type: ResultType2.error, + type: ResultType.error, error: e }; } } return { - type: ResultType2.data, + type: ResultType.data, data: result.deferredData.data }; } function hasNakedIndexQuery(search) { return new URLSearchParams(search).getAll("index").some((v) => v === ""); } -function createUseMatchesMatch(match, loaderData) { - let { - route, - pathname, - params - } = match; - return { - id: route.id, - pathname, - params, - data: loaderData[route.id], - handle: route.handle - }; -} function getTargetMatch(matches, location2) { let search = typeof location2 === "string" ? parsePath(location2).search : location2.search; if (matches[matches.length - 1].route.index && hasNakedIndexQuery(search || "")) { @@ -3039,7 +3034,7 @@ function getSubmissionFromNavigation(navigation) { formEncType, text, formData, - json: json9 + json: json7 } = navigation; if (!formMethod || !formAction || !formEncType) { return; @@ -3062,13 +3057,13 @@ function getSubmissionFromNavigation(navigation) { json: void 0, text: void 0 }; - } else if (json9 !== void 0) { + } else if (json7 !== void 0) { return { formMethod, formAction, formEncType, formData: void 0, - json: json9, + json: json7, text: void 0 }; } @@ -3123,8 +3118,7 @@ function getLoadingFetcher(submission, data) { formData: submission.formData, json: submission.json, text: submission.text, - data, - " _hasFetcherDoneAnything ": true + data }; return fetcher; } else { @@ -3136,8 +3130,7 @@ function getLoadingFetcher(submission, data) { formData: void 0, json: void 0, text: void 0, - data, - " _hasFetcherDoneAnything ": true + data }; return fetcher; } @@ -3151,8 +3144,7 @@ function getSubmittingFetcher(submission, existingFetcher) { formData: submission.formData, json: submission.json, text: submission.text, - data: existingFetcher ? existingFetcher.data : void 0, - " _hasFetcherDoneAnything ": true + data: existingFetcher ? existingFetcher.data : void 0 }; return fetcher; } @@ -3165,26 +3157,25 @@ function getDoneFetcher(data) { formData: void 0, json: void 0, text: void 0, - data, - " _hasFetcherDoneAnything ": true + data }; return fetcher; } -var Action2, PopStateEventType, ResultType2, immutableRouteKeys, paramRe, dynamicSegmentValue, indexRouteValue, emptySegmentValue, staticSegmentValue, splatPenalty, isSplat, joinPaths, normalizePathname, normalizeSearch, normalizeHash, json5, AbortedDeferredError2, DeferredData2, defer4, redirect5, ErrorResponse, validMutationMethodsArr2, validMutationMethods2, validRequestMethodsArr2, validRequestMethods2, redirectStatusCodes, redirectPreserveMethodStatusCodes, IDLE_NAVIGATION, IDLE_FETCHER, IDLE_BLOCKER, ABSOLUTE_URL_REGEX, defaultMapRouteProperties, UNSAFE_DEFERRED_SYMBOL2; +var Action, PopStateEventType, ResultType, immutableRouteKeys, paramRe, dynamicSegmentValue, indexRouteValue, emptySegmentValue, staticSegmentValue, splatPenalty, isSplat, joinPaths, normalizePathname, normalizeSearch, normalizeHash, json2, AbortedDeferredError, DeferredData, defer, redirect, redirectDocument, ErrorResponseImpl, validMutationMethodsArr, validMutationMethods, validRequestMethodsArr, validRequestMethods, redirectStatusCodes, redirectPreserveMethodStatusCodes, IDLE_NAVIGATION, IDLE_FETCHER, IDLE_BLOCKER, ABSOLUTE_URL_REGEX, defaultMapRouteProperties, UNSAFE_DEFERRED_SYMBOL; var init_router = __esm({ - "../node_modules/@remix-run/server-runtime/node_modules/@remix-run/router/dist/router.js"() { - (function(Action3) { - Action3["Pop"] = "POP"; - Action3["Push"] = "PUSH"; - Action3["Replace"] = "REPLACE"; - })(Action2 || (Action2 = {})); + "../node_modules/@remix-run/router/dist/router.js"() { + (function(Action2) { + Action2["Pop"] = "POP"; + Action2["Push"] = "PUSH"; + Action2["Replace"] = "REPLACE"; + })(Action || (Action = {})); PopStateEventType = "popstate"; - (function(ResultType3) { - ResultType3["data"] = "data"; - ResultType3["deferred"] = "deferred"; - ResultType3["redirect"] = "redirect"; - ResultType3["error"] = "error"; - })(ResultType2 || (ResultType2 = {})); + (function(ResultType2) { + ResultType2["data"] = "data"; + ResultType2["deferred"] = "deferred"; + ResultType2["redirect"] = "redirect"; + ResultType2["error"] = "error"; + })(ResultType || (ResultType = {})); immutableRouteKeys = /* @__PURE__ */ new Set(["lazy", "caseSensitive", "path", "id", "index", "children"]); paramRe = /^:\w+$/; dynamicSegmentValue = 3; @@ -3197,7 +3188,7 @@ var init_router = __esm({ normalizePathname = (pathname) => pathname.replace(/\/+$/, "").replace(/^\/*/, "/"); normalizeSearch = (search) => !search || search === "?" ? "" : search.startsWith("?") ? search : "?" + search; normalizeHash = (hash) => !hash || hash === "#" ? "" : hash.startsWith("#") ? hash : "#" + hash; - json5 = function json6(data, init) { + json2 = function json3(data, init) { if (init === void 0) { init = {}; } @@ -3208,22 +3199,22 @@ var init_router = __esm({ if (!headers.has("Content-Type")) { headers.set("Content-Type", "application/json; charset=utf-8"); } - return new Response(JSON.stringify(data), _extends2({}, responseInit, { + return new Response(JSON.stringify(data), _extends({}, responseInit, { headers })); }; - AbortedDeferredError2 = class extends Error { + AbortedDeferredError = class extends Error { }; - DeferredData2 = class { + DeferredData = class { constructor(data, responseInit) { this.pendingKeysSet = /* @__PURE__ */ new Set(); this.subscribers = /* @__PURE__ */ new Set(); this.deferredKeys = []; - invariant2(data && typeof data === "object" && !Array.isArray(data), "defer() only accepts plain objects"); + invariant(data && typeof data === "object" && !Array.isArray(data), "defer() only accepts plain objects"); let reject; this.abortPromise = new Promise((_, r) => reject = r); this.controller = new AbortController(); - let onAbort = () => reject(new AbortedDeferredError2("Deferred data aborted")); + let onAbort = () => reject(new AbortedDeferredError("Deferred data aborted")); this.unlistenAbortSignal = () => this.controller.signal.removeEventListener("abort", onAbort); this.controller.signal.addEventListener("abort", onAbort); this.data = Object.entries(data).reduce((acc, _ref) => { @@ -3252,7 +3243,7 @@ var init_router = __esm({ return promise; } onSettle(promise, key, error, data) { - if (this.controller.signal.aborted && error instanceof AbortedDeferredError2) { + if (this.controller.signal.aborted && error instanceof AbortedDeferredError) { this.unlistenAbortSignal(); Object.defineProperty(promise, "_error", { get: () => error @@ -3316,11 +3307,11 @@ var init_router = __esm({ return this.pendingKeysSet.size === 0; } get unwrappedData() { - invariant2(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"); + invariant(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"); return Object.entries(this.data).reduce((acc, _ref2) => { let [key, value] = _ref2; return Object.assign(acc, { - [key]: unwrapTrackedPromise2(value) + [key]: unwrapTrackedPromise(value) }); }, {}); } @@ -3328,16 +3319,16 @@ var init_router = __esm({ return Array.from(this.pendingKeysSet); } }; - defer4 = function defer5(data, init) { + defer = function defer2(data, init) { if (init === void 0) { init = {}; } let responseInit = typeof init === "number" ? { status: init } : init; - return new DeferredData2(data, responseInit); + return new DeferredData(data, responseInit); }; - redirect5 = function redirect6(url, init) { + redirect = function redirect2(url, init) { if (init === void 0) { init = 302; } @@ -3351,11 +3342,16 @@ var init_router = __esm({ } let headers = new Headers(responseInit.headers); headers.set("Location", url); - return new Response(null, _extends2({}, responseInit, { + return new Response(null, _extends({}, responseInit, { headers })); }; - ErrorResponse = class { + redirectDocument = (url, init) => { + let response = redirect(url, init); + response.headers.set("X-Remix-Reload-Document", "true"); + return response; + }; + ErrorResponseImpl = class { constructor(status, statusText, data, internal) { if (internal === void 0) { internal = false; @@ -3371,10 +3367,10 @@ var init_router = __esm({ } } }; - validMutationMethodsArr2 = ["post", "put", "patch", "delete"]; - validMutationMethods2 = new Set(validMutationMethodsArr2); - validRequestMethodsArr2 = ["get", ...validMutationMethodsArr2]; - validRequestMethods2 = new Set(validRequestMethodsArr2); + validMutationMethodsArr = ["post", "put", "patch", "delete"]; + validMutationMethods = new Set(validMutationMethodsArr); + validRequestMethodsArr = ["get", ...validMutationMethodsArr]; + validRequestMethods = new Set(validRequestMethodsArr); redirectStatusCodes = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]); redirectPreserveMethodStatusCodes = /* @__PURE__ */ new Set([307, 308]); IDLE_NAVIGATION = { @@ -3407,13 +3403,39 @@ var init_router = __esm({ defaultMapRouteProperties = (route) => ({ hasErrorBoundary: Boolean(route.hasErrorBoundary) }); - UNSAFE_DEFERRED_SYMBOL2 = Symbol("deferred"); + UNSAFE_DEFERRED_SYMBOL = Symbol("deferred"); + } +}); + +// routes-module:routes/_index.tsx?worker +var require_index = __commonJS({ + "routes-module:routes/_index.tsx?worker"(exports, module) { + module.exports = {}; + } +}); + +// ../packages/worker-runtime/node_modules/@remix-run/server-runtime/dist/mode.js +var require_mode = __commonJS({ + "../packages/worker-runtime/node_modules/@remix-run/server-runtime/dist/mode.js"(exports) { + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var ServerMode2 = /* @__PURE__ */ function(ServerMode3) { + ServerMode3["Development"] = "development"; + ServerMode3["Production"] = "production"; + ServerMode3["Test"] = "test"; + return ServerMode3; + }({}); + function isServerMode(value) { + return value === ServerMode2.Development || value === ServerMode2.Production || value === ServerMode2.Test; + } + exports.ServerMode = ServerMode2; + exports.isServerMode = isServerMode; } }); -// ../node_modules/@remix-run/server-runtime/dist/errors.js +// ../packages/worker-runtime/node_modules/@remix-run/server-runtime/dist/errors.js var require_errors = __commonJS({ - "../node_modules/@remix-run/server-runtime/dist/errors.js"(exports) { + "../packages/worker-runtime/node_modules/@remix-run/server-runtime/dist/errors.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var router = (init_router(), __toCommonJS(router_exports)); @@ -3478,22 +3500,25 @@ var require_errors = __commonJS({ } }); -// ../node_modules/@remix-run/server-runtime/dist/responses.js +// ../packages/worker-runtime/node_modules/@remix-run/server-runtime/dist/responses.js var require_responses = __commonJS({ - "../node_modules/@remix-run/server-runtime/dist/responses.js"(exports) { + "../packages/worker-runtime/node_modules/@remix-run/server-runtime/dist/responses.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var router = (init_router(), __toCommonJS(router_exports)); var errors = require_errors(); - var json9 = (data, init = {}) => { + var json7 = (data, init = {}) => { return router.json(data, init); }; - var defer6 = (data, init = {}) => { + var defer4 = (data, init = {}) => { return router.defer(data, init); }; - var redirect8 = (url, init = 302) => { + var redirect6 = (url, init = 302) => { return router.redirect(url, init); }; + var redirectDocument2 = (url, init = 302) => { + return router.redirectDocument(url, init); + }; function isDeferredData3(value) { let deferred = value; return deferred && typeof deferred === "object" && typeof deferred.data === "object" && typeof deferred.subscribe === "function" && typeof deferred.cancel === "function" && typeof deferred.resolveData === "function"; @@ -3508,7 +3533,7 @@ var require_responses = __commonJS({ function isRedirectResponse3(response) { return isRedirectStatusCode2(response.status); } - function isTrackedPromise3(value) { + function isTrackedPromise2(value) { return value != null && typeof value.then === "function" && value._tracked === true; } var DEFERRED_VALUE_PLACEHOLDER_PREFIX = "__deferred_promise:"; @@ -3519,7 +3544,7 @@ var require_responses = __commonJS({ let criticalData = {}; let preresolvedKeys = []; for (let [key, value] of Object.entries(deferredData.data)) { - if (isTrackedPromise3(value)) { + if (isTrackedPromise2(value)) { criticalData[key] = `${DEFERRED_VALUE_PLACEHOLDER_PREFIX}${key}`; if (typeof value._data !== "undefined" || typeof value._error !== "undefined") { preresolvedKeys.push(key); @@ -3556,13 +3581,14 @@ var require_responses = __commonJS({ } } exports.createDeferredReadableStream = createDeferredReadableStream2; - exports.defer = defer6; + exports.defer = defer4; exports.isDeferredData = isDeferredData3; exports.isRedirectResponse = isRedirectResponse3; exports.isRedirectStatusCode = isRedirectStatusCode2; exports.isResponse = isResponse3; - exports.json = json9; - exports.redirect = redirect8; + exports.json = json7; + exports.redirect = redirect6; + exports.redirectDocument = redirectDocument2; } }); @@ -10036,292 +10062,8 @@ __export(app_flights_exports, { workerLoader: () => workerLoader2 }); -// ../node_modules/@remix-run/router/dist/router.js -function _extends() { - _extends = Object.assign ? Object.assign.bind() : function(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }; - return _extends.apply(this, arguments); -} -var Action; -(function(Action3) { - Action3["Pop"] = "POP"; - Action3["Push"] = "PUSH"; - Action3["Replace"] = "REPLACE"; -})(Action || (Action = {})); -function invariant(value, message) { - if (value === false || value === null || typeof value === "undefined") { - throw new Error(message); - } -} -function warning(cond, message) { - if (!cond) { - if (typeof console !== "undefined") - console.warn(message); - try { - throw new Error(message); - } catch (e) { - } - } -} -var ResultType; -(function(ResultType3) { - ResultType3["data"] = "data"; - ResultType3["deferred"] = "deferred"; - ResultType3["redirect"] = "redirect"; - ResultType3["error"] = "error"; -})(ResultType || (ResultType = {})); -function matchPath(pattern, pathname) { - if (typeof pattern === "string") { - pattern = { - path: pattern, - caseSensitive: false, - end: true - }; - } - let [matcher, paramNames] = compilePath(pattern.path, pattern.caseSensitive, pattern.end); - let match = pathname.match(matcher); - if (!match) - return null; - let matchedPathname = match[0]; - let pathnameBase = matchedPathname.replace(/(.)\/+$/, "$1"); - let captureGroups = match.slice(1); - let params = paramNames.reduce((memo, paramName, index) => { - if (paramName === "*") { - let splatValue = captureGroups[index] || ""; - pathnameBase = matchedPathname.slice(0, matchedPathname.length - splatValue.length).replace(/(.)\/+$/, "$1"); - } - memo[paramName] = safelyDecodeURIComponent(captureGroups[index] || "", paramName); - return memo; - }, {}); - return { - params, - pathname: matchedPathname, - pathnameBase, - pattern - }; -} -function compilePath(path, caseSensitive, end) { - if (caseSensitive === void 0) { - caseSensitive = false; - } - if (end === void 0) { - end = true; - } - warning(path === "*" || !path.endsWith("*") || path.endsWith("/*"), 'Route path "' + path + '" will be treated as if it were ' + ('"' + path.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + path.replace(/\*$/, "/*") + '".')); - let paramNames = []; - let regexpSource = "^" + path.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^$?{}|()[\]]/g, "\\$&").replace(/\/:(\w+)/g, (_, paramName) => { - paramNames.push(paramName); - return "/([^\\/]+)"; - }); - if (path.endsWith("*")) { - paramNames.push("*"); - regexpSource += path === "*" || path === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$"; - } else if (end) { - regexpSource += "\\/*$"; - } else if (path !== "" && path !== "/") { - regexpSource += "(?:(?=\\/|$))"; - } else - ; - let matcher = new RegExp(regexpSource, caseSensitive ? void 0 : "i"); - return [matcher, paramNames]; -} -function safelyDecodeURIComponent(value, paramName) { - try { - return decodeURIComponent(value); - } catch (error) { - warning(false, 'The value for the URL param "' + paramName + '" will not be decoded because' + (' the string "' + value + '" is a malformed URL segment. This is probably') + (" due to a bad percent encoding (" + error + ").")); - return value; - } -} -var json2 = function json3(data, init) { - if (init === void 0) { - init = {}; - } - let responseInit = typeof init === "number" ? { - status: init - } : init; - let headers = new Headers(responseInit.headers); - if (!headers.has("Content-Type")) { - headers.set("Content-Type", "application/json; charset=utf-8"); - } - return new Response(JSON.stringify(data), _extends({}, responseInit, { - headers - })); -}; -var AbortedDeferredError = class extends Error { -}; -var DeferredData = class { - constructor(data, responseInit) { - this.pendingKeysSet = /* @__PURE__ */ new Set(); - this.subscribers = /* @__PURE__ */ new Set(); - this.deferredKeys = []; - invariant(data && typeof data === "object" && !Array.isArray(data), "defer() only accepts plain objects"); - let reject; - this.abortPromise = new Promise((_, r) => reject = r); - this.controller = new AbortController(); - let onAbort = () => reject(new AbortedDeferredError("Deferred data aborted")); - this.unlistenAbortSignal = () => this.controller.signal.removeEventListener("abort", onAbort); - this.controller.signal.addEventListener("abort", onAbort); - this.data = Object.entries(data).reduce((acc, _ref) => { - let [key, value] = _ref; - return Object.assign(acc, { - [key]: this.trackPromise(key, value) - }); - }, {}); - if (this.done) { - this.unlistenAbortSignal(); - } - this.init = responseInit; - } - trackPromise(key, value) { - if (!(value instanceof Promise)) { - return value; - } - this.deferredKeys.push(key); - this.pendingKeysSet.add(key); - let promise = Promise.race([value, this.abortPromise]).then((data) => this.onSettle(promise, key, void 0, data), (error) => this.onSettle(promise, key, error)); - promise.catch(() => { - }); - Object.defineProperty(promise, "_tracked", { - get: () => true - }); - return promise; - } - onSettle(promise, key, error, data) { - if (this.controller.signal.aborted && error instanceof AbortedDeferredError) { - this.unlistenAbortSignal(); - Object.defineProperty(promise, "_error", { - get: () => error - }); - return Promise.reject(error); - } - this.pendingKeysSet.delete(key); - if (this.done) { - this.unlistenAbortSignal(); - } - if (error === void 0 && data === void 0) { - let undefinedError = new Error('Deferred data for key "' + key + '" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.'); - Object.defineProperty(promise, "_error", { - get: () => undefinedError - }); - this.emit(false, key); - return Promise.reject(undefinedError); - } - if (data === void 0) { - Object.defineProperty(promise, "_error", { - get: () => error - }); - this.emit(false, key); - return Promise.reject(error); - } - Object.defineProperty(promise, "_data", { - get: () => data - }); - this.emit(false, key); - return data; - } - emit(aborted, settledKey) { - this.subscribers.forEach((subscriber) => subscriber(aborted, settledKey)); - } - subscribe(fn) { - this.subscribers.add(fn); - return () => this.subscribers.delete(fn); - } - cancel() { - this.controller.abort(); - this.pendingKeysSet.forEach((v, k2) => this.pendingKeysSet.delete(k2)); - this.emit(true); - } - async resolveData(signal) { - let aborted = false; - if (!this.done) { - let onAbort = () => this.cancel(); - signal.addEventListener("abort", onAbort); - aborted = await new Promise((resolve) => { - this.subscribe((aborted2) => { - signal.removeEventListener("abort", onAbort); - if (aborted2 || this.done) { - resolve(aborted2); - } - }); - }); - } - return aborted; - } - get done() { - return this.pendingKeysSet.size === 0; - } - get unwrappedData() { - invariant(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"); - return Object.entries(this.data).reduce((acc, _ref2) => { - let [key, value] = _ref2; - return Object.assign(acc, { - [key]: unwrapTrackedPromise(value) - }); - }, {}); - } - get pendingKeys() { - return Array.from(this.pendingKeysSet); - } -}; -function isTrackedPromise(value) { - return value instanceof Promise && value._tracked === true; -} -function unwrapTrackedPromise(value) { - if (!isTrackedPromise(value)) { - return value; - } - if (value._error) { - throw value._error; - } - return value._data; -} -var defer = function defer2(data, init) { - if (init === void 0) { - init = {}; - } - let responseInit = typeof init === "number" ? { - status: init - } : init; - return new DeferredData(data, responseInit); -}; -var redirect = function redirect2(url, init) { - if (init === void 0) { - init = 302; - } - let responseInit = init; - if (typeof responseInit === "number") { - responseInit = { - status: responseInit - }; - } else if (typeof responseInit.status === "undefined") { - responseInit.status = 302; - } - let headers = new Headers(responseInit.headers); - headers.set("Location", url); - return new Response(null, _extends({}, responseInit, { - headers - })); -}; -function isRouteErrorResponse(error) { - return error != null && typeof error.status === "number" && typeof error.statusText === "string" && typeof error.internal === "boolean" && "data" in error; -} -var validMutationMethodsArr = ["post", "put", "patch", "delete"]; -var validMutationMethods = new Set(validMutationMethodsArr); -var validRequestMethodsArr = ["get", ...validMutationMethodsArr]; -var validRequestMethods = new Set(validRequestMethodsArr); -var UNSAFE_DEFERRED_SYMBOL = Symbol("deferred"); - // app/routes/_app.flights.tsx +init_router(); var import_react3 = __toESM(require_react()); var import_react4 = __toESM(require_react2()); var import_jsx_runtime2 = __toESM(require_jsx_runtime()); @@ -10490,6 +10232,7 @@ __export(selection_exports, { }); // app/routes/selection.tsx +init_router(); var import_react10 = __toESM(require_react()); var import_jsx_runtime6 = __toESM(require_jsx_runtime()); async function workerLoader4({ context }) { @@ -10569,7 +10312,7 @@ var hasWorkerAction8 = false; var hasWorkerLoader8 = true; // assets-module:@remix-sas/dev?assets -var assets = ["/build/root-UO4P6TW2.js", "/build/manifest-801DDE60.js", "/build/entry.client-DDLUZKIV.js", "/build/__remix_entry_dev-GGUNVKXG.js", "/build/_assets/tailwind-JOKRYXHU.css", "/build/_shared/runtime-JC7ERE5X.js", "/build/_shared/remix_hmr-KOXB6O7Z.js", "/build/_shared/react-dom-SNQ2UIZM.js", "/build/_shared/react-XL6EHOTX.js", "/build/_shared/jsx-runtime-7KJOCM5J.js", "/build/_shared/jsx-dev-runtime-D5NCTVC4.js", "/build/_shared/esm-QACGES7W.js", "/build/_shared/client-LQHWDDYA.js", "/build/_shared/chunk-TWSZTAQ6.js", "/build/_shared/chunk-TLBAXOHZ.js", "/build/_shared/chunk-STMUDJCL.js", "/build/_shared/chunk-PNG5AS42.js", "/build/_shared/chunk-NXSRMYPB.js", "/build/_shared/chunk-LOYKRDJM.js", "/build/_shared/chunk-GF52RS3E.js", "/build/_shared/chunk-G7CHZRZX.js", "/build/_shared/chunk-FXD4XYGV.js", "/build/_shared/chunk-A733LYHU.js", "/build/_shared/chunk-6KD5CF4I.js", "/build/routes/sync-away-2OHIS6QM.js", "/build/routes/strategies-YW77BOHQ.js", "/build/routes/selection-ZCR5OI2Z.js", "/build/routes/basic-loader-CUXO3QB2.js", "/build/routes/basic-caching-HMQZ42O7.js", "/build/routes/basic-action-QXFUX6IJ.js", "/build/routes/_index-WMOZUY5A.js", "/build/routes/_app.flights-ISAA4IYL.js", "/build/routes/_app-34YYPPMD.js"]; +var assets = ["/build/root-OK67BZL6.js", "/build/manifest-10FBC21A.js", "/build/entry.client-2V2MPQUQ.js", "/build/__remix_entry_dev-CBVCFEV6.js", "/build/routes/sync-away-NASUWENV.js", "/build/routes/strategies-VIJ22HC6.js", "/build/routes/selection-ZB7OSTRA.js", "/build/routes/basic-loader-Z5VZLM5B.js", "/build/routes/basic-caching-Y4GN322I.js", "/build/routes/basic-action-MFOBLML3.js", "/build/routes/_index-XFWLNEGN.js", "/build/routes/_app.flights-KDZQ5DKH.js", "/build/routes/_app-2NDWGNRD.js", "/build/_shared/runtime-JC7ERE5X.js", "/build/_shared/remix_hmr-KOXB6O7Z.js", "/build/_shared/react-dom-SNQ2UIZM.js", "/build/_shared/react-XL6EHOTX.js", "/build/_shared/jsx-runtime-7KJOCM5J.js", "/build/_shared/jsx-dev-runtime-D5NCTVC4.js", "/build/_shared/esm-IBLMKEZI.js", "/build/_shared/client-LQHWDDYA.js", "/build/_shared/chunk-TWSZTAQ6.js", "/build/_shared/chunk-TLBAXOHZ.js", "/build/_shared/chunk-STMUDJCL.js", "/build/_shared/chunk-PNG5AS42.js", "/build/_shared/chunk-OLI5EMZU.js", "/build/_shared/chunk-NXSRMYPB.js", "/build/_shared/chunk-LOYKRDJM.js", "/build/_shared/chunk-JT6CP2MP.js", "/build/_shared/chunk-IWDL3EBP.js", "/build/_shared/chunk-G7CHZRZX.js", "/build/_shared/chunk-FXD4XYGV.js", "/build/_assets/tailwind-JOKRYXHU.css"]; // entry-module:@remix-pwa/build/magic var routes = { @@ -10677,10 +10420,12 @@ var routes = { var entry = { module: entry_worker_exports }; // ../packages/worker-runtime/dist/src/utils/handle-request.js +init_router(); var import_mode = __toESM(require_mode(), 1); var import_responses2 = __toESM(require_responses(), 1); // ../packages/worker-runtime/dist/src/utils/request.js +init_router(); function clone(_object) { const init = {}; for (const property in _object) { @@ -10889,9 +10634,9 @@ _self.addEventListener( ); /*! Bundled license information: -@remix-run/server-runtime/dist/mode.js: +@remix-run/router/dist/router.js: (** - * @remix-run/server-runtime v1.19.3 + * @remix-run/router v1.9.0 * * Copyright (c) Remix Software Inc. * @@ -10901,9 +10646,9 @@ _self.addEventListener( * @license MIT *) -@remix-run/router/dist/router.js: +@remix-run/server-runtime/dist/mode.js: (** - * @remix-run/router v1.7.2 + * @remix-run/server-runtime v2.0.0 * * Copyright (c) Remix Software Inc. * @@ -10915,7 +10660,7 @@ _self.addEventListener( @remix-run/server-runtime/dist/errors.js: (** - * @remix-run/server-runtime v1.19.3 + * @remix-run/server-runtime v2.0.0 * * Copyright (c) Remix Software Inc. * @@ -10927,19 +10672,7 @@ _self.addEventListener( @remix-run/server-runtime/dist/responses.js: (** - * @remix-run/server-runtime v1.19.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - *) - -@remix-run/router/dist/router.js: - (** - * @remix-run/router v1.9.0 + * @remix-run/server-runtime v2.0.0 * * Copyright (c) Remix Software Inc. * diff --git a/playground/remix.config.js b/playground/remix.config.js index ee1bd9ea..4f036fdf 100644 --- a/playground/remix.config.js +++ b/playground/remix.config.js @@ -2,14 +2,6 @@ module.exports = { ignoredRouteFiles: ['**/.*'], serverModuleFormat: 'cjs', - future: { - v2_dev: true, - v2_errorBoundary: true, - v2_headers: true, - v2_meta: true, - v2_normalizeFormMethod: true, - v2_routeConvention: true, - }, tailwind: true, serverDependenciesToBundle: [ '@remix-pwa/sw', From e9f2959790615ca289c1261388eef9d44e42076e Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Date: Fri, 22 Sep 2023 16:27:28 +0100 Subject: [PATCH 04/10] fix(dev): fixed path error on Windows --- packages/dev/cli/create.ts | 56 ++++++++++++++-------------- packages/dev/cli/detectPkgManager.ts | 7 ++-- packages/dev/cli/run.ts | 5 ++- packages/dev/package.json | 4 +- 4 files changed, 38 insertions(+), 34 deletions(-) diff --git a/packages/dev/cli/create.ts b/packages/dev/cli/create.ts index 63be5df9..1198293c 100644 --- a/packages/dev/cli/create.ts +++ b/packages/dev/cli/create.ts @@ -5,14 +5,11 @@ import { cpSync } from 'fs'; import pkg from 'fs-extra'; import ora from 'ora'; import { dirname, resolve } from 'path'; -import { fileURLToPath } from 'url'; +import { fileURLToPath, pathToFileURL } from 'url'; import { getPkgVersion } from './getPkgVersion.js'; import type { PWAFeatures } from './run.js'; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -let isV2 = false; - const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); @@ -37,7 +34,7 @@ async function integrateServiceWorker( if (precache) { // if (workbox) { return; } - const workerDir = resolve(projectDir, dir, `entry.worker.${lang}`); + const workerDir = pathToFileURL(resolve(projectDir, dir, `entry.worker.${lang}`)).href; if (pkg.pathExistsSync(workerDir)) { console.log(red('Service worker already exists')); @@ -49,7 +46,7 @@ async function integrateServiceWorker( } else { // if (workbox) { return; } - const workerDir = resolve(projectDir, dir, `entry.worker.${lang}`); + const workerDir = pathToFileURL(resolve(projectDir, dir, `entry.worker.${lang}`)).href; if (pkg.pathExistsSync(workerDir)) { console.log(red('Service worker already exists')); @@ -63,7 +60,7 @@ async function integrateServiceWorker( async function integrateManifest(projectDir: string, lang: 'ts' | 'js' = 'ts', dir: string = 'app') { const templateDir = resolve(__dirname, 'templates'); - const manifestDir = resolve(projectDir, dir, `routes/manifest[.]webmanifest.${lang}`); + const manifestDir = pathToFileURL(resolve(projectDir, dir, `routes/manifest[.]webmanifest.${lang}`)).href; if (pkg.pathExistsSync(manifestDir)) { return; @@ -76,7 +73,11 @@ async function integrateManifest(projectDir: string, lang: 'ts' | 'js' = 'ts', d async function integrateIcons(projectDir: string) { const iconDir = resolve(__dirname, 'templates', 'icons'); - cpSync(iconDir, resolve(projectDir, 'public/icons'), { recursive: true, errorOnExist: false, force: false }); + cpSync(iconDir, pathToFileURL(resolve(projectDir, 'public/icons')).href, { + recursive: true, + errorOnExist: false, + force: false, + }); } // temporary @@ -105,25 +106,26 @@ export async function createPWA( workbox = false; } - try { - const remixConfig = await import(resolve(projectDir, 'remix.config.js')).then(m => m.default); + // v2 is out already!!! And I am not using `isV2`, so no worries. + // try { + // const remixConfig = await import(pathToFileURL(resolve(projectDir, 'remix.config.js')).href).then(m => m.default); - if (!remixConfig.future) { - remixConfig.future = {}; - } + // if (!remixConfig.future) { + // remixConfig.future = {}; + // } - if (remixConfig.future && remixConfig.future.v2_routeConvention === true) { - isV2 = true; - } - } catch (_err) { - console.log( - red( - 'No `remix.config.js` file found in your project. Please make sure to run in a remix project or create one and try again or alternatively, run `remix-pwa --help` for more info.' - ) - ); + // if (remixConfig.future && remixConfig.future.v2_routeConvention === true) { + // isV2 = true; + // } + // } catch (_err) { + // console.log( + // red( + // 'No `remix.config.js` file found in your project. Please make sure to run in a remix project or create one and try again or alternatively, run `remix-pwa --help` for more info.' + // ) + // ); - return; - } + // return; + // } const templateDir = resolve(__dirname, 'templates'); @@ -202,11 +204,11 @@ export async function createPWA( json.scripts = {}; } - json.dependencies['@remix-pwa/worker-runtime'] = `^${ - _isTest ? '' : await getPkgVersion('@remix-pwa/worker-runtime') - }`; json.dependencies.dotenv = '^16.0.3'; + json.devDependencies['@remix-pwa/worker-runtime'] = `^${ + _isTest ? '' : await getPkgVersion('@remix-pwa/worker-runtime') + }`; json.devDependencies['@remix-pwa/dev'] = `${_isTest ? '' : await getPkgVersion('@remix-pwa/dev')}`; json.devDependencies['remix-pwa'] = `^${_isTest ? '' : await getPkgVersion('remix-pwa')}`; json.devDependencies['npm-run-all'] = '^4.1.5'; diff --git a/packages/dev/cli/detectPkgManager.ts b/packages/dev/cli/detectPkgManager.ts index fd190dde..160f597a 100644 --- a/packages/dev/cli/detectPkgManager.ts +++ b/packages/dev/cli/detectPkgManager.ts @@ -1,14 +1,15 @@ import fse from 'fs-extra'; import { resolve } from 'node:path'; +import { pathToFileURL } from 'node:url'; export type PackageManager = 'npm' | 'pnpm' | 'yarn'; export const detectPackageManager = async (projectDir: string): Promise => { try { const [isNpm, isYarn, isPnpm] = await Promise.all([ - fse.pathExists(resolve(projectDir, 'package-lock.json')), - fse.pathExists(resolve(projectDir, 'yarn.lock')), - fse.pathExists(resolve(projectDir, 'pnpm-lock.yaml')), + fse.pathExists(pathToFileURL(resolve(projectDir, 'package-lock.json')).href), + fse.pathExists(pathToFileURL(resolve(projectDir, 'yarn.lock')).href), + fse.pathExists(pathToFileURL(resolve(projectDir, 'pnpm-lock.yaml')).href), ]); if (isNpm) { diff --git a/packages/dev/cli/run.ts b/packages/dev/cli/run.ts index 17ca7396..e99b2283 100644 --- a/packages/dev/cli/run.ts +++ b/packages/dev/cli/run.ts @@ -133,8 +133,9 @@ export async function run(argv: string[] = process.argv.slice(2), projectDir: st packageManager = args['--package-manager']; } + // If the user uses the old method + flags: `npx remix-pwa --ts` if (input[0] && input[0].startsWith('-')) { - input.unshift('create'); + input.unshift('init'); } const cmd = input[0]; @@ -155,7 +156,7 @@ export async function run(argv: string[] = process.argv.slice(2), projectDir: st case 'init': case 'new': case 'create': - default: // Todo: Add a better error message - Deprecating this. For now tho, it would be the same as create + default: if (cmd !== 'create' && cmd !== 'init' && cmd !== 'new') { console.warn( bold(red('This command is getting deprecated soon. Please use `npx remix-pwa@latest init` instead.')) diff --git a/packages/dev/package.json b/packages/dev/package.json index 06546c9d..389faa49 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -32,12 +32,12 @@ "CHANGELOG.md" ], "peerDependencies": { - "@remix-run/dev": "^1.19.0 || ^2.0.0", + "@remix-run/dev": "^1.15.0 || ^2.0.0", "@remix-pwa/worker-runtime": "^2.0.4" }, "peerDependenciesMeta": { "@remix-run/dev": { - "optional": false + "optional": true }, "@remix-pwa/worker-runtime": { "optional": true From a5babb9710e55d04df3224ce5e230cb5411e78ca Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Date: Fri, 22 Sep 2023 17:03:05 +0100 Subject: [PATCH 05/10] chore(eslint-config): set up esprima parser for linter --- package-lock.json | 19 ++++++++++++++++--- packages/eslint-config/package.json | 3 ++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2beab274..4fd6317c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6930,6 +6930,18 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/esquery": { "version": "1.5.0", "license": "BSD-3-Clause", @@ -14695,14 +14707,14 @@ }, "peerDependencies": { "@remix-pwa/worker-runtime": "^2.0.4", - "@remix-run/dev": "^1.19.0 || ^2.0.0" + "@remix-run/dev": "^1.15.0 || ^2.0.0" }, "peerDependenciesMeta": { "@remix-pwa/worker-runtime": { "optional": true }, "@remix-run/dev": { - "optional": false + "optional": true } } }, @@ -15561,7 +15573,8 @@ "eslint-plugin-security-node": "^1.1.1", "eslint-plugin-sort-destructure-keys": "^1.5.0", "eslint-plugin-turbo": "^1.10.14", - "eslint-plugin-vitest": "^0.3.1" + "eslint-plugin-vitest": "^0.3.1", + "esprima": "^4.0.1" }, "devDependencies": { "@types/eslint": "^8.44.2", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 51f2874f..24109e84 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -43,7 +43,8 @@ "eslint-plugin-security-node": "^1.1.1", "eslint-plugin-sort-destructure-keys": "^1.5.0", "eslint-plugin-turbo": "^1.10.14", - "eslint-plugin-vitest": "^0.3.1" + "eslint-plugin-vitest": "^0.3.1", + "esprima": "^4.0.1" }, "devDependencies": { "@types/eslint": "^8.44.2", From 4db7acfceb70eb7571b1a2083c146f2559cfad8c Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Date: Fri, 22 Sep 2023 17:03:32 +0100 Subject: [PATCH 06/10] fix(dev): updated file urls --- packages/dev/cli/create.ts | 10 +++++----- packages/sw/src/hooks/useSWEffect.ts | 2 +- packages/worker-runtime/src/utils/handle-request.ts | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/dev/cli/create.ts b/packages/dev/cli/create.ts index 1198293c..f2923dfc 100644 --- a/packages/dev/cli/create.ts +++ b/packages/dev/cli/create.ts @@ -34,7 +34,7 @@ async function integrateServiceWorker( if (precache) { // if (workbox) { return; } - const workerDir = pathToFileURL(resolve(projectDir, dir, `entry.worker.${lang}`)).href; + const workerDir = pathToFileURL(resolve(projectDir, dir, `entry.worker.${lang}`)).pathname; if (pkg.pathExistsSync(workerDir)) { console.log(red('Service worker already exists')); @@ -46,7 +46,7 @@ async function integrateServiceWorker( } else { // if (workbox) { return; } - const workerDir = pathToFileURL(resolve(projectDir, dir, `entry.worker.${lang}`)).href; + const workerDir = pathToFileURL(resolve(projectDir, dir, `entry.worker.${lang}`)).pathname; if (pkg.pathExistsSync(workerDir)) { console.log(red('Service worker already exists')); @@ -60,7 +60,7 @@ async function integrateServiceWorker( async function integrateManifest(projectDir: string, lang: 'ts' | 'js' = 'ts', dir: string = 'app') { const templateDir = resolve(__dirname, 'templates'); - const manifestDir = pathToFileURL(resolve(projectDir, dir, `routes/manifest[.]webmanifest.${lang}`)).href; + const manifestDir = pathToFileURL(resolve(projectDir, dir, `routes/manifest[.]webmanifest.${lang}`)).pathname; if (pkg.pathExistsSync(manifestDir)) { return; @@ -73,7 +73,7 @@ async function integrateManifest(projectDir: string, lang: 'ts' | 'js' = 'ts', d async function integrateIcons(projectDir: string) { const iconDir = resolve(__dirname, 'templates', 'icons'); - cpSync(iconDir, pathToFileURL(resolve(projectDir, 'public/icons')).href, { + cpSync(iconDir, pathToFileURL(resolve(projectDir, 'public/icons')).pathname, { recursive: true, errorOnExist: false, force: false, @@ -108,7 +108,7 @@ export async function createPWA( // v2 is out already!!! And I am not using `isV2`, so no worries. // try { - // const remixConfig = await import(pathToFileURL(resolve(projectDir, 'remix.config.js')).href).then(m => m.default); + // const remixConfig = await import(pathToFileURL(resolve(projectDir, 'remix.config.js')).pathname).then(m => m.default); // if (!remixConfig.future) { // remixConfig.future = {}; diff --git a/packages/sw/src/hooks/useSWEffect.ts b/packages/sw/src/hooks/useSWEffect.ts index 7221f48f..00df998d 100644 --- a/packages/sw/src/hooks/useSWEffect.ts +++ b/packages/sw/src/hooks/useSWEffect.ts @@ -79,6 +79,6 @@ export function useSWEffect(): void { return { ...route, handle }; } - return () => { }; + return () => {}; }, [location, matches]); } diff --git a/packages/worker-runtime/src/utils/handle-request.ts b/packages/worker-runtime/src/utils/handle-request.ts index 99012e93..b4234e31 100644 --- a/packages/worker-runtime/src/utils/handle-request.ts +++ b/packages/worker-runtime/src/utils/handle-request.ts @@ -105,7 +105,7 @@ async function handleLoader({ event, loadContext, loader, routeId, routePath }: if (result === undefined) { throw new Error( `You defined a loader for route "${routeId}" but didn't return ` + - `anything from your \`worker loader\` function. Please return a value or \`null\`.` + `anything from your \`worker loader\` function. Please return a value or \`null\`.` ); } @@ -136,7 +136,7 @@ async function handleAction({ action, event, loadContext, routeId, routePath }: if (result === undefined) { throw new Error( `You defined an action for route "${routeId}" but didn't return ` + - `anything from your \`worker action\` function. Please return a value or \`null\`.` + `anything from your \`worker action\` function. Please return a value or \`null\`.` ); } From 57b5c34c0ce4215732267aa3e332aa17c8e382f9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 22 Sep 2023 16:07:04 +0000 Subject: [PATCH 07/10] chore(release): @remix-pwa/worker-runtime@2.0.5 [skip ci] ## @remix-pwa/worker-runtime 2.0.5 (2023-09-22) ### Bug Fixes * **dev:** updated file urls 4db7acf --- packages/worker-runtime/CHANGELOG.md | 7 +++++++ packages/worker-runtime/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/worker-runtime/CHANGELOG.md b/packages/worker-runtime/CHANGELOG.md index 9f7101aa..786e2240 100644 --- a/packages/worker-runtime/CHANGELOG.md +++ b/packages/worker-runtime/CHANGELOG.md @@ -1,3 +1,10 @@ +## @remix-pwa/worker-runtime 2.0.5 (2023-09-22) + + +### Bug Fixes + +* **dev:** updated file urls 4db7acf + ## @remix-pwa/worker-runtime 2.0.4 (2023-09-21) diff --git a/packages/worker-runtime/package.json b/packages/worker-runtime/package.json index 011c406e..47331d78 100644 --- a/packages/worker-runtime/package.json +++ b/packages/worker-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@remix-pwa/worker-runtime", - "version": "2.0.4", + "version": "2.0.5", "description": "A vanilla JavaScript worker runtime for Remix service workers", "license": "MIT", "sideEffects": false, From 6a2f96be77fdbe4bdbbb5709f4c64f1201934ae9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 22 Sep 2023 16:07:28 +0000 Subject: [PATCH 08/10] chore(release): @remix-pwa/sw@2.1.6 [skip ci] ## @remix-pwa/sw 2.1.6 (2023-09-22) ### Bug Fixes * **dev:** updated file urls 4db7acf --- packages/sw/CHANGELOG.md | 7 +++++++ packages/sw/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/sw/CHANGELOG.md b/packages/sw/CHANGELOG.md index e15008e4..1b1af9cf 100644 --- a/packages/sw/CHANGELOG.md +++ b/packages/sw/CHANGELOG.md @@ -1,3 +1,10 @@ +## @remix-pwa/sw 2.1.6 (2023-09-22) + + +### Bug Fixes + +* **dev:** updated file urls 4db7acf + ## @remix-pwa/sw 2.1.5 (2023-09-21) diff --git a/packages/sw/package.json b/packages/sw/package.json index fa832215..735fbfb1 100644 --- a/packages/sw/package.json +++ b/packages/sw/package.json @@ -1,6 +1,6 @@ { "name": "@remix-pwa/sw", - "version": "2.1.5", + "version": "2.1.6", "description": "Service Worker APIs and utilities for Remix PWA", "repository": { "type": "git", From 1a8ab02ccee8a5e457bb0d137c39883c9fa10877 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 22 Sep 2023 16:07:41 +0000 Subject: [PATCH 09/10] chore(release): @remix-pwa/dev@2.0.18 [skip ci] ## @remix-pwa/dev 2.0.18 (2023-09-22) ### Bug Fixes * **dev:** fixed path error on Windows e9f2959 * **dev:** updated file urls 4db7acf ### Dependencies * **@remix-pwa/worker-runtime:** upgraded to 2.0.5 --- packages/dev/CHANGELOG.md | 16 ++++++++++++++++ packages/dev/package.json | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/packages/dev/CHANGELOG.md b/packages/dev/CHANGELOG.md index db5c775d..cca39756 100644 --- a/packages/dev/CHANGELOG.md +++ b/packages/dev/CHANGELOG.md @@ -1,3 +1,19 @@ +## @remix-pwa/dev 2.0.18 (2023-09-22) + + +### Bug Fixes + +* **dev:** fixed path error on Windows e9f2959 +* **dev:** updated file urls 4db7acf + + + + + +### Dependencies + +* **@remix-pwa/worker-runtime:** upgraded to 2.0.5 + ## @remix-pwa/dev 2.0.17 (2023-09-21) diff --git a/packages/dev/package.json b/packages/dev/package.json index 389faa49..c0c446ea 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -1,6 +1,6 @@ { "name": "@remix-pwa/dev", - "version": "2.0.17", + "version": "2.0.18", "description": "An esbuild compiler for Service Workers in Remix.run", "repository": { "type": "git", @@ -33,7 +33,7 @@ ], "peerDependencies": { "@remix-run/dev": "^1.15.0 || ^2.0.0", - "@remix-pwa/worker-runtime": "^2.0.4" + "@remix-pwa/worker-runtime": "^2.0.5" }, "peerDependenciesMeta": { "@remix-run/dev": { @@ -54,7 +54,7 @@ }, "devDependencies": { "@remix-run/dev": "^2.0.0", - "@remix-pwa/worker-runtime": "^2.0.4", + "@remix-pwa/worker-runtime": "^2.0.5", "@remix-pwa/eslint-config": "^0.0.0", "@remix-pwa/lint-staged-config": "^0.0.0", "@types/fs-extra": "^11.0.2", From ff7764a60d19c5b26dda35fe54951e01d5a133f2 Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Date: Fri, 22 Sep 2023 19:40:22 +0100 Subject: [PATCH 10/10] ci(release): updated run command --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3260cc4c..2053b772 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,4 +38,4 @@ jobs: NODE_ENV: production HUSKY: 0 run: | - npx --package @semantic-release/exec --package @semantic-release/git --package @semantic-release/changelog --package semantic-release@${{ env.SEMANTIC_RELEASE_VERSION }} --package @qiwi/multi-semantic-release multi-semantic-release + npx --package @semantic-release/exec --package @semantic-release/release-notes-generator@11.0.7 --package @semantic-release/git --package @semantic-release/changelog --package semantic-release@${{ env.SEMANTIC_RELEASE_VERSION }} --package @qiwi/multi-semantic-release multi-semantic-release