diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index 62fa900dfa..5482a64686 100644 --- a/.github/workflows/docs-test.yml +++ b/.github/workflows/docs-test.yml @@ -39,6 +39,7 @@ jobs: run: yarn build env: NEXT_PUBLIC_BASE_URL: "http://localhost:3000" + NEXT_PUBLIC_BASE_PATH: /api NEXT_PUBLIC_DOCS_URL: "https://medusa-docs.vercel.app" NEXT_PUBLIC_UI_URL: "https://docs-ui.vercel.app" # TODO change once we have actual URLs @@ -317,7 +318,7 @@ jobs: - name: Get Directories to Scan if: ${{ steps.pr-files.outputs.files_lt_threshold == 'true' }} working-directory: www/vale - run: ./get-files.sh api-reference app/_mdx + run: ./get-files.sh api-reference markdown id: directories - name: Vale Linter diff --git a/www/.eslintrc.js b/www/.eslintrc.js deleted file mode 100644 index 78500800b5..0000000000 --- a/www/.eslintrc.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - root: true, - // This tells ESLint to load the config from the package `eslint-config-docs` - extends: ["docs"], - settings: { - next: { - rootDir: ["apps/*/"], - }, - }, -}; \ No newline at end of file diff --git a/www/apps/api-reference/.eslintrc.js b/www/apps/api-reference/.eslintrc.js deleted file mode 100644 index 44c231a8d4..0000000000 --- a/www/apps/api-reference/.eslintrc.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/next" - ], - settings: { - next: { - rootDir: ".", - }, - } -} diff --git a/www/apps/api-reference/app/admin/page.tsx b/www/apps/api-reference/app/admin/page.tsx index 619896df30..e6958853cc 100644 --- a/www/apps/api-reference/app/admin/page.tsx +++ b/www/apps/api-reference/app/admin/page.tsx @@ -1,11 +1,13 @@ +/* eslint-disable @typescript-eslint/ban-ts-comment */ import AreaProvider from "@/providers/area" -import AdminContent from "../_mdx/admin.mdx" +import AdminContent from "@/markdown/admin.mdx" import Tags from "@/components/Tags" import PageTitleProvider from "@/providers/page-title" import { H1 } from "docs-ui" import { getBaseSpecs } from "../../lib" import BaseSpecsProvider from "../../providers/base-specs" import clsx from "clsx" +import React from "react" const AdminPage = async () => { const data = await getBaseSpecs("admin") @@ -23,6 +25,7 @@ const AdminPage = async () => { > Medusa V2 Admin API Reference + {/* @ts-ignore React v19 doesn't see MDX as valid component */} diff --git a/www/apps/api-reference/app/download/[area]/route.ts b/www/apps/api-reference/app/download/[area]/route.ts index ccf60196e8..b14846f8d3 100644 --- a/www/apps/api-reference/app/download/[area]/route.ts +++ b/www/apps/api-reference/app/download/[area]/route.ts @@ -3,12 +3,13 @@ import { NextResponse } from "next/server" import path from "path" type DownloadParams = { - params: { + params: Promise<{ area: string - } + }> } -export function GET(request: Request, { params }: DownloadParams) { +export async function GET(request: Request, props: DownloadParams) { + const params = await props.params const { area } = params const filePath = path.join(process.cwd(), "specs", area, "openapi.full.yaml") diff --git a/www/apps/api-reference/app/store/page.tsx b/www/apps/api-reference/app/store/page.tsx index 96bc547536..7ea33394d5 100644 --- a/www/apps/api-reference/app/store/page.tsx +++ b/www/apps/api-reference/app/store/page.tsx @@ -1,5 +1,6 @@ +/* eslint-disable @typescript-eslint/ban-ts-comment */ import AreaProvider from "@/providers/area" -import StoreContent from "../_mdx/store.mdx" +import StoreContent from "@/markdown/store.mdx" import Tags from "@/components/Tags" import PageTitleProvider from "@/providers/page-title" import { H1 } from "docs-ui" @@ -23,6 +24,7 @@ const StorePage = async () => { > Medusa V2 Store API Reference + {/* @ts-ignore React v19 doesn't see MDX as valid component */} diff --git a/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Object/index.tsx b/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Object/index.tsx index d86f589989..edc0a7af4a 100644 --- a/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Object/index.tsx +++ b/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Object/index.tsx @@ -94,8 +94,8 @@ const TagOperationParametersObject = ({ properties[property2].isRequired ? 0 : properties[property1].isRequired - ? -1 - : 1 + ? -1 + : 1 } ) const content = ( diff --git a/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Union/index.tsx b/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Union/index.tsx index 5933951632..f3f96f387e 100644 --- a/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Union/index.tsx +++ b/www/apps/api-reference/components/Tags/Operation/Parameters/Types/Union/index.tsx @@ -36,8 +36,8 @@ const TagOperationParametersUnion = ({ const objectSchema = schema.anyOf ? schema.anyOf.find((item) => item.type === "object" && item.properties) : schema.allOf - ? mergeAllOfTypes(schema) - : undefined + ? mergeAllOfTypes(schema) + : undefined if (!objectSchema) { return ( diff --git a/www/apps/api-reference/components/Tags/Section/Schema/index.tsx b/www/apps/api-reference/components/Tags/Section/Schema/index.tsx index 0fd67bebd6..ffdd2885ae 100644 --- a/www/apps/api-reference/components/Tags/Section/Schema/index.tsx +++ b/www/apps/api-reference/components/Tags/Section/Schema/index.tsx @@ -116,6 +116,7 @@ const TagSectionSchema = ({ schema, tagName }: TagSectionSchemaProps) => { return ( { return ( - {tags?.map((tag) => ( - - ))} + {tags?.map((tag) => )} ) } diff --git a/www/apps/api-reference/eslint.config.mjs b/www/apps/api-reference/eslint.config.mjs new file mode 100644 index 0000000000..2ad4af2ffb --- /dev/null +++ b/www/apps/api-reference/eslint.config.mjs @@ -0,0 +1,205 @@ +import prettier from "eslint-plugin-prettier/recommended" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + prettier, + { + ignores: ["**/eslint-config-docs", "**/.eslintrc.js", "**/dist"], + }, + ...compat.extends( + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", + "plugin:react-hooks/recommended", + "plugin:@next/next/recommended" + ), + { + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + ...globals.browser, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + jsx: true, + modules: true, + }, + + project: true, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "error", + { + code: 80, + ignoreStrings: true, + ignoreRegExpLiterals: true, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + ignoreTemplateLiterals: true, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "error", + "eol-last": ["error", "always"], + + "no-console": [ + "error", + { + allow: ["error", "warn"], + }, + ], + + "react/prop-types": [ + 2, + { + ignore: ["className"], + }, + ], + }, + }, + ...compat + .extends( + "plugin:@typescript-eslint/recommended", + "plugin:react/recommended" + ) + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + })), + { + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + project: "./tsconfig.json", + }, + }, + settings: { + next: { + rootDir: ".", + }, + }, + ignores: [ + "**/next.config.js", + "**/spec", + "**/node_modules", + "**/public", + "**/.eslintrc.js", + ], + + rules: { + "react/react-in-jsx-scope": "off", + "@typescript-eslint/prefer-ts-expect-error": "off", + "valid-jsdoc": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/await-thenable": "error", + "@typescript-eslint/promise-function-async": "error", + "@/keyword-spacing": "error", + + "@/space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "@/space-infix-ops": "error", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + }, + }, +] diff --git a/www/apps/api-reference/app/_mdx/admin.mdx b/www/apps/api-reference/markdown/admin.mdx similarity index 100% rename from www/apps/api-reference/app/_mdx/admin.mdx rename to www/apps/api-reference/markdown/admin.mdx diff --git a/www/apps/api-reference/app/_mdx/client-libraries.mdx b/www/apps/api-reference/markdown/client-libraries.mdx similarity index 100% rename from www/apps/api-reference/app/_mdx/client-libraries.mdx rename to www/apps/api-reference/markdown/client-libraries.mdx diff --git a/www/apps/api-reference/app/_mdx/store.mdx b/www/apps/api-reference/markdown/store.mdx similarity index 100% rename from www/apps/api-reference/app/_mdx/store.mdx rename to www/apps/api-reference/markdown/store.mdx diff --git a/www/apps/api-reference/next.config.mjs b/www/apps/api-reference/next.config.mjs index 21f1820858..bdb0de2f37 100644 --- a/www/apps/api-reference/next.config.mjs +++ b/www/apps/api-reference/next.config.mjs @@ -1,10 +1,12 @@ -import mdx from "@next/mdx" +import createMDX from "@next/mdx" import bundleAnalyzer from "@next/bundle-analyzer" import rehypeMdxCodeProps from "rehype-mdx-code-props" import rehypeSlug from "rehype-slug" /** @type {import('next').NextConfig} */ const nextConfig = { + // Configure `pageExtensions` to include MDX files + pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"], basePath: process.env.NEXT_PUBLIC_BASE_PATH || "/api", webpack: (config) => { config.ignoreWarnings = [{ module: /node_modules\/keyv\/src\/index\.js/ }] @@ -23,8 +25,7 @@ const nextConfig = { }, } -const withMDX = mdx({ - extension: /\.mdx?$/, +const withMDX = createMDX({ options: { rehypePlugins: [ [ @@ -43,4 +44,4 @@ const withBundleAnalyzer = bundleAnalyzer({ enabled: process.env.ANALYZE_BUNDLE === "true", }) -export default withBundleAnalyzer(withMDX(nextConfig)) +export default withMDX(nextConfig) diff --git a/www/apps/api-reference/package.json b/www/apps/api-reference/package.json index 872eef6a21..d029286db5 100644 --- a/www/apps/api-reference/package.json +++ b/www/apps/api-reference/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "NODE_OPTIONS='--inspect' next dev", "dev:monorepo": "yarn dev -p 3000", "build": "next build", "build:dev": "NODE_ENV=test next build", @@ -13,40 +13,33 @@ "lint": "next lint --fix" }, "dependencies": { - "@mdx-js/loader": "^3.0.0", - "@mdx-js/react": "^3.0.0", + "@mdx-js/loader": "^3.1.0", + "@mdx-js/react": "^3.1.0", "@medusajs/icons": "^2.0.0", "@medusajs/ui": "^3.0.0", - "@next/mdx": "14.2.14", + "@next/mdx": "15.0.1", "@react-hook/resize-observer": "^2.0.2", "@readme/openapi-parser": "^2.5.0", - "@types/mapbox__rehype-prism": "^0.8.0", - "@types/mdx": "^2.0.5", - "@types/node": "20.4.5", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", - "@types/react-transition-group": "^4.4.6", "algoliasearch": "4", "autoprefixer": "10.4.14", "clsx": "^2.0.0", "docs-ui": "*", - "eslint-config-docs": "*", "jsdom": "^22.1.0", "json-schema": "^0.4.0", "json-stringify-pretty-compact": "^4.0.0", - "next": "^14.2.14", - "next-mdx-remote": "^4.4.1", + "next": "15.0.1", + "next-mdx-remote": "5.0.0", "openapi-sampler": "^1.3.1", "openapi-types": "^12.1.3", "pluralize": "^8.0.0", "postcss": "8.4.27", - "prism-react-renderer": "2.3.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-intersection-observer": "^9.5.3", - "react-tooltip": "^5.19.0", + "prism-react-renderer": "2.4.0", + "react": "rc", + "react-dom": "rc", + "react-intersection-observer": "^9.13.1", + "react-tooltip": "^5.28.0", "react-transition-group": "^4.4.5", - "rehype-mdx-code-props": "^2.0.0", + "rehype-mdx-code-props": "^3.0.1", "rehype-slug": "^6.0.0", "slugify": "^1.6.6", "swr": "^2.2.0", @@ -56,12 +49,24 @@ "yaml": "^2.3.1" }, "devDependencies": { - "@next/bundle-analyzer": "^14.2.14", + "@next/bundle-analyzer": "15.0.1", "@types/jsdom": "^21.1.1", + "@types/mapbox__rehype-prism": "^0.8.0", + "@types/mdx": "^2.0.13", + "@types/node": "20.4.5", "@types/pluralize": "^0.0.33", + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react@rc", + "eslint": "^9.13.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-react-hooks": "^5.0.0", "types": "*" }, "engines": { "node": ">=20" + }, + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" } } diff --git a/www/apps/api-reference/types/global.d.ts b/www/apps/api-reference/types/global.d.ts index 3747492a3e..e3c089e540 100644 --- a/www/apps/api-reference/types/global.d.ts +++ b/www/apps/api-reference/types/global.d.ts @@ -1,4 +1,4 @@ -export declare global { +declare global { interface Window { // eslint-disable-next-line @typescript-eslint/no-explicit-any analytics?: any diff --git a/www/apps/book/.content.eslint.mjs b/www/apps/book/.content.eslint.mjs new file mode 100644 index 0000000000..65f47a8b41 --- /dev/null +++ b/www/apps/book/.content.eslint.mjs @@ -0,0 +1,159 @@ +import prettier from "eslint-plugin-prettier" +import markdown from "eslint-plugin-markdown" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + { + ignores: [ + "**/references/**/*", + "**/events-reference/**/*", + "**/_events-table/**/*", + ], + }, + { + plugins: { + prettier, + markdown, + }, + + languageOptions: { + globals: { + ...globals.node, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + modules: true, + }, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + "no-undef": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + "no-unused-labels": "off", + "no-console": "off", + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "warn", + { + code: 64, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "off", + "eol-last": ["error", "always"], + "react/prop-types": "off", + "react/jsx-no-undef": "off", + }, + }, + { + files: ["**/*.md", "**/*.mdx"], + processor: "markdown/markdown", + }, + { + files: ["**/*.md/*.js", "**/*.mdx/*.js", "**/*.md/*.jsx", "**/*.mdx/*.jsx"], + }, + ...compat.extends("plugin:@typescript-eslint/recommended").map((config) => ({ + ...config, + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + })), + { + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + }, + + rules: { + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-var-requires": "off", + "prefer-rest-params": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/no-non-null-asserted-optional-chain": "off", + "@typescript-eslint/ban-types": "off", + }, + }, +] diff --git a/www/apps/book/.content.eslintrc.js b/www/apps/book/.content.eslintrc.js deleted file mode 100644 index fc843a3a5a..0000000000 --- a/www/apps/book/.content.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/content" - ], -} diff --git a/www/apps/book/.eslintrc.js b/www/apps/book/.eslintrc.js deleted file mode 100644 index ef48b51dd2..0000000000 --- a/www/apps/book/.eslintrc.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/next" - ], - settings: { - next: { - rootDir: ".", - }, - }, - ignorePatterns: [ - "generated" - ] -} diff --git a/www/apps/book/app/not-found.tsx b/www/apps/book/app/not-found.tsx index 36dfb6a183..43c7cacf99 100644 --- a/www/apps/book/app/not-found.tsx +++ b/www/apps/book/app/not-found.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/ban-ts-comment */ import { TightLayout } from "docs-ui" import Feedback from "../components/Feedback" import EditButton from "../components/EditButton" @@ -15,6 +16,7 @@ const NotFoundPage = () => { editComponent={} ProvidersComponent={Providers} > + {/* @ts-ignore React v19 doesn't recognize MDX import as component */} ) diff --git a/www/apps/book/components/Homepage/TopSection/index.tsx b/www/apps/book/components/Homepage/TopSection/index.tsx index 5f4f903bdd..c80bc9923d 100644 --- a/www/apps/book/components/Homepage/TopSection/index.tsx +++ b/www/apps/book/components/Homepage/TopSection/index.tsx @@ -1,4 +1,3 @@ -/* eslint-disable @next/next/no-img-element */ import clsx from "clsx" import { BookIcon, Card, IconHeadline, WindowPaintbrushIcon } from "docs-ui" import { basePathUrl } from "../../../utils/base-path-url" diff --git a/www/apps/book/eslint.config.mjs b/www/apps/book/eslint.config.mjs new file mode 100644 index 0000000000..0113bd8b20 --- /dev/null +++ b/www/apps/book/eslint.config.mjs @@ -0,0 +1,207 @@ +import prettier from "eslint-plugin-prettier/recommended" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + prettier, + { + ignores: ["**/eslint-config-docs", "**/.eslintrc.js", "**/dist"], + }, + ...compat.extends( + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", + "plugin:react-hooks/recommended", + "plugin:@next/next/recommended" + ), + { + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + ...globals.browser, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + jsx: true, + modules: true, + }, + + project: true, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "error", + { + code: 80, + ignoreStrings: true, + ignoreRegExpLiterals: true, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + ignoreTemplateLiterals: true, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "error", + "eol-last": ["error", "always"], + + "no-console": [ + "error", + { + allow: ["error", "warn"], + }, + ], + + "react/prop-types": [ + 2, + { + ignore: ["className"], + }, + ], + }, + }, + ...compat + .extends( + "plugin:@typescript-eslint/recommended", + "plugin:react/recommended" + ) + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + })), + { + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + project: "./tsconfig.json", + }, + }, + + settings: { + next: { + rootDir: ".", + }, + }, + ignores: [ + "**/next.config.js", + "**/spec", + "**/node_modules", + "**/public", + "**/.eslintrc.js", + ], + + rules: { + "react/react-in-jsx-scope": "off", + "@typescript-eslint/prefer-ts-expect-error": "off", + "valid-jsdoc": "off", + + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/await-thenable": "error", + "@typescript-eslint/promise-function-async": "error", + "@/keyword-spacing": "error", + + "@/space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "@/space-infix-ops": "error", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + }, + }, +] diff --git a/www/apps/book/package.json b/www/apps/book/package.json index 382a3c9eb0..38e662bb0f 100644 --- a/www/apps/book/package.json +++ b/www/apps/book/package.json @@ -10,33 +10,33 @@ "start": "next start", "start:monorepo": "yarn start -p 3001", "lint": "next lint --fix", - "lint:content": "eslint --no-eslintrc -c .content.eslintrc.js app/**/*.mdx --fix", + "lint:content": "eslint --no-config-lookup -c .content.eslint.mjs app/**/*.mdx --fix", "prep": "node ./scripts/prepare.mjs" }, "dependencies": { - "@mdx-js/loader": "^3.0.0", - "@mdx-js/react": "^3.0.0", + "@mdx-js/loader": "^3.1.0", + "@mdx-js/react": "^3.1.0", "@medusajs/icons": "^2.0.0", - "@next/mdx": "^14.2.14", + "@next/mdx": "15.0.1", "clsx": "^2.1.0", "docs-ui": "*", - "next": "14.2.14", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "next": "15.0.1", + "react": "rc", + "react-dom": "rc", "rehype-mdx-code-props": "^2.0.0", "rehype-slug": "^6.0.0", "remark-rehype-plugins": "*" }, "devDependencies": { - "@types/mdx": "^2.0.10", + "@types/mdx": "^2.0.13", "@types/node": "^20", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react@rc", "autoprefixer": "^10.0.1", "build-scripts": "*", - "eslint": "^8", - "eslint-config-docs": "*", - "eslint-config-next": "14.2.3", + "eslint": "^9.13.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-react-hooks": "^5.0.0", "postcss": "^8", "tailwind": "*", "tailwindcss": "^3.3.0", @@ -46,5 +46,9 @@ }, "engines": { "node": ">=20" + }, + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" } } diff --git a/www/apps/resources/.content.eslintrc.js b/www/apps/resources/.content.eslintrc.js deleted file mode 100644 index fc843a3a5a..0000000000 --- a/www/apps/resources/.content.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/content" - ], -} diff --git a/www/apps/resources/.content.eslintrc.mjs b/www/apps/resources/.content.eslintrc.mjs new file mode 100644 index 0000000000..65f47a8b41 --- /dev/null +++ b/www/apps/resources/.content.eslintrc.mjs @@ -0,0 +1,159 @@ +import prettier from "eslint-plugin-prettier" +import markdown from "eslint-plugin-markdown" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + { + ignores: [ + "**/references/**/*", + "**/events-reference/**/*", + "**/_events-table/**/*", + ], + }, + { + plugins: { + prettier, + markdown, + }, + + languageOptions: { + globals: { + ...globals.node, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + modules: true, + }, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + "no-undef": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + "no-unused-labels": "off", + "no-console": "off", + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "warn", + { + code: 64, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "off", + "eol-last": ["error", "always"], + "react/prop-types": "off", + "react/jsx-no-undef": "off", + }, + }, + { + files: ["**/*.md", "**/*.mdx"], + processor: "markdown/markdown", + }, + { + files: ["**/*.md/*.js", "**/*.mdx/*.js", "**/*.md/*.jsx", "**/*.mdx/*.jsx"], + }, + ...compat.extends("plugin:@typescript-eslint/recommended").map((config) => ({ + ...config, + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + })), + { + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + }, + + rules: { + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-var-requires": "off", + "prefer-rest-params": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/no-non-null-asserted-optional-chain": "off", + "@typescript-eslint/ban-types": "off", + }, + }, +] diff --git a/www/apps/resources/.eslintrc.js b/www/apps/resources/.eslintrc.js deleted file mode 100644 index ef48b51dd2..0000000000 --- a/www/apps/resources/.eslintrc.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/next" - ], - settings: { - next: { - rootDir: ".", - }, - }, - ignorePatterns: [ - "generated" - ] -} diff --git a/www/apps/resources/app/admin-components/components/action-menu/page.mdx b/www/apps/resources/app/admin-components/components/action-menu/page.mdx index d1dad26c8a..6abaadca0c 100644 --- a/www/apps/resources/app/admin-components/components/action-menu/page.mdx +++ b/www/apps/resources/app/admin-components/components/action-menu/page.mdx @@ -20,7 +20,7 @@ To create a component that shows this menu in your customizations, create the fi import { DropdownMenu, IconButton, - clx + clx, } from "@medusajs/ui" import { EllipsisHorizontal } from "@medusajs/icons" import { Link } from "react-router-dom" @@ -202,10 +202,10 @@ const ProductWidget = () => { label: "Edit", onClick: () => { alert("You clicked the edit action!") - } - } - ] - } + }, + }, + ], + }, ]} /> ) @@ -250,13 +250,13 @@ const ProductWidget = () => { label: "Edit", onClick: () => { alert("You clicked the edit action!") - } - } - ] - } - ] - } - } + }, + }, + ], + }, + ], + }, + }, ]} /> diff --git a/www/apps/resources/app/admin-components/components/container/page.mdx b/www/apps/resources/app/admin-components/components/container/page.mdx index a000513d34..07ce22b9d8 100644 --- a/www/apps/resources/app/admin-components/components/container/page.mdx +++ b/www/apps/resources/app/admin-components/components/container/page.mdx @@ -17,7 +17,7 @@ To create a component that uses the same container styling in your widgets or UI ```tsx import { Container as UiContainer, - clx + clx, } from "@medusajs/ui" type ContainerProps = React.ComponentProps diff --git a/www/apps/resources/app/admin-components/components/forms/page.mdx b/www/apps/resources/app/admin-components/components/forms/page.mdx index 469dcae57d..5051232fe2 100644 --- a/www/apps/resources/app/admin-components/components/forms/page.mdx +++ b/www/apps/resources/app/admin-components/components/forms/page.mdx @@ -38,24 +38,24 @@ import { Heading, Label, Input, - Button + Button, } from "@medusajs/ui" import { useForm, FormProvider, - Controller + Controller, } from "react-hook-form" import * as zod from "zod" const schema = zod.object({ - name: zod.string() + name: zod.string(), }) export const CreateForm = () => { const form = useForm>({ defaultValues: { - name: "" - } + name: "", + }, }) const handleSubmit = form.handleSubmit(({ name }) => { @@ -137,7 +137,7 @@ In `src/admin/components/create-form.tsx`, create a validation schema with Zod f import * as zod from "zod" const schema = zod.object({ - name: zod.string() + name: zod.string(), }) ``` @@ -158,8 +158,8 @@ import { useForm } from "react-hook-form" export const CreateForm = () => { const form = useForm>({ defaultValues: { - name: "" - } + name: "", + }, }) const handleSubmit = form.handleSubmit(({ name }) => { @@ -190,11 +190,11 @@ import { Heading, Label, Input, - Button + Button, } from "@medusajs/ui" import { FormProvider, - Controller + Controller, } from "react-hook-form" export const CreateForm = () => { @@ -290,8 +290,8 @@ const ProductWidget = () => { actions={[ { type: "custom", - children: - } + children: , + }, ]} /> @@ -323,24 +323,24 @@ import { Heading, Label, Input, - Button + Button, } from "@medusajs/ui" import { useForm, FormProvider, - Controller + Controller, } from "react-hook-form" import * as zod from "zod" const schema = zod.object({ - name: zod.string() + name: zod.string(), }) export const EditForm = () => { const form = useForm>({ defaultValues: { - name: "" - } + name: "", + }, }) const handleSubmit = form.handleSubmit(({ name }) => { @@ -416,7 +416,7 @@ In `src/admin/components/edit-form.tsx`, create a validation schema with Zod for import * as zod from "zod" const schema = zod.object({ - name: zod.string() + name: zod.string(), }) ``` @@ -437,8 +437,8 @@ import { useForm } from "react-hook-form" export const EditForm = () => { const form = useForm>({ defaultValues: { - name: "" - } + name: "", + }, }) const handleSubmit = form.handleSubmit(({ name }) => { @@ -469,11 +469,11 @@ import { Heading, Label, Input, - Button + Button, } from "@medusajs/ui" import { FormProvider, - Controller + Controller, } from "react-hook-form" export const EditForm = () => { @@ -563,8 +563,8 @@ const ProductWidget = () => { actions={[ { type: "custom", - children: - } + children: , + }, ]} /> diff --git a/www/apps/resources/app/admin-components/components/header/page.mdx b/www/apps/resources/app/admin-components/components/header/page.mdx index b5864d6b3e..38f13dea12 100644 --- a/www/apps/resources/app/admin-components/components/header/page.mdx +++ b/www/apps/resources/app/admin-components/components/header/page.mdx @@ -45,7 +45,7 @@ export type HeadingProps = { export const Header = ({ title, subtitle, - actions = [] + actions = [], }: HeadingProps) => { return (
@@ -172,9 +172,9 @@ const ProductWidget = () => { variant: "secondary", onClick: () => { alert("You clicked the button.") - } - } - } + }, + }, + }, ]} /> diff --git a/www/apps/resources/app/admin-components/components/json-view-section/page.mdx b/www/apps/resources/app/admin-components/components/json-view-section/page.mdx index bef5293d72..03ae2c0c9d 100644 --- a/www/apps/resources/app/admin-components/components/json-view-section/page.mdx +++ b/www/apps/resources/app/admin-components/components/json-view-section/page.mdx @@ -222,7 +222,7 @@ import { JsonViewSection } from "../components/json-view-section" const ProductWidget = () => { return } diff --git a/www/apps/resources/app/admin-components/components/table/page.mdx b/www/apps/resources/app/admin-components/components/table/page.mdx index 02087fb9e6..8296bf5fca 100644 --- a/www/apps/resources/app/admin-components/components/table/page.mdx +++ b/www/apps/resources/app/admin-components/components/table/page.mdx @@ -39,7 +39,7 @@ export const Table = ({ pageSize, count, currentPage, - setCurrentPage + setCurrentPage, }: TableProps) => { const pageCount = useMemo(() => { return Math.ceil(data.length / pageSize) @@ -200,7 +200,7 @@ const ProductWidget = () => { columns={[ { key: "name", - label: "Name" + label: "Name", }, { key: "is_enabled", @@ -213,18 +213,18 @@ const ProductWidget = () => { {isEnabled ? "Enabled" : "Disabled"} ) - } - } + }, + }, ]} data={[ { name: "John", - is_enabled: true + is_enabled: true, }, { name: "Jane", - is_enabled: false - } + is_enabled: false, + }, ]} pageSize={2} count={2} diff --git a/www/apps/resources/app/admin-components/layouts/two-column/page.mdx b/www/apps/resources/app/admin-components/layouts/two-column/page.mdx index dffcc0e68c..653c514f00 100644 --- a/www/apps/resources/app/admin-components/layouts/two-column/page.mdx +++ b/www/apps/resources/app/admin-components/layouts/two-column/page.mdx @@ -28,7 +28,7 @@ export type TwoColumnLayoutProps = { export const TwoColumnLayout = ({ firstCol, - secondCol + secondCol, }: TwoColumnLayoutProps) => { return (
diff --git a/www/apps/resources/app/architectural-modules/cache/create/page.mdx b/www/apps/resources/app/architectural-modules/cache/create/page.mdx index 8c26df2de2..97a0f639ca 100644 --- a/www/apps/resources/app/architectural-modules/cache/create/page.mdx +++ b/www/apps/resources/app/architectural-modules/cache/create/page.mdx @@ -167,6 +167,6 @@ module.exports = defineConfig({ ttl: 30, }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/cache/in-memory/page.mdx b/www/apps/resources/app/architectural-modules/cache/in-memory/page.mdx index 38d9585316..280910882d 100644 --- a/www/apps/resources/app/architectural-modules/cache/in-memory/page.mdx +++ b/www/apps/resources/app/architectural-modules/cache/in-memory/page.mdx @@ -37,7 +37,7 @@ module.exports = defineConfig({ // optional options }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/cache/redis/page.mdx b/www/apps/resources/app/architectural-modules/cache/redis/page.mdx index 8f3b06a197..0c67409f83 100644 --- a/www/apps/resources/app/architectural-modules/cache/redis/page.mdx +++ b/www/apps/resources/app/architectural-modules/cache/redis/page.mdx @@ -39,7 +39,7 @@ module.exports = defineConfig({ redisUrl: process.env.CACHE_REDIS_URL, }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/event/create/page.mdx b/www/apps/resources/app/architectural-modules/event/create/page.mdx index 0f47f55d33..829851ce5a 100644 --- a/www/apps/resources/app/architectural-modules/event/create/page.mdx +++ b/www/apps/resources/app/architectural-modules/event/create/page.mdx @@ -249,6 +249,6 @@ module.exports = defineConfig({ // any options }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/event/local/page.mdx b/www/apps/resources/app/architectural-modules/event/local/page.mdx index e3d31a9092..7c86bd6bbc 100644 --- a/www/apps/resources/app/architectural-modules/event/local/page.mdx +++ b/www/apps/resources/app/architectural-modules/event/local/page.mdx @@ -31,9 +31,9 @@ module.exports = defineConfig({ // ... modules: [ { - resolve: "@medusajs/medusa/event-bus-local" - } - ] + resolve: "@medusajs/medusa/event-bus-local", + }, + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/event/redis/page.mdx b/www/apps/resources/app/architectural-modules/event/redis/page.mdx index 584f9dda7b..9cbfb33d57 100644 --- a/www/apps/resources/app/architectural-modules/event/redis/page.mdx +++ b/www/apps/resources/app/architectural-modules/event/redis/page.mdx @@ -42,8 +42,8 @@ module.exports = defineConfig({ options: { redisUrl: process.env.EVENTS_REDIS_URL, }, - } - ] + }, + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/file/local/page.mdx b/www/apps/resources/app/architectural-modules/file/local/page.mdx index 7a16583d43..3b98c084de 100644 --- a/www/apps/resources/app/architectural-modules/file/local/page.mdx +++ b/www/apps/resources/app/architectural-modules/file/local/page.mdx @@ -54,7 +54,7 @@ module.exports = { ], }, }, - ] + ], } ``` diff --git a/www/apps/resources/app/architectural-modules/file/s3/page.mdx b/www/apps/resources/app/architectural-modules/file/s3/page.mdx index 95f802558c..9048850e23 100644 --- a/www/apps/resources/app/architectural-modules/file/s3/page.mdx +++ b/www/apps/resources/app/architectural-modules/file/s3/page.mdx @@ -141,7 +141,7 @@ module.exports = { ], }, }, - ] + ], } ``` @@ -370,7 +370,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` --- diff --git a/www/apps/resources/app/architectural-modules/notification/local/page.mdx b/www/apps/resources/app/architectural-modules/notification/local/page.mdx index 806bda5ac1..55deb810dc 100644 --- a/www/apps/resources/app/architectural-modules/notification/local/page.mdx +++ b/www/apps/resources/app/architectural-modules/notification/local/page.mdx @@ -49,7 +49,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/notification/page.mdx b/www/apps/resources/app/architectural-modules/notification/page.mdx index 120d8b4ce5..ff1d234382 100644 --- a/www/apps/resources/app/architectural-modules/notification/page.mdx +++ b/www/apps/resources/app/architectural-modules/notification/page.mdx @@ -54,7 +54,7 @@ module.exports = { ], }, }, - ] + ], } ``` diff --git a/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx b/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx index fcfe94883b..2ac858062f 100644 --- a/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx +++ b/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx @@ -62,7 +62,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/workflow-engine/in-memory/page.mdx b/www/apps/resources/app/architectural-modules/workflow-engine/in-memory/page.mdx index 6ef9849d7a..2918648ea4 100644 --- a/www/apps/resources/app/architectural-modules/workflow-engine/in-memory/page.mdx +++ b/www/apps/resources/app/architectural-modules/workflow-engine/in-memory/page.mdx @@ -33,8 +33,8 @@ module.exports = defineConfig({ // ... modules: [ { - resolve: "@medusajs/medusa/workflow-engine-inmemory" - } + resolve: "@medusajs/medusa/workflow-engine-inmemory", + }, ], }) ``` diff --git a/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx b/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx index 3790d000ba..a8904bcbd8 100644 --- a/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx +++ b/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx @@ -41,7 +41,7 @@ module.exports = defineConfig({ }, }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/commerce-modules/auth/module-options/page.mdx b/www/apps/resources/app/commerce-modules/auth/module-options/page.mdx index 99c84c7cf8..89c01c6ddc 100644 --- a/www/apps/resources/app/commerce-modules/auth/module-options/page.mdx +++ b/www/apps/resources/app/commerce-modules/auth/module-options/page.mdx @@ -48,7 +48,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/commerce-modules/customer/examples/page.mdx b/www/apps/resources/app/commerce-modules/customer/examples/page.mdx index 5e870b05a1..da6db151ec 100644 --- a/www/apps/resources/app/commerce-modules/customer/examples/page.mdx +++ b/www/apps/resources/app/commerce-modules/customer/examples/page.mdx @@ -195,7 +195,7 @@ export async function POST(request: MedusaRequest, res: MedusaResponse) { ```ts import { NextResponse } from "next/server" -// eslint-disable-next-line prettier/prettier + import { initialize as initializeCustomerModule } from "@medusajs/medusa/customer" export async function POST(request: Request) { diff --git a/www/apps/resources/app/commerce-modules/fulfillment/module-options/page.mdx b/www/apps/resources/app/commerce-modules/fulfillment/module-options/page.mdx index b79e8b529b..12108594ad 100644 --- a/www/apps/resources/app/commerce-modules/fulfillment/module-options/page.mdx +++ b/www/apps/resources/app/commerce-modules/fulfillment/module-options/page.mdx @@ -42,7 +42,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx b/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx index 16c0448f14..f06a9abedc 100644 --- a/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx +++ b/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx @@ -125,7 +125,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/commerce-modules/payment/payment-flow/page.mdx b/www/apps/resources/app/commerce-modules/payment/payment-flow/page.mdx index 3cd8eff6a4..93f5cc3807 100644 --- a/www/apps/resources/app/commerce-modules/payment/payment-flow/page.mdx +++ b/www/apps/resources/app/commerce-modules/payment/payment-flow/page.mdx @@ -44,7 +44,7 @@ Then, create a link between the payment collection and the resource it's storing ```ts import { ContainerRegistrationKeys, - Modules + Modules, } from "@medusajs/framework/utils" // ... @@ -56,11 +56,11 @@ const remoteLink = container.resolve( remoteLink.create({ [Modules.CART]: { - cart_id: "cart_123" + cart_id: "cart_123", }, [Modules.PAYMENT]: { - payment_collection_id: paymentCollection.id - } + payment_collection_id: paymentCollection.id, + }, }) ``` diff --git a/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx b/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx index c7ecf2ff29..fae08ff360 100644 --- a/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx +++ b/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx @@ -53,7 +53,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/commerce-modules/product/extend/page.mdx b/www/apps/resources/app/commerce-modules/product/extend/page.mdx index 8980bda480..cac8d545f7 100644 --- a/www/apps/resources/app/commerce-modules/product/extend/page.mdx +++ b/www/apps/resources/app/commerce-modules/product/extend/page.mdx @@ -68,13 +68,13 @@ Learn more about module links in [this guide](!docs!/module-links). Create the file `src/links/product-custom.ts` with the following content: ```ts title="src/links/product-custom.ts" -import { defineLink } from "@medusajs/framework/utils"; +import { defineLink } from "@medusajs/framework/utils" import HelloModule from "../modules/hello" import ProductModule from "@medusajs/medusa/product" export default defineLink( ProductModule.linkable.product, - HelloModule.linkable.custom, + HelloModule.linkable.custom ) ``` @@ -234,29 +234,29 @@ export const createCustomFromProductWorkflow = createWorkflow( (input: CreateCustomFromProductWorkflowInput) => { const customName = transform( { - input + input, }, (data) => data.input.additional_data.custom_name || "" ) const custom = createCustomStep({ - custom_name: customName + custom_name: customName, }) when(({ custom }), ({ custom }) => custom !== undefined) .then(() => { createRemoteLinkStep([{ [Modules.PRODUCT]: { - product_id: input.product.id + product_id: input.product.id, }, [HELLO_MODULE]: { - custom_id: custom.id - } + custom_id: custom.id, + }, }]) }) return new WorkflowResponse({ - custom + custom, }) } ) @@ -282,19 +282,19 @@ To consume the hook, create the file `src/workflow/hooks/product-created.ts` wit import { createProductsWorkflow } from "@medusajs/medusa/core-flows" import { createCustomFromProductWorkflow, - CreateCustomFromProductWorkflowInput + CreateCustomFromProductWorkflowInput, } from "../create-custom-from-product" createProductsWorkflow.hooks.productsCreated( async ({ products, additional_data }, { container }) => { const workflow = createCustomFromProductWorkflow(container) - for (let product of products) { + for (const product of products) { await workflow.run({ input: { product, - additional_data - } as CreateCustomFromProductWorkflowInput + additional_data, + } as CreateCustomFromProductWorkflowInput, }) } } @@ -556,16 +556,16 @@ const created = when({ ) .then(() => { const custom = createCustomStep({ - custom_name: input.additional_data.custom_name + custom_name: input.additional_data.custom_name, }) createRemoteLinkStep([{ [Modules.PRODUCT]: { - product_id: input.product.id + product_id: input.product.id, }, [HELLO_MODULE]: { - custom_id: custom.id - } + custom_id: custom.id, + }, }]) return custom @@ -628,7 +628,7 @@ const updated = when({ return new WorkflowResponse({ created, updated, - deleted + deleted, }) ``` @@ -646,19 +646,19 @@ Create the file `src/workflows/hooks/product-updated.ts` with the following cont import { updateProductsWorkflow } from "@medusajs/medusa/core-flows" import { UpdateCustomFromProductStepInput, - updateCustomFromProductWorkflow + updateCustomFromProductWorkflow, } from "../update-custom-from-product" updateProductsWorkflow.hooks.productsUpdated( async ({ products, additional_data }, { container }) => { const workflow = updateCustomFromProductWorkflow(container) - for (let product of products) { + for (const product of products) { await workflow.run({ input: { product, - additional_data - } as UpdateCustomFromProductStepInput + additional_data, + } as UpdateCustomFromProductStepInput, }) } } diff --git a/www/apps/resources/app/commerce-modules/promotion/extend/page.mdx b/www/apps/resources/app/commerce-modules/promotion/extend/page.mdx index 488c9b6691..64134f5909 100644 --- a/www/apps/resources/app/commerce-modules/promotion/extend/page.mdx +++ b/www/apps/resources/app/commerce-modules/promotion/extend/page.mdx @@ -68,13 +68,13 @@ Learn more about module links in [this guide](!docs!/module-links). Create the file `src/links/promotion-custom.ts` with the following content: ```ts title="src/links/promotion-custom.ts" -import { defineLink } from "@medusajs/framework/utils"; +import { defineLink } from "@medusajs/framework/utils" import HelloModule from "../modules/hello" import PromotionModule from "@medusajs/medusa/promotion" export default defineLink( PromotionModule.linkable.promotion, - HelloModule.linkable.custom, + HelloModule.linkable.custom ) ``` @@ -234,29 +234,29 @@ export const createCustomFromPromotionWorkflow = createWorkflow( (input: CreateCustomFromPromotionWorkflowInput) => { const customName = transform( { - input + input, }, (data) => data.input.additional_data.custom_name || "" ) const custom = createCustomStep({ - custom_name: customName + custom_name: customName, }) when(({ custom }), ({ custom }) => custom !== undefined) .then(() => { createRemoteLinkStep([{ [Modules.PROMOTION]: { - promotion_id: input.promotion.id + promotion_id: input.promotion.id, }, [HELLO_MODULE]: { - custom_id: custom.id - } + custom_id: custom.id, + }, }]) }) return new WorkflowResponse({ - custom + custom, }) } ) @@ -282,19 +282,19 @@ To consume the hook, create the file `src/workflow/hooks/promotion-created.ts` w import { createPromotionsWorkflow } from "@medusajs/medusa/core-flows" import { createCustomFromPromotionWorkflow, - CreateCustomFromPromotionWorkflowInput + CreateCustomFromPromotionWorkflowInput, } from "../create-custom-from-promotion" createPromotionsWorkflow.hooks.promotionsCreated( async ({ promotions, additional_data }, { container }) => { const workflow = createCustomFromPromotionWorkflow(container) - for (let promotion of promotions) { + for (const promotion of promotions) { await workflow.run({ input: { promotion, - additional_data - } as CreateCustomFromPromotionWorkflowInput + additional_data, + } as CreateCustomFromPromotionWorkflowInput, }) } } @@ -562,16 +562,16 @@ const created = when({ ) .then(() => { const custom = createCustomStep({ - custom_name: input.additional_data.custom_name + custom_name: input.additional_data.custom_name, }) createRemoteLinkStep([{ [Modules.PROMOTION]: { - promotion_id: input.promotion.id + promotion_id: input.promotion.id, }, [HELLO_MODULE]: { - custom_id: custom.id - } + custom_id: custom.id, + }, }]) return custom @@ -634,7 +634,7 @@ const updated = when({ return new WorkflowResponse({ created, updated, - deleted + deleted, }) ``` @@ -652,19 +652,19 @@ Create the file `src/workflows/hooks/promotion-updated.ts` with the following co import { updatePromotionsWorkflow } from "@medusajs/medusa/core-flows" import { UpdateCustomFromPromotionStepInput, - updateCustomFromPromotionWorkflow + updateCustomFromPromotionWorkflow, } from "../update-custom-from-promotion" updatePromotionsWorkflow.hooks.promotionsUpdated( async ({ promotions, additional_data }, { container }) => { const workflow = updateCustomFromPromotionWorkflow(container) - for (let promotion of promotions) { + for (const promotion of promotions) { await workflow.run({ input: { promotion, - additional_data - } as UpdateCustomFromPromotionStepInput + additional_data, + } as UpdateCustomFromPromotionStepInput, }) } } diff --git a/www/apps/resources/app/commerce-modules/tax/module-options/page.mdx b/www/apps/resources/app/commerce-modules/tax/module-options/page.mdx index a820d993f1..77722c9bdb 100644 --- a/www/apps/resources/app/commerce-modules/tax/module-options/page.mdx +++ b/www/apps/resources/app/commerce-modules/tax/module-options/page.mdx @@ -40,7 +40,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/commerce-modules/user/module-options/page.mdx b/www/apps/resources/app/commerce-modules/user/module-options/page.mdx index cbb218f53c..bbf8ff243a 100644 --- a/www/apps/resources/app/commerce-modules/user/module-options/page.mdx +++ b/www/apps/resources/app/commerce-modules/user/module-options/page.mdx @@ -28,7 +28,7 @@ module.exports = defineConfig({ jwt_secret: process.env.JWT_SECRET, }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/deployment/medusa-application/railway/page.mdx b/www/apps/resources/app/deployment/medusa-application/railway/page.mdx index b587e81124..16e6c220cc 100644 --- a/www/apps/resources/app/deployment/medusa-application/railway/page.mdx +++ b/www/apps/resources/app/deployment/medusa-application/railway/page.mdx @@ -158,7 +158,7 @@ module.exports = defineConfig({ }, }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/examples/page.mdx b/www/apps/resources/app/examples/page.mdx index 4ccda8d90c..0c342195a3 100644 --- a/www/apps/resources/app/examples/page.mdx +++ b/www/apps/resources/app/examples/page.mdx @@ -454,7 +454,7 @@ export default defineMiddlewares({ authenticate( "user", ["session", "bearer", "api-key"] - ) + ), ], }, ], @@ -480,7 +480,7 @@ export default defineMiddlewares({ { matcher: "/custom/customer*", middlewares: [ - authenticate("customer", ["session", "bearer"]) + authenticate("customer", ["session", "bearer"]), ], }, ], @@ -676,8 +676,8 @@ export default defineMiddlewares({ matcher: "/webhooks/*", bodyParser: { preserveRawBody: true }, method: ["POST"], - } - ] + }, + ], }) ``` @@ -762,8 +762,8 @@ module.exports = defineConfig({ modules: [ { resolve: "./modules/hello", - } - ] + }, + ], }) ``` @@ -790,11 +790,11 @@ export async function GET( ) const my_custom = await helloModuleService.createMyCustoms({ - name: "test" + name: "test", }) res.json({ - my_custom + my_custom, }) } ``` @@ -863,7 +863,7 @@ module.exports = defineConfig({ apiKey: true, }, }, - ] + ], }) ``` @@ -2043,7 +2043,7 @@ export const GET = async ( my_customs: myCustoms, count, take, - skip + skip, }) } ``` @@ -2915,7 +2915,7 @@ import { LoaderOptions, } from "@medusajs/framework/types" import { - ContainerRegistrationKeys + ContainerRegistrationKeys, } from "@medusajs/framework/utils" export default async function helloWorldLoader({ @@ -2972,7 +2972,7 @@ export default async function helloWorldLoader({ container.registerAdd( "custom_data", asValue({ - test: true + test: true, }) ) } @@ -3690,7 +3690,7 @@ To accept payment using the Payment Module's main service: ```ts import { ContainerRegistrationKeys, - Modules + Modules, } from "@medusajs/framework/utils" // ... @@ -3710,11 +3710,11 @@ const remoteLink = container.resolve( // create a link between the cart and payment collection remoteLink.create({ [Modules.CART]: { - cart_id: "cart_123" + cart_id: "cart_123", }, [Modules.PAYMENT]: { - payment_collection_id: paymentCollection.id - } + payment_collection_id: paymentCollection.id, + }, }) ``` @@ -3814,7 +3814,7 @@ import { } from "@medusajs/framework/types" import { QueryContext, - calculateAmountsWithTax + calculateAmountsWithTax, } from "@medusajs/framework/utils" // other imports... diff --git a/www/apps/resources/app/js-sdk/page.mdx b/www/apps/resources/app/js-sdk/page.mdx index a03d809b0b..f9addad25a 100644 --- a/www/apps/resources/app/js-sdk/page.mdx +++ b/www/apps/resources/app/js-sdk/page.mdx @@ -296,7 +296,7 @@ import { DetailWidgetProps, HttpTypes } from "@medusajs/framework/types" const ProductWidget = () => { const { data, isLoading } = useQuery({ queryFn: () => sdk.admin.product.list(), - queryKey: ["products"] + queryKey: ["products"], }) return ( @@ -331,17 +331,17 @@ import { sdk } from "../lib/config" import { DetailWidgetProps, HttpTypes } from "@medusajs/framework/types" const ProductWidget = ({ - data: productData + data: productData, }: DetailWidgetProps) => { const { mutateAsync } = useMutation({ mutationFn: (payload: HttpTypes.AdminUpdateProduct) => sdk.admin.product.update(productData.id, payload), - onSuccess: () => alert("updated product") + onSuccess: () => alert("updated product"), }) const handleUpdate = () => { mutateAsync({ - title: "New Product Title" + title: "New Product Title", }) } @@ -375,8 +375,8 @@ For example: ```ts highlights={[["2", "next"], ["3", "tags", "An array of tags to cache the data under."]]} sdk.store.product.list({}, { next: { - tags: ["products"] - } + tags: ["products"], + }, }) ``` @@ -385,7 +385,7 @@ The `tags` property accepts an array of tags that the data is cached under. Then, to purge the cache later, use Next.js's `revalidateTag` utility: ```ts -import { revalidateTag } from "next/cache"; +import { revalidateTag } from "next/cache" // ... diff --git a/www/apps/resources/app/recipes/commerce-automation/page.mdx b/www/apps/resources/app/recipes/commerce-automation/page.mdx index f8a48087ef..d70a02d68a 100644 --- a/www/apps/resources/app/recipes/commerce-automation/page.mdx +++ b/www/apps/resources/app/recipes/commerce-automation/page.mdx @@ -159,7 +159,7 @@ export const restockModelHighlights = [ { resolve: "./src/modules/restock-notification", }, - ] + ], }) ``` diff --git a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx index 920809d758..9a706dbd82 100644 --- a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx @@ -202,7 +202,7 @@ module.exports = defineConfig({ { resolve: "./src/modules/digital-product", }, - ] + ], }) ``` @@ -1545,7 +1545,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` @@ -2043,7 +2043,7 @@ module.exports = defineConfig({ ], }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/recipes/integrate-ecommerce-stack/page.mdx b/www/apps/resources/app/recipes/integrate-ecommerce-stack/page.mdx index 479f692d6c..9f47201ab9 100644 --- a/www/apps/resources/app/recipes/integrate-ecommerce-stack/page.mdx +++ b/www/apps/resources/app/recipes/integrate-ecommerce-stack/page.mdx @@ -128,7 +128,7 @@ export const serviceHighlights = [ apiKey: process.env.ERP_API_KEY, }, }, - ] + ], }) ``` diff --git a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx index b9c952c414..4092557e47 100644 --- a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx +++ b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx @@ -168,7 +168,7 @@ module.exports = defineConfig({ { resolve: "./src/modules/restaurant", }, - ] + ], }) ``` @@ -312,7 +312,7 @@ module.exports = defineConfig({ { resolve: "./src/modules/delivery", }, - ] + ], }) ``` diff --git a/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx b/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx index 26d6b0e158..7c38022eaf 100644 --- a/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx +++ b/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx @@ -148,7 +148,7 @@ module.exports = defineConfig({ { resolve: "./src/modules/marketplace", }, - ] + ], }) ``` @@ -1151,7 +1151,7 @@ import { useQueryGraphStep, createRemoteLinkStep, completeCartWorkflow, - getOrderDetailWorkflow + getOrderDetailWorkflow, } from "@medusajs/medusa/core-flows" import groupVendorItemsStep from "./steps/group-vendor-items" import createVendorOrdersStep from "./steps/create-vendor-orders" @@ -1194,8 +1194,8 @@ const createVendorOrdersWorkflow = createWorkflow( "shipping_address.*", "billing_address.*", "shipping_methods.*", - ] - } + ], + }, }) const { diff --git a/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx b/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx index f3a35c6a9b..865549c69a 100644 --- a/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx @@ -166,7 +166,7 @@ module.exports = defineConfig({ { resolve: "./src/modules/subscription", }, - ] + ], }) ``` diff --git a/www/apps/resources/app/references/[...slug]/page.tsx b/www/apps/resources/app/references/[...slug]/page.tsx index 92040d5a4e..b9c75500c1 100644 --- a/www/apps/resources/app/references/[...slug]/page.tsx +++ b/www/apps/resources/app/references/[...slug]/page.tsx @@ -14,12 +14,13 @@ import { slugChanges } from "../../../generated/slug-changes.mjs" import { filesMap } from "../../../generated/files-map.mjs" type PageProps = { - params: { + params: Promise<{ slug: string[] - } + }> } -export default async function ReferencesPage({ params }: PageProps) { +export default async function ReferencesPage(props: PageProps) { + const params = await props.params const { slug } = params // ensure that Vercel loads references files diff --git a/www/apps/resources/eslint.config.mjs b/www/apps/resources/eslint.config.mjs new file mode 100644 index 0000000000..0113bd8b20 --- /dev/null +++ b/www/apps/resources/eslint.config.mjs @@ -0,0 +1,207 @@ +import prettier from "eslint-plugin-prettier/recommended" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + prettier, + { + ignores: ["**/eslint-config-docs", "**/.eslintrc.js", "**/dist"], + }, + ...compat.extends( + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", + "plugin:react-hooks/recommended", + "plugin:@next/next/recommended" + ), + { + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + ...globals.browser, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + jsx: true, + modules: true, + }, + + project: true, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "error", + { + code: 80, + ignoreStrings: true, + ignoreRegExpLiterals: true, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + ignoreTemplateLiterals: true, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "error", + "eol-last": ["error", "always"], + + "no-console": [ + "error", + { + allow: ["error", "warn"], + }, + ], + + "react/prop-types": [ + 2, + { + ignore: ["className"], + }, + ], + }, + }, + ...compat + .extends( + "plugin:@typescript-eslint/recommended", + "plugin:react/recommended" + ) + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + })), + { + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + project: "./tsconfig.json", + }, + }, + + settings: { + next: { + rootDir: ".", + }, + }, + ignores: [ + "**/next.config.js", + "**/spec", + "**/node_modules", + "**/public", + "**/.eslintrc.js", + ], + + rules: { + "react/react-in-jsx-scope": "off", + "@typescript-eslint/prefer-ts-expect-error": "off", + "valid-jsdoc": "off", + + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/await-thenable": "error", + "@typescript-eslint/promise-function-async": "error", + "@/keyword-spacing": "error", + + "@/space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "@/space-infix-ops": "error", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + }, + }, +] diff --git a/www/apps/resources/package.json b/www/apps/resources/package.json index 4bda09ca1b..3ee3aef011 100644 --- a/www/apps/resources/package.json +++ b/www/apps/resources/package.json @@ -9,33 +9,33 @@ "start": "next start", "start:monorepo": "yarn start -p 3003", "lint": "next lint --fix", - "lint:content": "eslint --no-eslintrc -c .content.eslintrc.js app/**/*.mdx --fix", + "lint:content": "eslint --no-config-lookup -c .content.eslintrc.mjs app/**/*.mdx --fix", "prep": "node ./scripts/prepare.mjs" }, "dependencies": { - "@mdx-js/loader": "^3.0.1", - "@mdx-js/react": "^3.0.1", + "@mdx-js/loader": "^3.1.0", + "@mdx-js/react": "^3.1.0", "@medusajs/icons": "^2.0.0", - "@next/mdx": "^14.2.14", + "@next/mdx": "15.0.1", "clsx": "^2.1.0", "docs-ui": "*", - "next": "14.2.14", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "next": "15.0.1", + "react": "rc", + "react-dom": "rc", "rehype-mdx-code-props": "^2.0.0", "remark-directive": "^3.0.0", "remark-frontmatter": "^5.0.0" }, "devDependencies": { - "@types/mdx": "^2.0.11", + "@types/mdx": "^2.0.13", "@types/node": "^20", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react@rc", "autoprefixer": "^10.0.1", "build-scripts": "*", - "eslint": "^8", - "eslint-config-docs": "*", - "eslint-config-next": "14.2.3", + "eslint": "^9.13.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-react-hooks": "^5.0.0", "postcss": "^8", "remark-rehype-plugins": "*", "tailwind": "*", @@ -47,5 +47,9 @@ }, "engines": { "node": ">=20" + }, + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" } } diff --git a/www/apps/ui/.content.eslintrc.js b/www/apps/ui/.content.eslintrc.js deleted file mode 100644 index fc843a3a5a..0000000000 --- a/www/apps/ui/.content.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/content" - ], -} diff --git a/www/apps/ui/.content.eslintrc.mjs b/www/apps/ui/.content.eslintrc.mjs new file mode 100644 index 0000000000..e89fdc8c22 --- /dev/null +++ b/www/apps/ui/.content.eslintrc.mjs @@ -0,0 +1,160 @@ +import prettier from "eslint-plugin-prettier" +import markdown from "eslint-plugin-markdown" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + { + ignores: [ + "**/references/**/*", + "**/events-reference/**/*", + "**/_events-table/**/*", + ], + }, + { + plugins: { + prettier, + markdown, + }, + + languageOptions: { + globals: { + ...globals.node, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + modules: true, + }, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + "no-undef": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + "no-unused-labels": "off", + "no-console": "off", + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "warn", + { + code: 64, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "off", + "eol-last": ["error", "always"], + "react/prop-types": "off", + "react/jsx-no-undef": "off", + }, + }, + { + files: ["**/*.md", "**/*.mdx"], + processor: "markdown/markdown", + }, + { + files: ["**/*.md/*.js", "**/*.mdx/*.js", "**/*.md/*.jsx", "**/*.mdx/*.jsx"], + }, + ...compat.extends("plugin:@typescript-eslint/recommended").map((config) => ({ + ...config, + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + })), + { + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + }, + + rules: { + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-var-requires": "off", + "prefer-rest-params": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/no-non-null-asserted-optional-chain": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-require-imports": "warn", + }, + }, +] diff --git a/www/apps/ui/.eslintrc.js b/www/apps/ui/.eslintrc.js deleted file mode 100644 index 71627ec4f7..0000000000 --- a/www/apps/ui/.eslintrc.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/next" - ], - overrides: [ - { - files: ["src/examples/*.tsx"], - rules: { - "@typescript-eslint/no-empty-function": "off", - "no-console": "off" - } - } - ], -} diff --git a/www/apps/ui/eslint.config.mjs b/www/apps/ui/eslint.config.mjs new file mode 100644 index 0000000000..a8b18b3ea1 --- /dev/null +++ b/www/apps/ui/eslint.config.mjs @@ -0,0 +1,212 @@ +import prettier from "eslint-plugin-prettier/recommended" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + prettier, + { + ignores: [ + "**/eslint-config-docs", + "**/.eslintrc.js", + "**/dist", + "src/examples", + ], + }, + ...compat.extends( + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", + "plugin:react-hooks/recommended", + "plugin:@next/next/recommended" + ), + { + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + ...globals.browser, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + jsx: true, + modules: true, + }, + + project: true, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "error", + { + code: 80, + ignoreStrings: true, + ignoreRegExpLiterals: true, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + ignoreTemplateLiterals: true, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "error", + "eol-last": ["error", "always"], + + "no-console": [ + "error", + { + allow: ["error", "warn"], + }, + ], + + "react/prop-types": [ + 2, + { + ignore: ["className"], + }, + ], + }, + }, + ...compat + .extends( + "plugin:@typescript-eslint/recommended", + "plugin:react/recommended" + ) + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + })), + { + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + project: "./tsconfig.json", + }, + }, + + settings: { + next: { + rootDir: ".", + }, + }, + ignores: [ + "**/next.config.js", + "**/spec", + "**/node_modules", + "**/public", + "**/.eslintrc.js", + ], + + rules: { + "react/react-in-jsx-scope": "off", + "@typescript-eslint/prefer-ts-expect-error": "off", + "valid-jsdoc": "off", + + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/await-thenable": "error", + "@typescript-eslint/promise-function-async": "error", + "@/keyword-spacing": "error", + + "@/space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "@/space-infix-ops": "error", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + }, + }, +] diff --git a/www/apps/ui/package.json b/www/apps/ui/package.json index 602659a88c..4a111bf3b4 100644 --- a/www/apps/ui/package.json +++ b/www/apps/ui/package.json @@ -10,33 +10,26 @@ "start:monorepo": "yarn start -p 3002", "lint": "next lint --fix", "copy-colors": "ts-node ./scripts/copy-colors.ts", - "lint:content": "eslint --no-eslintrc -c .content.eslintrc.js src/content/docs --fix" + "lint:content": "eslint --no-config-lookup -c .content.eslintrc.mjs src/content/docs --fix" }, "dependencies": { "@faker-js/faker": "^8.0.2", + "@mdx-js/react": "^3.1.0", "@medusajs/icons": "^2.0.0", "@medusajs/ui": "^4.0.0", "@medusajs/ui-preset": "^1.1.3", - "@radix-ui/react-dialog": "1.0.4", - "@radix-ui/react-scroll-area": "^1.0.4", - "@radix-ui/react-tabs": "^1.0.4", - "@types/node": "20.4.9", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", "autoprefixer": "10.4.14", "clsx": "^2.0.0", "contentlayer": "^0.3.4", "date-fns": "^3.3.1", "docs-ui": "*", - "eslint-config-docs": "*", "mdast-util-toc": "^7.0.0", - "next": "^14.2.14", + "next": "15.0.1", "next-contentlayer": "^0.3.4", "next-themes": "^0.2.1", "postcss": "8.4.27", - "react": "18.2.0", - "react-day-picker": "^8.10.0", - "react-dom": "18.2.0", + "react": "rc", + "react-dom": "rc", "rehype-slug": "^6.0.0", "remark": "^14.0.3", "tailwind": "*", @@ -46,12 +39,21 @@ "unist-util-visit": "4.1.2" }, "devDependencies": { - "eslint": "^8.49.0", - "react-docgen": "^7.0.1", + "@types/node": "20.4.9", + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react@rc", + "eslint": "^9.13.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-react-hooks": "^5.0.0", + "react-docgen": "^7.1.0", "ts-node": "^10.9.1", "types": "*" }, "engines": { "node": ">=20" + }, + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" } } diff --git a/www/apps/ui/src/app/(content)/[[...slug]]/page.tsx b/www/apps/ui/src/app/(content)/[[...slug]]/page.tsx index d6eaff6035..5ce4f9b1cc 100644 --- a/www/apps/ui/src/app/(content)/[[...slug]]/page.tsx +++ b/www/apps/ui/src/app/(content)/[[...slug]]/page.tsx @@ -7,27 +7,26 @@ import { siteConfig } from "@/config/site" import { Metadata } from "next" interface DocPageProps { - params: { + params: Promise<{ slug: string[] - } + }> } -async function getDocFromParams({ params }: DocPageProps) { +async function getDocFromParams(props: DocPageProps) { + const params = await props.params const slug = params.slug?.join("/") || "" const doc = allDocs.find((doc) => doc.slugAsParams === slug) if (!doc) { - null + return } return doc } -export async function generateMetadata({ - params, -}: DocPageProps): Promise { - const doc = await getDocFromParams({ params }) +export async function generateMetadata(props: DocPageProps): Promise { + const doc = await getDocFromParams(props) if (!doc) { return {} @@ -44,16 +43,14 @@ export async function generateMetadata({ } } -export async function generateStaticParams(): Promise< - DocPageProps["params"][] -> { +export async function generateStaticParams() { return allDocs.map((doc) => ({ slug: doc.slugAsParams.split("/"), })) } -export default async function DocPage({ params }: DocPageProps) { - const doc = await getDocFromParams({ params }) +export default async function DocPage(props: DocPageProps) { + const doc = await getDocFromParams(props) if (!doc) { notFound() diff --git a/www/apps/ui/src/app/not-found.tsx b/www/apps/ui/src/app/not-found.tsx index a57b1bcdec..01263b094a 100644 --- a/www/apps/ui/src/app/not-found.tsx +++ b/www/apps/ui/src/app/not-found.tsx @@ -7,6 +7,7 @@ import { ComputerDesktopSolid, BuildingStorefront, } from "@medusajs/icons" +import React from "react" const H1 = MDXComponents.h1! const P = MDXComponents.p! @@ -18,8 +19,11 @@ export const metadata: Metadata = { export default function NotFound() { return (
+ {/* @ts-expect-error React v19 doesn't recognize these as elements. */}

Page Not Found

+ {/* @ts-expect-error React v19 doesn't recognize these as elements. */}

The page you were looking for isn't available.

+ {/* @ts-expect-error React v19 doesn't recognize these as elements. */}

If you think this is a mistake, please diff --git a/www/apps/ui/src/components/component-example.tsx b/www/apps/ui/src/components/component-example.tsx index 6b1aa1082d..1dd96a20ad 100644 --- a/www/apps/ui/src/components/component-example.tsx +++ b/www/apps/ui/src/components/component-example.tsx @@ -28,7 +28,7 @@ export function ComponentExample({ }, [name]) const CodeElement = children as React.ReactElement - const Code = CodeElement.props.code + const Code = (CodeElement.props as Record).code return (

diff --git a/www/apps/ui/src/components/icon-search.tsx b/www/apps/ui/src/components/icon-search.tsx index 570881e4bc..2546a19ffa 100644 --- a/www/apps/ui/src/components/icon-search.tsx +++ b/www/apps/ui/src/components/icon-search.tsx @@ -8,7 +8,7 @@ import * as React from "react" const iconNames = Object.keys(Icons).filter((name) => name !== "default") -const IconSearch = React.memo(function IconSearch() { +const IconSearch = () => { const [query, setQuery] = React.useState("") return ( @@ -23,7 +23,7 @@ const IconSearch = React.memo(function IconSearch() {
) -}) +} const SearchResults = ({ query = "" }: { query?: string }) => { const cleanQuery = escapeStringRegexp(query.trim().replace(/\s/g, " ")) diff --git a/www/apps/user-guide/.content.eslintrc.js b/www/apps/user-guide/.content.eslintrc.js deleted file mode 100644 index fc843a3a5a..0000000000 --- a/www/apps/user-guide/.content.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/content" - ], -} diff --git a/www/apps/user-guide/.content.eslintrc.mjs b/www/apps/user-guide/.content.eslintrc.mjs new file mode 100644 index 0000000000..65f47a8b41 --- /dev/null +++ b/www/apps/user-guide/.content.eslintrc.mjs @@ -0,0 +1,159 @@ +import prettier from "eslint-plugin-prettier" +import markdown from "eslint-plugin-markdown" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + { + ignores: [ + "**/references/**/*", + "**/events-reference/**/*", + "**/_events-table/**/*", + ], + }, + { + plugins: { + prettier, + markdown, + }, + + languageOptions: { + globals: { + ...globals.node, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + modules: true, + }, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + "no-undef": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + "no-unused-labels": "off", + "no-console": "off", + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "warn", + { + code: 64, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "off", + "eol-last": ["error", "always"], + "react/prop-types": "off", + "react/jsx-no-undef": "off", + }, + }, + { + files: ["**/*.md", "**/*.mdx"], + processor: "markdown/markdown", + }, + { + files: ["**/*.md/*.js", "**/*.mdx/*.js", "**/*.md/*.jsx", "**/*.mdx/*.jsx"], + }, + ...compat.extends("plugin:@typescript-eslint/recommended").map((config) => ({ + ...config, + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + })), + { + files: ["**/*.md/*.ts", "**/*.mdx/*.ts", "**/*.md/*.tsx", "**/*.mdx/*.tsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + }, + + rules: { + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-var-requires": "off", + "prefer-rest-params": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/no-non-null-asserted-optional-chain": "off", + "@typescript-eslint/ban-types": "off", + }, + }, +] diff --git a/www/apps/user-guide/.eslintrc.js b/www/apps/user-guide/.eslintrc.js deleted file mode 100644 index ef48b51dd2..0000000000 --- a/www/apps/user-guide/.eslintrc.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs/next" - ], - settings: { - next: { - rootDir: ".", - }, - }, - ignorePatterns: [ - "generated" - ] -} diff --git a/www/apps/user-guide/eslint.config.mjs b/www/apps/user-guide/eslint.config.mjs new file mode 100644 index 0000000000..0113bd8b20 --- /dev/null +++ b/www/apps/user-guide/eslint.config.mjs @@ -0,0 +1,207 @@ +import prettier from "eslint-plugin-prettier/recommended" +import globals from "globals" +import babelParser from "@babel/eslint-parser" +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin" +import tsParser from "@typescript-eslint/parser" +import path from "node:path" +import { fileURLToPath } from "node:url" +import js from "@eslint/js" +import { FlatCompat } from "@eslint/eslintrc" + +const __filename = fileURLToPath(import.meta.url) +const __dirname = path.dirname(__filename) +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all, +}) + +export default [ + prettier, + { + ignores: ["**/eslint-config-docs", "**/.eslintrc.js", "**/dist"], + }, + ...compat.extends( + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", + "plugin:react-hooks/recommended", + "plugin:@next/next/recommended" + ), + { + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + ...globals.browser, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + jsx: true, + modules: true, + }, + + project: true, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": [ + "error", + { + code: 80, + ignoreStrings: true, + ignoreRegExpLiterals: true, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + ignoreTemplateLiterals: true, + }, + ], + + semi: ["error", "never"], + + quotes: [ + "error", + "double", + { + allowTemplateLiterals: true, + }, + ], + + "comma-dangle": [ + "error", + { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }, + ], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": [ + "error", + { + allowParens: false, + }, + ], + + "space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "space-infix-ops": "error", + "eol-last": ["error", "always"], + + "no-console": [ + "error", + { + allow: ["error", "warn"], + }, + ], + + "react/prop-types": [ + 2, + { + ignore: ["className"], + }, + ], + }, + }, + ...compat + .extends( + "plugin:@typescript-eslint/recommended", + "plugin:react/recommended" + ) + .map((config) => ({ + ...config, + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + })), + { + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + project: "./tsconfig.json", + }, + }, + + settings: { + next: { + rootDir: ".", + }, + }, + ignores: [ + "**/next.config.js", + "**/spec", + "**/node_modules", + "**/public", + "**/.eslintrc.js", + ], + + rules: { + "react/react-in-jsx-scope": "off", + "@typescript-eslint/prefer-ts-expect-error": "off", + "valid-jsdoc": "off", + + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/await-thenable": "error", + "@typescript-eslint/promise-function-async": "error", + "@/keyword-spacing": "error", + + "@/space-before-function-paren": [ + "error", + { + anonymous: "always", + named: "never", + asyncArrow: "always", + }, + ], + + "@/space-infix-ops": "error", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + }, + }, +] diff --git a/www/apps/user-guide/package.json b/www/apps/user-guide/package.json index 7e9eb86b88..1d187686bf 100644 --- a/www/apps/user-guide/package.json +++ b/www/apps/user-guide/package.json @@ -10,19 +10,19 @@ "start": "next start", "start:monorepo": "yarn start -p 3004", "lint": "next lint --fix", - "lint:content": "eslint --no-eslintrc -c .content.eslintrc.js app/**/*.mdx --fix", + "lint:content": "eslint --no-config-lookup -c .content.eslintrc.mjs app/**/*.mdx --fix", "prep": "node ./scripts/prepare.mjs" }, "dependencies": { - "@mdx-js/loader": "^3.0.0", - "@mdx-js/react": "^3.0.0", + "@mdx-js/loader": "^3.1.0", + "@mdx-js/react": "^3.1.0", "@medusajs/icons": "^2.0.0", - "@next/mdx": "^14.2.14", + "@next/mdx": "15.0.1", "clsx": "^2.1.0", "docs-ui": "*", - "next": "14.2.14", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "next": "15.0.1", + "react": "rc", + "react-dom": "rc", "rehype-mdx-code-props": "^2.0.0", "rehype-slug": "^6.0.0", "remark-directive": "^3.0.0", @@ -30,15 +30,15 @@ "remark-rehype-plugins": "*" }, "devDependencies": { - "@types/mdx": "^2.0.10", + "@types/mdx": "^2.0.13", "@types/node": "^20", - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react@rc", "autoprefixer": "^10.0.1", "build-scripts": "*", - "eslint": "^8", - "eslint-config-docs": "*", - "eslint-config-next": "14.2.3", + "eslint": "^9.13.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-react-hooks": "^5.0.0", "postcss": "^8", "tailwind": "*", "tailwindcss": "^3.3.0", @@ -48,5 +48,9 @@ }, "engines": { "node": ">=20" + }, + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" } } diff --git a/www/eslint.config.mjs b/www/eslint.config.mjs new file mode 100644 index 0000000000..d2120e9eee --- /dev/null +++ b/www/eslint.config.mjs @@ -0,0 +1,160 @@ +import prettier from "eslint-plugin-prettier/recommended"; +import globals from "globals"; +import babelParser from "@babel/eslint-parser"; +import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin"; +import tsParser from "@typescript-eslint/parser"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import js from "@eslint/js"; +import { FlatCompat } from "@eslint/eslintrc"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all +}); + +export default [ + prettier, + { + ignores: ["**/dist", "**/build"], +}, ...compat.extends( + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", +), { + + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + ...globals.browser, + }, + + parser: babelParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + requireConfigFile: false, + + ecmaFeatures: { + experimentalDecorators: true, + jsx: true, + modules: true + }, + + project: true, + }, + }, + + settings: { + react: { + version: "detect", + }, + }, + + rules: { + curly: ["error", "all"], + "new-cap": "off", + "require-jsdoc": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + camelcase: "off", + "no-invalid-this": "off", + + "max-len": ["error", { + code: 80, + ignoreStrings: true, + ignoreRegExpLiterals: true, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + ignoreTemplateLiterals: true, + }], + + semi: ["error", "never"], + + quotes: ["error", "double", { + allowTemplateLiterals: true, + }], + + "comma-dangle": ["error", { + arrays: "always-multiline", + objects: "always-multiline", + imports: "always-multiline", + exports: "always-multiline", + functions: "never", + }], + + "object-curly-spacing": ["error", "always"], + "arrow-parens": ["error", "always"], + "linebreak-style": 0, + + "no-confusing-arrow": ["error", { + allowParens: false, + }], + + "space-before-function-paren": ["error", { + anonymous: "always", + named: "never", + asyncArrow: "always", + }], + + "space-infix-ops": "error", + "eol-last": ["error", "always"], + + "no-console": ["error", { + allow: ["error", "warn"], + }], + + "react/prop-types": [2, { + ignore: ["className"], + }], + }, +}, ...compat.extends("plugin:@typescript-eslint/recommended", "plugin:react/recommended").map(config => ({ + ...config, + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], +})), { + files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], + + plugins: { + "@typescript-eslint": typescriptEslintEslintPlugin, + }, + + languageOptions: { + parser: tsParser, + ecmaVersion: 13, + sourceType: "module", + + parserOptions: { + project: "./tsconfig.json", + }, + }, + + rules: { + "valid-jsdoc": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/await-thenable": "error", + "@typescript-eslint/promise-function-async": "error", + "@/keyword-spacing": "error", + + "@/space-before-function-paren": ["error", { + anonymous: "always", + named: "never", + asyncArrow: "always", + }], + + "@/space-infix-ops": "error", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + }, + settings: { + next: { + rootDir: ["apps/*/"], + }, + }, +}]; \ No newline at end of file diff --git a/www/package.json b/www/package.json index d009ead948..865b07f972 100644 --- a/www/package.json +++ b/www/package.json @@ -20,13 +20,25 @@ }, "dependencies": { "autoprefixer": "10.4.14", - "eslint": "^8.36.0", + "eslint": "^9.13.0", "postcss": "8.4.27", - "prettier": "^2.8.4", + "prettier": "^3.3.3", "tailwindcss": "3.3.3", "tsconfig": "*", "turbo": "latest" }, + "devDependencies": { + "@babel/eslint-parser": "^7.25.9", + "@eslint/js": "9.13.0", + "@types/eslint__js": "8.42.3", + "eslint-config-next": "15.0.1", + "eslint-config-prettier": "9.1.0", + "eslint-config-turbo": "2.2.3", + "eslint-plugin-markdown": "5.1.0", + "eslint-plugin-prettier": "5.2.1", + "eslint-plugin-react": "7.37.2", + "typescript-eslint": "8.11.0" + }, "engines": { "node": ">=18.17.0" } diff --git a/www/packages/build-scripts/.eslintrc.cjs b/www/packages/build-scripts/.eslintrc.cjs deleted file mode 100644 index 81f8b29932..0000000000 --- a/www/packages/build-scripts/.eslintrc.cjs +++ /dev/null @@ -1,9 +0,0 @@ -const path = require("path") - -module.exports = { - extends: ["docs"], - parserOptions: { - project: true, - tsconfigRootDir: path.join(__dirname, "..", ".."), - }, -} diff --git a/www/packages/build-scripts/package.json b/www/packages/build-scripts/package.json index 7f6f60a367..487155176b 100644 --- a/www/packages/build-scripts/package.json +++ b/www/packages/build-scripts/package.json @@ -31,7 +31,6 @@ }, "devDependencies": { "@types/node": "^20.11.20", - "eslint-config-docs": "*", "rimraf": "^5.0.5", "tsconfig": "*", "types": "*", diff --git a/www/packages/docs-ui/.eslintrc.js b/www/packages/docs-ui/.eslintrc.js deleted file mode 100644 index c95714ea4d..0000000000 --- a/www/packages/docs-ui/.eslintrc.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - root: true, - extends: [ - "docs" - ], - parserOptions: { - project: true, - tsconfigRootDir: __dirname, - }, -} diff --git a/www/packages/docs-ui/package.json b/www/packages/docs-ui/package.json index c02d3c8732..3b0e400ab7 100644 --- a/www/packages/docs-ui/package.json +++ b/www/packages/docs-ui/package.json @@ -34,16 +34,12 @@ "lint": "eslint src --fix" }, "devDependencies": { - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", - "@types/react-google-recaptcha": "^2.1.6", + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react@rc", "clsx": "^2.0.0", "cpy-cli": "^5.0.0", - "eslint": "^8", - "eslint-config-docs": "*", - "next": "^14.2.14", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "eslint": "^9.13.0", + "next": "15.0.1", "rimraf": "^5.0.1", "tailwind": "*", "tailwindcss": "^3.3.3", @@ -53,31 +49,38 @@ "typescript": "^5.1.6" }, "peerDependencies": { - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", + "@types/react": "*", + "@types/react-dom": "*", "next": "*", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "*", + "react-dom": "*" }, "dependencies": { + "@emotion/is-prop-valid": "^1.3.1", "@medusajs/icons": "^2.0.0", "@medusajs/ui": "^4.0.0", "@octokit/request": "^8.1.1", "@react-hook/resize-observer": "^1.2.6", - "@segment/analytics-next": "^1.55.0", + "@segment/analytics-next": "^1.75.0", "@uidotdev/usehooks": "^2.4.1", "algoliasearch": "^5.2.1", - "framer-motion": "^11.3.21", + "framer-motion": "^11.11.9", "mermaid": "^10.9.0", "npm-to-yarn": "^2.1.0", - "prism-react-renderer": "2.3.1", + "prism-react-renderer": "2.4.0", + "react": "rc", + "react-dom": "rc", "react-google-recaptcha": "^3.1.0", - "react-instantsearch": "^7.13.0", - "react-markdown": "^8.0.7", + "react-instantsearch": "^7.13.6", + "react-markdown": "^9.0.1", "react-medium-image-zoom": "^5.2.10", - "react-tooltip": "^5.21.3", + "react-tooltip": "^5.28.0", "react-transition-group": "^4.4.5", "react-uuid": "^2.0.0", "slugify": "^1.6.6" + }, + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" } } diff --git a/www/packages/docs-ui/src/components/AiAssistant/index.tsx b/www/packages/docs-ui/src/components/AiAssistant/index.tsx index 2d966bc792..c732515413 100644 --- a/www/packages/docs-ui/src/components/AiAssistant/index.tsx +++ b/www/packages/docs-ui/src/components/AiAssistant/index.tsx @@ -297,7 +297,7 @@ export const AiAssistant = () => { } }, [loading, answer, thread, lastAnswerIndex, inputRef.current]) - useResizeObserver(contentRef, () => { + useResizeObserver(contentRef as React.RefObject, () => { if (!loading) { return } diff --git a/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Array/index.tsx b/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Array/index.tsx index bb7ad110df..4cb47e957d 100644 --- a/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Array/index.tsx +++ b/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Array/index.tsx @@ -85,8 +85,8 @@ export const ApiRunnerParamArrayInput = ({ Array.isArray(prev[0]) ? [...prev[0]] : typeof prev[0] === "object" - ? Object.assign({}, prev[0]) - : prev[0], + ? Object.assign({}, prev[0]) + : prev[0], ]) }} className="mt-0.5" diff --git a/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Default/index.tsx b/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Default/index.tsx index 8dfbffb451..24f869a1af 100644 --- a/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Default/index.tsx +++ b/www/packages/docs-ui/src/components/ApiRunner/ParamInputs/Default/index.tsx @@ -94,8 +94,8 @@ export const ApiRunnerParamInput = ({ typeof paramValue === "string" ? (paramValue as string) : typeof paramValue === "number" - ? (paramValue as number) - : `${paramValue}` + ? (paramValue as number) + : `${paramValue}` } className="w-full" /> diff --git a/www/packages/docs-ui/src/components/ApiRunner/index.tsx b/www/packages/docs-ui/src/components/ApiRunner/index.tsx index f2a680613b..545dc60811 100644 --- a/www/packages/docs-ui/src/components/ApiRunner/index.tsx +++ b/www/packages/docs-ui/src/components/ApiRunner/index.tsx @@ -163,8 +163,8 @@ export const ApiRunner = React.forwardRef( !responseCode ? "red" : responseCode.startsWith("2") - ? "green" - : "red" + ? "green" + : "red" } /> )} diff --git a/www/packages/docs-ui/src/components/Breadcrumbs/index.tsx b/www/packages/docs-ui/src/components/Breadcrumbs/index.tsx index ede20126fe..a643b7b5c6 100644 --- a/www/packages/docs-ui/src/components/Breadcrumbs/index.tsx +++ b/www/packages/docs-ui/src/components/Breadcrumbs/index.tsx @@ -33,18 +33,18 @@ export const Breadcrumbs = () => { item.parentItem?.type === "link" ? getLinkPath(item.parentItem) : (item.parentItem?.type === "category" && - breadcrumbOptions?.showCategories) || - item.parentItem?.type === "sub-category" - ? "#" - : undefined + breadcrumbOptions?.showCategories) || + item.parentItem?.type === "sub-category" + ? "#" + : undefined const firstItemPath = item.default[0].type === "link" ? getLinkPath(item.default[0]) : (item.default[0].type === "category" && - breadcrumbOptions?.showCategories) || - item.default[0].type === "sub-category" - ? "#" - : undefined + breadcrumbOptions?.showCategories) || + item.default[0].type === "sub-category" + ? "#" + : undefined const breadcrumbPath = parentPath || firstItemPath || "/" diff --git a/www/packages/docs-ui/src/components/ChildDocs/index.tsx b/www/packages/docs-ui/src/components/ChildDocs/index.tsx index 5be8ca4fdb..a723e81e38 100644 --- a/www/packages/docs-ui/src/components/ChildDocs/index.tsx +++ b/www/packages/docs-ui/src/components/ChildDocs/index.tsx @@ -1,7 +1,7 @@ "use client" import React, { useMemo } from "react" -import { Card, CardList, MDXComponents, useSidebar } from "../.." +import { Card, CardList, H2, useSidebar } from "../.." import { InteractiveSidebarItem, SidebarItem, SidebarItemLink } from "types" import slugify from "slugify" @@ -27,8 +27,8 @@ export const ChildDocs = ({ return showItems !== undefined ? "show" : hideItems.length > 0 - ? "hide" - : "all" + ? "hide" + : "all" }, [showItems, hideItems]) const filterCondition = (item: SidebarItem): boolean => { @@ -132,12 +132,12 @@ export const ChildDocs = ({ childItem.type === "link" ? childItem.path : childItem.children?.length - ? ( - childItem.children.find( - (item) => item.type === "link" - ) as SidebarItemLink - )?.path - : "#" + ? ( + childItem.children.find( + (item) => item.type === "link" + ) as SidebarItemLink + )?.path + : "#" return { title: childItem.title, href, @@ -151,9 +151,7 @@ export const ChildDocs = ({ const getAllLevelsElms = (items?: SidebarItem[]) => filterNonInteractiveItems(items).map((item, key) => { const itemChildren = getChildrenForLevel(item) - const HeadingComponent = itemChildren?.length - ? MDXComponents["h2"] - : undefined + const HeadingComponent = itemChildren?.length ? H2 : undefined return ( diff --git a/www/packages/docs-ui/src/components/CodeBlock/Collapsible/Lines/index.tsx b/www/packages/docs-ui/src/components/CodeBlock/Collapsible/Lines/index.tsx index 809e37f44c..29db163782 100644 --- a/www/packages/docs-ui/src/components/CodeBlock/Collapsible/Lines/index.tsx +++ b/www/packages/docs-ui/src/components/CodeBlock/Collapsible/Lines/index.tsx @@ -1,6 +1,4 @@ -"use client" - -import React, { useMemo } from "react" +import React from "react" import { CollapsibleReturn } from "../../../../hooks" export type CodeBlockCollapsibleLinesProps = { @@ -12,18 +10,13 @@ export const CodeBlockCollapsibleLines = ({ children, type, collapsed, - getCollapsibleElms, }: CodeBlockCollapsibleLinesProps) => { - const shownChildren: React.ReactNode = useMemo(() => { - const isStart = type === "start" - return ( - <> - {collapsed && Array.isArray(children) - ? children.slice(isStart ? -2 : 0, isStart ? undefined : 2) - : children} - - ) - }, [children, collapsed]) - - return getCollapsibleElms(shownChildren) + const isStart = type === "start" + return ( + <> + {collapsed && Array.isArray(children) + ? children.slice(isStart ? -2 : 0, isStart ? undefined : 2) + : children} + + ) } diff --git a/www/packages/docs-ui/src/components/CodeBlock/index.tsx b/www/packages/docs-ui/src/components/CodeBlock/index.tsx index eefce95c1d..c284e021d0 100644 --- a/www/packages/docs-ui/src/components/CodeBlock/index.tsx +++ b/www/packages/docs-ui/src/components/CodeBlock/index.tsx @@ -8,6 +8,7 @@ import { useColorMode } from "@/providers" import { CodeBlockHeader, CodeBlockHeaderMeta } from "./Header" import { CodeBlockLine } from "./Line" import { ApiAuthType, ApiDataOptions, ApiMethod } from "types" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition } from "react-transition-group" import { useCollapsibleCodeLines } from "../.." import { HighlightProps as CollapsibleHighlightProps } from "@/hooks" diff --git a/www/packages/docs-ui/src/components/CodeTabs/index.tsx b/www/packages/docs-ui/src/components/CodeTabs/index.tsx index ef39aa662b..35df69d011 100644 --- a/www/packages/docs-ui/src/components/CodeTabs/index.tsx +++ b/www/packages/docs-ui/src/components/CodeTabs/index.tsx @@ -16,6 +16,7 @@ import { CodeBlockHeaderWrapper } from "../CodeBlock/Header/Wrapper" type CodeTab = BaseTabType & { codeProps: CodeBlockProps codeBlock: React.ReactNode + children?: React.ReactNode } type CodeTabProps = { @@ -33,36 +34,72 @@ export const CodeTabs = ({ blockStyle = "loud", }: CodeTabProps) => { const { colorMode } = useColorMode() + + const isCodeBlock = ( + node: React.ReactNode + ): node is + | React.ReactElement> + | React.ReactPortal => { + if (!React.isValidElement(node)) { + return false + } + + if (node.type === "pre") { + return true + } + + const typedProps = node.props as Record + + return "source" in typedProps + } + const tabs: CodeTab[] = useMemo(() => { const tempTabs: CodeTab[] = [] Children.forEach(children, (child) => { + if (!React.isValidElement(child)) { + return + } + const typedChildProps = child.props as CodeTab if ( !React.isValidElement(child) || - !child.props.label || - !child.props.value || - !React.isValidElement(child.props.children) + !typedChildProps.label || + !typedChildProps.value || + !React.isValidElement(typedChildProps.children) ) { return } - // extract child code block - const codeBlock = - child.props.children.type === "pre" && - React.isValidElement(child.props.children.props.children) - ? child.props.children.props.children - : child.props.children + const codeBlock: React.ReactNode = isCodeBlock(typedChildProps.children) + ? typedChildProps.children + : undefined + + if (!codeBlock) { + return + } + + const codeBlockProps = codeBlock.props as CodeBlockProps tempTabs.push({ - label: child.props.label, - value: child.props.value, - codeProps: codeBlock.props, + label: typedChildProps.label, + value: typedChildProps.value, + codeProps: codeBlockProps, codeBlock: { ...codeBlock, props: { - ...codeBlock.props, - badgeLabel: undefined, - hasTabs: true, - className: clsx("!my-0", codeBlock.props.className), + ...codeBlockProps, + children: { + ...(typeof codeBlockProps.children === "object" + ? codeBlockProps.children + : {}), + props: { + ...(React.isValidElement(codeBlockProps.children) + ? (codeBlockProps.children.props as Record) + : {}), + badgeLabel: undefined, + hasTabs: true, + className: clsx("!my-0", codeBlockProps.className), + }, + }, }, }, }) @@ -188,7 +225,7 @@ export const CodeTabs = ({ return ( tabRefs.push(tabButton) @@ -197,7 +234,7 @@ export const CodeTabs = ({ isSelected={ !selectedTab ? index === 0 - : selectedTab.value === child.props.value + : selectedTab.value === (child.props as CodeTab).value } /> ) diff --git a/www/packages/docs-ui/src/components/Details/Summary/index.tsx b/www/packages/docs-ui/src/components/Details/Summary/index.tsx index 226c09641e..3a45282c4c 100644 --- a/www/packages/docs-ui/src/components/Details/Summary/index.tsx +++ b/www/packages/docs-ui/src/components/Details/Summary/index.tsx @@ -34,7 +34,7 @@ export const DetailsSummary = ({ expandable && "cursor-pointer", !expandable && "border-medusa-border-base border-y border-solid border-x-0", - (expandable || badge) && "gap-0.5", + (expandable || badge !== undefined) && "gap-0.5", "no-marker", className )} diff --git a/www/packages/docs-ui/src/components/Details/index.tsx b/www/packages/docs-ui/src/components/Details/index.tsx index e528ac5f34..97b6499c39 100644 --- a/www/packages/docs-ui/src/components/Details/index.tsx +++ b/www/packages/docs-ui/src/components/Details/index.tsx @@ -3,7 +3,7 @@ import React, { Suspense, cloneElement, useRef, useState } from "react" import { Loading } from "@/components" import clsx from "clsx" -import { DetailsSummary } from "./Summary" +import { DetailsSummary, DetailsSummaryProps } from "./Summary" import { useCollapsible } from "../../hooks" export type DetailsProps = { @@ -22,12 +22,14 @@ export const Details = ({ ...props }: DetailsProps) => { const [open, setOpen] = useState(openInitial) + const ref = useRef(null) + const childrenWrapperRef = useRef(null) const { getCollapsibleElms, setCollapsed } = useCollapsible({ initialValue: !openInitial, heightAnimation, onClose: () => setOpen(false), + childrenRef: childrenWrapperRef, }) - const ref = useRef(null) const handleToggle = (e: React.MouseEvent) => { const targetElm = e.target as HTMLElement @@ -77,13 +79,19 @@ export const Details = ({ /> )} {summaryElm && - cloneElement(summaryElm as React.ReactElement, { - open, - onClick: handleToggle, - })} + cloneElement( + summaryElm as React.ReactElement< + DetailsSummaryProps, + React.FunctionComponent + >, + { + open, + onClick: handleToggle, + } + )} {getCollapsibleElms( }> - {children} +
{children}
)} diff --git a/www/packages/docs-ui/src/components/Feedback/index.tsx b/www/packages/docs-ui/src/components/Feedback/index.tsx index 0d84f26dca..9672c2c0a4 100644 --- a/www/packages/docs-ui/src/components/Feedback/index.tsx +++ b/www/packages/docs-ui/src/components/Feedback/index.tsx @@ -1,6 +1,7 @@ "use client" import React, { useRef, useState } from "react" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition, SwitchTransition } from "react-transition-group" import { Solutions } from "./Solutions" import { ExtraData, useAnalytics } from "@/providers/Analytics" @@ -65,11 +66,11 @@ export const Feedback = ({ const [medusaVersion, setMedusaVersion] = useState("") const [errorFix, setErrorFix] = useState("") const [contactInfo, setContactInfo] = useState("") - const nodeRef: React.RefObject = submittedFeedback + const nodeRef = submittedFeedback ? inlineMessageRef : showForm - ? inlineQuestionRef - : inlineFeedbackRef + ? inlineQuestionRef + : inlineFeedbackRef const { loaded, track } = useAnalytics() function handleFeedback(e: React.MouseEvent) { @@ -132,12 +133,12 @@ export const Feedback = ({ showForm ? "show_form" : !submittedFeedback - ? "feedback" - : "submitted_feedback" + ? "feedback" + : "submitted_feedback" } nodeRef={nodeRef} timeout={300} - addEndListener={(done) => { + addEndListener={(done: () => void) => { nodeRef.current?.addEventListener("transitionend", done, false) }} classNames={{ diff --git a/www/packages/docs-ui/src/components/Heading/H2/index.tsx b/www/packages/docs-ui/src/components/Heading/H2/index.tsx index e285c0afea..9d3273562e 100644 --- a/www/packages/docs-ui/src/components/Heading/H2/index.tsx +++ b/www/packages/docs-ui/src/components/Heading/H2/index.tsx @@ -7,7 +7,7 @@ import { useIsBrowser } from "../../../providers" type H2Props = React.HTMLAttributes & { id?: string - passRef?: React.RefObject + passRef?: React.RefObject } export const H2 = ({ className, children, passRef, ...props }: H2Props) => { diff --git a/www/packages/docs-ui/src/components/LearningPath/Finish/index.tsx b/www/packages/docs-ui/src/components/LearningPath/Finish/index.tsx index 8ee3defae6..78ab63019a 100644 --- a/www/packages/docs-ui/src/components/LearningPath/Finish/index.tsx +++ b/www/packages/docs-ui/src/components/LearningPath/Finish/index.tsx @@ -32,7 +32,7 @@ export const LearningPathFinish = ({ )} {type === "custom" && ( - {step.descriptionJSX} + {step.descriptionJSX as React.ReactNode} )} diff --git a/www/packages/docs-ui/src/components/LearningPath/Steps/index.tsx b/www/packages/docs-ui/src/components/LearningPath/Steps/index.tsx index fa64f39aa7..929752a242 100644 --- a/www/packages/docs-ui/src/components/LearningPath/Steps/index.tsx +++ b/www/packages/docs-ui/src/components/LearningPath/Steps/index.tsx @@ -5,6 +5,7 @@ import clsx from "clsx" import { IconCircleDottedLine } from "@/components/Icons" import { CheckCircleSolid, CircleMiniSolid, ListBullet } from "@medusajs/icons" import { Badge, Button, Link } from "@/components" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition, SwitchTransition } from "react-transition-group" type LearningPathStepsProps = { @@ -17,7 +18,7 @@ export const LearningPathSteps = ({ ...rest }: LearningPathStepsProps) => { const [collapsed, setCollapsed] = useState(false) const stepsRef = useRef(null) const buttonRef = useRef(null) - const nodeRef: React.RefObject = collapsed ? buttonRef : stepsRef + const nodeRef = collapsed ? buttonRef : stepsRef const handleScroll = useCallback(() => { if (window.scrollY > 100 && !collapsed) { @@ -51,7 +52,7 @@ export const LearningPathSteps = ({ ...rest }: LearningPathStepsProps) => { key={collapsed ? "show_path" : "show_button"} nodeRef={nodeRef} timeout={300} - addEndListener={(done) => { + addEndListener={(done: () => void) => { nodeRef.current?.addEventListener("transitionend", done, false) }} classNames={{ @@ -120,7 +121,8 @@ export const LearningPathSteps = ({ ...rest }: LearningPathStepsProps) => { "text-medium text-ui-fg-subtle mt-docs_1" )} > - {step.descriptionJSX ?? step.description} + {(step.descriptionJSX as React.ReactNode) ?? + step.description}
)} diff --git a/www/packages/docs-ui/src/components/MainNav/DesktopMenu/index.tsx b/www/packages/docs-ui/src/components/MainNav/DesktopMenu/index.tsx index baca99ef5e..0de1d7f748 100644 --- a/www/packages/docs-ui/src/components/MainNav/DesktopMenu/index.tsx +++ b/www/packages/docs-ui/src/components/MainNav/DesktopMenu/index.tsx @@ -23,7 +23,7 @@ import { MenuItem } from "types" export const MainNavDesktopMenu = () => { const [isOpen, setIsOpen] = useState(false) const { setDesktopSidebarOpen, isSidebarShown } = useSidebar() - const ref = useRef(null) + const ref = useRef(null) useClickOutside({ elmRef: ref, diff --git a/www/packages/docs-ui/src/components/MainNav/MobileMenu/index.tsx b/www/packages/docs-ui/src/components/MainNav/MobileMenu/index.tsx index f4cfe5c8f8..01bf65b087 100644 --- a/www/packages/docs-ui/src/components/MainNav/MobileMenu/index.tsx +++ b/www/packages/docs-ui/src/components/MainNav/MobileMenu/index.tsx @@ -5,6 +5,7 @@ import { Button } from "../../Button" import { ArrowUturnLeft, BarsThree, XMark } from "@medusajs/icons" import clsx from "clsx" import { MenuItem } from "types" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition, SwitchTransition } from "react-transition-group" import { MainNavMobileMainMenu } from "./Main" import { MainNavMobileSubMenu } from "./SubMenu" diff --git a/www/packages/docs-ui/src/components/MarkdownContent/index.tsx b/www/packages/docs-ui/src/components/MarkdownContent/index.tsx index 99ed030dde..70692b0b81 100644 --- a/www/packages/docs-ui/src/components/MarkdownContent/index.tsx +++ b/www/packages/docs-ui/src/components/MarkdownContent/index.tsx @@ -1,15 +1,13 @@ import React from "react" -import ReactMarkdown from "react-markdown" -import { ReactMarkdownOptions } from "react-markdown/lib/react-markdown" +import ReactMarkdown, { + Options as ReactMarkdownOptions, + Components, +} from "react-markdown" import { MDXComponents, Link } from "@/components" import clsx from "clsx" -import { NormalComponents } from "react-markdown/lib/complex-types" -import { SpecialComponents } from "react-markdown/lib/ast-to-react" export type MarkdownContentProps = ReactMarkdownOptions & { - components?: Partial< - Omit & SpecialComponents - > + components?: Partial | null | undefined } export const MarkdownContent = ({ @@ -18,6 +16,7 @@ export const MarkdownContent = ({ ...props }: MarkdownContentProps) => { return ( + // @ts-expect-error React v19 doesn't see this type as a React element { isZoomed ? `100vh` : matchedRegex && matchedRegex.length >= 1 - ? `${matchedRegex[1]}px` - : "100%" + ? `${matchedRegex[1]}px` + : "100%" } /> diff --git a/www/packages/docs-ui/src/components/Modal/Footer/index.tsx b/www/packages/docs-ui/src/components/Modal/Footer/index.tsx index 8aaa430731..63eea76130 100644 --- a/www/packages/docs-ui/src/components/Modal/Footer/index.tsx +++ b/www/packages/docs-ui/src/components/Modal/Footer/index.tsx @@ -22,9 +22,7 @@ export const ModalFooter = ({ className )} > - {actions?.map((action, index) => ( -
) diff --git a/www/packages/docs-ui/src/components/Notification/Item/index.tsx b/www/packages/docs-ui/src/components/Notification/Item/index.tsx index 65aac402a5..4e328319aa 100644 --- a/www/packages/docs-ui/src/components/Notification/Item/index.tsx +++ b/www/packages/docs-ui/src/components/Notification/Item/index.tsx @@ -18,16 +18,26 @@ export type NotificationItemProps = { closeButtonText?: string } & React.HTMLAttributes -export const NotificationItem = ({ - className = "", - placement = "bottom", - show = true, - layout = "default", - setShow, - onClose, - children, - ...rest -}: NotificationItemProps) => { +type EmptyLayoutProps = { + onClose?: () => void +} + +export const NotificationItem = React.forwardRef< + HTMLDivElement, + NotificationItemProps +>(function NotificationItem( + { + className = "", + placement = "bottom", + show = true, + layout = "default", + setShow, + onClose, + children, + ...rest + }, + ref +) { const handleClose = () => { setShow?.(false) onClose?.() @@ -44,6 +54,7 @@ export const NotificationItem = ({ !show && "!opacity-0", className )} + ref={ref} > {layout === "default" && ( @@ -53,11 +64,17 @@ export const NotificationItem = ({ {layout === "empty" && Children.map(children, (child) => { if (child) { - return React.cloneElement(child, { - onClose: handleClose, - }) + return React.cloneElement( + child as React.ReactElement< + EmptyLayoutProps, + React.FunctionComponent + >, + { + onClose: handleClose, + } + ) } })} ) -} +}) diff --git a/www/packages/docs-ui/src/components/Notification/index.tsx b/www/packages/docs-ui/src/components/Notification/index.tsx index 74d326182e..509a60af4c 100644 --- a/www/packages/docs-ui/src/components/Notification/index.tsx +++ b/www/packages/docs-ui/src/components/Notification/index.tsx @@ -1,10 +1,13 @@ +"use client" + import { NotificationContextType, NotificationItemType, useNotifications, } from "@/providers" -import React from "react" +import React, { useEffect, useRef } from "react" import { NotificationItem } from "./Item" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition, TransitionGroup } from "react-transition-group" import clsx from "clsx" @@ -12,6 +15,15 @@ export const NotificationContainer = () => { const { notifications, removeNotification } = useNotifications() as NotificationContextType + const notificationRefs = useRef([]) + + useEffect(() => { + notificationRefs.current = notificationRefs.current.slice( + 0, + notifications.length + ) + }, [notifications]) + const handleClose = (notification: NotificationItemType) => { notification.onClose?.() if (notification.id) { @@ -33,7 +45,7 @@ export const NotificationContainer = () => { className )} > - {notifications.filter(condition).map((notification) => ( + {notifications.filter(condition).map((notification, index) => ( { enter: "animate-slideInRight animate-fast", exit: "animate-slideOutRight animate-fast", }} + nodeRef={notificationRefs.current[index]} > handleClose(notification)} + ref={notificationRefs.current[index]} className={clsx( notification.className, "!relative !top-0 !bottom-0 !right-0" diff --git a/www/packages/docs-ui/src/components/Search/Hits/index.tsx b/www/packages/docs-ui/src/components/Search/Hits/index.tsx index c5bed2bbb4..7e26fd30e5 100644 --- a/www/packages/docs-ui/src/components/Search/Hits/index.tsx +++ b/www/packages/docs-ui/src/components/Search/Hits/index.tsx @@ -73,6 +73,7 @@ export const SearchHitsWrapper = ({
{status !== "loading" && showNoResults && } {indices.map((indexName, index) => ( + // @ts-expect-error React v19 doesn't see this type as a React element + {/* @ts-expect-error React v19 doesn't see this type as a React element */} {item.type !== "lvl1" && ( + {/* @ts-expect-error React v19 doesn't see this type as a React element */} )} + {/* @ts-expect-error React v19 doesn't see this type as a React element */}
+ {/* @ts-expect-error React v19 doesn't see this type as a React element */} } loadingIconComponent={() => } />
diff --git a/www/packages/docs-ui/src/components/Select/Badge/index.tsx b/www/packages/docs-ui/src/components/Select/Badge/index.tsx index 7c57aced40..0ef4bc1c33 100644 --- a/www/packages/docs-ui/src/components/Select/Badge/index.tsx +++ b/www/packages/docs-ui/src/components/Select/Badge/index.tsx @@ -108,7 +108,7 @@ export const SelectBadge = ({ isValueSelected={isValueSelected} handleSelectAll={handleSelectAll} handleChange={handleChange} - parentRef={ref} + parentRef={ref as React.RefObject} passedRef={dropdownRef} setSelectedValues={setSelectedValues} /> diff --git a/www/packages/docs-ui/src/components/Select/Input/index.tsx b/www/packages/docs-ui/src/components/Select/Input/index.tsx index 6f40db9cae..7033f7051d 100644 --- a/www/packages/docs-ui/src/components/Select/Input/index.tsx +++ b/www/packages/docs-ui/src/components/Select/Input/index.tsx @@ -115,7 +115,7 @@ export const SelectInput = ({ isValueSelected={isValueSelected} handleSelectAll={handleSelectAll} handleChange={handleChange} - parentRef={ref} + parentRef={ref as React.RefObject} passedRef={dropdownRef} />
diff --git a/www/packages/docs-ui/src/components/Sidebar/index.tsx b/www/packages/docs-ui/src/components/Sidebar/index.tsx index 21aeff475c..e0c82fa82e 100644 --- a/www/packages/docs-ui/src/components/Sidebar/index.tsx +++ b/www/packages/docs-ui/src/components/Sidebar/index.tsx @@ -5,6 +5,7 @@ import { useSidebar } from "@/providers" import clsx from "clsx" import { Loading } from "@/components" import { SidebarItem } from "./Item" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition, SwitchTransition } from "react-transition-group" import { SidebarTop, SidebarTopProps } from "./Top" import { useClickOutside, useKeyboardShortcut } from "@/hooks" @@ -55,7 +56,7 @@ export const Sidebar = ({ [items, currentItems] ) - useResizeObserver(sidebarTopRef, () => { + useResizeObserver(sidebarTopRef as React.RefObject, () => { setSidebarTopHeight(sidebarTopRef.current?.clientHeight || 0) }) @@ -139,8 +140,8 @@ export const Sidebar = ({ item.type === "separator" ? index : item.type === "link" - ? `${item.path}-${index}` - : `${item.title}-${index}` + ? `${item.path}-${index}` + : `${item.title}-${index}` return (
+ {/* @ts-expect-error React v19 doesn't see this type as a React element */} setIsDragging(true)} onMouseUp={() => setIsDragging(false)} drag diff --git a/www/packages/docs-ui/src/hooks/use-active-on-scroll/index.tsx b/www/packages/docs-ui/src/hooks/use-active-on-scroll/index.tsx index 61de751c57..c468355b4c 100644 --- a/www/packages/docs-ui/src/hooks/use-active-on-scroll/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-active-on-scroll/index.tsx @@ -108,8 +108,8 @@ export const useActiveOnScroll = ({ const halfway = isElmWindow(scrollableElement) ? scrollableElement.innerHeight / 2 : scrollableElement - ? scrollableElement.scrollHeight / 2 - : 0 + ? scrollableElement.scrollHeight / 2 + : 0 headings?.forEach((heading) => { if (heading.id === hash) { @@ -145,12 +145,12 @@ export const useActiveOnScroll = ({ chosenClosest ? (chosenClosest as HTMLHeadingElement).id : selectedHeadingByHash - ? (selectedHeadingByHash as HTMLHeadingElement).id - : items.length - ? useDefaultIfNoActive - ? items[0].heading.id - : "" - : "" + ? (selectedHeadingByHash as HTMLHeadingElement).id + : items.length + ? useDefaultIfNoActive + ? items[0].heading.id + : "" + : "" ) }, [getHeadingsInElm, items, enable]) diff --git a/www/packages/docs-ui/src/hooks/use-click-outside/index.tsx b/www/packages/docs-ui/src/hooks/use-click-outside/index.tsx index fbb0c60b8e..54abf469c4 100644 --- a/www/packages/docs-ui/src/hooks/use-click-outside/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-click-outside/index.tsx @@ -4,7 +4,7 @@ import React, { useCallback, useEffect } from "react" import { useIsBrowser } from "../.." export type UseClickOutsideProps = { - elmRef: React.RefObject + elmRef: React.RefObject onClickOutside: (e: MouseEvent) => void } diff --git a/www/packages/docs-ui/src/hooks/use-collapsible-code-lines/index.tsx b/www/packages/docs-ui/src/hooks/use-collapsible-code-lines/index.tsx index dfb43966fd..c2335c1e19 100644 --- a/www/packages/docs-ui/src/hooks/use-collapsible-code-lines/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-collapsible-code-lines/index.tsx @@ -7,7 +7,7 @@ import { TokenInputProps, TokenOutputProps, } from "prism-react-renderer" -import React, { useCallback, useMemo } from "react" +import React, { useCallback, useMemo, useRef } from "react" import { CodeBlockCollapsibleLines } from "../../components/CodeBlock/Collapsible/Lines" import { useCollapsible } from "../use-collapsible" @@ -22,7 +22,7 @@ export type CollapsibleCodeLines = { token: Token[][], highlightProps: HighlightProps, lineNumberOffset?: number - ) => React.ReactNode + ) => React.JSX.Element[] } export type CollapsedCodeLinesPosition = "start" | "end" @@ -65,10 +65,12 @@ export const useCollapsibleCodeLines = ({ return collapsedRange.start === 1 ? "start" : "end" }, [collapsedRange]) + const ref = useRef(null) const collapsibleHookResult = useCollapsible({ unmountOnExit: false, translateEnabled: false, heightAnimation: true, + childrenRef: ref, }) const getCollapsedLinesElm = useCallback( diff --git a/www/packages/docs-ui/src/hooks/use-collapsible/index.tsx b/www/packages/docs-ui/src/hooks/use-collapsible/index.tsx index c3d5b45373..d02dda0b26 100644 --- a/www/packages/docs-ui/src/hooks/use-collapsible/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-collapsible/index.tsx @@ -1,6 +1,7 @@ "use client" import React, { useState } from "react" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition } from "react-transition-group" export type CollapsibleProps = { @@ -9,6 +10,7 @@ export type CollapsibleProps = { translateEnabled?: boolean onClose?: () => void unmountOnExit?: boolean + childrenRef?: React.RefObject } export type CollapsibleReturn = { @@ -23,59 +25,95 @@ export const useCollapsible = ({ translateEnabled = true, onClose, unmountOnExit = true, + childrenRef, }: CollapsibleProps): CollapsibleReturn => { const [collapsed, setCollapsed] = useState(initialValue) - const getCollapsibleElms = (children: React.ReactNode) => ( - { - if (heightAnimation) { - node.classList.add("transition-[height]") - node.style.height = `0px` - } else { - node.classList.add("!mb-docs_2", "!mt-0") - if (translateEnabled) { - node.classList.add("translate-y-docs_1", "transition-transform") + const getNodeFromChildrenRef = () => { + return ( + (childrenRef?.current?.firstElementChild as HTMLElement) || + childrenRef?.current + ) + } + + const getCollapsibleElms = (children: React.ReactNode) => { + return ( + { + const node = getNodeFromChildrenRef() + if (!node) { + return } - } - }} - onEntering={(node: HTMLElement) => { - if (heightAnimation) { - node.style.height = `${node.scrollHeight}px` - } - }} - onEntered={(node: HTMLElement) => { - if (heightAnimation) { - node.style.height = `auto` - } - }} - onExit={(node: HTMLElement) => { - if (heightAnimation) { - node.style.height = `${node.scrollHeight}px` - } else { - if (translateEnabled) { - node.classList.add("transition-transform", "!-translate-y-docs_1") + + if (heightAnimation) { + node.classList.add("transition-[height]") + node.style.height = `0px` + } else { + node.classList.add("!mb-docs_2", "!mt-0") + if (translateEnabled) { + node.classList.add("translate-y-docs_1", "transition-transform") + } } - setTimeout(() => { - onClose?.() - }, 100) - } - }} - onExiting={(node: HTMLElement) => { - if (heightAnimation) { - node.style.height = `0px` - setTimeout(() => { - onClose?.() - }, 100) - } - }} - > - {children} - - ) + }} + onEntering={() => { + const node = getNodeFromChildrenRef() + if (!node) { + return + } + + if (heightAnimation) { + node.style.height = `${node.scrollHeight}px` + } + }} + onEntered={() => { + const node = getNodeFromChildrenRef() + if (!node) { + return + } + + if (heightAnimation) { + node.style.height = `auto` + } + }} + onExit={() => { + const node = getNodeFromChildrenRef() + if (!node) { + return + } + + if (heightAnimation) { + node.style.height = `${node.scrollHeight}px` + } else { + if (translateEnabled) { + node.classList.add("transition-transform", "!-translate-y-docs_1") + } + setTimeout(() => { + onClose?.() + }, 100) + } + }} + onExiting={() => { + const node = getNodeFromChildrenRef() + if (!node) { + return + } + + if (heightAnimation) { + node.style.height = `0px` + setTimeout(() => { + onClose?.() + }, 100) + } + }} + > + {children} + + ) + } return { getCollapsibleElms, diff --git a/www/packages/docs-ui/src/hooks/use-page-scroll-manager/index.tsx b/www/packages/docs-ui/src/hooks/use-page-scroll-manager/index.tsx index ea3e600eb4..23887c0673 100644 --- a/www/packages/docs-ui/src/hooks/use-page-scroll-manager/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-page-scroll-manager/index.tsx @@ -18,11 +18,7 @@ export const usePageScrollManager = () => { .map((nav) => (nav as PerformanceNavigationTiming).type) .includes("reload") - useEffect(() => { - if (!scrollableElement || !checkedPageReload) { - return - } - + const tryToScroll = () => { if (getScrolledTop(scrollableElement) !== 0 && !location.hash) { scrollableElement?.scrollTo({ top: 0, @@ -36,7 +32,13 @@ export const usePageScrollManager = () => { targetElm?.scrollIntoView() } - }, [pathname, scrollableElement, checkedPageReload]) + } + + useEffect(() => { + if (checkedPageReload) { + setCheckedPageReload(false) + } + }, [pathname]) useEffect(() => { if (!scrollableElement || checkedPageReload) { @@ -49,8 +51,12 @@ export const usePageScrollManager = () => { scrollableElement?.scrollTo({ top: parseInt(loadedScrollPosition), }) + localStorage.removeItem("scrollPos") + } else { + tryToScroll() } - localStorage.removeItem("scrollPos") + } else { + tryToScroll() } setCheckedPageReload(true) diff --git a/www/packages/docs-ui/src/hooks/use-request-runner/index.ts b/www/packages/docs-ui/src/hooks/use-request-runner/index.ts index 36099d0479..911b51944d 100644 --- a/www/packages/docs-ui/src/hooks/use-request-runner/index.ts +++ b/www/packages/docs-ui/src/hooks/use-request-runner/index.ts @@ -45,7 +45,11 @@ export const useRequestRunner = ({ }) .then((data) => { const stringifiedData = JSON.stringify(data, undefined, 2) - replaceLog ? replaceLog(stringifiedData) : pushLog(stringifiedData) + if (replaceLog) { + replaceLog(stringifiedData) + } else { + pushLog(stringifiedData) + } }) .catch((error) => { pushLog(`\nAn error ocurred: ${JSON.stringify(error, undefined, 2)}`) diff --git a/www/packages/docs-ui/src/hooks/use-scroll-utils/index.tsx b/www/packages/docs-ui/src/hooks/use-scroll-utils/index.tsx index 0c7f819043..a3bd4ea514 100644 --- a/www/packages/docs-ui/src/hooks/use-scroll-utils/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-scroll-utils/index.tsx @@ -39,7 +39,7 @@ export function useEvent(callback: T): T { * Gets `value` from the last render. */ export function usePrevious(value: T): T | undefined { - const ref = useRef() + const ref = useRef(undefined) useLayoutEffect(() => { ref.current = value @@ -96,10 +96,10 @@ function useScrollControllerContextValue({ parentTop !== undefined ? parentTop : isElmWindow(scrollableElement) - ? 0 - : scrollableElement instanceof HTMLElement - ? scrollableElement.offsetTop - : 0 + ? 0 + : scrollableElement instanceof HTMLElement + ? scrollableElement.offsetTop + : 0 scrollableElement?.scrollTo({ // 56 is the height of the navbar @@ -137,7 +137,7 @@ export function ScrollControllerProvider({ children: ReactNode scrollableSelector?: string restoreScrollOnReload?: boolean -}): JSX.Element { +}) { const value = useScrollControllerContextValue({ scrollableSelector, }) diff --git a/www/packages/docs-ui/src/hooks/use-select/index.tsx b/www/packages/docs-ui/src/hooks/use-select/index.tsx index 36731b9483..1d9a25c13a 100644 --- a/www/packages/docs-ui/src/hooks/use-select/index.tsx +++ b/www/packages/docs-ui/src/hooks/use-select/index.tsx @@ -63,9 +63,11 @@ export const useSelect = ({ const handleChange = (selectedValue: string, wasSelected: boolean) => { if (multiple) { - wasSelected - ? removeSelected?.(selectedValue) - : addSelected?.(selectedValue) + if (wasSelected) { + removeSelected?.(selectedValue) + } else { + addSelected?.(selectedValue) + } } else { setSelected?.(selectedValue) } diff --git a/www/packages/docs-ui/src/providers/AiAssistant/index.tsx b/www/packages/docs-ui/src/providers/AiAssistant/index.tsx index 17736da574..73de86ac44 100644 --- a/www/packages/docs-ui/src/providers/AiAssistant/index.tsx +++ b/www/packages/docs-ui/src/providers/AiAssistant/index.tsx @@ -3,6 +3,7 @@ import React, { createContext, useContext } from "react" import { useAnalytics } from "@/providers" import { AiAssistant } from "@/components" +// @ts-expect-error can't install the types package because it doesn't support React v19 import ReCAPTCHA from "react-google-recaptcha" export type AiAssistantFeedbackType = "upvote" | "downvote" diff --git a/www/packages/docs-ui/src/providers/Search/index.tsx b/www/packages/docs-ui/src/providers/Search/index.tsx index 3446463be7..e7e1a3b563 100644 --- a/www/packages/docs-ui/src/providers/Search/index.tsx +++ b/www/packages/docs-ui/src/providers/Search/index.tsx @@ -18,6 +18,7 @@ import { SearchResponse, } from "algoliasearch/lite" import clsx from "clsx" +// @ts-expect-error can't install the types package because it doesn't support React v19 import { CSSTransition, SwitchTransition } from "react-transition-group" export type SearchCommand = { @@ -208,6 +209,8 @@ export const SearchProvider = ({ } }, [initialDefaultFilters]) + const componentWrapperRef = useRef(null) + return ( - <> +
{command === null && ( )} {command?.component} - +
diff --git a/www/packages/docs-ui/src/providers/Sidebar/index.tsx b/www/packages/docs-ui/src/providers/Sidebar/index.tsx index b62602e58c..13cae0aa2e 100644 --- a/www/packages/docs-ui/src/providers/Sidebar/index.tsx +++ b/www/packages/docs-ui/src/providers/Sidebar/index.tsx @@ -53,7 +53,7 @@ export type SidebarContextType = { setDesktopSidebarOpen: React.Dispatch> staticSidebarItems?: boolean shouldHandleHashChange: boolean - sidebarRef: React.RefObject + sidebarRef: React.RefObject goBack: () => void sidebarTopHeight: number setSidebarTopHeight: React.Dispatch> @@ -247,8 +247,8 @@ export const reducer = ( loaded: parent.changeLoaded ? true : i.type === "link" - ? i.loaded - : true, + ? i.loaded + : true, } } return i diff --git a/www/packages/eslint-config-docs/base.js b/www/packages/eslint-config-docs/base.js deleted file mode 100644 index 25fb4fe12f..0000000000 --- a/www/packages/eslint-config-docs/base.js +++ /dev/null @@ -1,136 +0,0 @@ -module.exports = { - root: true, - parser: "@babel/eslint-parser", - parserOptions: { - requireConfigFile: false, - ecmaFeatures: { - experimentalDecorators: true, - jsx: true, - }, - project: true, - }, - plugins: ["prettier"], - extends: [ - "eslint:recommended", - "plugin:prettier/recommended", - "plugin:react/recommended", - "plugin:react/jsx-runtime", - ], - settings: { - react: { - version: "detect", - }, - }, - rules: { - curly: ["error", "all"], - "new-cap": "off", - "require-jsdoc": "off", - "no-unused-expressions": "off", - "no-unused-vars": "off", - camelcase: "off", - "no-invalid-this": "off", - "max-len": [ - "error", - { - code: 80, - ignoreStrings: true, - ignoreRegExpLiterals: true, - ignoreComments: true, - ignoreTrailingComments: true, - ignoreUrls: true, - ignoreTemplateLiterals: true, - }, - ], - semi: ["error", "never"], - quotes: [ - "error", - "double", - { - allowTemplateLiterals: true, - }, - ], - "comma-dangle": [ - "error", - { - arrays: "always-multiline", - objects: "always-multiline", - imports: "always-multiline", - exports: "always-multiline", - functions: "never", - }, - ], - "object-curly-spacing": ["error", "always"], - "arrow-parens": ["error", "always"], - "linebreak-style": 0, - "no-confusing-arrow": [ - "error", - { - allowParens: false, - }, - ], - "space-before-function-paren": [ - "error", - { - anonymous: "always", - named: "never", - asyncArrow: "always", - }, - ], - "space-infix-ops": "error", - "eol-last": ["error", "always"], - "no-console": [ - "error", - { - allow: ["error", "warn"], - }, - ], - "react/prop-types": [ - 2, - { "ignore": ["className"] } - ], - }, - env: { - es6: true, - node: true, - jest: true, - browser: true, - }, - ignorePatterns: [ - "eslint-config-docs", - ".eslintrc.js", - "dist" - ], - overrides: [ - { - files: ["*.ts", "*.tsx", "*.js", "*.jsx"], - plugins: ["@typescript-eslint/eslint-plugin"], - extends: [ - "plugin:@typescript-eslint/recommended", - "plugin:react/recommended", - ], - parser: "@typescript-eslint/parser", - parserOptions: { - project: "./tsconfig.json" - }, - rules: { - "valid-jsdoc": "off", - "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/no-floating-promises": "error", - "@typescript-eslint/await-thenable": "error", - "@typescript-eslint/promise-function-async": "error", - "@typescript-eslint/keyword-spacing": "error", - "@typescript-eslint/space-before-function-paren": [ - "error", - { - anonymous: "always", - named: "never", - asyncArrow: "always", - }, - ], - "@typescript-eslint/space-infix-ops": "error", - "@typescript-eslint/no-explicit-any": "warn", - "@typescript-eslint/no-unused-vars": "warn" - }, - }, - ], -} diff --git a/www/packages/eslint-config-docs/content.js b/www/packages/eslint-config-docs/content.js deleted file mode 100644 index 97896d7838..0000000000 --- a/www/packages/eslint-config-docs/content.js +++ /dev/null @@ -1,119 +0,0 @@ -module.exports = { - parser: "@babel/eslint-parser", - parserOptions: { - requireConfigFile: false, - ecmaFeatures: { - experimentalDecorators: true, - }, - }, - settings: { - react: { - version: "detect", - }, - }, - env: { - es6: true, - node: true, - }, - plugins: ["prettier", "markdown"], - ignorePatterns: [ - "**/references/**", - "**/events-reference/**", - "**/_events-table/**" - ], - rules: { - "no-undef": "off", - "no-unused-expressions": "off", - "no-unused-vars": "off", - "no-unused-labels": "off", - "no-console": "off", - curly: ["error", "all"], - "new-cap": "off", - "require-jsdoc": "off", - camelcase: "off", - "no-invalid-this": "off", - "max-len": [ - // TODO change back to error once we figure out - // a way to use HTML comments in new MDX - "warn", - { - code: 64, - }, - ], - semi: ["error", "never"], - quotes: [ - "error", - "double", - { - allowTemplateLiterals: true, - }, - ], - "comma-dangle": [ - "error", - { - arrays: "always-multiline", - objects: "always-multiline", - imports: "always-multiline", - exports: "always-multiline", - functions: "never", - }, - ], - "object-curly-spacing": ["error", "always"], - "arrow-parens": ["error", "always"], - "linebreak-style": 0, - "no-confusing-arrow": [ - "error", - { - allowParens: false, - }, - ], - "space-before-function-paren": [ - "error", - { - anonymous: "always", - named: "never", - asyncArrow: "always", - }, - ], - "space-infix-ops": "off", - "eol-last": ["error", "always"], - "react/prop-types": "off", - "react/jsx-no-undef": "off", - }, - overrides: [ - { - files: ["**/*.md", "**/*.mdx"], - processor: "markdown/markdown", - }, - { - files: [ - "**/*.md/*.js", - "**/*.mdx/*.js", - "**/*.md/*.jsx", - "**/*.mdx/*.jsx", - ], - }, - { - files: [ - "**/*.md/*.ts", - "**/*.mdx/*.ts", - "**/*.md/*.tsx", - "**/*.mdx/*.tsx", - ], - plugins: ["@typescript-eslint/eslint-plugin"], - extends: ["plugin:@typescript-eslint/recommended"], - parser: "@typescript-eslint/parser", - rules: { - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/no-var-requires": "off", - "prefer-rest-params": "off", - "@typescript-eslint/ban-ts-comment": "off", - "@typescript-eslint/no-non-null-asserted-optional-chain": "off", - "@typescript-eslint/ban-types": "off" - }, - }, - ], -} diff --git a/www/packages/eslint-config-docs/next.js b/www/packages/eslint-config-docs/next.js deleted file mode 100644 index 0934c86fdc..0000000000 --- a/www/packages/eslint-config-docs/next.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = { - extends: [ - "next/core-web-vitals", - "google", - "./base.js" - ], - "rules": { - "react/react-in-jsx-scope": "off", - "@typescript-eslint/prefer-ts-expect-error": "off", - "valid-jsdoc": "off" - }, - ignorePatterns: [ - "next.config.js", - "spec", - "node_modules", - "public", - ".eslintrc.js" - ], - parserOptions: { - project: true, - }, -} diff --git a/www/packages/eslint-config-docs/package.json b/www/packages/eslint-config-docs/package.json deleted file mode 100644 index 8982c6daad..0000000000 --- a/www/packages/eslint-config-docs/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "eslint-config-docs", - "license": "MIT", - "version": "0.0.0", - "private": true, - "main": "base.js", - "dependencies": { - "@babel/eslint-parser": "^7.22.15", - "@typescript-eslint/eslint-plugin": "^6.18.1", - "@typescript-eslint/parser": "^6.18.1", - "eslint-config-google": "^0.14.0", - "eslint-config-next": "14.2.3", - "eslint-config-prettier": "^8.7.0", - "eslint-config-turbo": "^1.10.12", - "eslint-plugin-markdown": "^3.0.0", - "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-react": "^7.32.2", - "next": "latest" - }, - "devDependencies": { - "eslint": "^8.36.0" - } -} diff --git a/www/packages/remark-rehype-plugins/.eslintrc.cjs b/www/packages/remark-rehype-plugins/.eslintrc.cjs deleted file mode 100644 index 81f8b29932..0000000000 --- a/www/packages/remark-rehype-plugins/.eslintrc.cjs +++ /dev/null @@ -1,9 +0,0 @@ -const path = require("path") - -module.exports = { - extends: ["docs"], - parserOptions: { - project: true, - tsconfigRootDir: path.join(__dirname, "..", ".."), - }, -} diff --git a/www/packages/remark-rehype-plugins/package.json b/www/packages/remark-rehype-plugins/package.json index e7087bc390..2456c59154 100644 --- a/www/packages/remark-rehype-plugins/package.json +++ b/www/packages/remark-rehype-plugins/package.json @@ -40,7 +40,6 @@ "devDependencies": { "@types/node": "^20.11.20", "docs-ui": "*", - "eslint-config-docs": "*", "rimraf": "^5.0.5", "tsconfig": "*", "types": "*", diff --git a/www/packages/tailwind/.eslintrc.js b/www/packages/tailwind/.eslintrc.js deleted file mode 100644 index a7ed116621..0000000000 --- a/www/packages/tailwind/.eslintrc.js +++ /dev/null @@ -1,9 +0,0 @@ -const path = require("path") - -module.exports = { - extends: ["docs"], - parserOptions: { - project: true, - tsconfigRootDir: path.join(__dirname, "..", ".."), - } -} \ No newline at end of file diff --git a/www/packages/tailwind/eslint.config.mjs b/www/packages/tailwind/eslint.config.mjs new file mode 100644 index 0000000000..b93cdb2b04 --- /dev/null +++ b/www/packages/tailwind/eslint.config.mjs @@ -0,0 +1,13 @@ +import eslintConfig from "eslint-config-docs" + +export default [...eslintConfig.base, { + languageOptions: { + ecmaVersion: 5, + sourceType: "script", + + parserOptions: { + project: true, + tsconfigRootDir: __dirname, + }, + }, +}]; \ No newline at end of file diff --git a/www/packages/tailwind/package.json b/www/packages/tailwind/package.json index 50c27f0363..3fd3abfc7b 100644 --- a/www/packages/tailwind/package.json +++ b/www/packages/tailwind/package.json @@ -4,9 +4,6 @@ "private": true, "license": "MIT", "main": "tailwind.config.js", - "devDependencies": { - "eslint-config-docs": "*" - }, "publishConfig": { "access": "public" }, diff --git a/www/packages/tailwind/tsconfig.json b/www/packages/tailwind/tsconfig.json new file mode 100644 index 0000000000..2eb189f37f --- /dev/null +++ b/www/packages/tailwind/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "tsconfig/base.json", + "include": ["*.mjs", "*.js"] +} diff --git a/www/packages/tsconfig/base.json b/www/packages/tsconfig/base.json index 440a78805b..7705e17047 100644 --- a/www/packages/tsconfig/base.json +++ b/www/packages/tsconfig/base.json @@ -23,7 +23,9 @@ "downlevelIteration": true }, "exclude": [ - "node_modules", - "public" + "**/node_modules/**", + "**/public/**", + "**/dist/**", + "**/build/**" ] } \ No newline at end of file diff --git a/www/packages/types/.eslintrc.cjs b/www/packages/types/.eslintrc.cjs deleted file mode 100644 index 81f8b29932..0000000000 --- a/www/packages/types/.eslintrc.cjs +++ /dev/null @@ -1,9 +0,0 @@ -const path = require("path") - -module.exports = { - extends: ["docs"], - parserOptions: { - project: true, - tsconfigRootDir: path.join(__dirname, "..", ".."), - }, -} diff --git a/www/packages/types/package.json b/www/packages/types/package.json index 8581ae1cfd..526002825e 100644 --- a/www/packages/types/package.json +++ b/www/packages/types/package.json @@ -32,7 +32,6 @@ }, "devDependencies": { "@types/node": "^20.11.20", - "eslint-config-docs": "*", "rimraf": "^5.0.5", "tsconfig": "*", "typescript": "^5.3.3" diff --git a/www/tsconfig.json b/www/tsconfig.json index f2a7bb4508..dc13de0b1d 100644 --- a/www/tsconfig.json +++ b/www/tsconfig.json @@ -2,5 +2,7 @@ "extends": ["tsconfig/base.json"], "compilerOptions": { "rootDir": "." - } + }, + "include": ["**/*.ts", "**/*.js", "**/*.tsx", "**/*.jsx", "**/*.mjs"], + "exclude": ["**/node_modules/**", "**/dist/**", "**/build/**"] } \ No newline at end of file diff --git a/www/yarn.lock b/www/yarn.lock index ccd23ceeaa..9d624e03cd 100644 --- a/www/yarn.lock +++ b/www/yarn.lock @@ -321,17 +321,17 @@ __metadata: languageName: node linkType: hard -"@babel/eslint-parser@npm:^7.22.15": - version: 7.23.10 - resolution: "@babel/eslint-parser@npm:7.23.10" +"@babel/eslint-parser@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/eslint-parser@npm:7.25.9" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": 5.1.1-v1 eslint-visitor-keys: ^2.1.0 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.11.0 - eslint: ^7.5.0 || ^8.0.0 - checksum: dfc091d44c86c72658d53abe66c778f7aa436672d66ae99a0b72857c968defed4749c18d2d3a35b1f61c77a193761ae7a71997dbe43c4c7cffcf945bd106bd67 + eslint: ^7.5.0 || ^8.0.0 || ^9.0.0 + checksum: 7dc525da9a076906aff562f82373765785732edf306e2be6497e347ed73be80d3544f2f845a77c2376bfa1c7c8c3580ea7346b12b78d8ddf4365c44fe9c35c4b languageName: node linkType: hard @@ -480,7 +480,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.7, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.7, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7": version: 7.23.9 resolution: "@babel/runtime@npm:7.23.9" dependencies: @@ -742,6 +742,31 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:^1.2.0": + version: 1.3.1 + resolution: "@emnapi/runtime@npm:1.3.1" + dependencies: + tslib: ^2.4.0 + checksum: 060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c + languageName: node + linkType: hard + +"@emotion/is-prop-valid@npm:^1.3.1": + version: 1.3.1 + resolution: "@emotion/is-prop-valid@npm:1.3.1" + dependencies: + "@emotion/memoize": ^0.9.0 + checksum: 123215540c816ff510737ec68dcc499c53ea4deb0bb6c2c27c03ed21046e2e69f6ad07a7a174d271c6cfcbcc9ea44e1763e0cf3875c92192f7689216174803cd + languageName: node + linkType: hard + +"@emotion/memoize@npm:^0.9.0": + version: 0.9.0 + resolution: "@emotion/memoize@npm:0.9.0" + checksum: 13f474a9201c7f88b543e6ea42f55c04fb2fdc05e6c5a3108aced2f7e7aa7eda7794c56bba02985a46d8aaa914fcdde238727a98341a96e2aec750d372dadd15 + languageName: node + linkType: hard + "@esbuild-plugins/node-resolve@npm:^0.1.4": version: 0.1.4 resolution: "@esbuild-plugins/node-resolve@npm:0.1.4" @@ -928,34 +953,68 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": - version: 4.10.0 - resolution: "@eslint-community/regexpp@npm:4.10.0" - checksum: c5f60ef1f1ea7649fa7af0e80a5a79f64b55a8a8fa5086de4727eb4c86c652aedee407a9c143b8995d2c0b2d75c1222bec9ba5d73dbfc1f314550554f0979ef4 +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0": + version: 4.11.1 + resolution: "@eslint-community/regexpp@npm:4.11.1" + checksum: fbcc1cb65ef5ed5b92faa8dc542e035269065e7ebcc0b39c81a4fe98ad35cfff20b3c8df048641de15a7757e07d69f85e2579c1a5055f993413ba18c055654f8 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/config-array@npm:^0.18.0": + version: 0.18.0 + resolution: "@eslint/config-array@npm:0.18.0" + dependencies: + "@eslint/object-schema": ^2.1.4 + debug: ^4.3.1 + minimatch: ^3.1.2 + checksum: 0234aeb3e6b052ad2402a647d0b4f8a6aa71524bafe1adad0b8db1dfe94d7f5f26d67c80f79bb37ac61361a1d4b14bb8fb475efe501de37263cf55eabb79868f + languageName: node + linkType: hard + +"@eslint/core@npm:^0.7.0": + version: 0.7.0 + resolution: "@eslint/core@npm:0.7.0" + checksum: 3cdee8bc6cbb96ac6103d3ead42e59830019435839583c9eb352b94ed558bd78e7ffad5286dc710df21ec1e7bd8f52aa6574c62457a4dd0f01f3736fa4a7d87a + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^3.1.0": + version: 3.1.0 + resolution: "@eslint/eslintrc@npm:3.1.0" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.6.0 - globals: ^13.19.0 + espree: ^10.0.1 + globals: ^14.0.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 + checksum: 5b7332ed781edcfc98caa8dedbbb843abfb9bda2e86538529c843473f580e40c69eb894410eddc6702f487e9ee8f8cfa8df83213d43a8fdb549f23ce06699167 languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94 +"@eslint/js@npm:9.13.0": + version: 9.13.0 + resolution: "@eslint/js@npm:9.13.0" + checksum: 672257bffe17777b8a98bd80438702904cc7a0b98b9c2e426a8a10929198b3553edf8a3fc20feed4133c02e7c8f7331a0ef1b23e5dab8e4469f7f1791beff1e0 + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/object-schema@npm:2.1.4" + checksum: e9885532ea70e483fb007bf1275968b05bb15ebaa506d98560c41a41220d33d342e19023d5f2939fed6eb59676c1bda5c847c284b4b55fce521d282004da4dda + languageName: node + linkType: hard + +"@eslint/plugin-kit@npm:^0.2.0": + version: 0.2.1 + resolution: "@eslint/plugin-kit@npm:0.2.1" + dependencies: + levn: ^0.4.1 + checksum: 34b1ecb35df97b0adeb6a43366fc1b8aa1a54d23fc9753019277e80a7295724fddb547a795fd59c9eb56d690bbf0d76d7f2286cb0f5db367a86a763d5acbde5f languageName: node linkType: hard @@ -1084,14 +1143,20 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanfs/core@npm:^0.19.0": + version: 0.19.0 + resolution: "@humanfs/core@npm:0.19.0" + checksum: f87952d5caba6ae427a620eff783c5d0b6cef0cfc256dec359cdaa636c5f161edb8d8dad576742b3de7f0b2f222b34aad6870248e4b7d2177f013426cbcda232 + languageName: node + linkType: hard + +"@humanfs/node@npm:^0.16.5": + version: 0.16.5 + resolution: "@humanfs/node@npm:0.16.5" dependencies: - "@humanwhocodes/object-schema": ^2.0.2 - debug: ^4.3.1 - minimatch: ^3.0.5 - checksum: 66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541 + "@humanfs/core": ^0.19.0 + "@humanwhocodes/retry": ^0.3.0 + checksum: 41c365ab09e7c9eaeed373d09243195aef616d6745608a36fc3e44506148c28843872f85e69e2bf5f1e992e194286155a1c1cecfcece6a2f43875e37cd243935 languageName: node linkType: hard @@ -1109,10 +1174,185 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 6fd83dc320231d71c4541d0244051df61f301817e9f9da9fd4cb7e44ec8aacbde5958c1665b0c419401ab935114fdf532a6ad5d4e7294b1af2f347dd91a6983f +"@humanwhocodes/retry@npm:^0.3.0, @humanwhocodes/retry@npm:^0.3.1": + version: 0.3.1 + resolution: "@humanwhocodes/retry@npm:0.3.1" + checksum: f0da1282dfb45e8120480b9e2e275e2ac9bbe1cf016d046fdad8e27cc1285c45bb9e711681237944445157b430093412b4446c1ab3fc4bb037861b5904101d3b + languageName: node + linkType: hard + +"@img/sharp-darwin-arm64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-darwin-arm64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-darwin-arm64": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-darwin-arm64": + optional: true + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-darwin-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-darwin-x64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-darwin-x64": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-darwin-x64": + optional: true + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-arm64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-x64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.4" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm@npm:1.0.5": + version: 1.0.5 + resolution: "@img/sharp-libvips-linux-arm@npm:1.0.5" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-s390x@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.4" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-x64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linux-x64@npm:1.0.4" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-x64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.4" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linux-arm64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-arm64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-arm64": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-linux-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-arm@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-arm@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-arm": 1.0.5 + dependenciesMeta: + "@img/sharp-libvips-linux-arm": + optional: true + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-s390x@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-s390x@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-s390x": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-linux-s390x": + optional: true + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-x64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-x64": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-linux-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-arm64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linuxmusl-arm64": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linuxmusl-x64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linuxmusl-x64": 1.0.4 + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-wasm32@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-wasm32@npm:0.33.5" + dependencies: + "@emnapi/runtime": ^1.2.0 + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@img/sharp-win32-ia32@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-win32-ia32@npm:0.33.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@img/sharp-win32-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-win32-x64@npm:0.33.5" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1309,19 +1549,22 @@ __metadata: languageName: node linkType: hard -"@mdx-js/loader@npm:^3.0.0, @mdx-js/loader@npm:^3.0.1": - version: 3.0.1 - resolution: "@mdx-js/loader@npm:3.0.1" +"@mdx-js/loader@npm:^3.1.0": + version: 3.1.0 + resolution: "@mdx-js/loader@npm:3.1.0" dependencies: "@mdx-js/mdx": ^3.0.0 source-map: ^0.7.0 peerDependencies: webpack: ">=5" - checksum: d60df6465872de4271617ffa53012ac5518094ed468fb13d7e9dc8c68efd983280611f50b519d752be4db8e9168a13dcb8a75c6ca883e052b3b3e1d42d6e7b45 + peerDependenciesMeta: + webpack: + optional: true + checksum: 0f301dcc1dbc0f7aa0060fdeabf9efbc6218f3660562c4c97f273fa3e74a6259d231468a38998b4739cf3ea9bc7cf9f23d5b3deda919af2ac9c10b4580bd142c languageName: node linkType: hard -"@mdx-js/mdx@npm:^2.0.0, @mdx-js/mdx@npm:^2.2.1": +"@mdx-js/mdx@npm:^2.0.0": version: 2.3.0 resolution: "@mdx-js/mdx@npm:2.3.0" dependencies: @@ -1377,19 +1620,39 @@ __metadata: languageName: node linkType: hard -"@mdx-js/react@npm:^2.2.1": - version: 2.3.0 - resolution: "@mdx-js/react@npm:2.3.0" +"@mdx-js/mdx@npm:^3.0.1": + version: 3.1.0 + resolution: "@mdx-js/mdx@npm:3.1.0" dependencies: + "@types/estree": ^1.0.0 + "@types/estree-jsx": ^1.0.0 + "@types/hast": ^3.0.0 "@types/mdx": ^2.0.0 - "@types/react": ">=16" - peerDependencies: - react: ">=16" - checksum: 6d647115703dbe258f7fe372499fa8c6fe17a053ff0f2a208111c9973a71ae738a0ed376770445d39194d217e00e1a015644b24f32c2f7cb4f57988de0649b15 + collapse-white-space: ^2.0.0 + devlop: ^1.0.0 + estree-util-is-identifier-name: ^3.0.0 + estree-util-scope: ^1.0.0 + estree-walker: ^3.0.0 + hast-util-to-jsx-runtime: ^2.0.0 + markdown-extensions: ^2.0.0 + recma-build-jsx: ^1.0.0 + recma-jsx: ^1.0.0 + recma-stringify: ^1.0.0 + rehype-recma: ^1.0.0 + remark-mdx: ^3.0.0 + remark-parse: ^11.0.0 + remark-rehype: ^11.0.0 + source-map: ^0.7.0 + unified: ^11.0.0 + unist-util-position-from-estree: ^2.0.0 + unist-util-stringify-position: ^4.0.0 + unist-util-visit: ^5.0.0 + vfile: ^6.0.0 + checksum: e586ab772dcfee2bab334d5aac54c711e6d6d550085271c38a49c629b3e3954b5f41f488060761284a5e00649d0638d6aba6c0a7c66f91db80dee0ccc304ab32 languageName: node linkType: hard -"@mdx-js/react@npm:^3.0.0, @mdx-js/react@npm:^3.0.1": +"@mdx-js/react@npm:^3.0.1": version: 3.0.1 resolution: "@mdx-js/react@npm:3.0.1" dependencies: @@ -1401,6 +1664,18 @@ __metadata: languageName: node linkType: hard +"@mdx-js/react@npm:^3.1.0": + version: 3.1.0 + resolution: "@mdx-js/react@npm:3.1.0" + dependencies: + "@types/mdx": ^2.0.0 + peerDependencies: + "@types/react": ">=16" + react: ">=16" + checksum: 381ed1211ba2b8491bf0ad9ef0d8d1badcdd114e1931d55d44019d4b827cc2752586708f9c7d2f9c3244150ed81f1f671a6ca95fae0edd5797fb47a22e06ceca + languageName: node + linkType: hard + "@medusajs/icons@npm:^1.2.1": version: 1.2.1 resolution: "@medusajs/icons@npm:1.2.1" @@ -1520,34 +1795,34 @@ __metadata: languageName: node linkType: hard -"@next/bundle-analyzer@npm:^14.2.14": - version: 14.2.14 - resolution: "@next/bundle-analyzer@npm:14.2.14" +"@next/bundle-analyzer@npm:15.0.1": + version: 15.0.1 + resolution: "@next/bundle-analyzer@npm:15.0.1" dependencies: webpack-bundle-analyzer: 4.10.1 - checksum: c1037afaf58d61c864c3c23c9041397e134341c281d6e9964d302ff8b143f6bcd8935cadb71c165770481f3ec603125cbe424b9be4d02ff9ca8e6365be0d8528 + checksum: 1d9681bd5b8915791fc92d6cff3f4161cc49a4bd06e25c1eeca17edbba387282579aac811fe78a39d9bd6eb29bd134d556ea1b57dcff6bb67e919072d98dd8ac languageName: node linkType: hard -"@next/env@npm:14.2.14": - version: 14.2.14 - resolution: "@next/env@npm:14.2.14" - checksum: 07060e631dfe795359a6bf509069f19e2fde1aa36a8e845d293ae6194bfdfcd7e0b1a628626083a2bb2b46a4702f8428bc2a21913f24b88ec53f773c50c14a9f +"@next/env@npm:15.0.1": + version: 15.0.1 + resolution: "@next/env@npm:15.0.1" + checksum: a5c9b24755232257b26893cbc123498b51449f24c0a88805fecb668b44651e72195176d996c8859d6bcceaadbe158d966b43a60095aa14a86f95b93cd5ef4521 languageName: node linkType: hard -"@next/eslint-plugin-next@npm:14.2.3": - version: 14.2.3 - resolution: "@next/eslint-plugin-next@npm:14.2.3" +"@next/eslint-plugin-next@npm:15.0.1": + version: 15.0.1 + resolution: "@next/eslint-plugin-next@npm:15.0.1" dependencies: - glob: 10.3.10 - checksum: de9af2c7465cce4eb4cb50654aa2548d4d2af788c8992d02e2b863b1bf4f99e3b6604d1f0775f8e50aca6a53cf30d51f4ac56810d1625d401548267ca5f1d883 + fast-glob: 3.3.1 + checksum: 4e7dda7279999425041b1832c13845d18bb3b22ebdbc7707b28bd6a27b8010a4dfb1e792a7f2bf210fc4117dfbfdf60509714035c4bcd40e30b55317d76c6fcc languageName: node linkType: hard -"@next/mdx@npm:14.2.14, @next/mdx@npm:^14.2.14": - version: 14.2.14 - resolution: "@next/mdx@npm:14.2.14" +"@next/mdx@npm:15.0.1": + version: 15.0.1 + resolution: "@next/mdx@npm:15.0.1" dependencies: source-map: ^0.7.0 peerDependencies: @@ -1558,69 +1833,62 @@ __metadata: optional: true "@mdx-js/react": optional: true - checksum: 4b38897f178f3b59eb6ee4f74af6138c748382ce5f8186f46b7320d704a903016fca6c66c409fb6f7c519da352df141572dedc8dba1317b0af6c0dc77a1ad91f + checksum: 1d808c29bb6a2c3f3afd5398096e68246bc2e5fe258cd6cc939fddb3050c53622a9140887ab90c1d2455125dcd8945dad9915093ffdfb4a6c8f368f81fedf834 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-darwin-arm64@npm:14.2.14" +"@next/swc-darwin-arm64@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-darwin-arm64@npm:15.0.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-darwin-x64@npm:14.2.14" +"@next/swc-darwin-x64@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-darwin-x64@npm:15.0.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-linux-arm64-gnu@npm:14.2.14" +"@next/swc-linux-arm64-gnu@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-linux-arm64-gnu@npm:15.0.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-linux-arm64-musl@npm:14.2.14" +"@next/swc-linux-arm64-musl@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-linux-arm64-musl@npm:15.0.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-linux-x64-gnu@npm:14.2.14" +"@next/swc-linux-x64-gnu@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-linux-x64-gnu@npm:15.0.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-linux-x64-musl@npm:14.2.14" +"@next/swc-linux-x64-musl@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-linux-x64-musl@npm:15.0.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-win32-arm64-msvc@npm:14.2.14" +"@next/swc-win32-arm64-msvc@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-win32-arm64-msvc@npm:15.0.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-win32-ia32-msvc@npm:14.2.14" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@next/swc-win32-x64-msvc@npm:14.2.14": - version: 14.2.14 - resolution: "@next/swc-win32-x64-msvc@npm:14.2.14" +"@next/swc-win32-x64-msvc@npm:15.0.1": + version: 15.0.1 + resolution: "@next/swc-win32-x64-msvc@npm:15.0.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1651,7 +1919,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -1971,6 +2239,13 @@ __metadata: languageName: node linkType: hard +"@pkgr/core@npm:^0.1.0": + version: 0.1.1 + resolution: "@pkgr/core@npm:0.1.1" + checksum: 3f7536bc7f57320ab2cf96f8973664bef624710c403357429fbf680a5c3b4843c1dbd389bb43daa6b1f6f1f007bb082f5abcb76bb2b5dc9f421647743b71d3d8 + languageName: node + linkType: hard + "@polka/url@npm:^1.0.0-next.24": version: 1.0.0-next.24 resolution: "@polka/url@npm:1.0.0-next.24" @@ -2478,39 +2753,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-dialog@npm:1.0.4": - version: 1.0.4 - resolution: "@radix-ui/react-dialog@npm:1.0.4" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.1 - "@radix-ui/react-compose-refs": 1.0.1 - "@radix-ui/react-context": 1.0.1 - "@radix-ui/react-dismissable-layer": 1.0.4 - "@radix-ui/react-focus-guards": 1.0.1 - "@radix-ui/react-focus-scope": 1.0.3 - "@radix-ui/react-id": 1.0.1 - "@radix-ui/react-portal": 1.0.3 - "@radix-ui/react-presence": 1.0.1 - "@radix-ui/react-primitive": 1.0.3 - "@radix-ui/react-slot": 1.0.2 - "@radix-ui/react-use-controllable-state": 1.0.1 - aria-hidden: ^1.1.1 - react-remove-scroll: 2.5.5 - peerDependencies: - "@types/react": "*" - "@types/react-dom": "*" - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - peerDependenciesMeta: - "@types/react": - optional: true - "@types/react-dom": - optional: true - checksum: 45eb0cb8c9b74714e4a3027055e3d1e8387f6c02c6822aa9711bbc3dffa2f6981385ce55909102987fbf4a48a85c10989b80ad71e80229dae0745ccd6b2e3e76 - languageName: node - linkType: hard - "@radix-ui/react-dialog@npm:1.0.5, @radix-ui/react-dialog@npm:^1.0.4": version: 1.0.5 resolution: "@radix-ui/react-dialog@npm:1.0.5" @@ -2604,30 +2846,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-dismissable-layer@npm:1.0.4": - version: 1.0.4 - resolution: "@radix-ui/react-dismissable-layer@npm:1.0.4" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.1 - "@radix-ui/react-compose-refs": 1.0.1 - "@radix-ui/react-primitive": 1.0.3 - "@radix-ui/react-use-callback-ref": 1.0.1 - "@radix-ui/react-use-escape-keydown": 1.0.3 - peerDependencies: - "@types/react": "*" - "@types/react-dom": "*" - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - peerDependenciesMeta: - "@types/react": - optional: true - "@types/react-dom": - optional: true - checksum: a7b9695092cd4109a7b4a4a66b7f634c42d4f39aa0893621a8ee5e8bc90f8ae27e741df66db726c341a60d2115e3f813520fee1f5cc4fb05d77914b4ade3819f - languageName: node - linkType: hard - "@radix-ui/react-dismissable-layer@npm:1.0.5": version: 1.0.5 resolution: "@radix-ui/react-dismissable-layer@npm:1.0.5" @@ -2754,28 +2972,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-focus-scope@npm:1.0.3": - version: 1.0.3 - resolution: "@radix-ui/react-focus-scope@npm:1.0.3" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/react-compose-refs": 1.0.1 - "@radix-ui/react-primitive": 1.0.3 - "@radix-ui/react-use-callback-ref": 1.0.1 - peerDependencies: - "@types/react": "*" - "@types/react-dom": "*" - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - peerDependenciesMeta: - "@types/react": - optional: true - "@types/react-dom": - optional: true - checksum: bfff46919666c122f5b812ee427494ae8408c0eebee30337bd2ce0eedf539f0feaa242f790304ef9df15425b837010ffc6061ce467bedd2c5fd9373bee2b95da - languageName: node - linkType: hard - "@radix-ui/react-focus-scope@npm:1.0.4": version: 1.0.4 resolution: "@radix-ui/react-focus-scope@npm:1.0.4" @@ -3086,26 +3282,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-portal@npm:1.0.3": - version: 1.0.3 - resolution: "@radix-ui/react-portal@npm:1.0.3" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/react-primitive": 1.0.3 - peerDependencies: - "@types/react": "*" - "@types/react-dom": "*" - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - peerDependenciesMeta: - "@types/react": - optional: true - "@types/react-dom": - optional: true - checksum: baf295bbbf09ead37b64ee1dc025a6a540960f5e60552766d78f6065504c67d4bcf49fad5e2073617d9a3011daafad625aa3bd1da7a886c704833b22a49e888f - languageName: node - linkType: hard - "@radix-ui/react-portal@npm:1.0.4, @radix-ui/react-portal@npm:^1.0.3": version: 1.0.4 resolution: "@radix-ui/react-portal@npm:1.0.4" @@ -5702,51 +5878,56 @@ __metadata: languageName: node linkType: hard -"@rushstack/eslint-patch@npm:^1.3.3": - version: 1.7.2 - resolution: "@rushstack/eslint-patch@npm:1.7.2" - checksum: bfb3e2110bfaf4cf9f900db2626bec62f5cd492907de0c5e43feaac0aa8c1fb13d6c89978dc60f6d7a1bc5d6906e8a3bf009aa2cd79d031b70ab1d8026a0975d +"@rtsao/scc@npm:^1.1.0": + version: 1.1.0 + resolution: "@rtsao/scc@npm:1.1.0" + checksum: b5bcfb0d87f7d1c1c7c0f7693f53b07866ed9fec4c34a97a8c948fb9a7c0082e416ce4d3b60beb4f5e167cbe04cdeefbf6771320f3ede059b9ce91188c409a5b languageName: node linkType: hard -"@segment/analytics-core@npm:1.4.1": - version: 1.4.1 - resolution: "@segment/analytics-core@npm:1.4.1" +"@rushstack/eslint-patch@npm:^1.10.3": + version: 1.10.4 + resolution: "@rushstack/eslint-patch@npm:1.10.4" + checksum: de312bd7a3cb0f313c9720029eb719d8762fe54946cce2d33ac142b1cbb5817c4a5a92518dfa476c26311602d37f5a8f7caa90a0c73e3d6a56f9a05d2799c172 + languageName: node + linkType: hard + +"@segment/analytics-core@npm:1.8.0": + version: 1.8.0 + resolution: "@segment/analytics-core@npm:1.8.0" dependencies: "@lukeed/uuid": ^2.0.0 - "@segment/analytics-generic-utils": 1.1.1 - dset: ^3.1.2 + "@segment/analytics-generic-utils": 1.2.0 + dset: ^3.1.4 tslib: ^2.4.1 - checksum: 129d095f0b419705b542b6314dfadd0659047123fad46591a9599f4ebe0bd2b84b02f8e540c23267ce0abeda5a44b1ebeaa75bb86778f93dcadedcbf3166a3ea + checksum: ca7040a726cb17c46374409192bef1cac458fc6c17ea3694f0f1a5bc6bbeefaccd7cdcc66720949971b77b8ed482e2c43ca838341679259111cc76b3f8ee115c languageName: node linkType: hard -"@segment/analytics-generic-utils@npm:1.1.1": - version: 1.1.1 - resolution: "@segment/analytics-generic-utils@npm:1.1.1" +"@segment/analytics-generic-utils@npm:1.2.0": + version: 1.2.0 + resolution: "@segment/analytics-generic-utils@npm:1.2.0" dependencies: tslib: ^2.4.1 - checksum: ddd7811f7fd4507063b4e5b3dd3b087c3f1b1ddc8a24626d0e29ddf31dcaa9692a960f15cf9025d4298fb87e2f7a446028a6f1e5eb7af7a6afce914d8d87f59f + checksum: 2f9aebc1027ed2d1afcb02338ed4971f774ce25250c499cac6c1c0020a7376e05b56411d38d36ee1cf0cec49cfdb82e68cd3f5d868b47b9e61b3b668bd27e122 languageName: node linkType: hard -"@segment/analytics-next@npm:^1.55.0": - version: 1.64.0 - resolution: "@segment/analytics-next@npm:1.64.0" +"@segment/analytics-next@npm:^1.75.0": + version: 1.75.0 + resolution: "@segment/analytics-next@npm:1.75.0" dependencies: "@lukeed/uuid": ^2.0.0 - "@segment/analytics-core": 1.4.1 - "@segment/analytics-generic-utils": 1.1.1 + "@segment/analytics-core": 1.8.0 + "@segment/analytics-generic-utils": 1.2.0 "@segment/analytics.js-video-plugins": ^0.2.1 "@segment/facade": ^3.4.9 - "@segment/tsub": ^2.0.0 - dset: ^3.1.2 + dset: ^3.1.4 js-cookie: 3.0.1 node-fetch: ^2.6.7 - spark-md5: ^3.0.1 tslib: ^2.4.1 unfetch: ^4.1.0 - checksum: 745d1dd5e52ac783d3d184cb99a0a5dae841a2426862683ade5ea609e44ac41d0a9c7f102dbbc787067f6c783838e9e144803cc07adb7989f2883c110dbb8e8b + checksum: ff1a0c551cf94f37faa784317680fb5175045646579afe125282b6aa232174afa60472a6d3dba872f27b4dda57ad692a5b8fc23f227a24889d0ee610ba85dc17 languageName: node linkType: hard @@ -5787,1219 +5968,19 @@ __metadata: languageName: node linkType: hard -"@segment/tsub@npm:^2.0.0": - version: 2.0.0 - resolution: "@segment/tsub@npm:2.0.0" - dependencies: - "@stdlib/math-base-special-ldexp": ^0.0.5 - dlv: ^1.1.3 - dset: ^3.1.1 - tiny-hashes: ^1.0.1 - bin: - tsub: dist/index.js - checksum: e4077ddb9b15bf2c068b640f25fc3a834d9e4ef8dd5e9a89ec77e27146f32e577570ebc29f7036a1aca90ea8e7862b8c99f0953abe4f6e0664c48d62dd893450 - languageName: node - linkType: hard - -"@stdlib/array-float32@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/array-float32@npm:0.0.6" - dependencies: - "@stdlib/assert-has-float32array-support": ^0.0.x - checksum: 6b52a4db4398e49630bbc8c4394be443bd64eca1eb5a24b89fc79ba7f4ea25681ef2a472422c5afa184420c3dad833d00fb664dd635fc91063cb5308c66b3a5e - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/array-float64@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/array-float64@npm:0.0.6" - dependencies: - "@stdlib/assert-has-float64array-support": ^0.0.x - checksum: bb33cdbc2fc769b1e7fb699a641d6c98d29c7555cae8bf6360aafb9a93bcf5f5d8a17ff22dfed844882e2ceb994ba4c04a8332e17252a674f9581c3c369afd85 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/array-uint16@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/array-uint16@npm:0.0.6" - dependencies: - "@stdlib/assert-has-uint16array-support": ^0.0.x - checksum: 278c4ad06c9c38037e33e9eca934635657ef8f6196187e7525bdfe51034f511917f49d1eafda9ded1d09a9fc5bace17530ac42ecb926899dbfba3b0f7d9e7b29 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/array-uint32@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/array-uint32@npm:0.0.6" - dependencies: - "@stdlib/assert-has-uint32array-support": ^0.0.x - checksum: 55d591ad42493be174d4cb31ffa7e9f9101e06e5eca71848c55f5d3f2cc7fadc5d7397697e9100824f81e1d9bcea7210b0954230ec4471de7bee41709c0d72e3 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/array-uint8@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/array-uint8@npm:0.0.7" - dependencies: - "@stdlib/assert-has-uint8array-support": ^0.0.x - checksum: a913e59f989298d53708aa8db7eac2754080b0a05c79cd24eb25925938a03b967348e231a69b09a0b28dec0c5bcfde7d1bdc66c4d1ceabbbfdb48e732ad5ab41 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-float32array-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-float32array-support@npm:0.0.8" - dependencies: - "@stdlib/assert-is-float32array": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/constants-float64-pinf": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-float32array-support: bin/cli - checksum: 1420fc72231249efa9223fc57fe7e405b15b1bec874535e8a8dd39cb5672b19ba12d84c3331f3e1d5d2be980e2eb03aab96ab514df5f36d0312b464dcbcbb53f - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-float64array-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-float64array-support@npm:0.0.8" - dependencies: - "@stdlib/assert-is-float64array": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-float64array-support: bin/cli - checksum: 216dd9348bca9b3d94b2d47ae05865ee40d19086a9a2136bfbc88d52563cd7d1cfd8989adaa4588642d8a90fab44ff008356ca122faee1d9b733d39f13ff852f - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-node-buffer-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-node-buffer-support@npm:0.0.8" - dependencies: - "@stdlib/assert-is-buffer": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-node-buffer-support: bin/cli - checksum: 7975532e69225b3b5b16c83634636182f9843eccfabfd9c6f15634f21fb1fc764a726e4c02219697cfd8cea7cdd9f5a34be865464375d138d352d438e6c1a6e9 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-own-property@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-has-own-property@npm:0.0.7" - checksum: f504705a552837f2c113c406f0823c7fabb0b545de0e84986f9fae792ba9ed9b9e82509a0224ac8567896d4b8a2494aff45e31696573f49ac129433541540539 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-symbol-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-symbol-support@npm:0.0.8" - dependencies: - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-symbol-support: bin/cli - checksum: 95acc01fa387ad5eac1a757e0827e6ac820a2c1c77921df64bc7ed47565961f2819f874dba121ddfd573e6fcef99b60ef6492ac44855b25a54601c09914332fd - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-tostringtag-support@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/assert-has-tostringtag-support@npm:0.0.9" - dependencies: - "@stdlib/assert-has-symbol-support": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-tostringtag-support: bin/cli - checksum: a6c8dc326365339d004b0daa589f699597f09396f368b15d4dfa5091320aa252924c5eb830f1044d4789a1abc126a121813ad85d0846d052a165cb39c599dec6 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-uint16array-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-uint16array-support@npm:0.0.8" - dependencies: - "@stdlib/assert-is-uint16array": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/constants-uint16-max": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-uint16array-support: bin/cli - checksum: 4185b9bfc9ffb38e4ece714524aacd9bbb6851e3d4d1ea36f4b831254b807c666c38c52b1f934dc4f109b40bbb9a85bf11981ef80712693768c806f8a80b03de - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-uint32array-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-uint32array-support@npm:0.0.8" - dependencies: - "@stdlib/assert-is-uint32array": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/constants-uint32-max": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-uint32array-support: bin/cli - checksum: 7cf8349ee509419ff20e419f2d95a68b2ab88012000e2604c587770bd2b553002de95349f5605282b26da87a1c5ee5030b481a716f1a32e5f8fbe2f622a27bbb - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-has-uint8array-support@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-has-uint8array-support@npm:0.0.8" - dependencies: - "@stdlib/assert-is-uint8array": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/constants-uint8-max": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - has-uint8array-support: bin/cli - checksum: 66f9aa99b788b049176b2fc6983371821d5a0fdda898ad3c93f4b9c9f99191d3ab44836d413155bb72392707b9687d8fa515366f506d2508e79aa222e98f1a59 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-array@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-is-array@npm:0.0.7" - dependencies: - "@stdlib/utils-native-class": ^0.0.x - checksum: ac0613f12a56cea359a347b808a48a9fdc84ee85b40525aa867371d66ae9adc8b88e986c4c27aa8a572f3e740d413716da8ac847d45c02d27b8ea293ab8a4f80 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-big-endian@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-is-big-endian@npm:0.0.7" - dependencies: - "@stdlib/array-uint16": ^0.0.x - "@stdlib/array-uint8": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - is-big-endian: bin/cli - checksum: 47a566f250f97b76b71eaae3ba7b5dafac18a828ca5e8ff2e69c258281904cc4dc28069e68c531ba56247d6d86246e5923b1a799912e1f2ccc839c5a89e1886b - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-boolean@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-boolean@npm:0.0.8" - dependencies: - "@stdlib/assert-has-tostringtag-support": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: 3a89c6caaca0bd904a54ffefd99c0757d60a44dbb4c74aa8fda037c82dc4519ac3f3bfd68db22e02d7142e2fc21575889743cab3fa45d260c276e6d893491b8f - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-buffer@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-buffer@npm:0.0.8" - dependencies: - "@stdlib/assert-is-object-like": ^0.0.x - checksum: 0309645b05945cb95aadfc72eb26aa92abdffba591ebec4962c28a6395eed6c610d954003fe2ba82ddc4f6bc8411cdc98737770bf97da010a8ae7085a732bf56 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-float32array@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-float32array@npm:0.0.8" - dependencies: - "@stdlib/utils-native-class": ^0.0.x - checksum: 8daabb08a89372882da9efd723f5d5b0a4645745988f5184c8f00d016db7fc0e2d29b8e9818cb20567eb4c02c1886db6f87ffaa414da522a2a5e4eb3f8102c9d - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-float64array@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-float64array@npm:0.0.8" - dependencies: - "@stdlib/utils-native-class": ^0.0.x - checksum: 3bc1e7ce5cc1af901dea210cea44a6ccabf269a7cbb97762230a7f61ff88b3011265d458fa4adcfad7599a9de372b78d861aa542e3ab13bf7d3eb3dcd9ddbb90 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-function@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-function@npm:0.0.8" - dependencies: - "@stdlib/utils-type-of": ^0.0.x - checksum: 6c1228010425ffaab0d0a6c2c2737c11479ed22de8b740c24fa4b0af4e8a085d428189c22966b8a43adb3e4f03687399307d8e37a75d25441e4769b8269fd2ac - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-little-endian@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-is-little-endian@npm:0.0.7" - dependencies: - "@stdlib/array-uint16": ^0.0.x - "@stdlib/array-uint8": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - is-little-endian: bin/cli - checksum: ee24f65e5b7a06977a6d1cb58df0fa2226841f0d87565617e023653a8c9bea3cad2f3b6b36f10440d165a2c37fa06e23595d4110fc8d1d7e9531db2e1c29c0d3 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-number@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-is-number@npm:0.0.7" - dependencies: - "@stdlib/assert-has-tostringtag-support": ^0.0.x - "@stdlib/number-ctor": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: 27534eadfc43b6db633eb47c90377806a910ee5e3631ab55a09ebcfbb4788dbf103af58b4d6d58420ad04970902b9d5ee29c6e0e66da95eecf142ad62e204ec1 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-object-like@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-object-like@npm:0.0.8" - dependencies: - "@stdlib/assert-tools-array-function": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - checksum: ec86d731e43ebfcec1dc1a2542c74c883393f2dfbcbf16356967b7b7bece29df524ef2162c524c7594d198c4b41e6ebf8d0dbb5b50c293ce07ea156fd0efb628 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-object@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-object@npm:0.0.8" - dependencies: - "@stdlib/assert-is-array": ^0.0.x - checksum: bc276e3b399d152fd7544c45b433a954a388c80c65a9e522ebd06b06e34ec196a6fa9468ea215dc8cfdb4d61ca568c11bc7ae574f9e9f946716c75723c439350 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-plain-object@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-is-plain-object@npm:0.0.7" - dependencies: - "@stdlib/assert-has-own-property": ^0.0.x - "@stdlib/assert-is-function": ^0.0.x - "@stdlib/assert-is-object": ^0.0.x - "@stdlib/utils-get-prototype-of": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: e7bf327dca878b7bb9aeef1ed8dd667bcc83c8af03561f69870dcd6d9b59ae5e2f2f52f4fe61224f737ccc692a0d79c712fb7ba0742a699d66a3499aeb318e41 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-regexp-string@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/assert-is-regexp-string@npm:0.0.9" - dependencies: - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/process-read-stdin": ^0.0.x - "@stdlib/regexp-eol": ^0.0.x - "@stdlib/regexp-regexp": ^0.0.x - "@stdlib/streams-node-stdin": ^0.0.x - bin: - is-regexp-string: bin/cli - checksum: c3644ddb59a06f59d66ac392733f5f04c708cfb2bfedd97aad788bf13e7d966ca0c61264a8f75afd6b7aa222bb1289c3739d95a7b435ad32a2163d125e2ab493 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-regexp@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-is-regexp@npm:0.0.7" - dependencies: - "@stdlib/assert-has-tostringtag-support": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: 320848de532e50fe3829c6c167cbde10f1c56771bd683f60c4d58617598061d0b1f85c6f96e84ced1ee4d3fc214b00ee6d2e362545fddd9480388a836cb6658e - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-string@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-string@npm:0.0.8" - dependencies: - "@stdlib/assert-has-tostringtag-support": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: e21012c223ce30ce8cbff81561762e3b4aec85dbb8437777e118b7ac9a4194ad6fe3c793b500e1cef5a57548d21066182b107e42098a96ddb314b895bce54f5e - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-uint16array@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-uint16array@npm:0.0.8" - dependencies: - "@stdlib/utils-native-class": ^0.0.x - checksum: 5e87dcc9999ef810c8e8597ece60cc344bc6e9ddd30f5119557e632644fef5d9f77f9008273d07c3cd3e9b791cd3e045b71d1de2fda18217faab7f1e231d7bf4 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-uint32array@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-uint32array@npm:0.0.8" - dependencies: - "@stdlib/utils-native-class": ^0.0.x - checksum: 0fbc737677fc4835a459010be71b257d3fe385fc1bccebbc78d5be47c00797aa5c54ebb8b212f3276a8b66c427a62996d56a9d7b9318d33d0f085ade5c9a1d06 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-is-uint8array@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/assert-is-uint8array@npm:0.0.8" - dependencies: - "@stdlib/utils-native-class": ^0.0.x - checksum: 2b0335c9174da1c53e62bd5d647a559714fee9f05eb68f3a53cb383e06727aceda235f72df72090521a5ab385b49c6bceca08015d3e8cde36790dd5e631dfcf8 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/assert-tools-array-function@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/assert-tools-array-function@npm:0.0.7" - dependencies: - "@stdlib/assert-is-array": ^0.0.x - checksum: fccd9315f8ed0a3f8d30425a30e4b869e442c4a492a5a981afc0c7ce1d0d4f13916d5f4745136cc21629d23a2d7ccc3b88ac74999fb79f117944a344f4726036 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/buffer-ctor@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/buffer-ctor@npm:0.0.7" - dependencies: - "@stdlib/assert-has-node-buffer-support": ^0.0.x - checksum: 052bf19fc52d694c10443aa45b219458718de35d3b997f2cc1964036b13c8bbec7cefa4299e4205ad4455f3db53084e506cf47788b86a476d7b64a2f46cdc4ac - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/buffer-from-string@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/buffer-from-string@npm:0.0.8" - dependencies: - "@stdlib/assert-is-function": ^0.0.x - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/buffer-ctor": ^0.0.x - "@stdlib/string-format": ^0.0.x - checksum: 5741d7e51220bf8a9d6120ab11ed43de98e2c245424d88849b46f199afcf032c759c8935cc19c6702c6e54d0cc7578405f227a0a468b4a2e5a823509ce4604b5 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/cli-ctor@npm:^0.0.x": - version: 0.0.3 - resolution: "@stdlib/cli-ctor@npm:0.0.3" - dependencies: - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-noop": ^0.0.x - minimist: ^1.2.0 - checksum: e710285212671dcbcecf272253bba13bebe09fa66cf4270c10309d6737d572a6748dac432645a51c2e2eed621576e8fc7170eaaa56093427bfa6673288e432a0 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/complex-float32@npm:^0.0.7, @stdlib/complex-float32@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/complex-float32@npm:0.0.7" - dependencies: - "@stdlib/assert-is-number": ^0.0.x - "@stdlib/number-float64-base-to-float32": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-define-property": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 62aa90d8719b203a815145c1366dcca2b6111f26540897d0df79d4a6952e4606f6e869b645e5175d12fcc815665c41fd18d4fa3d6f1e789eff0da118aa816e52 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/complex-float64@npm:^0.0.8, @stdlib/complex-float64@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/complex-float64@npm:0.0.8" - dependencies: - "@stdlib/assert-is-number": ^0.0.x - "@stdlib/complex-float32": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-define-property": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 5d0eadd2cb988984c159d12729141c216ba392b6166fc33afffccfcfaae5966884e47c2229dee978aa4539406e281c5d1228b56eb4bc6f5484de746abba276f4 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/complex-reim@npm:^0.0.6, @stdlib/complex-reim@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/complex-reim@npm:0.0.6" - dependencies: - "@stdlib/array-float64": ^0.0.x - "@stdlib/complex-float64": ^0.0.x - "@stdlib/types": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 3bab60711b0f9f01574fb69cf7dc680461f7efbe38aea7d2e5bc808d6078a03070d14a37846ea66dedeba3a8bc799805400270c5de9029677b6157897a644a2c - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/complex-reimf@npm:^0.0.1, @stdlib/complex-reimf@npm:^0.0.x": - version: 0.0.1 - resolution: "@stdlib/complex-reimf@npm:0.0.1" - dependencies: - "@stdlib/array-float32": ^0.0.x - "@stdlib/complex-float32": ^0.0.x - "@stdlib/types": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 6d3fe0f449ac8bc5584328b4b330192cdf56f439193a606e955addc932ad04af36221d94f7130ea5fc238cce52eb35c993fed4c559c4a803b8aff1e413b3aa0e - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-exponent-bias@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-exponent-bias@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 8da7c360104b0252d99a43c4c9f2d37ef73ff9dbd1a1710c061dbc47a6e7b1bc3ab9a828610b0961b40496686735e776b17efeb84a8f044212d3ff9dbc6f42dc - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-high-word-abs-mask@npm:^0.0.x": - version: 0.0.1 - resolution: "@stdlib/constants-float64-high-word-abs-mask@npm:0.0.1" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 67267894e409fa76f614f64c67638d4dfc9e0cba4c83a28a17dc723306bc4b2917401062f5f77dd04068e9424f58d384e44b72a6793397165f7a8bd1119f1064 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-high-word-exponent-mask@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-high-word-exponent-mask@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 3564e70ba9b894f51e48185a3485b84d80f5113db9da9908a9eb1a9e9c5e4f646a5a6f7f15c0522026d84725c723939626de16f2af9d7e51578b22eaeaa36f93 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-high-word-sign-mask@npm:^0.0.x": - version: 0.0.1 - resolution: "@stdlib/constants-float64-high-word-sign-mask@npm:0.0.1" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: c8f4bc892d68ac42b2d4775dfb5e957db3a915802b60ad27e60600408b8ee81ce9091665e4025c15e261730bd1f499170fa42409e3f2f201638bf8c16b75bd1b - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-max-base2-exponent-subnormal@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-max-base2-exponent-subnormal@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 463f108d661a436984acb3672b190348de1863e430e22f6731419ea2ed0e4c10c51f8b85c2ff24c67ad367c946ba8d6f92f24f80488f049faadb65d4611c33c9 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-max-base2-exponent@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-max-base2-exponent@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 3a2d71d30b19f540373d5fef7cba74190d5b54eb7f5816c056cbf4182fbb05ab36731c3d58cd1f6e34053c3b7693cac2fdaa667e2181c848ffb3d0dff8c8ad8c - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-min-base2-exponent-subnormal@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-min-base2-exponent-subnormal@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 3b40f74b2ea49ec0622cea168cac2f2c1492eb0b1855ec333d8b13cd9849f23d8e0179646dc624661f9de3e3285647d133f2e54cae9e135ce41fe1cb9fdf5236 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-ninf@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-ninf@npm:0.0.8" - dependencies: - "@stdlib/number-ctor": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 55df386782c70c6d8330436386b70efa631e14e6a4b164ab4aedda5b9a5821a4f702f3ad62489a06bd454faac1181c952cc9175ec0f4051442012407fc6a1d17 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-pinf@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-pinf@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 71affcdb189ff1ab7a54e08c2de07e59a962b6d008015670cc36fb17d331d16941334c459789045f26ef75edd6b2d1fa5f059156b7f49006078677947fea213f - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-float64-smallest-normal@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/constants-float64-smallest-normal@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 51bc0b848e3496e7708edea0705b3eeefa0a58e33375305a62953a25ed868dd41312bacd5cb2787f4f8c3c0bd47389806a7eea7483e93e5b8273fb06cbbb1974 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-uint16-max@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/constants-uint16-max@npm:0.0.7" - checksum: d13141f3d50cd3c734e7b4ca8e1333a4a361ff34ac877bc7d1d97bdd43287064410c2c78a317f51ece9bceae30aef1ead4ae0718adbf63749ff5924179976134 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-uint32-max@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/constants-uint32-max@npm:0.0.7" - checksum: 354781ac3ef154603eaf896e5d54a7fb8c6cd1045f523b6076a3b45fb50aefef06db1c31c78c12aa8a02ebb9ff63208716ebb1693141587cfd2b1148aa5b9ad5 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/constants-uint8-max@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/constants-uint8-max@npm:0.0.7" - checksum: 9afca99330681e5d4d3f8279d44c42c16e837540c96d65a4afa6505f3d22ad38648e44841ee5e6b35ff0619818f58976741d4cae12699b37edc6445fb591d986 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/fs-exists@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/fs-exists@npm:0.0.8" - dependencies: - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/process-cwd": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - bin: - exists: bin/cli - checksum: 0283a74fbd764b64e281019be369acd6bdaa254d263459bad05da38bb3295f8f00168e339fd45e4f0bfc45ac00bb708372f97daa555d55e46b4b6db10e53880f - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/fs-read-file@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/fs-read-file@npm:0.0.8" - dependencies: - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - bin: - read-file: bin/cli - checksum: 5bd91d1d62c3855a11e4646d4107977448c711b0641cefe6e0c98f34bf06a85b85cf03d483ee9c04842e1039be9d36b199691fe0d1a6166036bae645e1cb7929 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/fs-resolve-parent-path@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/fs-resolve-parent-path@npm:0.0.8" - dependencies: - "@stdlib/assert-has-own-property": ^0.0.x - "@stdlib/assert-is-function": ^0.0.x - "@stdlib/assert-is-plain-object": ^0.0.x - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-exists": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/process-cwd": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - bin: - resolve-parent-path: bin/cli - checksum: a7dabe0e6276bb5ad51dfe962bfd5a22b6d4eee848f67e18b48523556b3b6afa8e01ee96a0bfeaa1c213cc304846d684fc511ac6bfb7965c83b7a459ef300c6c - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-assert-is-infinite@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/math-base-assert-is-infinite@npm:0.0.9" - dependencies: - "@stdlib/constants-float64-ninf": ^0.0.x - "@stdlib/constants-float64-pinf": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 9879ebcedd478dec2dc735f0b1b8e75b5c8c0635b74e92dbb5f37596f17794401b9b457fa03b6913b684fe1d7e391991c1dd273afe1ed8d902df3d587b1e1d60 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-assert-is-nan@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/math-base-assert-is-nan@npm:0.0.8" - dependencies: - "@stdlib/utils-library-manifest": ^0.0.x - checksum: be0a811653c7ab9a599f0da728e7349f8ae94bbba41ed1b373a8c57d100aa280bbdaf7aff898650e7c953251bd8fc41b2497a47ae12b327e3588a6ea79a57d72 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-napi-binary@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/math-base-napi-binary@npm:0.0.8" - dependencies: - "@stdlib/complex-float32": ^0.0.x - "@stdlib/complex-float64": ^0.0.x - "@stdlib/complex-reim": ^0.0.x - "@stdlib/complex-reimf": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 5fd996a9ce20ef47ca8146594de70729e55a137831e2b8c7fc5e0b8e898c5aba80a8338efeaf5387ca84658ff9836abb291abfed26f4034e583394429332b9f0 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-napi-unary@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/math-base-napi-unary@npm:0.0.9" - dependencies: - "@stdlib/complex-float32": ^0.0.7 - "@stdlib/complex-float64": ^0.0.8 - "@stdlib/complex-reim": ^0.0.6 - "@stdlib/complex-reimf": ^0.0.1 - "@stdlib/utils-library-manifest": ^0.0.8 - checksum: 41ab56ff206db79cd14e9d2a364672086a2acb95c4bcfe300df7743c56c74c4befdb10409f37f996610b62e4c39170f2af7a701d8dabc5f4e330c17427b81e7a - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-special-abs@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/math-base-special-abs@npm:0.0.6" - dependencies: - "@stdlib/math-base-napi-unary": ^0.0.x - "@stdlib/number-float64-base-to-words": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 476d36724b494faaeaaf26b9fb16fdc64f19b488d242307ef61a4cab90904afa18911e51e4f5256d833ad740e642340d880a0f71fec3c76effbba6146bb412c2 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-special-copysign@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/math-base-special-copysign@npm:0.0.7" - dependencies: - "@stdlib/constants-float64-high-word-abs-mask": ^0.0.x - "@stdlib/constants-float64-high-word-sign-mask": ^0.0.x - "@stdlib/math-base-napi-binary": ^0.0.x - "@stdlib/number-float64-base-from-words": ^0.0.x - "@stdlib/number-float64-base-get-high-word": ^0.0.x - "@stdlib/number-float64-base-to-words": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 47a15c0e95c68320d7a36ecb9e06bc31f4d7dfd561f6755c2bec42abdfeeda091a9a9cdad644d695c0a06282740ccc15c90ced33c812a72725ddb4555517a0d0 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/math-base-special-ldexp@npm:^0.0.5": - version: 0.0.5 - resolution: "@stdlib/math-base-special-ldexp@npm:0.0.5" - dependencies: - "@stdlib/constants-float64-exponent-bias": ^0.0.x - "@stdlib/constants-float64-max-base2-exponent": ^0.0.x - "@stdlib/constants-float64-max-base2-exponent-subnormal": ^0.0.x - "@stdlib/constants-float64-min-base2-exponent-subnormal": ^0.0.x - "@stdlib/constants-float64-ninf": ^0.0.x - "@stdlib/constants-float64-pinf": ^0.0.x - "@stdlib/math-base-assert-is-infinite": ^0.0.x - "@stdlib/math-base-assert-is-nan": ^0.0.x - "@stdlib/math-base-special-copysign": ^0.0.x - "@stdlib/number-float64-base-exponent": ^0.0.x - "@stdlib/number-float64-base-from-words": ^0.0.x - "@stdlib/number-float64-base-normalize": ^0.0.x - "@stdlib/number-float64-base-to-words": ^0.0.x - checksum: d35b60525a7a9b285bb0b430c31b9aeb0edd614dac525c852a1605b258081b40ed621d5a4f21c473f6ecdeab9152c4e268c756ddc71321567092d307184ef760 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-ctor@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/number-ctor@npm:0.0.7" - checksum: 887a23cfe8009928c4f974ba04b302558be09a934397935a620ac5b0c17d6e53133d23bf704bb2226f2415aed4f1b34474966b7880e565df8f5ca51fc7fbcf79 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-float64-base-exponent@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/number-float64-base-exponent@npm:0.0.6" - dependencies: - "@stdlib/constants-float64-exponent-bias": ^0.0.x - "@stdlib/constants-float64-high-word-exponent-mask": ^0.0.x - "@stdlib/number-float64-base-get-high-word": ^0.0.x - checksum: 4e30137dc43fa968d7bbc6aaeb6263da652f5ac58e37720e3044f352a365d6159cd656be63b6bf2a3c6d2ecb12c9ff3b289ac49ad5820e8af24519f52c3a96dc - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-float64-base-from-words@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/number-float64-base-from-words@npm:0.0.6" - dependencies: - "@stdlib/array-float64": ^0.0.x - "@stdlib/array-uint32": ^0.0.x - "@stdlib/assert-is-little-endian": ^0.0.x - "@stdlib/number-float64-base-to-words": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 05c7a2aca267bd193f6426811c281ec40b950dbc1c91f528713eb2f12d0e1614792c9e3f530ec195d71cecf817c0d5900b8231e9472779cb8bbb29497a1a26df - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-float64-base-get-high-word@npm:^0.0.x": - version: 0.0.6 - resolution: "@stdlib/number-float64-base-get-high-word@npm:0.0.6" - dependencies: - "@stdlib/array-float64": ^0.0.x - "@stdlib/array-uint32": ^0.0.x - "@stdlib/assert-is-little-endian": ^0.0.x - "@stdlib/number-float64-base-to-words": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: d8b749157d77300c59980b11d5f0ede34db33bbbe55435e8daaae52a9f93e44890e9d10c665f8fbc13d0dbf159b9dd5b466a47061870e5b9909641e88702e303 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-float64-base-normalize@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/number-float64-base-normalize@npm:0.0.9" - dependencies: - "@stdlib/constants-float64-smallest-normal": ^0.0.x - "@stdlib/math-base-assert-is-infinite": ^0.0.x - "@stdlib/math-base-assert-is-nan": ^0.0.x - "@stdlib/math-base-special-abs": ^0.0.x - "@stdlib/types": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - node-gyp: latest - checksum: 76e0980b2230d06f0f54b2631f15e378f65e78d971a7a3024df7d95bfdab490ad1c9959c918f0949547092488975ae43259537d4b5f5216aae0bb303eec78a16 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-float64-base-to-float32@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/number-float64-base-to-float32@npm:0.0.7" - dependencies: - "@stdlib/array-float32": ^0.0.x - checksum: 98a1c079b00d11363f37636d9d0713ec80e3ae185ef029af98f24933024ac6beb22b461878fc49ac5ea08c5d09b82ba659267bb7ca477d4345c52c9780d985b8 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/number-float64-base-to-words@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/number-float64-base-to-words@npm:0.0.7" - dependencies: - "@stdlib/array-float64": ^0.0.x - "@stdlib/array-uint32": ^0.0.x - "@stdlib/assert-is-little-endian": ^0.0.x - "@stdlib/os-byte-order": ^0.0.x - "@stdlib/os-float-word-order": ^0.0.x - "@stdlib/types": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - checksum: 2dacf049fa76bf7aaa0a23002c5bd99cde2f7c950cc41d39a663079061c2723e87521b9df418e3b98c77c24a05634662d1993a8fd83954fd8d8d4279c5d1477d - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/os-byte-order@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/os-byte-order@npm:0.0.7" - dependencies: - "@stdlib/assert-is-big-endian": ^0.0.x - "@stdlib/assert-is-little-endian": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - bin: - byte-order: bin/cli - checksum: 5b82ef331cd8d8ccd3fc0cfd1c0294eefb6d62fb7b89c8ac10bdb4dbf4b902d97703071d2253107da662fcf5bc6ed8e014d8b641cec9544430119bec429e102f - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/os-float-word-order@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/os-float-word-order@npm:0.0.7" - dependencies: - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/os-byte-order": ^0.0.x - "@stdlib/utils-library-manifest": ^0.0.x - bin: - float-word-order: bin/cli - checksum: 464b0d2f4fd0edec778fef25354538fb38a95b58c982a301eed21f323325fbe3f2681082290cb6cb995cc80815e277233a9f300a188cb09f043c13731439bc81 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/process-cwd@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/process-cwd@npm:0.0.8" - dependencies: - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - bin: - cwd: bin/cli - checksum: 87e5411b1459394ce1776c83c816252d499592eb6f0ac89a803ec520a444543beb5e72c817a4ca8a304fdaa8898883a74092ad06eca450c6118e5ad2b0cfeb75 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/process-read-stdin@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/process-read-stdin@npm:0.0.7" - dependencies: - "@stdlib/assert-is-function": ^0.0.x - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/buffer-ctor": ^0.0.x - "@stdlib/buffer-from-string": ^0.0.x - "@stdlib/streams-node-stdin": ^0.0.x - "@stdlib/utils-next-tick": ^0.0.x - checksum: 850c59b168236c5b729d579b936cde88bb53328b258ac022ad3572504275e67187f7b8eca76b381cebf5f941a297f17072af3b7e5169b3aa15711747e453194e - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/regexp-eol@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/regexp-eol@npm:0.0.7" - dependencies: - "@stdlib/assert-has-own-property": ^0.0.x - "@stdlib/assert-is-boolean": ^0.0.x - "@stdlib/assert-is-plain-object": ^0.0.x - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - checksum: 4645705e5ff2e4720c31425f9fc5ccbaa5558a062e21fc1171760d2fba4439604600e1e6f9ac2214e3be153e61a6c46f7e694bb0995776900e402cea78bbf15b - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/regexp-extended-length-path@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/regexp-extended-length-path@npm:0.0.7" - dependencies: - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - checksum: f007c3cdfb389d671b8376660af28e4c0e077fa542bf35bb878b86c45a9e4c925342c70c4efa262b27d63989f5dee201cec8f9b9fa3503c84b426a7a9e438a42 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/regexp-function-name@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/regexp-function-name@npm:0.0.7" - dependencies: - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - checksum: 0c86af3d885eca767d83f3eb73ca8d7420a4adaff7da75a1b351dcd35b808e59f441a658074b56a15936bcae20337f9dcfbaa481535b53b95ef20bc78f006378 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/regexp-regexp@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/regexp-regexp@npm:0.0.8" - dependencies: - "@stdlib/utils-define-nonenumerable-read-only-property": ^0.0.x - checksum: cdd7402a1df9c2abaf04371cf8db72ea12776dae2b72342a36d2a5fc51e3f8b398333720ef36c122445d825723f173c3131c06fac7c40728aba3ac199787a561 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/streams-node-stdin@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/streams-node-stdin@npm:0.0.7" - checksum: 0bf4a23ccce79a907550fa30807bb36fc8eb1440526e004bdde1310b87d6803fa036d6a7b8b1b7ef68471ec3fac92729656c7906a1ca09a67b6c635a30e86290 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/string-base-format-interpolate@npm:^0.0.x": - version: 0.0.4 - resolution: "@stdlib/string-base-format-interpolate@npm:0.0.4" - checksum: 5da4dc9c6195d5933e15590f0e80fca956ac2d587e0cdbb4262ff47460ddbcebeb818a3fed22e32240030100787d4d3f2ba585f503ecde0cfdf250c9bf5485c3 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/string-base-format-tokenize@npm:^0.0.x": - version: 0.0.4 - resolution: "@stdlib/string-base-format-tokenize@npm:0.0.4" - checksum: e68381307f41ebd69d7677f7d94f1c0313889f8ea4f02962451b7d1a628a9c7a154c5edeb7255d582ee62edc5b39971bdcb740fa34a3e2410378ac26e02b06c6 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/string-format@npm:^0.0.x": - version: 0.0.3 - resolution: "@stdlib/string-format@npm:0.0.3" - dependencies: - "@stdlib/string-base-format-interpolate": ^0.0.x - "@stdlib/string-base-format-tokenize": ^0.0.x - checksum: 43f6163e569bd37cd625a44068595588e84784b4b5967a3191b9db46db0fcf1e581fc38fb36e4f33f43532c3430e6648b3d9ee311a5b10fa1e0d804c7368aff9 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/string-lowercase@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/string-lowercase@npm:0.0.9" - dependencies: - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/process-read-stdin": ^0.0.x - "@stdlib/streams-node-stdin": ^0.0.x - "@stdlib/string-format": ^0.0.x - bin: - lowercase: bin/cli - checksum: 108878fc6e7f0db1830a36193f27a0b457967ee662e70600d6684a136774698bf16ef1297e95bcf9602d32f9232ef657bea0f4568fff2c0a14ad7dd0b54a12a4 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/string-replace@npm:^0.0.x": - version: 0.0.11 - resolution: "@stdlib/string-replace@npm:0.0.11" - dependencies: - "@stdlib/assert-is-function": ^0.0.x - "@stdlib/assert-is-regexp": ^0.0.x - "@stdlib/assert-is-regexp-string": ^0.0.x - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/process-read-stdin": ^0.0.x - "@stdlib/regexp-eol": ^0.0.x - "@stdlib/streams-node-stdin": ^0.0.x - "@stdlib/string-format": ^0.0.x - "@stdlib/utils-escape-regexp-string": ^0.0.x - "@stdlib/utils-regexp-from-string": ^0.0.x - bin: - replace: bin/cli - checksum: 326cfeb3844fb09275c075e39dfa40cc68340ab864560e2992256188a5fa2e960b5e12523857a9b54a7a37c27ff50a12b9e21e5a0fe462d480c66e67c7bb341b - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/types@npm:^0.0.x": - version: 0.0.14 - resolution: "@stdlib/types@npm:0.0.14" - checksum: 9aa3d1fdad04c49d190623cb5d26cf714206abe60710d4e3534527c5134e8fbe2ed82b1a80ab8cb01e0dcee2109fb6b4a84213022b0dd0571acf9ed8b446d891 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-constructor-name@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/utils-constructor-name@npm:0.0.8" - dependencies: - "@stdlib/assert-is-buffer": ^0.0.x - "@stdlib/regexp-function-name": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: 250ade3c65d4aa15014f89c13f42544ca26468045b4dc82292f29eac069a67399994771b79314f88634d7fc2ddb37f3d94b4712a8bcac395b71ee48daaa8bb12 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-convert-path@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/utils-convert-path@npm:0.0.8" - dependencies: - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-read-file": ^0.0.x - "@stdlib/process-read-stdin": ^0.0.x - "@stdlib/regexp-eol": ^0.0.x - "@stdlib/regexp-extended-length-path": ^0.0.x - "@stdlib/streams-node-stdin": ^0.0.x - "@stdlib/string-lowercase": ^0.0.x - "@stdlib/string-replace": ^0.0.x - bin: - convert-path: bin/cli - checksum: de4f0dd1730c8829838094a8ce99d9f2645283fc4a1aa5d46e63fcca06a8e30fdee5e18a68c9c265f1dde59e13caf400896e9af3100d6e3f530eb700187ac9ca - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-define-nonenumerable-read-only-property@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/utils-define-nonenumerable-read-only-property@npm:0.0.7" - dependencies: - "@stdlib/types": ^0.0.x - "@stdlib/utils-define-property": ^0.0.x - checksum: 08d756442310fea3ff41c29183e3d80b5b2e25e9d85c08cb09e86b1446e1f80486dcc13b1ff9a05a85034485d812da97d1f978326aeb157d7218bc7bfb0742d2 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-define-property@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/utils-define-property@npm:0.0.9" - dependencies: - "@stdlib/types": ^0.0.x - checksum: 6af41a106db24ce1f69a5d1daf659b74d657e521ecfd5e2dc56a4c61c2ed3a8f7fe63e40b3f367839dd3afc20a1e798a5c3564dd80214c2cbb71d51a8ae5b32b - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-escape-regexp-string@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/utils-escape-regexp-string@npm:0.0.9" - dependencies: - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/string-format": ^0.0.x - checksum: d24f08f0a6ca64203140498327c6e54679250ed9e37e40b808125f8e8bf5cd81d19bccf74d2258049f8cd4bb8cc7d9752fb492e834f5a526f137ae6b96f546a4 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-get-prototype-of@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/utils-get-prototype-of@npm:0.0.7" - dependencies: - "@stdlib/assert-is-function": ^0.0.x - "@stdlib/utils-native-class": ^0.0.x - checksum: 4eb1f9743adb1eeae6981bc03bb696154c543804424aca6c08a970216f31ccdb7dcec0e5ffc027e930ad46fc9ed6f9be461a745fbff9270d42d3295c93129669 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-global@npm:^0.0.x": - version: 0.0.7 - resolution: "@stdlib/utils-global@npm:0.0.7" - dependencies: - "@stdlib/assert-is-boolean": ^0.0.x - checksum: c3c17fb8b5e4ec1cad14cf0c39c2c703c9beebc5defaca322c29716d48c58903b06cdedc7ee08c9750518a26444f8b28c1855a41637313a8d2ec455924481496 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-library-manifest@npm:^0.0.8, @stdlib/utils-library-manifest@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/utils-library-manifest@npm:0.0.8" - dependencies: - "@stdlib/cli-ctor": ^0.0.x - "@stdlib/fs-resolve-parent-path": ^0.0.x - "@stdlib/utils-convert-path": ^0.0.x - debug: ^2.6.9 - resolve: ^1.1.7 - bin: - library-manifest: bin/cli - checksum: 19660b39470c4644810a108ed031dbdbbc86f44c6e68748dbb66ab2d902d7bec5dbe8e47f3fc2b6e138d1da403e14a5242af4d7997de985bbff975d8bb78e31e - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-native-class@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/utils-native-class@npm:0.0.8" - dependencies: - "@stdlib/assert-has-own-property": ^0.0.x - "@stdlib/assert-has-tostringtag-support": ^0.0.x - checksum: a84981dcfd9589f3495af5abb1ba6787fce8e3c8c35033bec78fab0766b5ab6c191e57df9cd7147fc96b19b6657438710bdaaec0baef021baf7b8882080ab750 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-next-tick@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/utils-next-tick@npm:0.0.8" - checksum: 5b3cdb1a19d50b9ebb4ab94d0f85f7bdcb123687c3d25a48bc5a77c5760ecbe92a0909e5e814e687a0e7972d05c3e09eba9ada75909ec4c7fe26bbcffc6246c9 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-noop@npm:^0.0.x": - version: 0.0.14 - resolution: "@stdlib/utils-noop@npm:0.0.14" - checksum: a6b414289baf49ce6ee55bb643708ffc9cf3895a7915465e842341adb568d6902aacf19259098781c95e0caac94f3b76fab53e31b25eac5e03e655d355567f06 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-regexp-from-string@npm:^0.0.x": - version: 0.0.9 - resolution: "@stdlib/utils-regexp-from-string@npm:0.0.9" - dependencies: - "@stdlib/assert-is-string": ^0.0.x - "@stdlib/regexp-regexp": ^0.0.x - "@stdlib/string-format": ^0.0.x - checksum: b7d429ec330d420ec94f4cbf52a5f37838a72be1800eb7b7f9d5055c2b8944c20209a0d2d9eee3d881c8b93cf282158da56b30e2b6d42bd0b452e4157d2caab4 - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@stdlib/utils-type-of@npm:^0.0.x": - version: 0.0.8 - resolution: "@stdlib/utils-type-of@npm:0.0.8" - dependencies: - "@stdlib/utils-constructor-name": ^0.0.x - "@stdlib/utils-global": ^0.0.x - checksum: fa73f1ed19d1ba999487870cb2cd7eb68a0891cbbaab0785aa41c5e1cef5ae430f459c94fc5181d6f5d26e6e2fbb2ae6873a596ff48142b5de51de1d435723eb - conditions: (os=aix | os=darwin | os=freebsd | os=linux | os=macos | os=openbsd | os=sunos | os=win32 | os=windows) - languageName: node - linkType: hard - -"@swc/counter@npm:^0.1.3": +"@swc/counter@npm:0.1.3": version: 0.1.3 resolution: "@swc/counter@npm:0.1.3" checksum: 8424f60f6bf8694cfd2a9bca45845bce29f26105cda8cf19cdb9fd3e78dc6338699e4db77a89ae449260bafa1cc6bec307e81e7fb96dbf7dcfce0eea55151356 languageName: node linkType: hard -"@swc/helpers@npm:0.5.5": - version: 0.5.5 - resolution: "@swc/helpers@npm:0.5.5" +"@swc/helpers@npm:0.5.13": + version: 0.5.13 + resolution: "@swc/helpers@npm:0.5.13" dependencies: - "@swc/counter": ^0.1.3 tslib: ^2.4.0 - checksum: 21a9b9cfe7e00865f9c9f3eb4c1cc5b397143464f7abee76a2c5366e591e06b0155b5aac93fe8269ef8d548df253f6fd931e9ddfc0fd12efd405f90f45506e7d + checksum: b9df578401fc62405da9a6c31e79e447a2fd90f68b25b1daee12f2caf2821991bb89106f0397bc1acb4c4d84a8ce079d04b60b65f534496952e3bf8c9a52f40f languageName: node linkType: hard @@ -7154,6 +6135,25 @@ __metadata: languageName: node linkType: hard +"@types/eslint@npm:*": + version: 9.6.1 + resolution: "@types/eslint@npm:9.6.1" + dependencies: + "@types/estree": "*" + "@types/json-schema": "*" + checksum: 69ba24fee600d1e4c5abe0df086c1a4d798abf13792d8cfab912d76817fe1a894359a1518557d21237fbaf6eda93c5ab9309143dee4c59ef54336d1b3570420e + languageName: node + linkType: hard + +"@types/eslint__js@npm:8.42.3": + version: 8.42.3 + resolution: "@types/eslint__js@npm:8.42.3" + dependencies: + "@types/eslint": "*" + checksum: ccc5180b92155929a089ffb03ed62625216dcd5e46dd3197c6f82370ce8b52c7cb9df66c06b0a3017995409e023bc9eafe5a3f009e391960eacefaa1b62d9a56 + languageName: node + linkType: hard + "@types/estree-jsx@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree-jsx@npm:1.0.5" @@ -7170,6 +6170,13 @@ __metadata: languageName: node linkType: hard +"@types/estree@npm:^1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a + languageName: node + linkType: hard + "@types/google.maps@npm:^3.55.12": version: 3.55.12 resolution: "@types/google.maps@npm:3.55.12" @@ -7202,13 +6209,6 @@ __metadata: languageName: node linkType: hard -"@types/js-yaml@npm:^4.0.0": - version: 4.0.9 - resolution: "@types/js-yaml@npm:4.0.9" - checksum: 24de857aa8d61526bbfbbaa383aa538283ad17363fcd5bb5148e2c7f604547db36646440e739d78241ed008702a8920665d1add5618687b6743858fae00da211 - languageName: node - linkType: hard - "@types/jsdom@npm:^21.1.1": version: 21.1.6 resolution: "@types/jsdom@npm:21.1.6" @@ -7220,7 +6220,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.7": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.7": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -7262,13 +6262,20 @@ __metadata: languageName: node linkType: hard -"@types/mdx@npm:^2.0.0, @types/mdx@npm:^2.0.10, @types/mdx@npm:^2.0.11, @types/mdx@npm:^2.0.5": +"@types/mdx@npm:^2.0.0": version: 2.0.11 resolution: "@types/mdx@npm:2.0.11" checksum: 8e60d9e1adb06854f25ac327ec340763b5867ce65ba5635ae6b24db6bda36d64655c5ee8a2f06bbc246199bcfd41cc3c8a4a95786c97a7befb3c28c7f134ffe1 languageName: node linkType: hard +"@types/mdx@npm:^2.0.13": + version: 2.0.13 + resolution: "@types/mdx@npm:2.0.13" + checksum: 5edf1099505ac568da55f9ae8a93e7e314e8cbc13d3445d0be61b75941226b005e1390d9b95caecf5dcb00c9d1bab2f1f60f6ff9876dc091a48b547495007720 + languageName: node + linkType: hard + "@types/ms@npm:*": version: 0.7.34 resolution: "@types/ms@npm:0.7.34" @@ -7329,13 +6336,6 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*, @types/prop-types@npm:^15.0.0": - version: 15.7.11 - resolution: "@types/prop-types@npm:15.7.11" - checksum: e53423cf9d510515ef8b47ff42f4f1b65a7b7b37c8704e2dbfcb9a60defe0c0e1f3cb1acfdeb466bad44ca938d7c79bffdd51b48ffb659df2432169d0b27a132 - languageName: node - linkType: hard - "@types/qs@npm:^6.5.3": version: 6.9.11 resolution: "@types/qs@npm:6.9.11" @@ -7343,52 +6343,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.2.0": - version: 18.2.7 - resolution: "@types/react-dom@npm:18.2.7" +"@types/react-dom@npm:types-react@rc, @types/react@npm:types-react@rc": + version: 19.0.0-rc.1 + resolution: "types-react@npm:19.0.0-rc.1" dependencies: - "@types/react": "*" - checksum: 88d7c6daa4659f661d0c97985d9fca492f24b421a34bb614dcd94c343aed7bea121463149e97fb01ecaa693be17b7d1542cf71ddb1705f3889a81eb2639a88aa - languageName: node - linkType: hard - -"@types/react-google-recaptcha@npm:^2.1.6": - version: 2.1.9 - resolution: "@types/react-google-recaptcha@npm:2.1.9" - dependencies: - "@types/react": "*" - checksum: 12b1806ef4083524cf108fb7c83f7438feb5746e672af2589a2645de26d2ac1ed0f4b687a1e7d482f51a92a75850c074a8696396c1024a3f80e8902a780d4f95 - languageName: node - linkType: hard - -"@types/react-transition-group@npm:^4.4.6": - version: 4.4.10 - resolution: "@types/react-transition-group@npm:4.4.10" - dependencies: - "@types/react": "*" - checksum: 3eb9bca143abc21eb781aa5cb1bded0c9335689d515bf0513fb8e63217b7a8122c6a323ecd5644a06938727e1f467ee061d8df1c93b68825a80ff1b47ab777a2 - languageName: node - linkType: hard - -"@types/react@npm:*, @types/react@npm:^18.2.0": - version: 18.2.22 - resolution: "@types/react@npm:18.2.22" - dependencies: - "@types/prop-types": "*" - "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 80145b707b780d682092b51d520f58a0171c4067ff36cf488d3346d92b715b27fd334acd0fabb8eb21a4eb6c4061f1535e8bfa6642a7f4025e63ebec868fb6d1 - languageName: node - linkType: hard - -"@types/react@npm:>=16": - version: 18.2.66 - resolution: "@types/react@npm:18.2.66" - dependencies: - "@types/prop-types": "*" - "@types/scheduler": "*" - csstype: ^3.0.2 - checksum: 56e4b841f2daf03a0b3268d4f2bcf5841167fe56742b9f1c076fad66587fb59191bdaba4d5727dbfbcff750d5e8797fdd4e57d8d9704b0bfc6ad31ee1e268a70 + checksum: 408cd9f3f960e806d510f7a9a3569f92a7f1cff3c57f5465fab4c139f0020c88dc7a08e6f357d2a116bd2c76e641851ce84527cb765f36824a6e818e0d477bbc languageName: node linkType: hard @@ -7406,20 +6366,6 @@ __metadata: languageName: node linkType: hard -"@types/scheduler@npm:*": - version: 0.16.8 - resolution: "@types/scheduler@npm:0.16.8" - checksum: f86de504945b8fc41b1f391f847444d542e2e4067cf7e5d9bfeb5d2d2393d3203b1161bc0ef3b1e104d828dabfb60baf06e8d2c27e27ff7e8258e6e618d8c4ec - languageName: node - linkType: hard - -"@types/semver@npm:^7.5.0": - version: 7.5.8 - resolution: "@types/semver@npm:7.5.8" - checksum: 8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa - languageName: node - linkType: hard - "@types/tough-cookie@npm:*": version: 4.0.5 resolution: "@types/tough-cookie@npm:4.0.5" @@ -7448,190 +6394,119 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.18.1": - version: 6.21.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0" +"@typescript-eslint/eslint-plugin@npm:8.11.0, @typescript-eslint/eslint-plugin@npm:^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0": + version: 8.11.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.11.0" dependencies: - "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.21.0 - "@typescript-eslint/type-utils": 6.21.0 - "@typescript-eslint/utils": 6.21.0 - "@typescript-eslint/visitor-keys": 6.21.0 - debug: ^4.3.4 + "@eslint-community/regexpp": ^4.10.0 + "@typescript-eslint/scope-manager": 8.11.0 + "@typescript-eslint/type-utils": 8.11.0 + "@typescript-eslint/utils": 8.11.0 + "@typescript-eslint/visitor-keys": 8.11.0 graphemer: ^1.4.0 - ignore: ^5.2.4 + ignore: ^5.3.1 natural-compare: ^1.4.0 - semver: ^7.5.4 - ts-api-utils: ^1.0.1 + ts-api-utils: ^1.3.0 peerDependencies: - "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: f911a79ee64d642f814a3b6cdb0d324b5f45d9ef955c5033e78903f626b7239b4aa773e464a38c3e667519066169d983538f2bf8e5d00228af587c9d438fb344 + checksum: be509f7bb0c0c596801059b06995a81a1c326cc6ac31d96a32f7b6b7d7b495f9bad4dc442aa6e923d22515e62c668d3c14695c68bd6e0be1d4bf72158b7fd2d6 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/parser@npm:7.2.0" +"@typescript-eslint/parser@npm:8.11.0, @typescript-eslint/parser@npm:^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0": + version: 8.11.0 + resolution: "@typescript-eslint/parser@npm:8.11.0" dependencies: - "@typescript-eslint/scope-manager": 7.2.0 - "@typescript-eslint/types": 7.2.0 - "@typescript-eslint/typescript-estree": 7.2.0 - "@typescript-eslint/visitor-keys": 7.2.0 + "@typescript-eslint/scope-manager": 8.11.0 + "@typescript-eslint/types": 8.11.0 + "@typescript-eslint/typescript-estree": 8.11.0 + "@typescript-eslint/visitor-keys": 8.11.0 debug: ^4.3.4 peerDependencies: - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 11ce36c68212fdbf98fc6fd32ba0977d46b645fd669a3f4fdb8be2036225f86ad005b31a66f97097e90517c44c92cf9cc5fb1d6e9647ee2fa125c4af21cdb477 + checksum: e83f239fec60697083e5dcb1c8948340e783ea6e043fe9a65d557faef8882963b09d69aacd736eb8ab18a768769a7bbfc3de0f1251d4bba080613541acb0741c languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.18.1": - version: 6.21.0 - resolution: "@typescript-eslint/parser@npm:6.21.0" +"@typescript-eslint/scope-manager@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/scope-manager@npm:8.11.0" dependencies: - "@typescript-eslint/scope-manager": 6.21.0 - "@typescript-eslint/types": 6.21.0 - "@typescript-eslint/typescript-estree": 6.21.0 - "@typescript-eslint/visitor-keys": 6.21.0 + "@typescript-eslint/types": 8.11.0 + "@typescript-eslint/visitor-keys": 8.11.0 + checksum: 0910da62d8ae261711dd9f89d5c7d8e96ff13c50054436256e5a661309229cb49e3b8189c9468d36b6c4d3f7cddd121519ea78f9b18c9b869a808834b079b2ea + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/type-utils@npm:8.11.0" + dependencies: + "@typescript-eslint/typescript-estree": 8.11.0 + "@typescript-eslint/utils": 8.11.0 debug: ^4.3.4 - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + ts-api-utils: ^1.3.0 peerDependenciesMeta: typescript: optional: true - checksum: a8f99820679decd0d115c0af61903fb1de3b1b5bec412dc72b67670bf636de77ab07f2a68ee65d6da7976039bbf636907f9d5ca546db3f0b98a31ffbc225bc7d + checksum: b69e31c1599ceeb20c29052a4ddb33a554174a3a4c55ee37d90c9b8250af6ef978a0b9ddbeefef4e83d62c4caea1bfa2d8088527f397bde69fb4ab9b360d794a languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/scope-manager@npm:6.21.0" - dependencies: - "@typescript-eslint/types": 6.21.0 - "@typescript-eslint/visitor-keys": 6.21.0 - checksum: eaf868938d811cbbea33e97e44ba7050d2b6892202cea6a9622c486b85ab1cf801979edf78036179a8ba4ac26f1dfdf7fcc83a68c1ff66be0b3a8e9a9989b526 +"@typescript-eslint/types@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/types@npm:8.11.0" + checksum: 5ccdd3eeee077a6fc8e7f4bc0e0cbc9327b1205a845253ec5c0c6c49ff915e853161df00c24a0ffb4b8ec745d3f153dd0e066400a021c844c026e31121f46699 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/scope-manager@npm:7.2.0" +"@typescript-eslint/typescript-estree@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.11.0" dependencies: - "@typescript-eslint/types": 7.2.0 - "@typescript-eslint/visitor-keys": 7.2.0 - checksum: 4d088c127e6ba1a7de8567f70684779083be24b48746c3b4a86a0ec7062bca58693ee08482349ad6572a17ada8aa6f26b74d1c7139c8fcf7101fa09a572e0ea6 - languageName: node - linkType: hard - -"@typescript-eslint/type-utils@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/type-utils@npm:6.21.0" - dependencies: - "@typescript-eslint/typescript-estree": 6.21.0 - "@typescript-eslint/utils": 6.21.0 + "@typescript-eslint/types": 8.11.0 + "@typescript-eslint/visitor-keys": 8.11.0 debug: ^4.3.4 - ts-api-utils: ^1.0.1 - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 7409c97d1c4a4386b488962739c4f1b5b04dc60cf51f8cd88e6b12541f84d84c6b8b67e491a147a2c95f9ec486539bf4519fb9d418411aef6537b9c156468117 - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/types@npm:6.21.0" - checksum: 020631d3223bbcff8a0da3efbdf058220a8f48a3de221563996ad1dcc30d6c08dadc3f7608cc08830d21c0d565efd2db19b557b9528921c78aabb605eef2d74d - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/types@npm:7.2.0" - checksum: 135aae061720185855bea61ea6cfd33f4801d2de57f65e50079bbdb505100f844632aa4e4bdeec9e9e79d29aaddad949178d0e918e41867da6ab4b1390820e33 - languageName: node - linkType: hard - -"@typescript-eslint/typescript-estree@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.21.0" - dependencies: - "@typescript-eslint/types": 6.21.0 - "@typescript-eslint/visitor-keys": 6.21.0 - debug: ^4.3.4 - globby: ^11.1.0 + fast-glob: ^3.3.2 is-glob: ^4.0.3 - minimatch: 9.0.3 - semver: ^7.5.4 - ts-api-utils: ^1.0.1 + minimatch: ^9.0.4 + semver: ^7.6.0 + ts-api-utils: ^1.3.0 peerDependenciesMeta: typescript: optional: true - checksum: af1438c60f080045ebb330155a8c9bb90db345d5069cdd5d01b67de502abb7449d6c75500519df829f913a6b3f490ade3e8215279b6bdc63d0fb0ae61034df5f + checksum: b629ad3cd32b005d5c1d67c36958a418f8672efebea869399834f4f201ebf90b942165eebb5c9d9799dcabdc2cc26e5fabb00629f76b158847f42e1a491a75a6 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.2.0" - dependencies: - "@typescript-eslint/types": 7.2.0 - "@typescript-eslint/visitor-keys": 7.2.0 - debug: ^4.3.4 - globby: ^11.1.0 - is-glob: ^4.0.3 - minimatch: 9.0.3 - semver: ^7.5.4 - ts-api-utils: ^1.0.1 - peerDependenciesMeta: - typescript: - optional: true - checksum: 2730bb17730e6f3ca4061f00688a70386a808f5d174fdeb757c3cfa92c455373f69080df33237c1a8970e818af0cea0ae5a083970ed8ba493f3b04458c6f9271 - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/utils@npm:6.21.0" +"@typescript-eslint/utils@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/utils@npm:8.11.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 - "@types/json-schema": ^7.0.12 - "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.21.0 - "@typescript-eslint/types": 6.21.0 - "@typescript-eslint/typescript-estree": 6.21.0 - semver: ^7.5.4 + "@typescript-eslint/scope-manager": 8.11.0 + "@typescript-eslint/types": 8.11.0 + "@typescript-eslint/typescript-estree": 8.11.0 peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: ab2df3833b2582d4e5467a484d08942b4f2f7208f8e09d67de510008eb8001a9b7460f2f9ba11c12086fd3cdcac0c626761c7995c2c6b5657d5fa6b82030a32d + eslint: ^8.57.0 || ^9.0.0 + checksum: bb5bcc8d928a55b22298e76f834ea6a9fe125a9ffeb6ac23bee0258b3ed32f41e281888a3d0be226a05e1011bb3b70e42a71a40366acdefea6779131c46bc522 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.21.0": - version: 6.21.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.21.0" +"@typescript-eslint/visitor-keys@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.11.0" dependencies: - "@typescript-eslint/types": 6.21.0 - eslint-visitor-keys: ^3.4.1 - checksum: 7395f69739cfa1cb83c1fb2fad30afa2a814756367302fb4facd5893eff66abc807e8d8f63eba94ed3b0fe0c1c996ac9a1680bcbf0f83717acedc3f2bb724fbf - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:7.2.0": - version: 7.2.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.2.0" - dependencies: - "@typescript-eslint/types": 7.2.0 - eslint-visitor-keys: ^3.4.1 - checksum: 2d7467495b2b76f3edb1b3047e97076c2242e7eca6d50bbbdd88219f9ff754dbcb9334a0568fe0ceb4c562823980938bd278aa2ba53da6343e7d99a167924f24 + "@typescript-eslint/types": 8.11.0 + eslint-visitor-keys: ^3.4.3 + checksum: 7a5a49609fdc47e114fe59eee56393c90b122ec8e9520f90b0c5e189635ae1ccfa8e00108f641342c2c8f4637fe9d40c77927cf7c8248a3a660812cb4b7d0c08 languageName: node linkType: hard @@ -7645,7 +6520,7 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": +"@ungap/structured-clone@npm:^1.0.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" checksum: 8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d @@ -7689,7 +6564,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.4.1, acorn@npm:^8.9.0": +"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.4.1": version: 8.11.3 resolution: "acorn@npm:8.11.3" bin: @@ -7698,6 +6573,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.12.0": + version: 8.13.0 + resolution: "acorn@npm:8.13.0" + bin: + acorn: bin/acorn + checksum: f35dd53d68177c90699f4c37d0bb205b8abe036d955d0eb011ddb7f14a81e6fd0f18893731c457c1b5bd96754683f4c3d80d9a5585ddecaa53cdf84e0b3d68f7 + languageName: node + linkType: hard + "agent-base@npm:6": version: 6.0.2 resolution: "agent-base@npm:6.0.2" @@ -7772,14 +6656,14 @@ __metadata: languageName: node linkType: hard -"algoliasearch-helper@npm:3.22.4": - version: 3.22.4 - resolution: "algoliasearch-helper@npm:3.22.4" +"algoliasearch-helper@npm:3.22.5": + version: 3.22.5 + resolution: "algoliasearch-helper@npm:3.22.5" dependencies: "@algolia/events": ^4.0.1 peerDependencies: algoliasearch: ">= 3.1 < 6" - checksum: 84108699d89c5cd8a2017c52b13704403797e02389678d8bc2a489da46886365acd95aef0bc87642cb9c84f974bd0ac25b74cdecfc3cca3041afdfa07f78821f + checksum: ac23bf64e8ae4f1388c121cb23ec0d2e2a996e77493a7da8141338e6b60be565c9085363ac7d0277469645474ce61c8a06ecbb6e4f0462736b79f3b1b54031b2 languageName: node linkType: hard @@ -7882,43 +6766,44 @@ __metadata: version: 0.0.0-use.local resolution: "api-reference@workspace:apps/api-reference" dependencies: - "@mdx-js/loader": ^3.0.0 - "@mdx-js/react": ^3.0.0 + "@mdx-js/loader": ^3.1.0 + "@mdx-js/react": ^3.1.0 "@medusajs/icons": ^2.0.0 "@medusajs/ui": ^3.0.0 - "@next/bundle-analyzer": ^14.2.14 - "@next/mdx": 14.2.14 + "@next/bundle-analyzer": 15.0.1 + "@next/mdx": 15.0.1 "@react-hook/resize-observer": ^2.0.2 "@readme/openapi-parser": ^2.5.0 "@types/jsdom": ^21.1.1 "@types/mapbox__rehype-prism": ^0.8.0 - "@types/mdx": ^2.0.5 + "@types/mdx": ^2.0.13 "@types/node": 20.4.5 "@types/pluralize": ^0.0.33 - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 - "@types/react-transition-group": ^4.4.6 + "@types/react": "npm:types-react@rc" + "@types/react-dom": "npm:types-react@rc" algoliasearch: 4 autoprefixer: 10.4.14 clsx: ^2.0.0 docs-ui: "*" - eslint-config-docs: "*" + eslint: ^9.13.0 + eslint-plugin-prettier: ^5.2.1 + eslint-plugin-react-hooks: ^5.0.0 jsdom: ^22.1.0 json-schema: ^0.4.0 json-stringify-pretty-compact: ^4.0.0 - next: ^14.2.14 - next-mdx-remote: ^4.4.1 + next: 15.0.1 + next-mdx-remote: 5.0.0 openapi-sampler: ^1.3.1 openapi-types: ^12.1.3 pluralize: ^8.0.0 postcss: 8.4.27 - prism-react-renderer: 2.3.1 - react: ^18.2.0 - react-dom: ^18.2.0 - react-intersection-observer: ^9.5.3 - react-tooltip: ^5.19.0 + prism-react-renderer: 2.4.0 + react: rc + react-dom: rc + react-intersection-observer: ^9.13.1 + react-tooltip: ^5.28.0 react-transition-group: ^4.4.5 - rehype-mdx-code-props: ^2.0.0 + rehype-mdx-code-props: ^3.0.1 rehype-slug: ^6.0.0 slugify: ^1.6.6 swr: ^2.2.0 @@ -7969,12 +6854,10 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.3.0": - version: 5.3.0 - resolution: "aria-query@npm:5.3.0" - dependencies: - dequal: ^2.0.3 - checksum: 2bff0d4eba5852a9dd578ecf47eaef0e82cc52569b48469b0aac2db5145db0b17b7a58d9e01237706d1e14b7a1b0ac9b78e9c97027ad97679dd8f91b85da1469 +"aria-query@npm:^5.3.2": + version: 5.3.2 + resolution: "aria-query@npm:5.3.2" + checksum: 003c7e3e2cff5540bf7a7893775fc614de82b0c5dde8ae823d47b7a28a9d4da1f7ed85f340bdb93d5649caa927755f0e31ecc7ab63edfdfc00c8ef07e505e03e languageName: node linkType: hard @@ -7988,7 +6871,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": +"array-includes@npm:^3.1.6": version: 3.1.7 resolution: "array-includes@npm:3.1.7" dependencies: @@ -8001,6 +6884,20 @@ __metadata: languageName: node linkType: hard +"array-includes@npm:^3.1.8": + version: 3.1.8 + resolution: "array-includes@npm:3.1.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.4 + is-string: ^1.0.7 + checksum: 5b1004d203e85873b96ddc493f090c9672fd6c80d7a60b798da8a14bff8a670ff95db5aafc9abc14a211943f05220dacf8ea17638ae0af1a6a47b8c0b48ce370 + languageName: node + linkType: hard + "array-timsort@npm:^1.0.3": version: 1.0.3 resolution: "array-timsort@npm:1.0.3" @@ -8015,29 +6912,31 @@ __metadata: languageName: node linkType: hard -"array.prototype.filter@npm:^1.0.3": - version: 1.0.3 - resolution: "array.prototype.filter@npm:1.0.3" +"array.prototype.findlast@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlast@npm:1.2.5" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-array-method-boxes-properly: ^1.0.0 - is-string: ^1.0.7 - checksum: 8b70b5f866df5d90fa27aa5bfa30f5fefc44cbea94b0513699d761713658077c2a24cbf06aac5179eabddb6c93adc467af4c288b7a839c5bc5a769ee5a2d48ad + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + es-shim-unscopables: ^1.0.2 + checksum: ddc952b829145ab45411b9d6adcb51a8c17c76bf89c9dd64b52d5dffa65d033da8c076ed2e17091779e83bc892b9848188d7b4b33453c5565e65a92863cb2775 languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.3": - version: 1.2.4 - resolution: "array.prototype.findlastindex@npm:1.2.4" +"array.prototype.findlastindex@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlastindex@npm:1.2.5" dependencies: - call-bind: ^1.0.5 + call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.3 + es-abstract: ^1.23.2 es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 es-shim-unscopables: ^1.0.2 - checksum: b23ae35cf7621c82c20981ee110626090734a264798e781b052e534e3d61d576f03d125d92cf2e3672062bb5cc5907e02e69f2d80196a55f3cdb0197b4aa8c64 + checksum: 962189487728b034f3134802b421b5f39e42ee2356d13b42d2ddb0e52057ffdcc170b9524867f4f0611a6f638f4c19b31e14606e8bcbda67799e26685b195aa3 languageName: node linkType: hard @@ -8053,7 +6952,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1, array.prototype.flatmap@npm:^1.3.2": +"array.prototype.flatmap@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flatmap@npm:1.3.2" dependencies: @@ -8065,16 +6964,16 @@ __metadata: languageName: node linkType: hard -"array.prototype.tosorted@npm:^1.1.1": - version: 1.1.3 - resolution: "array.prototype.tosorted@npm:1.1.3" +"array.prototype.tosorted@npm:^1.1.4": + version: 1.1.4 + resolution: "array.prototype.tosorted@npm:1.1.4" dependencies: - call-bind: ^1.0.5 + call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.3 - es-errors: ^1.1.0 + es-abstract: ^1.23.3 + es-errors: ^1.3.0 es-shim-unscopables: ^1.0.2 - checksum: a27e1ca51168ecacf6042901f5ef021e43c8fa04b6c6b6f2a30bac3645cd2b519cecbe0bc45db1b85b843f64dc3207f0268f700b4b9fbdec076d12d432cf0865 + checksum: eb3c4c4fc0381b0bf6dba2ea4d48d367c2827a0d4236a5718d97caaccc6b78f11f4cadf090736e86301d295a6aa4967ed45568f92ced51be8cbbacd9ca410943 languageName: node linkType: hard @@ -8117,15 +7016,6 @@ __metadata: languageName: node linkType: hard -"asynciterator.prototype@npm:^1.0.0": - version: 1.0.0 - resolution: "asynciterator.prototype@npm:1.0.0" - dependencies: - has-symbols: ^1.0.3 - checksum: fb76850e57d931ff59fd16b6cddb79b0d34fe45f400b2c3480d38892e72cd089787401687dbdb7cdb14ece402c275d3e02a648760d1489cd493527129c4c6204 - languageName: node - linkType: hard - "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -8178,19 +7068,17 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:=4.7.0": - version: 4.7.0 - resolution: "axe-core@npm:4.7.0" - checksum: 89ac5712b5932ac7d23398b4cb5ba081c394a086e343acc68ba49c83472706e18e0799804e8388c779dcdacc465377deb29f2714241d3fbb389cf3a6b275c9ba +"axe-core@npm:^4.10.0": + version: 4.10.2 + resolution: "axe-core@npm:4.10.2" + checksum: 0e20169077de96946a547fce0df39d9aeebe0077f9d3eeff4896518b96fde857f80b98f0d4279274a7178791744dd5a54bb4f322de45b4f561ffa2586ff9a09d languageName: node linkType: hard -"axobject-query@npm:^3.2.1": - version: 3.2.1 - resolution: "axobject-query@npm:3.2.1" - dependencies: - dequal: ^2.0.3 - checksum: f7debc2012e456139b57d888c223f6d3cb4b61eb104164a85e3d346273dd6ef0bc9a04b6660ca9407704a14a8e05fa6b6eb9d55f44f348c7210de7ffb350c3a7 +"axobject-query@npm:^4.1.0": + version: 4.1.0 + resolution: "axobject-query@npm:4.1.0" + checksum: c470e4f95008f232eadd755b018cb55f16c03ccf39c027b941cd8820ac6b68707ce5d7368a46756db4256fbc91bb4ead368f84f7fb034b2b7932f082f6dc0775 languageName: node linkType: hard @@ -8219,25 +7107,25 @@ __metadata: version: 0.0.0-use.local resolution: "book@workspace:apps/book" dependencies: - "@mdx-js/loader": ^3.0.0 - "@mdx-js/react": ^3.0.0 + "@mdx-js/loader": ^3.1.0 + "@mdx-js/react": ^3.1.0 "@medusajs/icons": ^2.0.0 - "@next/mdx": ^14.2.14 - "@types/mdx": ^2.0.10 + "@next/mdx": 15.0.1 + "@types/mdx": ^2.0.13 "@types/node": ^20 - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 + "@types/react": "npm:types-react@rc" + "@types/react-dom": "npm:types-react@rc" autoprefixer: ^10.0.1 build-scripts: "*" clsx: ^2.1.0 docs-ui: "*" - eslint: ^8 - eslint-config-docs: "*" - eslint-config-next: 14.2.3 - next: 14.2.14 + eslint: ^9.13.0 + eslint-plugin-prettier: ^5.2.1 + eslint-plugin-react-hooks: ^5.0.0 + next: 15.0.1 postcss: ^8 - react: ^18.2.0 - react-dom: ^18.2.0 + react: rc + react-dom: rc rehype-mdx-code-props: ^2.0.0 rehype-slug: ^6.0.0 remark-rehype-plugins: "*" @@ -8303,7 +7191,6 @@ __metadata: resolution: "build-scripts@workspace:packages/build-scripts" dependencies: "@types/node": ^20.11.20 - eslint-config-docs: "*" remark-rehype-plugins: "*" rimraf: ^5.0.5 tsconfig: "*" @@ -8625,13 +7512,33 @@ __metadata: languageName: node linkType: hard -"color-name@npm:~1.1.4": +"color-name@npm:^1.0.0, color-name@npm:~1.1.4": version: 1.1.4 resolution: "color-name@npm:1.1.4" checksum: a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 languageName: node linkType: hard +"color-string@npm:^1.9.0": + version: 1.9.1 + resolution: "color-string@npm:1.9.1" + dependencies: + color-name: ^1.0.0 + simple-swizzle: ^0.2.2 + checksum: b0bfd74c03b1f837f543898b512f5ea353f71630ccdd0d66f83028d1f0924a7d4272deb278b9aef376cacf1289b522ac3fb175e99895283645a2dc3a33af2404 + languageName: node + linkType: hard + +"color@npm:^4.2.3": + version: 4.2.3 + resolution: "color@npm:4.2.3" + dependencies: + color-convert: ^2.0.1 + color-string: ^1.9.0 + checksum: 7fbe7cfb811054c808349de19fb380252e5e34e61d7d168ec3353e9e9aacb1802674bddc657682e4e9730c2786592a4de6f8283e7e0d3870b829bb0b7b2f6118 + languageName: node + linkType: hard + "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -9249,6 +8156,39 @@ __metadata: languageName: node linkType: hard +"data-view-buffer@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-buffer@npm:1.0.1" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: 8984119e59dbed906a11fcfb417d7d861936f16697a0e7216fe2c6c810f6b5e8f4a5281e73f2c28e8e9259027190ac4a33e2a65fdd7fa86ac06b76e838918583 + languageName: node + linkType: hard + +"data-view-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-length@npm:1.0.1" + dependencies: + call-bind: ^1.0.7 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: b7d9e48a0cf5aefed9ab7d123559917b2d7e0d65531f43b2fd95b9d3a6b46042dd3fca597c42bba384e66b70d7ad66ff23932f8367b241f53d93af42cfe04ec2 + languageName: node + linkType: hard + +"data-view-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "data-view-byte-offset@npm:1.0.0" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: 21b0d2e53fd6e20cc4257c873bf6d36d77bd6185624b84076c0a1ddaa757b49aaf076254006341d35568e89f52eecd1ccb1a502cfb620f2beca04f48a6a62a8f + languageName: node + linkType: hard + "date-fns@npm:^2.30.0": version: 2.30.0 resolution: "date-fns@npm:2.30.0" @@ -9291,15 +8231,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^2.6.9": - version: 2.6.9 - resolution: "debug@npm:2.6.9" - dependencies: - ms: 2.0.0 - checksum: 121908fb839f7801180b69a7e218a40b5a0b718813b886b7d6bdb82001b931c938e2941d1e4450f33a1b1df1da653f5f7a0440c197f29fbf8a6e9d45ff6ef589 - languageName: node - linkType: hard - "debug@npm:^3.2.7": version: 3.2.7 resolution: "debug@npm:3.2.7" @@ -9377,13 +8308,20 @@ __metadata: languageName: node linkType: hard -"dequal@npm:^2.0.0, dequal@npm:^2.0.3": +"dequal@npm:^2.0.0": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: f98860cdf58b64991ae10205137c0e97d384c3a4edc7f807603887b7c4b850af1224a33d88012009f150861cbee4fa2d322c4cc04b9313bee312e47f6ecaa888 languageName: node linkType: hard +"detect-libc@npm:^2.0.3": + version: 2.0.3 + resolution: "detect-libc@npm:2.0.3" + checksum: 88095bda8f90220c95f162bf92cad70bd0e424913e655c20578600e35b91edc261af27531cf160a331e185c0ced93944bc7e09939143225f56312d7fd800fdb7 + languageName: node + linkType: hard + "detect-node-es@npm:^1.1.0": version: 1.1.0 resolution: "detect-node-es@npm:1.1.0" @@ -9441,13 +8379,23 @@ __metadata: version: 0.0.0-use.local resolution: "docs-root@workspace:." dependencies: + "@babel/eslint-parser": ^7.25.9 + "@eslint/js": 9.13.0 + "@types/eslint__js": 8.42.3 autoprefixer: 10.4.14 - eslint: ^8.36.0 + eslint: ^9.13.0 + eslint-config-next: 15.0.1 + eslint-config-prettier: 9.1.0 + eslint-config-turbo: 2.2.3 + eslint-plugin-markdown: 5.1.0 + eslint-plugin-prettier: 5.2.1 + eslint-plugin-react: 7.37.2 postcss: 8.4.27 - prettier: ^2.8.4 + prettier: ^3.3.3 tailwindcss: 3.3.3 tsconfig: "*" turbo: latest + typescript-eslint: 8.11.0 languageName: unknown linkType: soft @@ -9455,32 +8403,31 @@ __metadata: version: 0.0.0-use.local resolution: "docs-ui@workspace:packages/docs-ui" dependencies: + "@emotion/is-prop-valid": ^1.3.1 "@medusajs/icons": ^2.0.0 "@medusajs/ui": ^4.0.0 "@octokit/request": ^8.1.1 "@react-hook/resize-observer": ^1.2.6 - "@segment/analytics-next": ^1.55.0 - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 - "@types/react-google-recaptcha": ^2.1.6 + "@segment/analytics-next": ^1.75.0 + "@types/react": "npm:types-react@rc" + "@types/react-dom": "npm:types-react@rc" "@uidotdev/usehooks": ^2.4.1 algoliasearch: ^5.2.1 clsx: ^2.0.0 cpy-cli: ^5.0.0 - eslint: ^8 - eslint-config-docs: "*" - framer-motion: ^11.3.21 + eslint: ^9.13.0 + framer-motion: ^11.11.9 mermaid: ^10.9.0 - next: ^14.2.14 + next: 15.0.1 npm-to-yarn: ^2.1.0 - prism-react-renderer: 2.3.1 - react: ^18.2.0 - react-dom: ^18.2.0 + prism-react-renderer: 2.4.0 + react: rc + react-dom: rc react-google-recaptcha: ^3.1.0 - react-instantsearch: ^7.13.0 - react-markdown: ^8.0.7 + react-instantsearch: ^7.13.6 + react-markdown: ^9.0.1 react-medium-image-zoom: ^5.2.10 - react-tooltip: ^5.21.3 + react-tooltip: ^5.28.0 react-transition-group: ^4.4.5 react-uuid: ^2.0.0 rimraf: ^5.0.1 @@ -9492,11 +8439,11 @@ __metadata: types: "*" typescript: ^5.1.6 peerDependencies: - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 + "@types/react": "*" + "@types/react-dom": "*" next: "*" - react: ^18.2.0 - react-dom: ^18.2.0 + react: "*" + react-dom: "*" languageName: unknown linkType: soft @@ -9551,10 +8498,10 @@ __metadata: languageName: node linkType: hard -"dset@npm:^3.1.1, dset@npm:^3.1.2": - version: 3.1.3 - resolution: "dset@npm:3.1.3" - checksum: b1ff68f1f42af373baa85b00b04d89094cd0d7f74f94bd11364cba575f2762ed52a0a0503bbfcc92eccd07c6d55426813c8a7a6cfa020338eaea1f4edfd332c2 +"dset@npm:^3.1.4": + version: 3.1.4 + resolution: "dset@npm:3.1.4" + checksum: b67bbd28dd8a539e90c15ffb61100eb64ef995c5270a124d4f99bbb53f4d82f55a051b731ba81f3215dd9dce2b4c8d69927dc20b3be1c5fc88bab159467aa438 languageName: node linkType: hard @@ -9640,7 +8587,61 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.22.4": +"es-abstract@npm:^1.17.5, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": + version: 1.23.3 + resolution: "es-abstract@npm:1.23.3" + dependencies: + array-buffer-byte-length: ^1.0.1 + arraybuffer.prototype.slice: ^1.0.3 + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + data-view-buffer: ^1.0.1 + data-view-byte-length: ^1.0.1 + data-view-byte-offset: ^1.0.0 + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + es-set-tostringtag: ^2.0.3 + es-to-primitive: ^1.2.1 + function.prototype.name: ^1.1.6 + get-intrinsic: ^1.2.4 + get-symbol-description: ^1.0.2 + globalthis: ^1.0.3 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.2 + has-proto: ^1.0.3 + has-symbols: ^1.0.3 + hasown: ^2.0.2 + internal-slot: ^1.0.7 + is-array-buffer: ^3.0.4 + is-callable: ^1.2.7 + is-data-view: ^1.0.1 + is-negative-zero: ^2.0.3 + is-regex: ^1.1.4 + is-shared-array-buffer: ^1.0.3 + is-string: ^1.0.7 + is-typed-array: ^1.1.13 + is-weakref: ^1.0.2 + object-inspect: ^1.13.1 + object-keys: ^1.1.1 + object.assign: ^4.1.5 + regexp.prototype.flags: ^1.5.2 + safe-array-concat: ^1.1.2 + safe-regex-test: ^1.0.3 + string.prototype.trim: ^1.2.9 + string.prototype.trimend: ^1.0.8 + string.prototype.trimstart: ^1.0.8 + typed-array-buffer: ^1.0.2 + typed-array-byte-length: ^1.0.1 + typed-array-byte-offset: ^1.0.2 + typed-array-length: ^1.0.6 + unbox-primitive: ^1.0.2 + which-typed-array: ^1.1.15 + checksum: d27e9afafb225c6924bee9971a7f25f20c314f2d6cb93a63cada4ac11dcf42040896a6c22e5fb8f2a10767055ed4ddf400be3b1eb12297d281726de470b75666 + languageName: node + linkType: hard + +"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3": version: 1.22.4 resolution: "es-abstract@npm:1.22.4" dependencies: @@ -9689,13 +8690,6 @@ __metadata: languageName: node linkType: hard -"es-array-method-boxes-properly@npm:^1.0.0": - version: 1.0.0 - resolution: "es-array-method-boxes-properly@npm:1.0.0" - checksum: 4b7617d3fbd460d6f051f684ceca6cf7e88e6724671d9480388d3ecdd72119ddaa46ca31f2c69c5426a82e4b3091c1e81867c71dcdc453565cd90005ff2c382d - languageName: node - linkType: hard - "es-define-property@npm:^1.0.0": version: 1.0.0 resolution: "es-define-property@npm:1.0.0" @@ -9705,37 +8699,45 @@ __metadata: languageName: node linkType: hard -"es-errors@npm:^1.0.0, es-errors@npm:^1.1.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": +"es-errors@npm:^1.0.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": version: 1.3.0 resolution: "es-errors@npm:1.3.0" checksum: 0a61325670072f98d8ae3b914edab3559b6caa980f08054a3b872052640d91da01d38df55df797fcc916389d77fc92b8d5906cf028f4db46d7e3003abecbca85 languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.12, es-iterator-helpers@npm:^1.0.15": - version: 1.0.17 - resolution: "es-iterator-helpers@npm:1.0.17" +"es-iterator-helpers@npm:^1.1.0": + version: 1.1.0 + resolution: "es-iterator-helpers@npm:1.1.0" dependencies: - asynciterator.prototype: ^1.0.0 call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.4 + es-abstract: ^1.23.3 es-errors: ^1.3.0 - es-set-tostringtag: ^2.0.2 + es-set-tostringtag: ^2.0.3 function-bind: ^1.1.2 get-intrinsic: ^1.2.4 - globalthis: ^1.0.3 + globalthis: ^1.0.4 has-property-descriptors: ^1.0.2 - has-proto: ^1.0.1 + has-proto: ^1.0.3 has-symbols: ^1.0.3 internal-slot: ^1.0.7 - iterator.prototype: ^1.1.2 - safe-array-concat: ^1.1.0 - checksum: d0f281257e7165f068fd4fc3beb63d07ae4f18fbef02a2bbe4a39272b764164c1ce3311ae7c5429ac30003aef290fcdf569050e4a9ba3560e044440f68e9a47c + iterator.prototype: ^1.1.3 + safe-array-concat: ^1.1.2 + checksum: 84d6c240c7da6e62323b336cb1497781546dab16bebdbd879ccfdf588979712d3e941d41165b6c2ffce5a03a7b929d4e6131d3124d330da1a0e2bfa1da7cd99f languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.2": +"es-object-atoms@npm:^1.0.0": + version: 1.0.0 + resolution: "es-object-atoms@npm:1.0.0" + dependencies: + es-errors: ^1.3.0 + checksum: 1fed3d102eb27ab8d983337bb7c8b159dd2a1e63ff833ec54eea1311c96d5b08223b433060ba240541ca8adba9eee6b0a60cdbf2f80634b784febc9cc8b687b4 + languageName: node + linkType: hard + +"es-set-tostringtag@npm:^2.0.2, es-set-tostringtag@npm:^2.0.3": version: 2.0.3 resolution: "es-set-tostringtag@npm:2.0.3" dependencies: @@ -9766,6 +8768,30 @@ __metadata: languageName: node linkType: hard +"esast-util-from-estree@npm:^2.0.0": + version: 2.0.0 + resolution: "esast-util-from-estree@npm:2.0.0" + dependencies: + "@types/estree-jsx": ^1.0.0 + devlop: ^1.0.0 + estree-util-visit: ^2.0.0 + unist-util-position-from-estree: ^2.0.0 + checksum: 6c619bc6963314f8f64b32e3b101b321bf121f659e62b11e70f425619c2db6f1d25f4c594a57fd00908da96c67d9bfbf876eb5172abf9e13f47a71796f6630ff + languageName: node + linkType: hard + +"esast-util-from-js@npm:^2.0.0": + version: 2.0.1 + resolution: "esast-util-from-js@npm:2.0.1" + dependencies: + "@types/estree-jsx": ^1.0.0 + acorn: ^8.0.0 + esast-util-from-estree: ^2.0.0 + vfile-message: ^4.0.0 + checksum: 3a446fb0b0d7bcd7e0157aa44b3b692802a08c93edbea81cc0f7fe4437bfdfb4b72e4563fe63b4e36d390086b71185dba4ac921f4180cc6349985c263cc74421 + languageName: node + linkType: hard + "esbuild-android-64@npm:0.14.54": version: 0.14.54 resolution: "esbuild-android-64@npm:0.14.54" @@ -10085,76 +9111,49 @@ __metadata: languageName: node linkType: hard -"eslint-config-docs@*, eslint-config-docs@workspace:packages/eslint-config-docs": - version: 0.0.0-use.local - resolution: "eslint-config-docs@workspace:packages/eslint-config-docs" +"eslint-config-next@npm:15.0.1": + version: 15.0.1 + resolution: "eslint-config-next@npm:15.0.1" dependencies: - "@babel/eslint-parser": ^7.22.15 - "@typescript-eslint/eslint-plugin": ^6.18.1 - "@typescript-eslint/parser": ^6.18.1 - eslint: ^8.36.0 - eslint-config-google: ^0.14.0 - eslint-config-next: 14.2.3 - eslint-config-prettier: ^8.7.0 - eslint-config-turbo: ^1.10.12 - eslint-plugin-markdown: ^3.0.0 - eslint-plugin-prettier: ^4.2.1 - eslint-plugin-react: ^7.32.2 - next: latest - languageName: unknown - linkType: soft - -"eslint-config-google@npm:^0.14.0": - version: 0.14.0 - resolution: "eslint-config-google@npm:0.14.0" - peerDependencies: - eslint: ">=5.16.0" - checksum: b714c8c45ab1743002f69aa419ad5b39bab00e89484f4e30c33f79f9de031349613f73c9dd4c3a10f40b89a3a43618d4be29df15ab3b96e761f2b705e7293345 - languageName: node - linkType: hard - -"eslint-config-next@npm:14.2.3": - version: 14.2.3 - resolution: "eslint-config-next@npm:14.2.3" - dependencies: - "@next/eslint-plugin-next": 14.2.3 - "@rushstack/eslint-patch": ^1.3.3 - "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0 + "@next/eslint-plugin-next": 15.0.1 + "@rushstack/eslint-patch": ^1.10.3 + "@typescript-eslint/eslint-plugin": ^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0 + "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0 eslint-import-resolver-node: ^0.3.6 eslint-import-resolver-typescript: ^3.5.2 - eslint-plugin-import: ^2.28.1 - eslint-plugin-jsx-a11y: ^6.7.1 - eslint-plugin-react: ^7.33.2 - eslint-plugin-react-hooks: ^4.5.0 || 5.0.0-canary-7118f5dd7-20230705 + eslint-plugin-import: ^2.31.0 + eslint-plugin-jsx-a11y: ^6.10.0 + eslint-plugin-react: ^7.35.0 + eslint-plugin-react-hooks: ^5.0.0 peerDependencies: - eslint: ^7.23.0 || ^8.0.0 + eslint: ^7.23.0 || ^8.0.0 || ^9.0.0 typescript: ">=3.3.1" peerDependenciesMeta: typescript: optional: true - checksum: 52a3d48bb783d3e8d76a571a3636f658e4789e1a4a51ebbd14d184b7f6f5dd91281b71d99e49a7bb7e3ab32a2dddd321285110005ca0969a471be5ab2e579887 + checksum: ce3f2050b9bd2dfabdfb6688f1f77f8be7009c5cb74f7b548727db5839a262fd17072e462843c69ff9e36de34def9b0f547efbd9da143d02110cfae1b0ce1988 languageName: node linkType: hard -"eslint-config-prettier@npm:^8.7.0": - version: 8.10.0 - resolution: "eslint-config-prettier@npm:8.10.0" +"eslint-config-prettier@npm:9.1.0": + version: 9.1.0 + resolution: "eslint-config-prettier@npm:9.1.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 19f8c497d9bdc111a17a61b25ded97217be3755bbc4714477dfe535ed539dddcaf42ef5cf8bb97908b058260cf89a3d7c565cb0be31096cbcd39f4c2fa5fe43c + checksum: 6d332694b36bc9ac6fdb18d3ca2f6ac42afa2ad61f0493e89226950a7091e38981b66bac2b47ba39d15b73fff2cd32c78b850a9cf9eed9ca9a96bfb2f3a2f10d languageName: node linkType: hard -"eslint-config-turbo@npm:^1.10.12": - version: 1.12.4 - resolution: "eslint-config-turbo@npm:1.12.4" +"eslint-config-turbo@npm:2.2.3": + version: 2.2.3 + resolution: "eslint-config-turbo@npm:2.2.3" dependencies: - eslint-plugin-turbo: 1.12.4 + eslint-plugin-turbo: 2.2.3 peerDependencies: eslint: ">6.6.0" - checksum: 62f86ab122a21aba77c03b97dc6b3f6f6661a58fd65b44bf0f0a53f97d77c23937fa15b8062bb12b25404445a25acf5683467a1bcd5fe0615862010666b608d4 + checksum: 4bdb81979f6667301e5cf0ee15bad567d4005dca8a37e3c80abe3f732c113e4d38337aec12b5d69563173829d4b41a71e6bd277a2a2c0ed8aea9246bf56531e3 languageName: node linkType: hard @@ -10187,7 +9186,19 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.7.4, eslint-module-utils@npm:^2.8.0": +"eslint-module-utils@npm:^2.12.0": + version: 2.12.0 + resolution: "eslint-module-utils@npm:2.12.0" + dependencies: + debug: ^3.2.7 + peerDependenciesMeta: + eslint: + optional: true + checksum: 4d8b46dcd525d71276f9be9ffac1d2be61c9d54cc53c992e6333cf957840dee09381842b1acbbb15fc6b255ebab99cd481c5007ab438e5455a14abe1a0468558 + languageName: node + linkType: hard + +"eslint-module-utils@npm:^2.7.4": version: 2.8.0 resolution: "eslint-module-utils@npm:2.8.0" dependencies: @@ -10199,128 +9210,137 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.28.1": - version: 2.29.1 - resolution: "eslint-plugin-import@npm:2.29.1" +"eslint-plugin-import@npm:^2.31.0": + version: 2.31.0 + resolution: "eslint-plugin-import@npm:2.31.0" dependencies: - array-includes: ^3.1.7 - array.prototype.findlastindex: ^1.2.3 + "@rtsao/scc": ^1.1.0 + array-includes: ^3.1.8 + array.prototype.findlastindex: ^1.2.5 array.prototype.flat: ^1.3.2 array.prototype.flatmap: ^1.3.2 debug: ^3.2.7 doctrine: ^2.1.0 eslint-import-resolver-node: ^0.3.9 - eslint-module-utils: ^2.8.0 - hasown: ^2.0.0 - is-core-module: ^2.13.1 + eslint-module-utils: ^2.12.0 + hasown: ^2.0.2 + is-core-module: ^2.15.1 is-glob: ^4.0.3 minimatch: ^3.1.2 - object.fromentries: ^2.0.7 - object.groupby: ^1.0.1 - object.values: ^1.1.7 + object.fromentries: ^2.0.8 + object.groupby: ^1.0.3 + object.values: ^1.2.0 semver: ^6.3.1 + string.prototype.trimend: ^1.0.8 tsconfig-paths: ^3.15.0 peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 5f35dfbf4e8e67f741f396987de9504ad125c49f4144508a93282b4ea0127e052bde65ab6def1f31b6ace6d5d430be698333f75bdd7dca3bc14226c92a083196 + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 + checksum: e21d116ddd1900e091ad120b3eb68c5dd5437fe2c930f1211781cd38b246f090a6b74d5f3800b8255a0ed29782591521ad44eb21c5534960a8f1fb4040fd913a languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:^6.7.1": - version: 6.8.0 - resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" +"eslint-plugin-jsx-a11y@npm:^6.10.0": + version: 6.10.1 + resolution: "eslint-plugin-jsx-a11y@npm:6.10.1" dependencies: - "@babel/runtime": ^7.23.2 - aria-query: ^5.3.0 - array-includes: ^3.1.7 + aria-query: ^5.3.2 + array-includes: ^3.1.8 array.prototype.flatmap: ^1.3.2 ast-types-flow: ^0.0.8 - axe-core: =4.7.0 - axobject-query: ^3.2.1 + axe-core: ^4.10.0 + axobject-query: ^4.1.0 damerau-levenshtein: ^1.0.8 emoji-regex: ^9.2.2 - es-iterator-helpers: ^1.0.15 - hasown: ^2.0.0 + es-iterator-helpers: ^1.1.0 + hasown: ^2.0.2 jsx-ast-utils: ^3.3.5 language-tags: ^1.0.9 minimatch: ^3.1.2 - object.entries: ^1.1.7 - object.fromentries: ^2.0.7 + object.fromentries: ^2.0.8 + safe-regex-test: ^1.0.3 + string.prototype.includes: ^2.0.1 peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 199b883e526e6f9d7c54cb3f094abc54f11a1ec816db5fb6cae3b938eb0e503acc10ccba91ca7451633a9d0b9abc0ea03601844a8aba5fe88c5e8897c9ac8f49 + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 + checksum: 25bf28e3db4f6789c5d4f9300fc6fc54faca19ecc537d0f46e9c873f80ed37103a033e1f716f608fab5f5813dd38af65a9a6ae2e29dd079763ce539ebecf998e languageName: node linkType: hard -"eslint-plugin-markdown@npm:^3.0.0": - version: 3.0.1 - resolution: "eslint-plugin-markdown@npm:3.0.1" +"eslint-plugin-markdown@npm:5.1.0": + version: 5.1.0 + resolution: "eslint-plugin-markdown@npm:5.1.0" dependencies: mdast-util-from-markdown: ^0.8.5 peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: ba27a0f2115b85294591f3cf4e64c66b60cd508915cc3394869dda38c9e1f5ef230158f180cc21b5431085d4e4daac9f3f173078c00b54e659272318d0e6600d + eslint: ">=8" + checksum: ee1ba88e595912d2a35966b1d7dbdf63b8f55c2c9990985604c36ab8fb130d285ed6701d2117f70fc82a57b5eb6ed25ad02d96d35f2d6f6f9f2092b1bba3aabf languageName: node linkType: hard -"eslint-plugin-prettier@npm:^4.2.1": - version: 4.2.1 - resolution: "eslint-plugin-prettier@npm:4.2.1" +"eslint-plugin-prettier@npm:5.2.1, eslint-plugin-prettier@npm:^5.2.1": + version: 5.2.1 + resolution: "eslint-plugin-prettier@npm:5.2.1" dependencies: prettier-linter-helpers: ^1.0.0 + synckit: ^0.9.1 peerDependencies: - eslint: ">=7.28.0" - prettier: ">=2.0.0" + "@types/eslint": ">=8.0.0" + eslint: ">=8.0.0" + eslint-config-prettier: "*" + prettier: ">=3.0.0" peerDependenciesMeta: + "@types/eslint": + optional: true eslint-config-prettier: optional: true - checksum: c5e7316baeab9d96ac39c279f16686e837277e5c67a8006c6588bcff317edffdc1532fb580441eb598bc6770f6444006756b68a6575dff1cd85ebe227252d0b7 + checksum: 4bc8bbaf5bb556c9c501dcdff369137763c49ccaf544f9fa91400360ed5e3a3f1234ab59690e06beca5b1b7e6f6356978cdd3b02af6aba3edea2ffe69ca6e8b2 languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^4.5.0 || 5.0.0-canary-7118f5dd7-20230705": - version: 5.0.0-canary-7118f5dd7-20230705 - resolution: "eslint-plugin-react-hooks@npm:5.0.0-canary-7118f5dd7-20230705" +"eslint-plugin-react-hooks@npm:^5.0.0": + version: 5.0.0 + resolution: "eslint-plugin-react-hooks@npm:5.0.0" peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 554c4e426bfeb126155510dcba8345391426af147ee629f1c56c9ef6af08340d11008213e4e15b0138830af2c4439d7158da2091987f7efb01aeab662c44b274 + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + checksum: bcb74b421f32e4203a7100405b57aab85526be4461e5a1da01bc537969a30012d2ee209a2c2a6cac543833a27188ce1e6ad71e4628d0bb4a2e5365cad86c5002 languageName: node linkType: hard -"eslint-plugin-react@npm:^7.32.2, eslint-plugin-react@npm:^7.33.2": - version: 7.33.2 - resolution: "eslint-plugin-react@npm:7.33.2" +"eslint-plugin-react@npm:7.37.2, eslint-plugin-react@npm:^7.35.0": + version: 7.37.2 + resolution: "eslint-plugin-react@npm:7.37.2" dependencies: - array-includes: ^3.1.6 - array.prototype.flatmap: ^1.3.1 - array.prototype.tosorted: ^1.1.1 + array-includes: ^3.1.8 + array.prototype.findlast: ^1.2.5 + array.prototype.flatmap: ^1.3.2 + array.prototype.tosorted: ^1.1.4 doctrine: ^2.1.0 - es-iterator-helpers: ^1.0.12 + es-iterator-helpers: ^1.1.0 estraverse: ^5.3.0 + hasown: ^2.0.2 jsx-ast-utils: ^2.4.1 || ^3.0.0 minimatch: ^3.1.2 - object.entries: ^1.1.6 - object.fromentries: ^2.0.6 - object.hasown: ^1.1.2 - object.values: ^1.1.6 + object.entries: ^1.1.8 + object.fromentries: ^2.0.8 + object.values: ^1.2.0 prop-types: ^15.8.1 - resolve: ^2.0.0-next.4 + resolve: ^2.0.0-next.5 semver: ^6.3.1 - string.prototype.matchall: ^4.0.8 + string.prototype.matchall: ^4.0.11 + string.prototype.repeat: ^1.0.0 peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: f9b247861024bafc396c4bd3c9ac946604b3b23077251c98f23602aa22027a0c33a69157fd49564e4ff7f17b3678e5dc366a46c7ec42a09454d7cbce786d5001 + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + checksum: 01c498f263c201698bf653973760f86a07fa0cdec56c044f3eaa5ddaae71c64326015dfa5fde76ca8c5386ffe789fc79932624b614e13b6a1ad789fee3f7c491 languageName: node linkType: hard -"eslint-plugin-turbo@npm:1.12.4": - version: 1.12.4 - resolution: "eslint-plugin-turbo@npm:1.12.4" +"eslint-plugin-turbo@npm:2.2.3": + version: 2.2.3 + resolution: "eslint-plugin-turbo@npm:2.2.3" dependencies: dotenv: 16.0.3 peerDependencies: eslint: ">6.6.0" - checksum: 1fec52b02b087f794250108366a8a1d90bd266c7500aada843251555a5b5fd2e7d2b9fd923e558d26af3ac707ae74c7280898228955229797bdd24818668bb22 + checksum: 37b88dc810e53cdd0b28cf381d89777db64828f00c4fd3ed72d9000624923f2388eabc1db1ace3414e9edec335f75e133a6fa60d80d35004487ddd1baa10fe5e languageName: node linkType: hard @@ -10334,13 +9354,13 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" +"eslint-scope@npm:^8.1.0": + version: 8.1.0 + resolution: "eslint-scope@npm:8.1.0" dependencies: esrecurse: ^4.3.0 estraverse: ^5.2.0 - checksum: 613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116 + checksum: ae1df7accae9ea90465c2ded70f7064d6d1f2962ef4cc87398855c4f0b3a5ab01063e0258d954bb94b184f6759febe04c3118195cab5c51978a7229948ba2875 languageName: node linkType: hard @@ -10351,69 +9371,78 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 languageName: node linkType: hard -"eslint@npm:^8, eslint@npm:^8.36.0, eslint@npm:^8.49.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" +"eslint-visitor-keys@npm:^4.1.0": + version: 4.1.0 + resolution: "eslint-visitor-keys@npm:4.1.0" + checksum: 5483ef114c93a136aa234140d7aa3bd259488dae866d35cb0d0b52e6a158f614760a57256ac8d549acc590a87042cb40f6951815caa821e55dc4fd6ef4c722eb + languageName: node + linkType: hard + +"eslint@npm:^9.13.0": + version: 9.13.0 + resolution: "eslint@npm:9.13.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.0 - "@humanwhocodes/config-array": ^0.11.14 + "@eslint-community/regexpp": ^4.11.0 + "@eslint/config-array": ^0.18.0 + "@eslint/core": ^0.7.0 + "@eslint/eslintrc": ^3.1.0 + "@eslint/js": 9.13.0 + "@eslint/plugin-kit": ^0.2.0 + "@humanfs/node": ^0.16.5 "@humanwhocodes/module-importer": ^1.0.1 - "@nodelib/fs.walk": ^1.2.8 - "@ungap/structured-clone": ^1.2.0 + "@humanwhocodes/retry": ^0.3.1 + "@types/estree": ^1.0.6 + "@types/json-schema": ^7.0.15 ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 debug: ^4.3.2 - doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.3 - espree: ^9.6.1 - esquery: ^1.4.2 + eslint-scope: ^8.1.0 + eslint-visitor-keys: ^4.1.0 + espree: ^10.2.0 + esquery: ^1.5.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 - file-entry-cache: ^6.0.1 + file-entry-cache: ^8.0.0 find-up: ^5.0.0 glob-parent: ^6.0.2 - globals: ^13.19.0 - graphemer: ^1.4.0 ignore: ^5.2.0 imurmurhash: ^0.1.4 is-glob: ^4.0.0 - is-path-inside: ^3.0.3 - js-yaml: ^4.1.0 json-stable-stringify-without-jsonify: ^1.0.1 - levn: ^0.4.1 lodash.merge: ^4.6.2 minimatch: ^3.1.2 natural-compare: ^1.4.0 optionator: ^0.9.3 - strip-ansi: ^6.0.1 text-table: ^0.2.0 + peerDependencies: + jiti: "*" + peerDependenciesMeta: + jiti: + optional: true bin: eslint: bin/eslint.js - checksum: 00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529 + checksum: d3577444152182a9d8ea8c6a6acb073d3a2773ad73a6b646f432746583ec4bfcd6a44fcc2e37d05d276984e583c46c2d289b3b981ca8f8b4052756a152341d19 languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" +"espree@npm:^10.0.1, espree@npm:^10.2.0": + version: 10.2.0 + resolution: "espree@npm:10.2.0" dependencies: - acorn: ^8.9.0 + acorn: ^8.12.0 acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: 1a2e9b4699b715347f62330bcc76aee224390c28bb02b31a3752e9d07549c473f5f986720483c6469cf3cfb3c9d05df612ffc69eb1ee94b54b739e67de9bb460 + eslint-visitor-keys: ^4.1.0 + checksum: 2b6bfb683e7e5ab2e9513949879140898d80a2d9867ea1db6ff5b0256df81722633b60a7523a7c614f05a39aeea159dd09ad2a0e90c0e218732fc016f9086215 languageName: node linkType: hard @@ -10427,12 +9456,12 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": - version: 1.5.0 - resolution: "esquery@npm:1.5.0" +"esquery@npm:^1.5.0": + version: 1.6.0 + resolution: "esquery@npm:1.6.0" dependencies: estraverse: ^5.1.0 - checksum: a084bd049d954cc88ac69df30534043fb2aee5555b56246493f42f27d1e168f00d9e5d4192e46f10290d312dc30dc7d58994d61a609c579c1219d636996f9213 + checksum: cb9065ec605f9da7a76ca6dadb0619dfb611e37a81e318732977d90fab50a256b95fee2d925fba7c2f3f0523aa16f91587246693bc09bc34d5a59575fe6e93d2 languageName: node linkType: hard @@ -10521,6 +9550,16 @@ __metadata: languageName: node linkType: hard +"estree-util-scope@npm:^1.0.0": + version: 1.0.0 + resolution: "estree-util-scope@npm:1.0.0" + dependencies: + "@types/estree": ^1.0.0 + devlop: ^1.0.0 + checksum: ef8a573cc899277c613623a1722f630e2163abbc6e9e2f49e758c59b81b484e248b585df6df09a38c00fbfb6390117997cc80c1347b7a86bc1525d9e462b60d5 + languageName: node + linkType: hard + "estree-util-to-js@npm:^1.1.0": version: 1.2.0 resolution: "estree-util-to-js@npm:1.2.0" @@ -10552,6 +9591,15 @@ __metadata: languageName: node linkType: hard +"estree-util-value-to-estree@npm:^3.0.0": + version: 3.1.2 + resolution: "estree-util-value-to-estree@npm:3.1.2" + dependencies: + "@types/estree": ^1.0.0 + checksum: fb0fa42f44488eeb2357b60dc3fd5581422b0a36144fd90639fd3963c7396f225e7d7efeee0144b0a7293ea00e4ec9647b8302d057d48f894e8d5775c3c72eb7 + languageName: node + linkType: hard + "estree-util-visit@npm:^1.0.0": version: 1.2.1 resolution: "estree-util-visit@npm:1.2.1" @@ -10642,7 +9690,20 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1": +"fast-glob@npm:3.3.1": + version: 3.3.1 + resolution: "fast-glob@npm:3.3.1" + dependencies: + "@nodelib/fs.stat": ^2.0.2 + "@nodelib/fs.walk": ^1.2.3 + glob-parent: ^5.1.2 + merge2: ^1.3.0 + micromatch: ^4.0.4 + checksum: b68431128fb6ce4b804c5f9622628426d990b66c75b21c0d16e3d80e2d1398bf33f7e1724e66a2e3f299285dcf5b8d745b122d0304e7dd66f5231081f33ec67c + languageName: node + linkType: hard + +"fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1, fast-glob@npm:^3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -10697,12 +9758,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" +"file-entry-cache@npm:^8.0.0": + version: 8.0.0 + resolution: "file-entry-cache@npm:8.0.0" dependencies: - flat-cache: ^3.0.4 - checksum: 58473e8a82794d01b38e5e435f6feaf648e3f36fdb3a56e98f417f4efae71ad1c0d4ebd8a9a7c50c3ad085820a93fc7494ad721e0e4ebc1da3573f4e1c3c7cdd + flat-cache: ^4.0.0 + checksum: 9e2b5938b1cd9b6d7e3612bdc533afd4ac17b2fc646569e9a8abbf2eb48e5eb8e316bc38815a3ef6a1b456f4107f0d0f055a614ca613e75db6bf9ff4d72c1638 languageName: node linkType: hard @@ -10725,14 +9786,13 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.2.0 - resolution: "flat-cache@npm:3.2.0" +"flat-cache@npm:^4.0.0": + version: 4.0.1 + resolution: "flat-cache@npm:4.0.1" dependencies: flatted: ^3.2.9 - keyv: ^4.5.3 - rimraf: ^3.0.2 - checksum: b76f611bd5f5d68f7ae632e3ae503e678d205cf97a17c6ab5b12f6ca61188b5f1f7464503efae6dc18683ed8f0b41460beb48ac4b9ac63fe6201296a91ba2f75 + keyv: ^4.5.4 + checksum: 2c59d93e9faa2523e4fda6b4ada749bed432cfa28c8e251f33b25795e426a1c6dbada777afb1f74fcfff33934fdbdea921ee738fcc33e71adc9d6eca984a1cfc languageName: node linkType: hard @@ -10803,9 +9863,9 @@ __metadata: languageName: node linkType: hard -"framer-motion@npm:^11.3.21": - version: 11.3.21 - resolution: "framer-motion@npm:11.3.21" +"framer-motion@npm:^11.11.9": + version: 11.11.9 + resolution: "framer-motion@npm:11.11.9" dependencies: tslib: ^2.4.0 peerDependencies: @@ -10819,7 +9879,7 @@ __metadata: optional: true react-dom: optional: true - checksum: 47ea88207920800294159f20d89d217c0118cbe2f5b7c4f1204490a04ac379a60e4ba323bfb101f334155014ebf07b51ad70a4d67b0363043f9d1d00347b1b3b + checksum: 70e956da4146ffe00a35bf5abe7fc04bd86dc6fbc8a8ec95b1b125dfaa624db9a1b41d676f0b2eaef88538c58c5616c113d0fbed73219814223669a9002886cc languageName: node linkType: hard @@ -10848,13 +9908,6 @@ __metadata: languageName: node linkType: hard -"fs.realpath@npm:^1.0.0": - version: 1.0.0 - resolution: "fs.realpath@npm:1.0.0" - checksum: 444cf1291d997165dfd4c0d58b69f0e4782bfd9149fd72faa4fe299e68e0e93d6db941660b37dd29153bf7186672ececa3b50b7e7249477b03fdf850f287c948 - languageName: node - linkType: hard - "fsevents@npm:~2.3.2": version: 2.3.3 resolution: "fsevents@npm:2.3.3" @@ -10986,7 +10039,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:10.3.10, glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": +"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": version: 10.3.10 resolution: "glob@npm:10.3.10" dependencies: @@ -11001,20 +10054,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.1.3": - version: 7.2.3 - resolution: "glob@npm:7.2.3" - dependencies: - fs.realpath: ^1.0.0 - inflight: ^1.0.4 - inherits: 2 - minimatch: ^3.1.1 - once: ^1.3.0 - path-is-absolute: ^1.0.0 - checksum: 65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe - languageName: node - linkType: hard - "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -11022,12 +10061,10 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.24.0 - resolution: "globals@npm:13.24.0" - dependencies: - type-fest: ^0.20.2 - checksum: d3c11aeea898eb83d5ec7a99508600fbe8f83d2cf00cbb77f873dbf2bcb39428eff1b538e4915c993d8a3b3473fa71eeebfe22c9bb3a3003d1e26b1f2c8a42cd +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d languageName: node linkType: hard @@ -11040,7 +10077,17 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.3, globby@npm:^11.0.4, globby@npm:^11.1.0": +"globalthis@npm:^1.0.4": + version: 1.0.4 + resolution: "globalthis@npm:1.0.4" + dependencies: + define-properties: ^1.2.1 + gopd: ^1.0.1 + checksum: 9d156f313af79d80b1566b93e19285f481c591ad6d0d319b4be5e03750d004dde40a39a0f26f7e635f9007a3600802f53ecd85a759b86f109e80a5f705e01846 + languageName: node + linkType: hard + +"globby@npm:^11.0.3, globby@npm:^11.0.4": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -11076,7 +10123,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.2.10, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.2.10, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -11194,6 +10241,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.2": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" + dependencies: + function-bind: ^1.1.2 + checksum: 3769d434703b8ac66b209a4cca0737519925bbdb61dd887f93a16372b14694c63ff4e797686d87c90f08168e81082248b9b028bad60d4da9e0d1148766f56eb9 + languageName: node + linkType: hard + "hast-util-from-parse5@npm:^7.0.0": version: 7.1.2 resolution: "hast-util-from-parse5@npm:7.1.2" @@ -11227,6 +10283,22 @@ __metadata: languageName: node linkType: hard +"hast-util-properties-to-mdx-jsx-attributes@npm:^1.0.0": + version: 1.0.0 + resolution: "hast-util-properties-to-mdx-jsx-attributes@npm:1.0.0" + dependencies: + "@types/estree": ^1.0.0 + "@types/hast": ^3.0.0 + comma-separated-tokens: ^2.0.0 + estree-util-value-to-estree: ^3.0.0 + mdast-util-mdx-jsx: ^3.0.0 + property-information: ^6.0.0 + space-separated-tokens: ^2.0.0 + style-to-js: ^1.0.0 + checksum: fdd453f7d0bb3572b79c59d40d78a70f6d07deef58458b6f52df1957b8d7f982abc5941e0963ec83eb2034181ddd6888b9edbe3030bea9f4c98fa6d2e574b5eb + languageName: node + linkType: hard + "hast-util-raw@npm:^7.0.0": version: 7.2.3 resolution: "hast-util-raw@npm:7.2.3" @@ -11438,6 +10510,13 @@ __metadata: languageName: node linkType: hard +"html-url-attributes@npm:^3.0.0": + version: 3.0.1 + resolution: "html-url-attributes@npm:3.0.1" + checksum: 496e4908aa8b77665f348b4b03521901794f648b8ac34a581022cd6f2c97934d5c910cd91bc6593bbf2994687549037bc2520fcdc769b31484f29ffdd402acd0 + languageName: node + linkType: hard + "html-void-elements@npm:^2.0.0": version: 2.0.1 resolution: "html-void-elements@npm:2.0.1" @@ -11516,6 +10595,13 @@ __metadata: languageName: node linkType: hard +"ignore@npm:^5.3.1": + version: 5.3.2 + resolution: "ignore@npm:5.3.2" + checksum: f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 + languageName: node + linkType: hard + "imagescript@npm:^1.2.16": version: 1.2.18 resolution: "imagescript@npm:1.2.18" @@ -11561,17 +10647,7 @@ __metadata: languageName: node linkType: hard -"inflight@npm:^1.0.4": - version: 1.0.6 - resolution: "inflight@npm:1.0.6" - dependencies: - once: ^1.3.0 - wrappy: 1 - checksum: 7faca22584600a9dc5b9fca2cd5feb7135ac8c935449837b315676b4c90aa4f391ec4f42240178244b5a34e8bede1948627fda392ca3191522fc46b34e985ab2 - languageName: node - linkType: hard - -"inherits@npm:2, inherits@npm:^2.0.4": +"inherits@npm:^2.0.4": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 @@ -11592,6 +10668,13 @@ __metadata: languageName: node linkType: hard +"inline-style-parser@npm:0.2.4": + version: 0.2.4 + resolution: "inline-style-parser@npm:0.2.4" + checksum: ddc0b210eaa03e0f98d677b9836242c583c7c6051e84ce0e704ae4626e7871c5b78f8e30853480218b446355745775df318d4f82d33087ff7e393245efa9a881 + languageName: node + linkType: hard + "instantsearch-ui-components@npm:0.9.0": version: 0.9.0 resolution: "instantsearch-ui-components@npm:0.9.0" @@ -11601,16 +10684,16 @@ __metadata: languageName: node linkType: hard -"instantsearch.js@npm:4.74.0": - version: 4.74.0 - resolution: "instantsearch.js@npm:4.74.0" +"instantsearch.js@npm:4.75.3": + version: 4.75.3 + resolution: "instantsearch.js@npm:4.75.3" dependencies: "@algolia/events": ^4.0.1 "@types/dom-speech-recognition": ^0.0.1 "@types/google.maps": ^3.55.12 "@types/hogan.js": ^3.0.0 "@types/qs": ^6.5.3 - algoliasearch-helper: 3.22.4 + algoliasearch-helper: 3.22.5 hogan.js: ^3.0.2 htm: ^3.0.0 instantsearch-ui-components: 0.9.0 @@ -11619,11 +10702,11 @@ __metadata: search-insights: ^2.15.0 peerDependencies: algoliasearch: ">= 3.1 < 6" - checksum: 82242116182af43f7a8588daae850ad1e78053a72bc35bc55e1d85b7482b3c9b8bcb3ec358a440348ff3d014b1edfd8aebeaa0f40601b319cd1d2c097abfb43c + checksum: 4e785131f2ba456610721e36dbb75f6c0fd04eeea984bfb7197f3bf9d9a16308b1ac78d59c21947fa8d0427c8072670fce268d5d2a39e222b3a18001fdd93bdf languageName: node linkType: hard -"internal-slot@npm:^1.0.5, internal-slot@npm:^1.0.7": +"internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" dependencies: @@ -11723,6 +10806,13 @@ __metadata: languageName: node linkType: hard +"is-arrayish@npm:^0.3.1": + version: 0.3.2 + resolution: "is-arrayish@npm:0.3.2" + checksum: f59b43dc1d129edb6f0e282595e56477f98c40278a2acdc8b0a5c57097c9eff8fe55470493df5775478cf32a4dc8eaf6d3a749f07ceee5bc263a78b2434f6a54 + languageName: node + linkType: hard + "is-async-function@npm:^2.0.0": version: 2.0.0 resolution: "is-async-function@npm:2.0.0" @@ -11774,7 +10864,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.11.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1": +"is-core-module@npm:^2.11.0, is-core-module@npm:^2.13.0": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -11783,6 +10873,24 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.15.1": + version: 2.15.1 + resolution: "is-core-module@npm:2.15.1" + dependencies: + hasown: ^2.0.2 + checksum: 53432f10c69c40bfd2fa8914133a68709ff9498c86c3bf5fca3cdf3145a56fd2168cbf4a43b29843a6202a120a5f9c5ffba0a4322e1e3441739bc0b641682612 + languageName: node + linkType: hard + +"is-data-view@npm:^1.0.1": + version: 1.0.1 + resolution: "is-data-view@npm:1.0.1" + dependencies: + is-typed-array: ^1.1.13 + checksum: a3e6ec84efe303da859107aed9b970e018e2bee7ffcb48e2f8096921a493608134240e672a2072577e5f23a729846241d9634806e8a0e51d9129c56d5f65442d + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -11882,7 +10990,7 @@ __metadata: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.2": +"is-negative-zero@npm:^2.0.2, is-negative-zero@npm:^2.0.3": version: 2.0.3 resolution: "is-negative-zero@npm:2.0.3" checksum: bcdcf6b8b9714063ffcfa9929c575ac69bfdabb8f4574ff557dfc086df2836cf07e3906f5bbc4f2a5c12f8f3ba56af640c843cdfc74da8caed86c7c7d66fd08e @@ -11905,13 +11013,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: cf7d4ac35fb96bab6a1d2c3598fe5ebb29aafb52c0aaa482b5a3ed9d8ba3edc11631e3ec2637660c44b3ce0e61a08d54946e8af30dec0b60a7c27296c68ffd05 - languageName: node - linkType: hard - "is-plain-obj@npm:^3.0.0": version: 3.0.0 resolution: "is-plain-obj@npm:3.0.0" @@ -11966,7 +11067,7 @@ __metadata: languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.2": +"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3": version: 1.0.3 resolution: "is-shared-array-buffer@npm:1.0.3" dependencies: @@ -12056,16 +11157,16 @@ __metadata: languageName: node linkType: hard -"iterator.prototype@npm:^1.1.2": - version: 1.1.2 - resolution: "iterator.prototype@npm:1.1.2" +"iterator.prototype@npm:^1.1.3": + version: 1.1.3 + resolution: "iterator.prototype@npm:1.1.3" dependencies: define-properties: ^1.2.1 get-intrinsic: ^1.2.1 has-symbols: ^1.0.3 reflect.getprototypeof: ^1.0.4 set-function-name: ^2.0.1 - checksum: a32151326095e916f306990d909f6bbf23e3221999a18ba686419535dcd1749b10ded505e89334b77dc4c7a58a8508978f0eb16c2c8573e6d412eb7eb894ea79 + checksum: 68b0320c14291fbb3d8ed5a17e255d3127e7971bec19108076667e79c9ff4c7d69f99de4b0b3075c789c3f318366d7a0a35bb086eae0f2cf832dd58465b2f9e6 languageName: node linkType: hard @@ -12312,7 +11413,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^4.5.3": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -12468,7 +11569,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.0.0, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -13767,7 +12868,16 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:9.0.3, minimatch@npm:^9.0.1": +"minimatch@npm:^3.1.2": + version: 3.1.2 + resolution: "minimatch@npm:3.1.2" + dependencies: + brace-expansion: ^1.1.7 + checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + languageName: node + linkType: hard + +"minimatch@npm:^9.0.1": version: 9.0.3 resolution: "minimatch@npm:9.0.3" dependencies: @@ -13776,12 +12886,12 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": - version: 3.1.2 - resolution: "minimatch@npm:3.1.2" +"minimatch@npm:^9.0.4": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" dependencies: - brace-expansion: ^1.1.7 - checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + brace-expansion: ^2.0.1 + checksum: de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed languageName: node linkType: hard @@ -13906,13 +13016,6 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.0.0": - version: 2.0.0 - resolution: "ms@npm:2.0.0" - checksum: f8fda810b39fd7255bbdc451c46286e549794fcc700dc9cd1d25658bbc4dc2563a5de6fe7c60f798a16a60c6ceb53f033cb353f493f0cf63e5199b702943159d - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -13999,18 +13102,19 @@ __metadata: languageName: node linkType: hard -"next-mdx-remote@npm:^4.4.1": - version: 4.4.1 - resolution: "next-mdx-remote@npm:4.4.1" +"next-mdx-remote@npm:5.0.0": + version: 5.0.0 + resolution: "next-mdx-remote@npm:5.0.0" dependencies: - "@mdx-js/mdx": ^2.2.1 - "@mdx-js/react": ^2.2.1 - vfile: ^5.3.0 - vfile-matter: ^3.0.1 + "@babel/code-frame": ^7.23.5 + "@mdx-js/mdx": ^3.0.1 + "@mdx-js/react": ^3.0.1 + unist-util-remove: ^3.1.0 + vfile: ^6.0.1 + vfile-matter: ^5.0.0 peerDependencies: - react: ">=16.x <=18.x" - react-dom: ">=16.x <=18.x" - checksum: d48ad271f58312d11f392b0fbd7b2dbc5990cc82fcb6d28f687875a52b28b695c0700b93f197c72910a4c73da0a1fe4867db95315bc2ee7f0fc1743279f41b80 + react: ">=16" + checksum: bf96d57bf978c477b6b4e0d330889d3293f99c16f82e92b960a676cb80cd656f5d4427717ec3377323d604330eddd8fcb05a74740c10e03092a3b9888079a250 languageName: node linkType: hard @@ -14025,31 +13129,32 @@ __metadata: languageName: node linkType: hard -"next@npm:14.2.14, next@npm:^14.2.14, next@npm:latest": - version: 14.2.14 - resolution: "next@npm:14.2.14" +"next@npm:15.0.1": + version: 15.0.1 + resolution: "next@npm:15.0.1" dependencies: - "@next/env": 14.2.14 - "@next/swc-darwin-arm64": 14.2.14 - "@next/swc-darwin-x64": 14.2.14 - "@next/swc-linux-arm64-gnu": 14.2.14 - "@next/swc-linux-arm64-musl": 14.2.14 - "@next/swc-linux-x64-gnu": 14.2.14 - "@next/swc-linux-x64-musl": 14.2.14 - "@next/swc-win32-arm64-msvc": 14.2.14 - "@next/swc-win32-ia32-msvc": 14.2.14 - "@next/swc-win32-x64-msvc": 14.2.14 - "@swc/helpers": 0.5.5 + "@next/env": 15.0.1 + "@next/swc-darwin-arm64": 15.0.1 + "@next/swc-darwin-x64": 15.0.1 + "@next/swc-linux-arm64-gnu": 15.0.1 + "@next/swc-linux-arm64-musl": 15.0.1 + "@next/swc-linux-x64-gnu": 15.0.1 + "@next/swc-linux-x64-musl": 15.0.1 + "@next/swc-win32-arm64-msvc": 15.0.1 + "@next/swc-win32-x64-msvc": 15.0.1 + "@swc/counter": 0.1.3 + "@swc/helpers": 0.5.13 busboy: 1.6.0 caniuse-lite: ^1.0.30001579 - graceful-fs: ^4.2.11 postcss: 8.4.31 - styled-jsx: 5.1.1 + sharp: ^0.33.5 + styled-jsx: 5.1.6 peerDependencies: "@opentelemetry/api": ^1.1.0 "@playwright/test": ^1.41.2 - react: ^18.2.0 - react-dom: ^18.2.0 + babel-plugin-react-compiler: "*" + react: ^18.2.0 || 19.0.0-rc-69d4b800-20241021 + react-dom: ^18.2.0 || 19.0.0-rc-69d4b800-20241021 sass: ^1.3.0 dependenciesMeta: "@next/swc-darwin-arm64": @@ -14066,20 +13171,22 @@ __metadata: optional: true "@next/swc-win32-arm64-msvc": optional: true - "@next/swc-win32-ia32-msvc": - optional: true "@next/swc-win32-x64-msvc": optional: true + sharp: + optional: true peerDependenciesMeta: "@opentelemetry/api": optional: true "@playwright/test": optional: true + babel-plugin-react-compiler: + optional: true sass: optional: true bin: next: dist/bin/next - checksum: ed35c4a7e87de6da268ab19c195c498480ce758dad931b0789b81fc2a0e63020b379ce6f43daff922c123014ea5b3a33cc9eb09c785aa2d5bcd5eb0ef46b9f80 + checksum: d5d18f3013b985c42fc0f67032c50300c1433ee8a41560dec99db60bc4dbd04e54e4d4a4f385a42f15a5e8465f81b5c327d780b41065235638562cdd5fe80674 languageName: node linkType: hard @@ -14265,52 +13372,41 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.6, object.entries@npm:^1.1.7": - version: 1.1.7 - resolution: "object.entries@npm:1.1.7" +"object.entries@npm:^1.1.8": + version: 1.1.8 + resolution: "object.entries@npm:1.1.8" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 3ad1899cc7bf14546bf28f4a9b363ae8690b90948fcfbcac4c808395435d760f26193d9cae95337ce0e3c1e5c1f4fa45f7b46b31b68d389e9e117fce38775d86 - languageName: node - linkType: hard - -"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": - version: 2.0.7 - resolution: "object.fromentries@npm:2.0.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 071745c21f6fc9e6c914691f2532c1fb60ad967e5ddc52801d09958b5de926566299d07ae14466452a7efd29015f9145d6c09c573d93a0dc6f1683ee0ec2b93b - languageName: node - linkType: hard - -"object.groupby@npm:^1.0.1": - version: 1.0.2 - resolution: "object.groupby@npm:1.0.2" - dependencies: - array.prototype.filter: ^1.0.3 - call-bind: ^1.0.5 + call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.3 - es-errors: ^1.0.0 - checksum: b6266b1cfec7eb784b8bbe0bca5dc4b371cf9dd3e601b0897d72fa97a5934273d8fb05b3fc5222204104dbec32b50e25ba27e05ad681f71fb739cc1c7e9b81b1 + es-object-atoms: ^1.0.0 + checksum: db9ea979d2956a3bc26c262da4a4d212d36f374652cc4c13efdd069c1a519c16571c137e2893d1c46e1cb0e15c88fd6419eaf410c945f329f09835487d7e65d3 languageName: node linkType: hard -"object.hasown@npm:^1.1.2": - version: 1.1.3 - resolution: "object.hasown@npm:1.1.3" +"object.fromentries@npm:^2.0.8": + version: 2.0.8 + resolution: "object.fromentries@npm:2.0.8" dependencies: - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 8a41ba4fb1208a85c2275e9b5098071beacc24345b9a71ab98ef0a1c61b34dc74c6b460ff1e1884c33843d8f2553df64a10eec2b74b3ed009e3b2710c826bd2c + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + checksum: cd4327e6c3369cfa805deb4cbbe919bfb7d3aeebf0bcaba291bb568ea7169f8f8cdbcabe2f00b40db0c20cd20f08e11b5f3a5a36fb7dd3fe04850c50db3bf83b languageName: node linkType: hard -"object.values@npm:^1.1.6, object.values@npm:^1.1.7": +"object.groupby@npm:^1.0.3": + version: 1.0.3 + resolution: "object.groupby@npm:1.0.3" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + checksum: 60d0455c85c736fbfeda0217d1a77525956f76f7b2495edeca9e9bbf8168a45783199e77b894d30638837c654d0cc410e0e02cbfcf445bc8de71c3da1ede6a9c + languageName: node + linkType: hard + +"object.values@npm:^1.1.6": version: 1.1.7 resolution: "object.values@npm:1.1.7" dependencies: @@ -14321,7 +13417,18 @@ __metadata: languageName: node linkType: hard -"once@npm:^1.3.0, once@npm:^1.4.0": +"object.values@npm:^1.2.0": + version: 1.2.0 + resolution: "object.values@npm:1.2.0" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: 15809dc40fd6c5529501324fec5ff08570b7d70fb5ebbe8e2b3901afec35cf2b3dc484d1210c6c642cd3e7e0a5e18dd1d6850115337fef46bdae14ab0cb18ac3 + languageName: node + linkType: hard + +"once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" dependencies: @@ -14526,13 +13633,6 @@ __metadata: languageName: node linkType: hard -"path-is-absolute@npm:^1.0.0": - version: 1.0.1 - resolution: "path-is-absolute@npm:1.0.1" - checksum: 127da03c82172a2a50099cddbf02510c1791fc2cc5f7713ddb613a56838db1e8168b121a920079d052e0936c23005562059756d653b7c544c53185efe53be078 - languageName: node - linkType: hard - "path-key@npm:^3.0.0, path-key@npm:^3.1.0": version: 3.1.1 resolution: "path-key@npm:3.1.1" @@ -14770,16 +13870,28 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.4": - version: 2.8.8 - resolution: "prettier@npm:2.8.8" +"prettier@npm:^3.3.3": + version: 3.3.3 + resolution: "prettier@npm:3.3.3" bin: - prettier: bin-prettier.js - checksum: 463ea8f9a0946cd5b828d8cf27bd8b567345cf02f56562d5ecde198b91f47a76b7ac9eae0facd247ace70e927143af6135e8cf411986b8cb8478784a4d6d724a + prettier: bin/prettier.cjs + checksum: b85828b08e7505716324e4245549b9205c0cacb25342a030ba8885aba2039a115dbcf75a0b7ca3b37bc9d101ee61fab8113fc69ca3359f2a226f1ecc07ad2e26 languageName: node linkType: hard -"prism-react-renderer@npm:2.3.1, prism-react-renderer@npm:^2.0.6": +"prism-react-renderer@npm:2.4.0": + version: 2.4.0 + resolution: "prism-react-renderer@npm:2.4.0" + dependencies: + "@types/prismjs": ^1.26.0 + clsx: ^2.0.0 + peerDependencies: + react: ">=16.0.0" + checksum: 3d6969b057da0efe39e3e637bf93601cd5757de5919180e8df16daf1d1b8eedc39b70c7f6f28724fba0a01bc857c6b78312ab027f4e913159d1165c5aba235bb + languageName: node + linkType: hard + +"prism-react-renderer@npm:^2.0.6": version: 2.3.1 resolution: "prism-react-renderer@npm:2.3.1" dependencies: @@ -14815,7 +13927,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.0.0, prop-types@npm:^15.5.0, prop-types@npm:^15.6.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.5.0, prop-types@npm:^15.6.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -14965,7 +14077,7 @@ __metadata: languageName: node linkType: hard -"react-day-picker@npm:^8.10.0, react-day-picker@npm:^8.8.0": +"react-day-picker@npm:^8.8.0": version: 8.10.0 resolution: "react-day-picker@npm:8.10.0" peerDependencies: @@ -14975,9 +14087,9 @@ __metadata: languageName: node linkType: hard -"react-docgen@npm:^7.0.1": - version: 7.0.3 - resolution: "react-docgen@npm:7.0.3" +"react-docgen@npm:^7.1.0": + version: 7.1.0 + resolution: "react-docgen@npm:7.1.0" dependencies: "@babel/core": ^7.18.9 "@babel/traverse": ^7.18.9 @@ -14989,19 +14101,18 @@ __metadata: doctrine: ^3.0.0 resolve: ^1.22.1 strip-indent: ^4.0.0 - checksum: 74622750e60b287d2897a6887a2bd88303fadd84540247e162e9e970430864ae7b49152de043233d873a0aa7cffa406e5cd8fc1e8e2c277b8da73198b570f16b + checksum: 59f8b26b292df0d54cf5b1fff33d9a46bf318caadb97b2dde55cbc8fb6210e03ab5b295bd97a54a6b5afa1c0fca814c9a852cca673f8f260740103c708c683da languageName: node linkType: hard -"react-dom@npm:18.2.0, react-dom@npm:^18.2.0": - version: 18.2.0 - resolution: "react-dom@npm:18.2.0" +"react-dom@npm:rc": + version: 19.0.0-rc-1631855f-20241023 + resolution: "react-dom@npm:19.0.0-rc-1631855f-20241023" dependencies: - loose-envify: ^1.1.0 - scheduler: ^0.23.0 + scheduler: 0.25.0-rc-1631855f-20241023 peerDependencies: - react: ^18.2.0 - checksum: 66dfc5f93e13d0674e78ef41f92ed21dfb80f9c4ac4ac25a4b51046d41d4d2186abc915b897f69d3d0ebbffe6184e7c5876f2af26bfa956f179225d921be713a + react: 19.0.0-rc-1631855f-20241023 + checksum: afc5f14cc41c9ab8ba88cf5cebb76b75b1710ce8d057dfc3ea90e542d99c79ef01aee03a9a4f50a5b56b42ebc7858145725639ab9dd3eead962a9a8f03c291f1 languageName: node linkType: hard @@ -15017,47 +14128,47 @@ __metadata: languageName: node linkType: hard -"react-instantsearch-core@npm:7.13.0": - version: 7.13.0 - resolution: "react-instantsearch-core@npm:7.13.0" +"react-instantsearch-core@npm:7.13.6": + version: 7.13.6 + resolution: "react-instantsearch-core@npm:7.13.6" dependencies: "@babel/runtime": ^7.1.2 - algoliasearch-helper: 3.22.4 - instantsearch.js: 4.74.0 + algoliasearch-helper: 3.22.5 + instantsearch.js: 4.75.3 use-sync-external-store: ^1.0.0 peerDependencies: algoliasearch: ">= 3.1 < 6" react: ">= 16.8.0 < 19" - checksum: 54b58fe709a65774d2706ade5946b849e59a41caff7fb790cdcced827971c4b14541108f2c2c2b36ffb082c83b39ad635deb68cb80dbc798eeb02a97042e4681 + checksum: 16cd5bb6f04b2cc934cfe600ab2ec04e57744f38e37c40a559beed1fd75e9127a507fc0152adddd868877303d1122d5161d3a3491ec30970ebac286430653cef languageName: node linkType: hard -"react-instantsearch@npm:^7.13.0": - version: 7.13.0 - resolution: "react-instantsearch@npm:7.13.0" +"react-instantsearch@npm:^7.13.6": + version: 7.13.6 + resolution: "react-instantsearch@npm:7.13.6" dependencies: "@babel/runtime": ^7.1.2 instantsearch-ui-components: 0.9.0 - instantsearch.js: 4.74.0 - react-instantsearch-core: 7.13.0 + instantsearch.js: 4.75.3 + react-instantsearch-core: 7.13.6 peerDependencies: algoliasearch: ">= 3.1 < 6" react: ">= 16.8.0 < 19" react-dom: ">= 16.8.0 < 19" - checksum: 3c2c040c80fd4061356d0d41c97b55fc5b7e9a70a52ccb4b5027f0f3d95d1871bd8e19bdfb1c10b7c5515e92ba8810c675e51916768b8af3535c6373f28844af + checksum: 2264735c1c983d13962a66b63c0421e1dc7bc8effab95f05c2d10ffaa399a4893d68626049f219a873c5d4032530e2df78fd157f4b73e8a4da2a24052ee30b48 languageName: node linkType: hard -"react-intersection-observer@npm:^9.5.3": - version: 9.8.1 - resolution: "react-intersection-observer@npm:9.8.1" +"react-intersection-observer@npm:^9.13.1": + version: 9.13.1 + resolution: "react-intersection-observer@npm:9.13.1" peerDependencies: - react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 - react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 + react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: react-dom: optional: true - checksum: bfa26883e88261ef4b3e3cda7bde187c3156727a8677bc43dbfe21eae2c02faa3cc6c577698a7fc6b5f74e4cb0b896552d5a9ade62c2c6d13441538b50a04e50 + checksum: c64722db407e0ca83945bf97621ab4618fa74f3a70b528ff43988818d46feee8962bd12e70203d2d92b31030889a1f813d00e0aa3d781a7bc39fb293c277ee04 languageName: node linkType: hard @@ -15068,36 +14179,24 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^18.0.0": - version: 18.2.0 - resolution: "react-is@npm:18.2.0" - checksum: 6eb5e4b28028c23e2bfcf73371e72cd4162e4ac7ab445ddae2afe24e347a37d6dc22fae6e1748632cd43c6d4f9b8f86dcf26bf9275e1874f436d129952528ae0 - languageName: node - linkType: hard - -"react-markdown@npm:^8.0.7": - version: 8.0.7 - resolution: "react-markdown@npm:8.0.7" +"react-markdown@npm:^9.0.1": + version: 9.0.1 + resolution: "react-markdown@npm:9.0.1" dependencies: - "@types/hast": ^2.0.0 - "@types/prop-types": ^15.0.0 - "@types/unist": ^2.0.0 - comma-separated-tokens: ^2.0.0 - hast-util-whitespace: ^2.0.0 - prop-types: ^15.0.0 - property-information: ^6.0.0 - react-is: ^18.0.0 - remark-parse: ^10.0.0 - remark-rehype: ^10.0.0 - space-separated-tokens: ^2.0.0 - style-to-object: ^0.4.0 - unified: ^10.0.0 - unist-util-visit: ^4.0.0 - vfile: ^5.0.0 + "@types/hast": ^3.0.0 + devlop: ^1.0.0 + hast-util-to-jsx-runtime: ^2.0.0 + html-url-attributes: ^3.0.0 + mdast-util-to-hast: ^13.0.0 + remark-parse: ^11.0.0 + remark-rehype: ^11.0.0 + unified: ^11.0.0 + unist-util-visit: ^5.0.0 + vfile: ^6.0.0 peerDependencies: - "@types/react": ">=16" - react: ">=16" - checksum: 016617fbd2f4c03c5ae017fe39e89202f2ff536b4921dc1a5f7283d4b9d5157f20797adda75a8c59a06787ad0bc8841e2e437915aec645ce528e0a04a6d450ac + "@types/react": ">=18" + react: ">=18" + checksum: 3a3895dbd56647bc864b8da46dd575e71a9e609eb1e43fea8e8e6209d86e208eddd5b07bf8d7b5306a194b405440760a8d134aebd5a4ce5dc7dee4299e84db96 languageName: node linkType: hard @@ -15232,16 +14331,16 @@ __metadata: languageName: node linkType: hard -"react-tooltip@npm:^5.19.0, react-tooltip@npm:^5.21.3": - version: 5.26.3 - resolution: "react-tooltip@npm:5.26.3" +"react-tooltip@npm:^5.28.0": + version: 5.28.0 + resolution: "react-tooltip@npm:5.28.0" dependencies: "@floating-ui/dom": ^1.6.1 classnames: ^2.3.0 peerDependencies: react: ">=16.14.0" react-dom: ">=16.14.0" - checksum: fcce843ebfda0a74ddaf90b7d322879c9070bd180e490ae4634ff02052b1cd39158a0af3a27621a9ffe62a1a8ad246633908a1d214998aea0403ec7aeca874fb + checksum: 817909584adf4d84d70768e41c7fdf66bf9affd980499742a2da54378e5c8be53a0867bf72bdfb441fa4aa35c79847585990b6e31c91e6647e789ba68e9b08a2 languageName: node linkType: hard @@ -15267,12 +14366,10 @@ __metadata: languageName: node linkType: hard -"react@npm:18.2.0, react@npm:^18.2.0": - version: 18.2.0 - resolution: "react@npm:18.2.0" - dependencies: - loose-envify: ^1.1.0 - checksum: b562d9b569b0cb315e44b48099f7712283d93df36b19a39a67c254c6686479d3980b7f013dc931f4a5a3ae7645eae6386b4aa5eea933baa54ecd0f9acb0902b8 +"react@npm:rc": + version: 19.0.0-rc-1631855f-20241023 + resolution: "react@npm:19.0.0-rc-1631855f-20241023" + checksum: 1680bdb888f33a11afe4de8a6d94c6c014a70692daac52676402c21de910029cbf602dc10415c632ded850849e74c60796c3b8bf78d037ded9f337ab1469d575 languageName: node linkType: hard @@ -15294,6 +14391,54 @@ __metadata: languageName: node linkType: hard +"recma-build-jsx@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-build-jsx@npm:1.0.0" + dependencies: + "@types/estree": ^1.0.0 + estree-util-build-jsx: ^3.0.0 + vfile: ^6.0.0 + checksum: ca30f5163887b44c74682355da2625f7b49f33267699d22247913e513e043650cbdd6a7497cf13c60f09ad9e7bc2bd35bd20853672773c19188569814b56bb04 + languageName: node + linkType: hard + +"recma-jsx@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-jsx@npm:1.0.0" + dependencies: + acorn-jsx: ^5.0.0 + estree-util-to-js: ^2.0.0 + recma-parse: ^1.0.0 + recma-stringify: ^1.0.0 + unified: ^11.0.0 + checksum: 26c2af6dd69336c810468b778be1e4cbac5702cf9382454f17c29cf9b03a4fde47d10385bb26a7ccb34f36fe01af34c24cab9fb0deeed066ea53294be0081f07 + languageName: node + linkType: hard + +"recma-parse@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-parse@npm:1.0.0" + dependencies: + "@types/estree": ^1.0.0 + esast-util-from-js: ^2.0.0 + unified: ^11.0.0 + vfile: ^6.0.0 + checksum: 37c0990859a562d082e02d475ca5f4c8ef0840d285270f6699fe888cbb06260f97eb098585eda4aae416182c207fd19cf05e4f0b2dcf55cbf81dde4406d95545 + languageName: node + linkType: hard + +"recma-stringify@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-stringify@npm:1.0.0" + dependencies: + "@types/estree": ^1.0.0 + estree-util-to-js: ^2.0.0 + unified: ^11.0.0 + vfile: ^6.0.0 + checksum: c2ed4c0e8cf8a09aedcd47c5d016d47f6e1ff6c2d4b220e2abaf1b77713bf404756af2ea3ea7999aec5862e8825aff035edceb370c7fd8603a7e9da03bd6987e + languageName: node + linkType: hard + "reflect.getprototypeof@npm:^1.0.4": version: 1.0.5 resolution: "reflect.getprototypeof@npm:1.0.5" @@ -15316,7 +14461,7 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.2": +"regexp.prototype.flags@npm:^1.5.2": version: 1.5.2 resolution: "regexp.prototype.flags@npm:1.5.2" dependencies: @@ -15342,6 +14487,32 @@ __metadata: languageName: node linkType: hard +"rehype-mdx-code-props@npm:^3.0.1": + version: 3.0.1 + resolution: "rehype-mdx-code-props@npm:3.0.1" + dependencies: + "@types/hast": ^3.0.0 + hast-util-properties-to-mdx-jsx-attributes: ^1.0.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-mdx: ^3.0.0 + micromark-extension-mdxjs: ^3.0.0 + unified: ^11.0.0 + unist-util-visit-parents: ^6.0.0 + checksum: 4eda9dfbd8af696399344fd749138f865b517a9a5d33a612060a4d32baf69ea136cbf6272fc1b80472041f0baf3337f6eb25322941d8d1cb0054aff811d6779f + languageName: node + linkType: hard + +"rehype-recma@npm:^1.0.0": + version: 1.0.0 + resolution: "rehype-recma@npm:1.0.0" + dependencies: + "@types/estree": ^1.0.0 + "@types/hast": ^3.0.0 + hast-util-to-estree: ^3.0.0 + checksum: be60d7433a7f788a14f41da3e93ba9d9272c908ddef47757026cc4bbcc912f6301d56810349adf876d294a8d048626a0dbf6988aaa574afbfc29eac1ddc1eb74 + languageName: node + linkType: hard + "rehype-slug@npm:^6.0.0": version: 6.0.0 resolution: "rehype-slug@npm:6.0.0" @@ -15464,7 +14635,6 @@ __metadata: "@cloudinary/url-gen": ^1.17.0 "@types/node": ^20.11.20 docs-ui: "*" - eslint-config-docs: "*" remark-frontmatter: ^5.0.0 remark-parse: ^11.0.0 remark-stringify: ^11.0.0 @@ -15601,7 +14771,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.4": +"resolve@npm:^2.0.0-next.5": version: 2.0.0-next.5 resolution: "resolve@npm:2.0.0-next.5" dependencies: @@ -15627,7 +14797,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^2.0.0-next.4#~builtin": +"resolve@patch:resolve@^2.0.0-next.5#~builtin": version: 2.0.0-next.5 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin::version=2.0.0-next.5&hash=07638b" dependencies: @@ -15644,25 +14814,25 @@ __metadata: version: 0.0.0-use.local resolution: "resources@workspace:apps/resources" dependencies: - "@mdx-js/loader": ^3.0.1 - "@mdx-js/react": ^3.0.1 + "@mdx-js/loader": ^3.1.0 + "@mdx-js/react": ^3.1.0 "@medusajs/icons": ^2.0.0 - "@next/mdx": ^14.2.14 - "@types/mdx": ^2.0.11 + "@next/mdx": 15.0.1 + "@types/mdx": ^2.0.13 "@types/node": ^20 - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 + "@types/react": "npm:types-react@rc" + "@types/react-dom": "npm:types-react@rc" autoprefixer: ^10.0.1 build-scripts: "*" clsx: ^2.1.0 docs-ui: "*" - eslint: ^8 - eslint-config-docs: "*" - eslint-config-next: 14.2.3 - next: 14.2.14 + eslint: ^9.13.0 + eslint-plugin-prettier: ^5.2.1 + eslint-plugin-react-hooks: ^5.0.0 + next: 15.0.1 postcss: ^8 - react: ^18.2.0 - react-dom: ^18.2.0 + react: rc + react-dom: rc rehype-mdx-code-props: ^2.0.0 remark-directive: ^3.0.0 remark-frontmatter: ^5.0.0 @@ -15690,17 +14860,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.2": - version: 3.0.2 - resolution: "rimraf@npm:3.0.2" - dependencies: - glob: ^7.1.3 - bin: - rimraf: bin.js - checksum: 9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 - languageName: node - linkType: hard - "rimraf@npm:^5.0.1, rimraf@npm:^5.0.5": version: 5.0.5 resolution: "rimraf@npm:5.0.5" @@ -15777,6 +14936,18 @@ __metadata: languageName: node linkType: hard +"safe-array-concat@npm:^1.1.2": + version: 1.1.2 + resolution: "safe-array-concat@npm:1.1.2" + dependencies: + call-bind: ^1.0.7 + get-intrinsic: ^1.2.4 + has-symbols: ^1.0.3 + isarray: ^2.0.5 + checksum: 12f9fdb01c8585e199a347eacc3bae7b5164ae805cdc8c6707199dbad5b9e30001a50a43c4ee24dc9ea32dbb7279397850e9208a7e217f4d8b1cf5d90129dec9 + languageName: node + linkType: hard + "safe-regex-test@npm:^1.0.3": version: 1.0.3 resolution: "safe-regex-test@npm:1.0.3" @@ -15804,12 +14975,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.0": - version: 0.23.0 - resolution: "scheduler@npm:0.23.0" - dependencies: - loose-envify: ^1.1.0 - checksum: b777f7ca0115e6d93e126ac490dbd82642d14983b3079f58f35519d992fa46260be7d6e6cede433a92db70306310c6f5f06e144f0e40c484199e09c1f7be53dd +"scheduler@npm:0.25.0-rc-1631855f-20241023": + version: 0.25.0-rc-1631855f-20241023 + resolution: "scheduler@npm:0.25.0-rc-1631855f-20241023" + checksum: 8ec078734f619849cc8bd36ec450898b92e045754424850366e6ee6928bdd14a69ead135006925583aa244cc80bcd95e6ba686f58644d4fa96e55e0919c69daa languageName: node linkType: hard @@ -15839,7 +15008,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.5, semver@npm:^7.5.2, semver@npm:^7.5.4": +"semver@npm:^7.3.5, semver@npm:^7.5.2": version: 7.6.0 resolution: "semver@npm:7.6.0" dependencies: @@ -15850,6 +15019,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.6.0, semver@npm:^7.6.3": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: 88f33e148b210c153873cb08cfe1e281d518aaa9a666d4d148add6560db5cd3c582f3a08ccb91f38d5f379ead256da9931234ed122057f40bb5766e65e58adaf + languageName: node + linkType: hard + "set-function-length@npm:^1.2.1": version: 1.2.1 resolution: "set-function-length@npm:1.2.1" @@ -15864,7 +15042,7 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.0, set-function-name@npm:^2.0.1": +"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": version: 2.0.2 resolution: "set-function-name@npm:2.0.2" dependencies: @@ -15876,6 +15054,75 @@ __metadata: languageName: node linkType: hard +"sharp@npm:^0.33.5": + version: 0.33.5 + resolution: "sharp@npm:0.33.5" + dependencies: + "@img/sharp-darwin-arm64": 0.33.5 + "@img/sharp-darwin-x64": 0.33.5 + "@img/sharp-libvips-darwin-arm64": 1.0.4 + "@img/sharp-libvips-darwin-x64": 1.0.4 + "@img/sharp-libvips-linux-arm": 1.0.5 + "@img/sharp-libvips-linux-arm64": 1.0.4 + "@img/sharp-libvips-linux-s390x": 1.0.4 + "@img/sharp-libvips-linux-x64": 1.0.4 + "@img/sharp-libvips-linuxmusl-arm64": 1.0.4 + "@img/sharp-libvips-linuxmusl-x64": 1.0.4 + "@img/sharp-linux-arm": 0.33.5 + "@img/sharp-linux-arm64": 0.33.5 + "@img/sharp-linux-s390x": 0.33.5 + "@img/sharp-linux-x64": 0.33.5 + "@img/sharp-linuxmusl-arm64": 0.33.5 + "@img/sharp-linuxmusl-x64": 0.33.5 + "@img/sharp-wasm32": 0.33.5 + "@img/sharp-win32-ia32": 0.33.5 + "@img/sharp-win32-x64": 0.33.5 + color: ^4.2.3 + detect-libc: ^2.0.3 + semver: ^7.6.3 + dependenciesMeta: + "@img/sharp-darwin-arm64": + optional: true + "@img/sharp-darwin-x64": + optional: true + "@img/sharp-libvips-darwin-arm64": + optional: true + "@img/sharp-libvips-darwin-x64": + optional: true + "@img/sharp-libvips-linux-arm": + optional: true + "@img/sharp-libvips-linux-arm64": + optional: true + "@img/sharp-libvips-linux-s390x": + optional: true + "@img/sharp-libvips-linux-x64": + optional: true + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + "@img/sharp-libvips-linuxmusl-x64": + optional: true + "@img/sharp-linux-arm": + optional: true + "@img/sharp-linux-arm64": + optional: true + "@img/sharp-linux-s390x": + optional: true + "@img/sharp-linux-x64": + optional: true + "@img/sharp-linuxmusl-arm64": + optional: true + "@img/sharp-linuxmusl-x64": + optional: true + "@img/sharp-wasm32": + optional: true + "@img/sharp-win32-ia32": + optional: true + "@img/sharp-win32-x64": + optional: true + checksum: 6b81421ddfe6ee524d8d77e325c5e147fef22884e1c7b1656dfd89a88d7025894115da02d5f984261bf2e6daa16f98cadd1721c4ba408b4212b1d2a60f233484 + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -15904,6 +15151,18 @@ __metadata: languageName: node linkType: hard +"side-channel@npm:^1.0.6": + version: 1.0.6 + resolution: "side-channel@npm:1.0.6" + dependencies: + call-bind: ^1.0.7 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.4 + object-inspect: ^1.13.1 + checksum: d2afd163dc733cc0a39aa6f7e39bf0c436293510dbccbff446733daeaf295857dbccf94297092ec8c53e2503acac30f0b78830876f0485991d62a90e9cad305f + languageName: node + linkType: hard + "signal-exit@npm:^3.0.3": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" @@ -15918,6 +15177,15 @@ __metadata: languageName: node linkType: hard +"simple-swizzle@npm:^0.2.2": + version: 0.2.2 + resolution: "simple-swizzle@npm:0.2.2" + dependencies: + is-arrayish: ^0.3.1 + checksum: df5e4662a8c750bdba69af4e8263c5d96fe4cd0f9fe4bdfa3cbdeb45d2e869dff640beaaeb1ef0e99db4d8d2ec92f85508c269f50c972174851bc1ae5bd64308 + languageName: node + linkType: hard + "sirv@npm:^2.0.3": version: 2.0.4 resolution: "sirv@npm:2.0.4" @@ -16045,13 +15313,6 @@ __metadata: languageName: node linkType: hard -"spark-md5@npm:^3.0.1": - version: 3.0.2 - resolution: "spark-md5@npm:3.0.2" - checksum: 3fd11735eac5e7d60d6006d99ac0a055f148a89e9baf5f0b51ac103022dec30556b44190b37f6737ca50f81e8e50dc13e724f9edf6290c412ff5ab2101ce7780 - languageName: node - linkType: hard - "sprintf-js@npm:^1.1.3": version: 1.1.3 resolution: "sprintf-js@npm:1.1.3" @@ -16104,20 +15365,44 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.8": - version: 4.0.10 - resolution: "string.prototype.matchall@npm:4.0.10" +"string.prototype.includes@npm:^2.0.1": + version: 2.0.1 + resolution: "string.prototype.includes@npm:2.0.1" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.3 + checksum: 25ce9c9b49128352a2618fbe8758b46f945817a58a4420f4799419e40a8d28f116e176c7590d767d5327a61e75c8f32c86171063f48e389b9fdd325f1bd04ee5 + languageName: node + linkType: hard + +"string.prototype.matchall@npm:^4.0.11": + version: 4.0.11 + resolution: "string.prototype.matchall@npm:4.0.11" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.4 + gopd: ^1.0.1 has-symbols: ^1.0.3 - internal-slot: ^1.0.5 - regexp.prototype.flags: ^1.5.0 - set-function-name: ^2.0.0 - side-channel: ^1.0.4 - checksum: cd7495fb0de16d43efeee3887b98701941f3817bd5f09351ad1825b023d307720c86394d56d56380563d97767ab25bf5448db239fcecbb85c28e2180f23e324a + internal-slot: ^1.0.7 + regexp.prototype.flags: ^1.5.2 + set-function-name: ^2.0.2 + side-channel: ^1.0.6 + checksum: 915a2562ac9ab5e01b7be6fd8baa0b2b233a0a9aa975fcb2ec13cc26f08fb9a3e85d5abdaa533c99c6fc4c5b65b914eba3d80c4aff9792a4c9fed403f28f7d9d + languageName: node + linkType: hard + +"string.prototype.repeat@npm:^1.0.0": + version: 1.0.0 + resolution: "string.prototype.repeat@npm:1.0.0" + dependencies: + define-properties: ^1.1.3 + es-abstract: ^1.17.5 + checksum: 94c7978566cffa1327d470fd924366438af9b04b497c43a9805e476e2e908aa37a1fd34cc0911156c17556dab62159d12c7b92b3cc304c3e1281fe4c8e668f40 languageName: node linkType: hard @@ -16132,6 +15417,18 @@ __metadata: languageName: node linkType: hard +"string.prototype.trim@npm:^1.2.9": + version: 1.2.9 + resolution: "string.prototype.trim@npm:1.2.9" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.0 + es-object-atoms: ^1.0.0 + checksum: dcef1a0fb61d255778155006b372dff8cc6c4394bc39869117e4241f41a2c52899c0d263ffc7738a1f9e61488c490b05c0427faa15151efad721e1a9fb2663c2 + languageName: node + linkType: hard + "string.prototype.trimend@npm:^1.0.7": version: 1.0.7 resolution: "string.prototype.trimend@npm:1.0.7" @@ -16143,6 +15440,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimend@npm:1.0.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: 0a0b54c17c070551b38e756ae271865ac6cc5f60dabf2e7e343cceae7d9b02e1a1120a824e090e79da1b041a74464e8477e2da43e2775c85392be30a6f60963c + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.7": version: 1.0.7 resolution: "string.prototype.trimstart@npm:1.0.7" @@ -16154,6 +15462,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimstart@npm:1.0.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: d53af1899959e53c83b64a5fd120be93e067da740e7e75acb433849aa640782fb6c7d4cd5b84c954c84413745a3764df135a8afeb22908b86a835290788d8366 + languageName: node + linkType: hard + "stringify-entities@npm:^4.0.0": version: 4.0.3 resolution: "stringify-entities@npm:4.0.3" @@ -16219,6 +15538,24 @@ __metadata: languageName: node linkType: hard +"style-to-js@npm:^1.0.0": + version: 1.1.16 + resolution: "style-to-js@npm:1.1.16" + dependencies: + style-to-object: 1.0.8 + checksum: 578a4dff804539ec7e64d3cc8d327540befb9ad30e3cd0b6b0392f93f793f3a028f90084a9aaff088bffb87818fa2c6c153f0df576f61f9ab0b0938b582bcac7 + languageName: node + linkType: hard + +"style-to-object@npm:1.0.8": + version: 1.0.8 + resolution: "style-to-object@npm:1.0.8" + dependencies: + inline-style-parser: 0.2.4 + checksum: daa6646b1ff18258c0ca33ed281fbe73485c8391192db1b56ce89d40c93ea64507a41e8701d0dadfe771bc2f540c46c9b295135f71584c8e5cb23d6a19be9430 + languageName: node + linkType: hard + "style-to-object@npm:^0.4.0, style-to-object@npm:^0.4.1": version: 0.4.4 resolution: "style-to-object@npm:0.4.4" @@ -16237,19 +15574,19 @@ __metadata: languageName: node linkType: hard -"styled-jsx@npm:5.1.1": - version: 5.1.1 - resolution: "styled-jsx@npm:5.1.1" +"styled-jsx@npm:5.1.6": + version: 5.1.6 + resolution: "styled-jsx@npm:5.1.6" dependencies: client-only: 0.0.1 peerDependencies: - react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" + react: ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" peerDependenciesMeta: "@babel/core": optional: true babel-plugin-macros: optional: true - checksum: 42655cdadfa5388f8a48bb282d6b450df7d7b8cf066ac37038bd0499d3c9f084815ebd9ff9dfa12a218fd4441338851db79603498d7557207009c1cf4d609835 + checksum: ace50e7ea5ae5ae6a3b65a50994c51fca6ae7df9c7ecfd0104c36be0b4b3a9c5c1a2374d16e2a11e256d0b20be6d47256d768ecb4f91ab390f60752a075780f5 languageName: node linkType: hard @@ -16322,6 +15659,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.9.1": + version: 0.9.2 + resolution: "synckit@npm:0.9.2" + dependencies: + "@pkgr/core": ^0.1.0 + tslib: ^2.6.2 + checksum: e0c262817444e5b872708adb6f5ad37951ba33f6b2d1d4477d45db1f57573a784618ceed5e6614e0225db330632b1f6b95bb74d21e4d013e45ad4bde03d0cb59 + languageName: node + linkType: hard + "tailwind-merge@npm:^2.2.1": version: 2.2.1 resolution: "tailwind-merge@npm:2.2.1" @@ -16336,7 +15683,6 @@ __metadata: resolution: "tailwind@workspace:packages/tailwind" dependencies: "@medusajs/ui-preset": ^1.1.2 - eslint-config-docs: "*" tailwindcss-animate: ^1.0.7 peerDependencies: docs-ui: "*" @@ -16464,13 +15810,6 @@ __metadata: languageName: node linkType: hard -"tiny-hashes@npm:^1.0.1": - version: 1.0.1 - resolution: "tiny-hashes@npm:1.0.1" - checksum: 9fbb975861def70f585e2b6554dcbee9289b5850a6c492a2fd1849ae68c2996ec438e13dfe6e9dcf9bb396e9a395f4cf81246812e23dda54b60ef9e24b47bf79 - languageName: node - linkType: hard - "to-fast-properties@npm:^2.0.0": version: 2.0.0 resolution: "to-fast-properties@npm:2.0.0" @@ -16577,12 +15916,12 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.0.1": - version: 1.2.1 - resolution: "ts-api-utils@npm:1.2.1" +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" peerDependencies: typescript: ">=4.2.0" - checksum: 8ddb493e7ae581d3f57a2e469142feb60b420d4ad8366ab969fe8e36531f8f301f370676b47e8d97f28b5f5fd10d6f2d55f656943a8546ef95e35ce5cf117754 + checksum: f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c languageName: node linkType: hard @@ -16686,6 +16025,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.6.2": + version: 2.8.0 + resolution: "tslib@npm:2.8.0" + checksum: 31e4d14dc1355e9b89e4d3c893a18abb7f90b6886b089c2da91224d0a7752c79f3ddc41bc1aa0a588ac895bd97bb99c5bc2bfdb2f86de849f31caeb3ba79bbe5 + languageName: node + linkType: hard + "tsup@npm:^5.10.1": version: 5.12.9 resolution: "tsup@npm:5.12.9" @@ -16809,13 +16155,6 @@ turbo@latest: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: dea9df45ea1f0aaa4e2d3bed3f9a0bfe9e5b2592bddb92eb1bf06e50bcf98dbb78189668cd8bc31a0511d3fc25539b4cd5c704497e53e93e2d40ca764b10bfc3 - languageName: node - linkType: hard - "type-fest@npm:^3.12.0": version: 3.13.1 resolution: "type-fest@npm:3.13.1" @@ -16823,7 +16162,7 @@ turbo@latest: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.1": +"typed-array-buffer@npm:^1.0.1, typed-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-buffer@npm:1.0.2" dependencies: @@ -16834,7 +16173,7 @@ turbo@latest: languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.0": +"typed-array-byte-length@npm:^1.0.0, typed-array-byte-length@npm:^1.0.1": version: 1.0.1 resolution: "typed-array-byte-length@npm:1.0.1" dependencies: @@ -16847,7 +16186,7 @@ turbo@latest: languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.0": +"typed-array-byte-offset@npm:^1.0.0, typed-array-byte-offset@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-byte-offset@npm:1.0.2" dependencies: @@ -16875,19 +16214,46 @@ turbo@latest: languageName: node linkType: hard +"typed-array-length@npm:^1.0.6": + version: 1.0.6 + resolution: "typed-array-length@npm:1.0.6" + dependencies: + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-proto: ^1.0.3 + is-typed-array: ^1.1.13 + possible-typed-array-names: ^1.0.0 + checksum: 74253d7dc488eb28b6b2711cf31f5a9dcefc9c41b0681fd1c178ed0a1681b4468581a3626d39cd4df7aee3d3927ab62be06aa9ca74e5baf81827f61641445b77 + languageName: node + linkType: hard + "types@*, types@workspace:packages/types": version: 0.0.0-use.local resolution: "types@workspace:packages/types" dependencies: "@medusajs/icons": ^2.0.0 "@types/node": ^20.11.20 - eslint-config-docs: "*" rimraf: ^5.0.5 tsconfig: "*" typescript: ^5.3.3 languageName: unknown linkType: soft +"typescript-eslint@npm:8.11.0": + version: 8.11.0 + resolution: "typescript-eslint@npm:8.11.0" + dependencies: + "@typescript-eslint/eslint-plugin": 8.11.0 + "@typescript-eslint/parser": 8.11.0 + "@typescript-eslint/utils": 8.11.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 8f9b5916c9f47b0cbb26f142d1a266a6aaf33998ec87621252dffb56d8fe0ad01a944f8d8d837e4e6058153a1deee3557527d14fa7bf7ef80a927334529db6bd + languageName: node + linkType: hard + "typescript@npm:5.1.6": version: 5.1.6 resolution: "typescript@npm:5.1.6" @@ -16953,31 +16319,29 @@ turbo@latest: resolution: "ui@workspace:apps/ui" dependencies: "@faker-js/faker": ^8.0.2 + "@mdx-js/react": ^3.1.0 "@medusajs/icons": ^2.0.0 "@medusajs/ui": ^4.0.0 "@medusajs/ui-preset": ^1.1.3 - "@radix-ui/react-dialog": 1.0.4 - "@radix-ui/react-scroll-area": ^1.0.4 - "@radix-ui/react-tabs": ^1.0.4 "@types/node": 20.4.9 - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 + "@types/react": "npm:types-react@rc" + "@types/react-dom": "npm:types-react@rc" autoprefixer: 10.4.14 clsx: ^2.0.0 contentlayer: ^0.3.4 date-fns: ^3.3.1 docs-ui: "*" - eslint: ^8.49.0 - eslint-config-docs: "*" + eslint: ^9.13.0 + eslint-plugin-prettier: ^5.2.1 + eslint-plugin-react-hooks: ^5.0.0 mdast-util-toc: ^7.0.0 - next: ^14.2.14 + next: 15.0.1 next-contentlayer: ^0.3.4 next-themes: ^0.2.1 postcss: 8.4.27 - react: 18.2.0 - react-day-picker: ^8.10.0 - react-docgen: ^7.0.1 - react-dom: 18.2.0 + react: rc + react-docgen: ^7.1.0 + react-dom: rc rehype-slug: ^6.0.0 remark: ^14.0.3 tailwind: "*" @@ -17161,6 +16525,17 @@ turbo@latest: languageName: node linkType: hard +"unist-util-remove@npm:^3.1.0": + version: 3.1.1 + resolution: "unist-util-remove@npm:3.1.1" + dependencies: + "@types/unist": ^2.0.0 + unist-util-is: ^5.0.0 + unist-util-visit-parents: ^5.0.0 + checksum: c0dae9fd9f2b119d3fa56e4937499858b9d81a1bd91eb85e6e5a1b053f8ffc5e319c410baa4968f062557380c0d1d29ec0c7622c83f54303a54c668c18d68c53 + languageName: node + linkType: hard + "unist-util-stringify-position@npm:^2.0.0": version: 2.0.3 resolution: "unist-util-stringify-position@npm:2.0.3" @@ -17188,7 +16563,7 @@ turbo@latest: languageName: node linkType: hard -"unist-util-visit-parents@npm:^5.1.1": +"unist-util-visit-parents@npm:^5.0.0, unist-util-visit-parents@npm:^5.1.1": version: 5.1.3 resolution: "unist-util-visit-parents@npm:5.1.3" dependencies: @@ -17321,25 +16696,25 @@ turbo@latest: version: 0.0.0-use.local resolution: "user-guide@workspace:apps/user-guide" dependencies: - "@mdx-js/loader": ^3.0.0 - "@mdx-js/react": ^3.0.0 + "@mdx-js/loader": ^3.1.0 + "@mdx-js/react": ^3.1.0 "@medusajs/icons": ^2.0.0 - "@next/mdx": ^14.2.14 - "@types/mdx": ^2.0.10 + "@next/mdx": 15.0.1 + "@types/mdx": ^2.0.13 "@types/node": ^20 - "@types/react": ^18.2.0 - "@types/react-dom": ^18.2.0 + "@types/react": "npm:types-react@rc" + "@types/react-dom": "npm:types-react@rc" autoprefixer: ^10.0.1 build-scripts: "*" clsx: ^2.1.0 docs-ui: "*" - eslint: ^8 - eslint-config-docs: "*" - eslint-config-next: 14.2.3 - next: 14.2.14 + eslint: ^9.13.0 + eslint-plugin-prettier: ^5.2.1 + eslint-plugin-react-hooks: ^5.0.0 + next: 15.0.1 postcss: ^8 - react: ^18.2.0 - react-dom: ^18.2.0 + react: rc + react-dom: rc rehype-mdx-code-props: ^2.0.0 rehype-slug: ^6.0.0 remark-directive: ^3.0.0 @@ -17409,17 +16784,6 @@ turbo@latest: languageName: node linkType: hard -"vfile-matter@npm:^3.0.1": - version: 3.0.1 - resolution: "vfile-matter@npm:3.0.1" - dependencies: - "@types/js-yaml": ^4.0.0 - is-buffer: ^2.0.0 - js-yaml: ^4.0.0 - checksum: 45ff9b49e7a5817b646d76f14d2486e12a93a16951bd8cfa6c64f0c78c4e56e48d30a0542a980bc9c7aae1bb430d457f9dfc2677e514d66cc2976ab31f10403a - languageName: node - linkType: hard - "vfile-matter@npm:^5.0.0": version: 5.0.0 resolution: "vfile-matter@npm:5.0.0" @@ -17450,7 +16814,7 @@ turbo@latest: languageName: node linkType: hard -"vfile@npm:^5.0.0, vfile@npm:^5.3.0, vfile@npm:^5.3.2": +"vfile@npm:^5.0.0, vfile@npm:^5.3.2": version: 5.3.7 resolution: "vfile@npm:5.3.7" dependencies: @@ -17473,6 +16837,16 @@ turbo@latest: languageName: node linkType: hard +"vfile@npm:^6.0.1": + version: 6.0.3 + resolution: "vfile@npm:6.0.3" + dependencies: + "@types/unist": ^3.0.0 + vfile-message: ^4.0.0 + checksum: e5d9eb4810623f23758cfc2205323e33552fb5972e5c2e6587babe08fe4d24859866277404fb9e2a20afb71013860d96ec806cb257536ae463c87d70022ab9ef + languageName: node + linkType: hard + "w3c-xmlserializer@npm:^4.0.0": version: 4.0.0 resolution: "w3c-xmlserializer@npm:4.0.0" @@ -17652,6 +17026,19 @@ turbo@latest: languageName: node linkType: hard +"which-typed-array@npm:^1.1.15": + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" + dependencies: + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-tostringtag: ^1.0.2 + checksum: 4465d5348c044032032251be54d8988270e69c6b7154f8fcb2a47ff706fe36f7624b3a24246b8d9089435a8f4ec48c1c1025c5d6b499456b9e5eff4f48212983 + languageName: node + linkType: hard + "which@npm:^2.0.1": version: 2.0.2 resolution: "which@npm:2.0.2"