From e728224979cfeb73f0aeae73fc6da9385c4d53ac Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Mon, 10 Apr 2023 10:01:48 +0100 Subject: [PATCH] Add test-exports-vite, update docusaurus --- docker-compose.yml | 10 + docs/docs/getting-started/install.md | 46 +- docs/package.json | 6 +- examples/package.json | 2 +- langchain/scripts/create-entrypoints.js | 1 + package.json | 5 +- test-exports-cf/src/index.ts | 2 +- test-exports-cra/src/App.js | 2 +- .../src/pages/api/hello-edge.ts | 2 +- .../src/pages/api/hello-serverless.ts | 2 +- test-exports-vercel/src/pages/index.tsx | 2 +- test-exports-vite/.gitignore | 24 + test-exports-vite/index.html | 13 + test-exports-vite/package.json | 21 + test-exports-vite/public/vite.svg | 1 + test-exports-vite/src/chain.ts | 38 ++ test-exports-vite/src/entrypoints.js | 25 + test-exports-vite/src/main.ts | 27 + test-exports-vite/src/style.css | 97 +++ test-exports-vite/src/typescript.svg | 1 + test-exports-vite/src/vite-env.d.ts | 1 + test-exports-vite/tsconfig.json | 19 + test-exports-vite/vite.config.js | 7 + yarn.lock | 627 +++++++++++------- 24 files changed, 729 insertions(+), 252 deletions(-) create mode 100644 test-exports-vite/.gitignore create mode 100644 test-exports-vite/index.html create mode 100644 test-exports-vite/package.json create mode 100644 test-exports-vite/public/vite.svg create mode 100644 test-exports-vite/src/chain.ts create mode 100644 test-exports-vite/src/entrypoints.js create mode 100644 test-exports-vite/src/main.ts create mode 100644 test-exports-vite/src/style.css create mode 100644 test-exports-vite/src/typescript.svg create mode 100644 test-exports-vite/src/vite-env.d.ts create mode 100644 test-exports-vite/tsconfig.json create mode 100644 test-exports-vite/vite.config.js diff --git a/docker-compose.yml b/docker-compose.yml index 1700721f5dd1..90d519eec409 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,6 +40,14 @@ services: - ./langchain:/langchain - ./scripts:/scripts command: bash /scripts/docker-ci-entrypoint.sh + test-exports-vite: + image: node:18 + working_dir: /app + volumes: + - ./test-exports-vite:/package + - ./langchain:/langchain + - ./scripts:/scripts + command: bash /scripts/docker-ci-entrypoint.sh success: image: alpine:3.14 command: echo "Success" @@ -54,3 +62,5 @@ services: condition: service_completed_successfully test-exports-vercel: condition: service_completed_successfully + test-exports-vite: + condition: service_completed_successfully diff --git a/docs/docs/getting-started/install.md b/docs/docs/getting-started/install.md index 9faab7927c49..eeec381bc43f 100644 --- a/docs/docs/getting-started/install.md +++ b/docs/docs/getting-started/install.md @@ -38,7 +38,7 @@ import { OpenAI } from "langchain/llms/openai"; If you are using TypeScript in an ESM project we suggest updating your `tsconfig.json` to include the following: -```json +```json title="tsconfig.json" { "compilerOptions": { ... @@ -74,7 +74,7 @@ import { OpenAI } from "langchain/llms/openai"; If you want to use LangChain in frontend `pages`, you need to add the following to your `next.config.js` to enable support for WebAssembly modules (which is required by the tokenizer library `@dqbd/tiktoken`): -```js +```js title="next.config.js" const nextConfig = { webpack(config) { config.experiments = { @@ -87,6 +87,36 @@ const nextConfig = { }; ``` +### Browser + +LangChain can be used in the browser. In our CI we test bundling LangChain with Webpack and Vite, but other bundlers should work too. You can import it using the following syntax: + +```typescript +import { OpenAI } from "langchain/llms/openai"; +``` + +#### Create React App + +If you're using `create-react-app` by default it doesn't support WebAssembly modules, so the tokenizer library `@dqbd/tiktoken` will not work in the browser. You can follow the instructions [here](https://github.com/dqbd/tiktoken/tree/main/js#create-react-app) to enable support for WebAssembly modules. + +#### Vite + +If you're using Vite, you need to add the following to your `vite.config.js` to enable support for WebAssembly modules (which is required by the tokenizer library `@dqbd/tiktoken`): + +```bash npm2yarn +npm install -D vite-plugin-wasm vite-plugin-top-level-await +``` + +```js title="vite.config.js" +import wasm from "vite-plugin-wasm"; +import topLevelAwait from "vite-plugin-top-level-await"; +import { defineConfig } from "vite"; + +export default defineConfig({ + plugins: [wasm(), topLevelAwait()], +}); +``` + ## Updating from <0.0.52 If you are updating from a version of LangChain prior to 0.0.52, you will need to update your imports to use the new path structure. @@ -105,12 +135,12 @@ import { OpenAI } from "langchain/llms/openai"; This applies to all imports from the following 6 modules, which have been split into submodules for each integration. The combined modules are deprecated, do not work outside of Node.js, and will be removed in a future version. -- If you were importing from `langchain/llms`, see [LLMs](../modules/models/llms/integrations) for updated import paths. -- If you were importing from `langchain/chat_models`, see [Chat Models](../modules/models/chat/integrations) for updated import paths. -- If you were importing from `langchain/embeddings`, see [Embeddings](../modules/models/embeddings/integrations) for updated import paths. -- If you were importing from `langchain/vectorstores`, see [Vector Stores](../modules/indexes/vector_stores/integrations/) for updated import paths. -- If you were importing from `langchain/document_loaders`, see [Document Loaders](../modules/indexes/document_loaders/examples/) for updated import paths. -- If you were importing from `langchain/retrievers`, see [Retrievers](../modules/indexes/retrievers/) for updated import paths. +- If you were using `langchain/llms`, see [LLMs](../modules/models/llms/integrations) for updated import paths. +- If you were using `langchain/chat_models`, see [Chat Models](../modules/models/chat/integrations) for updated import paths. +- If you were using `langchain/embeddings`, see [Embeddings](../modules/models/embeddings/integrations) for updated import paths. +- If you were using `langchain/vectorstores`, see [Vector Stores](../modules/indexes/vector_stores/integrations/) for updated import paths. +- If you were using `langchain/document_loaders`, see [Document Loaders](../modules/indexes/document_loaders/examples/) for updated import paths. +- If you were using `langchain/retrievers`, see [Retrievers](../modules/indexes/retrievers/) for updated import paths. Other modules are not affected by this change, and you can continue to import them from the same path. diff --git a/docs/package.json b/docs/package.json index e1fb6cd5f9af..d29659bfa00d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,9 +19,9 @@ "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"" }, "dependencies": { - "@docusaurus/core": "2.3.1", - "@docusaurus/preset-classic": "2.3.1", - "@docusaurus/remark-plugin-npm2yarn": "^2.3.1", + "@docusaurus/core": "2.4.0", + "@docusaurus/preset-classic": "2.4.0", + "@docusaurus/remark-plugin-npm2yarn": "^2.4.0", "@mdx-js/react": "^1.6.22", "@mendable/search": "^0.0.79", "clsx": "^1.2.1", diff --git a/examples/package.json b/examples/package.json index 890a26479026..50dc91eabeb6 100644 --- a/examples/package.json +++ b/examples/package.json @@ -1,5 +1,5 @@ { - "name": "langchain-examples", + "name": "examples", "version": "0.0.0", "private": true, "description": "Langchain examples", diff --git a/langchain/scripts/create-entrypoints.js b/langchain/scripts/create-entrypoints.js index a7375d014959..c91e0ee3f259 100644 --- a/langchain/scripts/create-entrypoints.js +++ b/langchain/scripts/create-entrypoints.js @@ -161,6 +161,7 @@ const testExports = [ ["test-exports-cf", (p) => `export * from "langchain/${p}";`], ["test-exports-cra", (p) => `export * from "langchain/${p}";`], ["test-exports-vercel", (p) => `export * from "langchain/${p}";`], + ["test-exports-vite", (p) => `export * from "langchain/${p}";`], ]; const updateJsonFile = (relativePath, updateFunction) => { diff --git a/package.json b/package.json index b5c39357ba08..e8acc5294ad7 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "test-exports-cjs", "test-exports-cf", "test-exports-cra", - "test-exports-vercel" + "test-exports-vercel", + "test-exports-vite" ], "repository": { "type": "git", @@ -32,7 +33,7 @@ "test:int": "turbo run test:integration", "test:exports:docker": "docker compose up", "publish": "bash scripts/release-branch.sh && turbo run build lint test test:integration && yarn run test:exports:docker && yarn workspace langchain run release && echo '🔗 Open https://github.com/hwchase17/langchainjs/compare/release?expand=1 and merge the release PR'", - "example": "turbo run start --filter langchain-examples --", + "example": "turbo run start --filter examples --", "prepare": "husky install", "precommit": "turbo run precommit", "docs": "yarn workspace docs start" diff --git a/test-exports-cf/src/index.ts b/test-exports-cf/src/index.ts index 7a90aa70c7bf..bcc4441e8cf1 100644 --- a/test-exports-cf/src/index.ts +++ b/test-exports-cf/src/index.ts @@ -8,7 +8,7 @@ * Learn more at https://developers.cloudflare.com/workers/ */ -// import all entrypoints +// import all entrypoints to test, do not do this in your own app import "./entrypoints.js"; // Import a few things we'll use to test the exports diff --git a/test-exports-cra/src/App.js b/test-exports-cra/src/App.js index 80c7b2a35607..35142c9e4fd3 100644 --- a/test-exports-cra/src/App.js +++ b/test-exports-cra/src/App.js @@ -1,6 +1,6 @@ /* eslint-disable no-unused-vars */ -// import all entrypoints +// import all entrypoints to test, do not do this in your own app import "./entrypoints.js"; // Import a few things we'll use to test the exports diff --git a/test-exports-vercel/src/pages/api/hello-edge.ts b/test-exports-vercel/src/pages/api/hello-edge.ts index db0404595a84..ce90a527c001 100644 --- a/test-exports-vercel/src/pages/api/hello-edge.ts +++ b/test-exports-vercel/src/pages/api/hello-edge.ts @@ -1,6 +1,6 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction -// import all entrypoints +// import all entrypoints to test, do not do this in your own app import "../../entrypoints.js"; // Import a few things we'll use to test the exports diff --git a/test-exports-vercel/src/pages/api/hello-serverless.ts b/test-exports-vercel/src/pages/api/hello-serverless.ts index 6c4e6b92952c..3c8be32941b3 100644 --- a/test-exports-vercel/src/pages/api/hello-serverless.ts +++ b/test-exports-vercel/src/pages/api/hello-serverless.ts @@ -1,6 +1,6 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction -// import all entrypoints +// import all entrypoints to test, do not do this in your own app import "../../entrypoints.js"; // Import a few things we'll use to test the exports diff --git a/test-exports-vercel/src/pages/index.tsx b/test-exports-vercel/src/pages/index.tsx index 2327ff78705c..5796ec13205b 100644 --- a/test-exports-vercel/src/pages/index.tsx +++ b/test-exports-vercel/src/pages/index.tsx @@ -1,4 +1,4 @@ -// import all entrypoints +// import all entrypoints to test, do not do this in your own app import "../entrypoints.js"; import Head from "next/head"; diff --git a/test-exports-vite/.gitignore b/test-exports-vite/.gitignore new file mode 100644 index 000000000000..a547bf36d8d1 --- /dev/null +++ b/test-exports-vite/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/test-exports-vite/index.html b/test-exports-vite/index.html new file mode 100644 index 000000000000..f86e483c942e --- /dev/null +++ b/test-exports-vite/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite + TS + + +
+ + + diff --git a/test-exports-vite/package.json b/test-exports-vite/package.json new file mode 100644 index 000000000000..404616b78f9a --- /dev/null +++ b/test-exports-vite/package.json @@ -0,0 +1,21 @@ +{ + "name": "test-exports-vite", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview", + "test": "tsc" + }, + "dependencies": { + "langchain": "workspace:*" + }, + "devDependencies": { + "typescript": "^4.9.3", + "vite": "^4.2.0", + "vite-plugin-top-level-await": "^1.3.0", + "vite-plugin-wasm": "^3.2.2" + } +} diff --git a/test-exports-vite/public/vite.svg b/test-exports-vite/public/vite.svg new file mode 100644 index 000000000000..e7b8dfb1b2a6 --- /dev/null +++ b/test-exports-vite/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test-exports-vite/src/chain.ts b/test-exports-vite/src/chain.ts new file mode 100644 index 000000000000..97f0cc98b9f7 --- /dev/null +++ b/test-exports-vite/src/chain.ts @@ -0,0 +1,38 @@ +// Import a few things we'll use to test the exports +import { LLMChain } from "langchain/chains"; +import { ChatOpenAI } from "langchain/chat_models/openai"; +import { + ChatPromptTemplate, + HumanMessagePromptTemplate, +} from "langchain/prompts"; +import { CallbackManager } from "langchain/callbacks"; + +export function setupChain(element: HTMLButtonElement) { + const runChain = async () => { + const llm = new ChatOpenAI({ + // Don't do this in your app, it would leak your API key + openAIApiKey: import.meta.env.VITE_OPENAI_API_KEY, + streaming: true, + callbackManager: CallbackManager.fromHandlers({ + handleLLMNewToken: async (token) => + console.log("handleLLMNewToken", token), + }), + }); + + // Test count tokens + const n = await llm.getNumTokens("Hello"); + console.log("getNumTokens", n); + + // Test a chain + prompt + model + const chain = new LLMChain({ + llm, + prompt: ChatPromptTemplate.fromPromptMessages([ + HumanMessagePromptTemplate.fromTemplate("{input}"), + ]), + }); + const res = await chain.run("hello"); + + console.log("runChain", res); + }; + element.addEventListener("click", runChain); +} diff --git a/test-exports-vite/src/entrypoints.js b/test-exports-vite/src/entrypoints.js new file mode 100644 index 000000000000..7d2bc264059c --- /dev/null +++ b/test-exports-vite/src/entrypoints.js @@ -0,0 +1,25 @@ +export * from "langchain/agents"; +export * from "langchain/base_language"; +export * from "langchain/tools"; +export * from "langchain/chains"; +export * from "langchain/embeddings/base"; +export * from "langchain/embeddings/fake"; +export * from "langchain/embeddings/openai"; +export * from "langchain/llms/base"; +export * from "langchain/llms/openai"; +export * from "langchain/prompts"; +export * from "langchain/vectorstores/base"; +export * from "langchain/vectorstores/prisma"; +export * from "langchain/text_splitter"; +export * from "langchain/memory"; +export * from "langchain/document"; +export * from "langchain/docstore"; +export * from "langchain/document_loaders/base"; +export * from "langchain/chat_models/base"; +export * from "langchain/chat_models/openai"; +export * from "langchain/chat_models/anthropic"; +export * from "langchain/schema"; +export * from "langchain/callbacks"; +export * from "langchain/output_parsers"; +export * from "langchain/retrievers/remote"; +export * from "langchain/cache"; diff --git a/test-exports-vite/src/main.ts b/test-exports-vite/src/main.ts new file mode 100644 index 000000000000..2a8440449919 --- /dev/null +++ b/test-exports-vite/src/main.ts @@ -0,0 +1,27 @@ +// import all entrypoints to test, do not do this in your own app +import "./entrypoints.js"; + +import "./style.css"; +import typescriptLogo from "./typescript.svg"; +import viteLogo from "/vite.svg"; +import { setupChain } from "./chain"; + +document.querySelector("#app")!.innerHTML = ` +
+ + + + + + +

Vite + TypeScript

+
+ +
+

+ Click on the Vite and TypeScript logos to learn more +

+
+`; + +setupChain(document.querySelector("#chain")!); diff --git a/test-exports-vite/src/style.css b/test-exports-vite/src/style.css new file mode 100644 index 000000000000..b528b6cc28c2 --- /dev/null +++ b/test-exports-vite/src/style.css @@ -0,0 +1,97 @@ +:root { + font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; +} + +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +body { + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 3.2em; + line-height: 1.1; +} + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +.logo { + height: 6em; + padding: 1.5em; + will-change: filter; + transition: filter 300ms; +} +.logo:hover { + filter: drop-shadow(0 0 2em #646cffaa); +} +.logo.vanilla:hover { + filter: drop-shadow(0 0 2em #3178c6aa); +} + +.card { + padding: 2em; +} + +.read-the-docs { + color: #888; +} + +button { + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; +} +button:hover { + border-color: #646cff; +} +button:focus, +button:focus-visible { + outline: 4px auto -webkit-focus-ring-color; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } +} diff --git a/test-exports-vite/src/typescript.svg b/test-exports-vite/src/typescript.svg new file mode 100644 index 000000000000..d91c910cc30b --- /dev/null +++ b/test-exports-vite/src/typescript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test-exports-vite/src/vite-env.d.ts b/test-exports-vite/src/vite-env.d.ts new file mode 100644 index 000000000000..11f02fe2a006 --- /dev/null +++ b/test-exports-vite/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/test-exports-vite/tsconfig.json b/test-exports-vite/tsconfig.json new file mode 100644 index 000000000000..eac16d14a6f2 --- /dev/null +++ b/test-exports-vite/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ESNext", "DOM"], + "moduleResolution": "Node", + "strict": true, + "resolveJsonModule": true, + "isolatedModules": true, + "esModuleInterop": true, + "noEmit": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "skipLibCheck": true + }, + "include": ["src"] +} diff --git a/test-exports-vite/vite.config.js b/test-exports-vite/vite.config.js new file mode 100644 index 000000000000..247d5b6e5651 --- /dev/null +++ b/test-exports-vite/vite.config.js @@ -0,0 +1,7 @@ +import wasm from "vite-plugin-wasm"; +import topLevelAwait from "vite-plugin-top-level-await"; +import { defineConfig } from "vite"; + +export default defineConfig({ + plugins: [wasm(), topLevelAwait()], +}); diff --git a/yarn.lock b/yarn.lock index ba4af3d4d8bc..1ea56694264a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2291,9 +2291,9 @@ __metadata: languageName: node linkType: hard -"@docusaurus/core@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/core@npm:2.3.1" +"@docusaurus/core@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/core@npm:2.4.0" dependencies: "@babel/core": ^7.18.6 "@babel/generator": ^7.18.7 @@ -2305,13 +2305,13 @@ __metadata: "@babel/runtime": ^7.18.6 "@babel/runtime-corejs3": ^7.18.6 "@babel/traverse": ^7.18.8 - "@docusaurus/cssnano-preset": 2.3.1 - "@docusaurus/logger": 2.3.1 - "@docusaurus/mdx-loader": 2.3.1 + "@docusaurus/cssnano-preset": 2.4.0 + "@docusaurus/logger": 2.4.0 + "@docusaurus/mdx-loader": 2.4.0 "@docusaurus/react-loadable": 5.5.2 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-common": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-common": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 "@slorber/static-site-generator-webpack-plugin": ^4.0.7 "@svgr/webpack": ^6.2.1 autoprefixer: ^10.4.7 @@ -2371,40 +2371,40 @@ __metadata: react-dom: ^16.8.4 || ^17.0.0 bin: docusaurus: bin/docusaurus.mjs - checksum: 812aecae45af3f4d02fd16e89517ca9f1ba22821a078aaa890f5797ac7e0cc0c79e7623eb999e885cf7e7652a6ffda8ff7c06dfd85ca29aaab600993c3d9980d + checksum: 04d30e31e9c4198ce3f4a47c4f59943f357ef96a5cfa10674fd3049d4cf067c15fa0ae184383ba3e420f59a9b3077ed1cf1f373626399f0e46cea6fcf0897d7b languageName: node linkType: hard -"@docusaurus/cssnano-preset@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/cssnano-preset@npm:2.3.1" +"@docusaurus/cssnano-preset@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/cssnano-preset@npm:2.4.0" dependencies: cssnano-preset-advanced: ^5.3.8 postcss: ^8.4.14 postcss-sort-media-queries: ^4.2.1 tslib: ^2.4.0 - checksum: a3d00ce86b16caffde36734bb2f4541d2c0df5e8ab6891a78ad05bccc631a895fecb04c385626ebcb8f905510c28fa6158288585673ae96565532d4ee4b60d4f + checksum: b8982230ec014378a5453453df400a328a6ecdeecffb666ead5cfbeb5dc689610f0e62ee818ffcc8adc270c7c47cb818ad730c769eb8fa689dd79d4f9d448b6d languageName: node linkType: hard -"@docusaurus/logger@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/logger@npm:2.3.1" +"@docusaurus/logger@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/logger@npm:2.4.0" dependencies: chalk: ^4.1.2 tslib: ^2.4.0 - checksum: eff5f258aeac9c643431426256e3bc4515074cc3cc754fa643579ba427ba232ecace9a9579ae5af542330b22d7361892a1eaf84526983a0c821c5ca3ee895176 + checksum: 0424b77e2abaa50f20d6042ededf831157852656d1242ae9b0829b897e6f5b1e1e5ea30df599839e0ec51c72e42a5a867b136387dd5359032c735f431eddd078 languageName: node linkType: hard -"@docusaurus/mdx-loader@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/mdx-loader@npm:2.3.1" +"@docusaurus/mdx-loader@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/mdx-loader@npm:2.4.0" dependencies: "@babel/parser": ^7.18.8 "@babel/traverse": ^7.18.8 - "@docusaurus/logger": 2.3.1 - "@docusaurus/utils": 2.3.1 + "@docusaurus/logger": 2.4.0 + "@docusaurus/utils": 2.4.0 "@mdx-js/mdx": ^1.6.22 escape-html: ^1.0.3 file-loader: ^6.2.0 @@ -2421,16 +2421,16 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 4a1c9ef0e8506ab4d9cb4714ff7437664e238e0f2878a5eb4a2e082897bbee7ae8d0b61ba9d45ffa820beb5ce75aa0050201db815b00c18fc136aaa4c6411c21 + checksum: 3d4e7bf6840fa7dcf4250aa5ea019f80dac6cc38e9f8b9a0515b81b6c0f6d6f4ed4103f521784e70db856aec06cff4be176ef281e1cac53afc82bc1182bbf9ad languageName: node linkType: hard -"@docusaurus/module-type-aliases@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/module-type-aliases@npm:2.3.1" +"@docusaurus/module-type-aliases@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/module-type-aliases@npm:2.4.0" dependencies: "@docusaurus/react-loadable": 5.5.2 - "@docusaurus/types": 2.3.1 + "@docusaurus/types": 2.4.0 "@types/history": ^4.7.11 "@types/react": "*" "@types/react-router-config": "*" @@ -2440,21 +2440,21 @@ __metadata: peerDependencies: react: "*" react-dom: "*" - checksum: 74f799f81455dc8ff3e6edf07428996764014c2c7b416e6b5d160af15f00ad3aa1ab75dee5356645ec7f2ea832fb2aca6e9a32b19d64abeb9e3d57c4195f1e50 + checksum: fc655d9dc77d88ba9d10abe602c9fd5533992b14de495e4f3e4caea368693a7b7e5a805fb2938287bed949900e7e3d7f94bea3c1a8727b45e19c85996965d0c7 languageName: node linkType: hard -"@docusaurus/plugin-content-blog@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-content-blog@npm:2.3.1" - dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/logger": 2.3.1 - "@docusaurus/mdx-loader": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-common": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 +"@docusaurus/plugin-content-blog@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-content-blog@npm:2.4.0" + dependencies: + "@docusaurus/core": 2.4.0 + "@docusaurus/logger": 2.4.0 + "@docusaurus/mdx-loader": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-common": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 cheerio: ^1.0.0-rc.12 feed: ^4.2.2 fs-extra: ^10.1.0 @@ -2467,21 +2467,21 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: abc668ceab15269f57be7f74acbec2e139b4f6b90af8771d246a9036d124b49b0d9fd4890e9566df7a4ba960f2da0316c18741eed1be0646f2b4602465219ddd + checksum: e912ea1a01c1769b374aecf1af72cef96dbed5faa01b74cc12d951dd5dccc089994ff649f0a18f994e39730338f99c0aa12f3b2a1eefc40888f1fb7956cece29 languageName: node linkType: hard -"@docusaurus/plugin-content-docs@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-content-docs@npm:2.3.1" - dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/logger": 2.3.1 - "@docusaurus/mdx-loader": 2.3.1 - "@docusaurus/module-type-aliases": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 +"@docusaurus/plugin-content-docs@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-content-docs@npm:2.4.0" + dependencies: + "@docusaurus/core": 2.4.0 + "@docusaurus/logger": 2.4.0 + "@docusaurus/mdx-loader": 2.4.0 + "@docusaurus/module-type-aliases": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 "@types/react-router-config": ^5.0.6 combine-promises: ^1.1.0 fs-extra: ^10.1.0 @@ -2494,132 +2494,132 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: bcf8d921407d11b497926a1f61a1dc8c96f82fbe5a1959cc106b082e555f8fb6f42cf9262a658acf33d9543e5eb3e778049d91f71e4a2855993dc759c845cf31 + checksum: 5a273e80f2c28e4a33ab994e8702b3afaff04eb73f156a0a3e42cd9d182f8e1ed2b794348b090ec170cc1e4aba2e997d1fb6e8684f73ac6698bf66d96114c57b languageName: node linkType: hard -"@docusaurus/plugin-content-pages@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-content-pages@npm:2.3.1" +"@docusaurus/plugin-content-pages@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-content-pages@npm:2.4.0" dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/mdx-loader": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/mdx-loader": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 fs-extra: ^10.1.0 tslib: ^2.4.0 webpack: ^5.73.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 8543050ed7330f54a28c0daeef11662eed3f3a08a6d0015b1a32db3d5e9ec46f0c6a8a5a4cb3e871ce953074d60424cc418b7ffa280695294626855a7a1a146a + checksum: 5381e913101f271476cbdc264e6058a0cbe0835ed4a823e430540da545253c1dc56578c66a6d978ee2f1aca114110aba529443ae835f26ef0eaf7de1ed6a5001 languageName: node linkType: hard -"@docusaurus/plugin-debug@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-debug@npm:2.3.1" +"@docusaurus/plugin-debug@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-debug@npm:2.4.0" dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils": 2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils": 2.4.0 fs-extra: ^10.1.0 react-json-view: ^1.21.3 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: e660575f900eedbeab6e222eb4f8ef6a7a49815c91a97839a4839737c0b3101698bf7c6e035cbafaa49010340010a9ec0d37270dc81a470b3bae42662c7a24b8 + checksum: 921614843453ef189dfa2ada31e7abed8f976b0c314f7486fde35f976911de2ab307863608326e96bea67468e98dc648aeea82dbad04d0701c3c48c92bd40c6c languageName: node linkType: hard -"@docusaurus/plugin-google-analytics@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-google-analytics@npm:2.3.1" +"@docusaurus/plugin-google-analytics@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-google-analytics@npm:2.4.0" dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 9306ae89cd5fb8ca86fd58809d7e624f988411d8908a151e9b6d9e8d0b84e08f1e3eba46024bc4321bcaeb3e9bc38e919b0bcf561adc9d40fa97c8ffeb232888 + checksum: 2d8c7e5689675ced9acffe1e2187144d6ebeea471a5992139c3eea87094e315e272263da5499591e85bc3501b7583f693d33c660507b36a835fc9eb75584c706 languageName: node linkType: hard -"@docusaurus/plugin-google-gtag@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-google-gtag@npm:2.3.1" +"@docusaurus/plugin-google-gtag@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-google-gtag@npm:2.4.0" dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 494f0405d79aa9cb36d1ea4cf739499ad15b59fe876573ab5b304b5e84ab6ef4d428ebdc26647777b0816af452f62959b5ddb25e5bbf73c7fb3d6568258980d0 + checksum: 6aa0bb6ac5e410ea438db2de20c95a4a34d7056855b2e0baa7685e31bd9b3f48ef55f8135ca496688ccbfaba88945219acae146a244141bfb7e2372ba54c0ce2 languageName: node linkType: hard -"@docusaurus/plugin-google-tag-manager@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-google-tag-manager@npm:2.3.1" +"@docusaurus/plugin-google-tag-manager@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-google-tag-manager@npm:2.4.0" dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: d0b2ccc212652bb4f1c1bd61420e7f235325d4f2e8de0f5b25282305f54209d05da981c1253325bcae9afbc7575bd5c246d037d2be5fbda06f2842ba8335ab47 + checksum: 2df57cd95808ed7cf58ade342dcc3382e167ecebaedc7184588c214f6b64eab60fa0145ab0ce7e25803acfe3952412c1134d52ad0ea636cef652a73ccd79a5cb languageName: node linkType: hard -"@docusaurus/plugin-sitemap@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/plugin-sitemap@npm:2.3.1" - dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/logger": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-common": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 +"@docusaurus/plugin-sitemap@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/plugin-sitemap@npm:2.4.0" + dependencies: + "@docusaurus/core": 2.4.0 + "@docusaurus/logger": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-common": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 fs-extra: ^10.1.0 sitemap: ^7.1.1 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 667d2abbf46efffc4d20e38fe435a19392f07726446193a017306652ee9db3d478e971eefb209e1a5c243b6b82af3de72d4b975b8e74aa93bda4711ce8c309bc + checksum: e96fcc84352880da6a3e566cdc249e44ad825b400f2d798746201c3a4a255b196b999f5bf5d0a5b52c752acf9e9eb1169111b463914502a6cae9c114800fa09e languageName: node linkType: hard -"@docusaurus/preset-classic@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/preset-classic@npm:2.3.1" - dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/plugin-content-blog": 2.3.1 - "@docusaurus/plugin-content-docs": 2.3.1 - "@docusaurus/plugin-content-pages": 2.3.1 - "@docusaurus/plugin-debug": 2.3.1 - "@docusaurus/plugin-google-analytics": 2.3.1 - "@docusaurus/plugin-google-gtag": 2.3.1 - "@docusaurus/plugin-google-tag-manager": 2.3.1 - "@docusaurus/plugin-sitemap": 2.3.1 - "@docusaurus/theme-classic": 2.3.1 - "@docusaurus/theme-common": 2.3.1 - "@docusaurus/theme-search-algolia": 2.3.1 - "@docusaurus/types": 2.3.1 +"@docusaurus/preset-classic@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/preset-classic@npm:2.4.0" + dependencies: + "@docusaurus/core": 2.4.0 + "@docusaurus/plugin-content-blog": 2.4.0 + "@docusaurus/plugin-content-docs": 2.4.0 + "@docusaurus/plugin-content-pages": 2.4.0 + "@docusaurus/plugin-debug": 2.4.0 + "@docusaurus/plugin-google-analytics": 2.4.0 + "@docusaurus/plugin-google-gtag": 2.4.0 + "@docusaurus/plugin-google-tag-manager": 2.4.0 + "@docusaurus/plugin-sitemap": 2.4.0 + "@docusaurus/theme-classic": 2.4.0 + "@docusaurus/theme-common": 2.4.0 + "@docusaurus/theme-search-algolia": 2.4.0 + "@docusaurus/types": 2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: e4128a1bcb64d5ced04a281476ec1ae2d5523040d41ed57a8f744fb83659a2a2be902e94989de69ab1e6d693ec26c60d1ef6b2fe3ec96d5af6c9b3ef58f5b0cd + checksum: 33961a1edd445f13971e640db9445a0fae418babf0fe5f4078f21e605f9d945f7a3a4b7ad53ac7b578a7302f093c708429f462a76a3f297b3439d8e23b3990aa languageName: node linkType: hard @@ -2635,37 +2635,37 @@ __metadata: languageName: node linkType: hard -"@docusaurus/remark-plugin-npm2yarn@npm:^2.3.1": - version: 2.3.1 - resolution: "@docusaurus/remark-plugin-npm2yarn@npm:2.3.1" +"@docusaurus/remark-plugin-npm2yarn@npm:^2.4.0": + version: 2.4.0 + resolution: "@docusaurus/remark-plugin-npm2yarn@npm:2.4.0" dependencies: - npm-to-yarn: ^1.0.1 - tslib: ^2.4.0 + npm-to-yarn: ^2.0.0 + tslib: ^2.4.1 unist-util-visit: ^2.0.3 - checksum: ef6cf613fecdc86bdbe3bfb49e212cbf18c5882a78363e1355899dbae110111adae31986a1318790698eb9d6e4fe0a02864fd3d711892331bc2425603f9e2f93 + checksum: cf3db40b2f26a7b56f1cb3a3a82938592da31a7d7ec2d5c8e2ff483902a529b9e68f69d7405700835376a1ef8ac1bb661449445ae48e4830e28a31117aaca78c languageName: node linkType: hard -"@docusaurus/theme-classic@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/theme-classic@npm:2.3.1" - dependencies: - "@docusaurus/core": 2.3.1 - "@docusaurus/mdx-loader": 2.3.1 - "@docusaurus/module-type-aliases": 2.3.1 - "@docusaurus/plugin-content-blog": 2.3.1 - "@docusaurus/plugin-content-docs": 2.3.1 - "@docusaurus/plugin-content-pages": 2.3.1 - "@docusaurus/theme-common": 2.3.1 - "@docusaurus/theme-translations": 2.3.1 - "@docusaurus/types": 2.3.1 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-common": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 +"@docusaurus/theme-classic@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/theme-classic@npm:2.4.0" + dependencies: + "@docusaurus/core": 2.4.0 + "@docusaurus/mdx-loader": 2.4.0 + "@docusaurus/module-type-aliases": 2.4.0 + "@docusaurus/plugin-content-blog": 2.4.0 + "@docusaurus/plugin-content-docs": 2.4.0 + "@docusaurus/plugin-content-pages": 2.4.0 + "@docusaurus/theme-common": 2.4.0 + "@docusaurus/theme-translations": 2.4.0 + "@docusaurus/types": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-common": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 "@mdx-js/react": ^1.6.22 clsx: ^1.2.1 copy-text-to-clipboard: ^3.0.1 - infima: 0.2.0-alpha.42 + infima: 0.2.0-alpha.43 lodash: ^4.17.21 nprogress: ^0.2.0 postcss: ^8.4.14 @@ -2678,20 +2678,21 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 273812924fc29b2316aff554ae0302509ebeaca5aa829b58253e74d22a66e69444f1c324a2d5e8e170e6c6f27dd0d6927e6c6a22a7e0c14567ff777d04a5b0c1 + checksum: 7f3161d7be653b6a86ffd58d8a6c6d62f464db919c32b7b9ab2ec9ca1b79136e2278fdc908e90cfa31cf21385d87cd7496d5bf9c80d30c2279ef95e7f7be28aa languageName: node linkType: hard -"@docusaurus/theme-common@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/theme-common@npm:2.3.1" - dependencies: - "@docusaurus/mdx-loader": 2.3.1 - "@docusaurus/module-type-aliases": 2.3.1 - "@docusaurus/plugin-content-blog": 2.3.1 - "@docusaurus/plugin-content-docs": 2.3.1 - "@docusaurus/plugin-content-pages": 2.3.1 - "@docusaurus/utils": 2.3.1 +"@docusaurus/theme-common@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/theme-common@npm:2.4.0" + dependencies: + "@docusaurus/mdx-loader": 2.4.0 + "@docusaurus/module-type-aliases": 2.4.0 + "@docusaurus/plugin-content-blog": 2.4.0 + "@docusaurus/plugin-content-docs": 2.4.0 + "@docusaurus/plugin-content-pages": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-common": 2.4.0 "@types/history": ^4.7.11 "@types/react": "*" "@types/react-router-config": "*" @@ -2704,22 +2705,22 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 6b902e9e782721c3c49bcdee5d969ea1c1138ebcb03891e34f827b16f2c06f43a86d95f240a60ed084539e9b16435312a41be7bff4e724f4fb209998dd4d3a59 + checksum: 0790c6e5ad14bc8518173314a058e01837321d5992364d1ae4f9907f1d055f5852f883512d7a64e5add95dcfe362a009b374220de6493b32624a406d8ce74750 languageName: node linkType: hard -"@docusaurus/theme-search-algolia@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/theme-search-algolia@npm:2.3.1" +"@docusaurus/theme-search-algolia@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/theme-search-algolia@npm:2.4.0" dependencies: "@docsearch/react": ^3.1.1 - "@docusaurus/core": 2.3.1 - "@docusaurus/logger": 2.3.1 - "@docusaurus/plugin-content-docs": 2.3.1 - "@docusaurus/theme-common": 2.3.1 - "@docusaurus/theme-translations": 2.3.1 - "@docusaurus/utils": 2.3.1 - "@docusaurus/utils-validation": 2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/logger": 2.4.0 + "@docusaurus/plugin-content-docs": 2.4.0 + "@docusaurus/theme-common": 2.4.0 + "@docusaurus/theme-translations": 2.4.0 + "@docusaurus/utils": 2.4.0 + "@docusaurus/utils-validation": 2.4.0 algoliasearch: ^4.13.1 algoliasearch-helper: ^3.10.0 clsx: ^1.2.1 @@ -2731,23 +2732,23 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 965303068e43b11f58d20b95bb6dfc01d5e575c2070d2730b94303bd2a1d33794075cae43bfe472f08061bd8770f14c8eb54932274e6b39f954ab34e7cfc5689 + checksum: a74a199faf6bab1d663cd41f9477c65c17f8dd2080664d5c00f998eb7c57345f1c30ff4f2c3bc88863f2e606c6f7475300747480dc145e61dd42798ca4fd435e languageName: node linkType: hard -"@docusaurus/theme-translations@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/theme-translations@npm:2.3.1" +"@docusaurus/theme-translations@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/theme-translations@npm:2.4.0" dependencies: fs-extra: ^10.1.0 tslib: ^2.4.0 - checksum: dd3796be63c4c946af789c3da18ed2704a2fa90d8e752ba2b780a124dc13369ba590218afad0ac4ea2342f7331ccb9eb1be086226c950b8384978d94a15c57ad + checksum: 37f329eb74fcb16c14bd370038d8bd1e18017fb1f78564d960c53fd4e110eb166f6f1c03f323dea28ede95873ebe28a659554d02cc26d1c3e748a772f9d2313a languageName: node linkType: hard -"@docusaurus/types@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/types@npm:2.3.1" +"@docusaurus/types@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/types@npm:2.4.0" dependencies: "@types/history": ^4.7.11 "@types/react": "*" @@ -2760,13 +2761,13 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 91e52f37b97964112aa0d50ee4a6f534d7da941443af5ddc96418817c6ce532a98c73e67045ac703b582c7ed703ebb360205eec30da7f738c0105f2b3ae1a246 + checksum: 54b0cd8992269ab0508d94ce19a7fcc2b3e7c9700eb112c9b859ddac8228dcc64282c414b602ba44894be87be79eeeef730fb8e569be68b6e26453e18addcf21 languageName: node linkType: hard -"@docusaurus/utils-common@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/utils-common@npm:2.3.1" +"@docusaurus/utils-common@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/utils-common@npm:2.4.0" dependencies: tslib: ^2.4.0 peerDependencies: @@ -2774,28 +2775,28 @@ __metadata: peerDependenciesMeta: "@docusaurus/types": optional: true - checksum: 405dc5b8aba9a97b2670ba8ff3911bbdaed274edc15214ab482a7159a07ad1c9b3198835a7bee42de4e0320d42bd402ed89ae6896744a364d64d89d9f78bcfb0 + checksum: 711e61e899b133fc7cd755e6de75fd79a712eeabbd9853b9122e3929c8390e015bb9e4bca2284028e40e7a0fb2b89ef1c184f7e4149097ffd7b64821b38c11da languageName: node linkType: hard -"@docusaurus/utils-validation@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/utils-validation@npm:2.3.1" +"@docusaurus/utils-validation@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/utils-validation@npm:2.4.0" dependencies: - "@docusaurus/logger": 2.3.1 - "@docusaurus/utils": 2.3.1 + "@docusaurus/logger": 2.4.0 + "@docusaurus/utils": 2.4.0 joi: ^17.6.0 js-yaml: ^4.1.0 tslib: ^2.4.0 - checksum: 1e5529d1d0c4fcd9006adf2e5b545458a7dba3877563fb444dcec472f27a3d8492d4c6fb5dd1071bb6e668a13a845d74b8f6c4b6387babfa0e467a9b8b237fda + checksum: 21a229858ed9254830b68dd08de6456dc19b68adead581f86e854ea3e55b64b9616a3bbca521e74f754c9c7bc835ca348dfe9f0949d9a8d189db5b39bcdb9f6b languageName: node linkType: hard -"@docusaurus/utils@npm:2.3.1": - version: 2.3.1 - resolution: "@docusaurus/utils@npm:2.3.1" +"@docusaurus/utils@npm:2.4.0": + version: 2.4.0 + resolution: "@docusaurus/utils@npm:2.4.0" dependencies: - "@docusaurus/logger": 2.3.1 + "@docusaurus/logger": 2.4.0 "@svgr/webpack": ^6.2.1 escape-string-regexp: ^4.0.0 file-loader: ^6.2.0 @@ -2816,7 +2817,7 @@ __metadata: peerDependenciesMeta: "@docusaurus/types": optional: true - checksum: e8bce9bbd98bf63664fcd7c0a5f8dec30dad31ed19e18d724b43189b04ecdc1174537e1d987293575ec18d421236fb92d3d39d28477e921507260a39c3f6d6d0 + checksum: 7ba6634b6ff71bb7cc64b0eb3c6d2892a21873bce8559bcd460693a80ca0229828c04da751277cdb17c6f18e80e061322bbcd84e9b743adc96c594b43e8a2165 languageName: node linkType: hard @@ -4900,6 +4901,18 @@ __metadata: languageName: node linkType: hard +"@rollup/plugin-virtual@npm:^3.0.1": + version: 3.0.1 + resolution: "@rollup/plugin-virtual@npm:3.0.1" + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 93800884956299b071383e1a051323ed38acfffdb64bbd6f3b909a052e506e236eb9022e43b3a039425aa45a33367c9fd50f85a3a867a1259a9862086143bd42 + languageName: node + linkType: hard + "@rollup/pluginutils@npm:^3.1.0": version: 3.1.0 resolution: "@rollup/pluginutils@npm:3.1.0" @@ -5403,6 +5416,120 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-arm64@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-darwin-arm64@npm:1.3.49" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@swc/core-darwin-x64@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-darwin-x64@npm:1.3.49" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@swc/core-linux-arm-gnueabihf@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.49" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@swc/core-linux-arm64-gnu@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.49" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@swc/core-linux-arm64-musl@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.49" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@swc/core-linux-x64-gnu@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.49" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@swc/core-linux-x64-musl@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-linux-x64-musl@npm:1.3.49" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@swc/core-win32-arm64-msvc@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.49" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@swc/core-win32-ia32-msvc@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.49" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@swc/core-win32-x64-msvc@npm:1.3.49": + version: 1.3.49 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.49" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@swc/core@npm:^1.3.10": + version: 1.3.49 + resolution: "@swc/core@npm:1.3.49" + dependencies: + "@swc/core-darwin-arm64": 1.3.49 + "@swc/core-darwin-x64": 1.3.49 + "@swc/core-linux-arm-gnueabihf": 1.3.49 + "@swc/core-linux-arm64-gnu": 1.3.49 + "@swc/core-linux-arm64-musl": 1.3.49 + "@swc/core-linux-x64-gnu": 1.3.49 + "@swc/core-linux-x64-musl": 1.3.49 + "@swc/core-win32-arm64-msvc": 1.3.49 + "@swc/core-win32-ia32-msvc": 1.3.49 + "@swc/core-win32-x64-msvc": 1.3.49 + peerDependencies: + "@swc/helpers": ^0.5.0 + dependenciesMeta: + "@swc/core-darwin-arm64": + optional: true + "@swc/core-darwin-x64": + optional: true + "@swc/core-linux-arm-gnueabihf": + optional: true + "@swc/core-linux-arm64-gnu": + optional: true + "@swc/core-linux-arm64-musl": + optional: true + "@swc/core-linux-x64-gnu": + optional: true + "@swc/core-linux-x64-musl": + optional: true + "@swc/core-win32-arm64-msvc": + optional: true + "@swc/core-win32-ia32-msvc": + optional: true + "@swc/core-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc/helpers": + optional: true + checksum: 7234f38451dd765ea94cb44236f261603014e27bff6ecd133d9ba8a2d39314e9949e43bb77ffccd21f5e6c942ad7acf444de8972744ca24ac8f3ccecaea849a1 + languageName: node + linkType: hard + "@swc/helpers@npm:0.4.14": version: 0.4.14 resolution: "@swc/helpers@npm:0.4.14" @@ -9957,9 +10084,9 @@ __metadata: resolution: "docs@workspace:docs" dependencies: "@babel/eslint-parser": ^7.18.2 - "@docusaurus/core": 2.3.1 - "@docusaurus/preset-classic": 2.3.1 - "@docusaurus/remark-plugin-npm2yarn": ^2.3.1 + "@docusaurus/core": 2.4.0 + "@docusaurus/preset-classic": 2.4.0 + "@docusaurus/remark-plugin-npm2yarn": ^2.4.0 "@mdx-js/react": ^1.6.22 "@mendable/search": ^0.0.79 clsx: ^1.2.1 @@ -11519,6 +11646,37 @@ __metadata: languageName: node linkType: hard +"examples@workspace:examples": + version: 0.0.0-use.local + resolution: "examples@workspace:examples" + dependencies: + "@getmetal/metal-sdk": ^1.0.12 + "@pinecone-database/pinecone": ^0.0.12 + "@prisma/client": ^4.11.0 + "@supabase/supabase-js": ^2.10.0 + "@tsconfig/recommended": ^1.0.2 + "@types/js-yaml": ^4 + "@typescript-eslint/eslint-plugin": ^5.51.0 + "@typescript-eslint/parser": ^5.51.0 + chromadb: ^1.3.0 + dotenv: ^16.0.3 + eslint: ^8.33.0 + eslint-config-airbnb-base: ^15.0.0 + eslint-config-prettier: ^8.6.0 + eslint-plugin-import: ^2.27.5 + eslint-plugin-prettier: ^4.2.1 + js-yaml: ^4.1.0 + langchain: "workspace:*" + prettier: ^2.8.3 + prisma: ^4.11.0 + sqlite3: ^5.1.4 + tsx: ^3.12.3 + typeorm: ^0.3.12 + typescript: ^4.9.5 + zod: ^3.21.4 + languageName: unknown + linkType: soft + "execa@npm:7.1.1, execa@npm:^7.1.1": version: 7.1.1 resolution: "execa@npm:7.1.1" @@ -13388,10 +13546,10 @@ __metadata: languageName: node linkType: hard -"infima@npm:0.2.0-alpha.42": - version: 0.2.0-alpha.42 - resolution: "infima@npm:0.2.0-alpha.42" - checksum: 7206f36639c00a08daab811fedc748068951497efb5ec948cba846fb23856443668015f6bd65ddebe857cc2235f6ca98429f7018c73dcac47b0361ef4721bb8f +"infima@npm:0.2.0-alpha.43": + version: 0.2.0-alpha.43 + resolution: "infima@npm:0.2.0-alpha.43" + checksum: fc5f79240e940eddd750439511767092ccb4051e5e91d253ec7630a9e7ce691812da3aa0f05e46b4c0a95dbfadeae5714fd0073f8d2df12e5aaff0697a1d6aa2 languageName: node linkType: hard @@ -15559,37 +15717,6 @@ __metadata: languageName: node linkType: hard -"langchain-examples@workspace:examples": - version: 0.0.0-use.local - resolution: "langchain-examples@workspace:examples" - dependencies: - "@getmetal/metal-sdk": ^1.0.12 - "@pinecone-database/pinecone": ^0.0.12 - "@prisma/client": ^4.11.0 - "@supabase/supabase-js": ^2.10.0 - "@tsconfig/recommended": ^1.0.2 - "@types/js-yaml": ^4 - "@typescript-eslint/eslint-plugin": ^5.51.0 - "@typescript-eslint/parser": ^5.51.0 - chromadb: ^1.3.0 - dotenv: ^16.0.3 - eslint: ^8.33.0 - eslint-config-airbnb-base: ^15.0.0 - eslint-config-prettier: ^8.6.0 - eslint-plugin-import: ^2.27.5 - eslint-plugin-prettier: ^4.2.1 - js-yaml: ^4.1.0 - langchain: "workspace:*" - prettier: ^2.8.3 - prisma: ^4.11.0 - sqlite3: ^5.1.4 - tsx: ^3.12.3 - typeorm: ^0.3.12 - typescript: ^4.9.5 - zod: ^3.21.4 - languageName: unknown - linkType: soft - "langchain@workspace:*, langchain@workspace:langchain": version: 0.0.0-use.local resolution: "langchain@workspace:langchain" @@ -17193,10 +17320,10 @@ __metadata: languageName: node linkType: hard -"npm-to-yarn@npm:^1.0.1": - version: 1.3.0 - resolution: "npm-to-yarn@npm:1.3.0" - checksum: 374d61b661189efaa0ac53ed76d5526bf35f3ec7f025c5557a1748c053a1f5aac6c4c0e40a238276ae52839a54e481afce3f91c2aad1241c450aaa721e017365 +"npm-to-yarn@npm:^2.0.0": + version: 2.0.0 + resolution: "npm-to-yarn@npm:2.0.0" + checksum: 9da0e88edf00843cdc37481c89e64b2bc4a3468919221f39b57856b04913e55d59fd91004f6e8a85013b3d1eac0c884f60d81a2504a33e48d785eaae8cb484ab languageName: node linkType: hard @@ -22190,6 +22317,18 @@ __metadata: languageName: unknown linkType: soft +"test-exports-vite@workspace:test-exports-vite": + version: 0.0.0-use.local + resolution: "test-exports-vite@workspace:test-exports-vite" + dependencies: + langchain: "workspace:*" + typescript: ^4.9.3 + vite: ^4.2.0 + vite-plugin-top-level-await: ^1.3.0 + vite-plugin-wasm: ^3.2.2 + languageName: unknown + linkType: soft + "text-table@npm:^0.2.0": version: 0.2.0 resolution: "text-table@npm:0.2.0" @@ -22830,7 +22969,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.9.4, typescript@npm:^4.9.5": +"typescript@npm:^4.9.3, typescript@npm:^4.9.4, typescript@npm:^4.9.5": version: 4.9.5 resolution: "typescript@npm:4.9.5" bin: @@ -22850,7 +22989,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^4.9.4#~builtin, typescript@patch:typescript@^4.9.5#~builtin": +"typescript@patch:typescript@^4.9.3#~builtin, typescript@patch:typescript@^4.9.4#~builtin, typescript@patch:typescript@^4.9.5#~builtin": version: 4.9.5 resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin::version=4.9.5&hash=23ec76" bin: @@ -23495,7 +23634,29 @@ __metadata: languageName: node linkType: hard -"vite@npm:^3.0.0 || ^4.0.0": +"vite-plugin-top-level-await@npm:^1.3.0": + version: 1.3.0 + resolution: "vite-plugin-top-level-await@npm:1.3.0" + dependencies: + "@rollup/plugin-virtual": ^3.0.1 + "@swc/core": ^1.3.10 + uuid: ^9.0.0 + peerDependencies: + vite: ">=2.8" + checksum: 8b59eaec6ae37b12330e5159d56992921d3116414d037fca62a9c333650dfe5e037c06fcb198c22cede675bf40ba78bc4d38931da60cf8a9aeb4eb0cf57c9f32 + languageName: node + linkType: hard + +"vite-plugin-wasm@npm:^3.2.2": + version: 3.2.2 + resolution: "vite-plugin-wasm@npm:3.2.2" + peerDependencies: + vite: ^2 || ^3 || ^4 + checksum: ed9b56b3cd47e6376c21592f4d24f818334d5796226f6c1dfca89a4f744d69a34cb85dd5e06f164a2670827113ccfa5f03d0361e51210012706123374b0f8277 + languageName: node + linkType: hard + +"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.2.0": version: 4.2.1 resolution: "vite@npm:4.2.1" dependencies: