Compare commits

..

19 Commits

Author SHA1 Message Date
wangjianhua
3062f0beb8 Merge branch 'main' of https://github.com/ChatGPTNextWeb/NextChat into feature-dsmodels-20250228 2025-09-19 15:14:25 +08:00
RiverRay
995bef73de Merge pull request #6599 from DreamRivulet/add-support-GPT5
Some checks failed
Run Tests / test (push) Has been cancelled
add: model gpt-5
2025-08-10 17:21:12 +08:00
Sam
38ac502d80 Add support for GPT5 2025-08-09 17:03:49 +08:00
Sam
0511808900 use max_completion_tokens 2025-08-09 17:03:49 +08:00
Sam
42eff644b4 use max_completion_tokens 2025-08-09 17:03:49 +08:00
Sam
8ae6883784 add gpt-5 2025-08-09 17:03:49 +08:00
Sam
c0f2ab6de3 add gpt-5 2025-08-09 17:03:06 +08:00
river
557a2cce35 chore: update version
Some checks failed
Run Tests / test (push) Has been cancelled
2025-07-29 14:39:45 +08:00
wangjianhuaa
201fd5a540 调整 2025-07-03 10:09:25 +08:00
wangjianhua
c3648a376f 字节v3新模型兼容 2025-03-26 19:28:10 +08:00
wangjianhua
62d50e916e Merge branch 'main' of https://github.com/wangjianhuaa/NextChat into feature-dsmodels-20250228 2025-03-26 18:54:55 +08:00
wangjianhuaa
bb84a816b2 Merge branch 'ChatGPTNextWeb:main' into main 2025-03-26 18:54:25 +08:00
wangjianhua
18e2ab0dea 华为兼容 2025-03-26 18:53:33 +08:00
wangjianhuaa
60fe83a412 Merge branch 'ChatGPTNextWeb:main' into main 2025-03-18 18:35:56 +08:00
wangjianhuaa
334fff6241 Merge pull request #1 from wangjianhuaa/feature-dsmodels-20250228
feature-dsmodels-20250228
2025-03-01 14:56:00 +08:00
wangjianhuaa
bc34792494 fix some bugs for suggestion 2025-03-01 14:46:20 +08:00
wangjianhuaa
b49910ad59 fix some bugs for suggestion 2025-03-01 14:45:20 +08:00
wangjianhua
bd1a39b0de 国际化 2025-02-28 15:04:59 +08:00
wangjianhua
cf9d088789 新增字节跳动ds模型兼容,新增华为ds模型兼容 2025-02-28 13:54:14 +08:00
34 changed files with 1020 additions and 481 deletions

View File

@@ -87,3 +87,7 @@ AI302_API_KEY=
### 302.AI Api url (optional) ### 302.AI Api url (optional)
AI302_URL= AI302_URL=
HUAWEI_URL=
HUAWEI_API_KEY=

View File

@@ -15,6 +15,7 @@ import { handle as siliconflowHandler } from "../../siliconflow";
import { handle as xaiHandler } from "../../xai"; import { handle as xaiHandler } from "../../xai";
import { handle as chatglmHandler } from "../../glm"; import { handle as chatglmHandler } from "../../glm";
import { handle as proxyHandler } from "../../proxy"; import { handle as proxyHandler } from "../../proxy";
import { handle as huaweiHandler } from "../../huawei";
import { handle as ai302Handler } from "../../302ai"; import { handle as ai302Handler } from "../../302ai";
async function handle( async function handle(
@@ -53,6 +54,8 @@ async function handle(
return siliconflowHandler(req, { params }); return siliconflowHandler(req, { params });
case ApiPath.OpenAI: case ApiPath.OpenAI:
return openaiHandler(req, { params }); return openaiHandler(req, { params });
case ApiPath.Huawei:
return huaweiHandler(req, { params });
case ApiPath["302.AI"]: case ApiPath["302.AI"]:
return ai302Handler(req, { params }); return ai302Handler(req, { params });
default: default:

176
app/api/huawei.ts Normal file
View File

@@ -0,0 +1,176 @@
import { getServerSideConfig } from "@/app/config/server";
import {
HUAWEI_BASE_URL,
ApiPath,
ModelProvider,
Huawei,
} from "@/app/constant";
import { prettyObject } from "@/app/utils/format";
import { NextRequest, NextResponse } from "next/server";
import { auth } from "@/app/api/auth";
const serverConfig = getServerSideConfig();
export async function handle(
req: NextRequest,
{ params }: { params: { path: string[] } },
) {
console.log("[Huawei Route] params ", params);
if (req.method === "OPTIONS") {
return NextResponse.json({ body: "OK" }, { status: 200 });
}
const authResult = auth(req, ModelProvider.Huawei);
if (authResult.error) {
return NextResponse.json(authResult, {
status: 401,
});
}
try {
const response = await request(req);
return response;
} catch (e) {
console.error("[Huawei] ", e);
return NextResponse.json(prettyObject(e));
}
}
async function request(req: NextRequest) {
const controller = new AbortController();
let path = `${req.nextUrl.pathname}`.replaceAll(ApiPath.Huawei, "");
const bodyText = await req.text();
const body = JSON.parse(bodyText);
let modelName = body.model as string;
// 先用原始 modelName 获取 charUrl
let baseUrl: string;
let endpoint = "";
if (modelName === "DeepSeek-V3") {
endpoint = "271c9332-4aa6-4ff5-95b3-0cf8bd94c394";
}
if (modelName === "DeepSeek-R1") {
endpoint = "8a062fd4-7367-4ab4-a936-5eeb8fb821c4";
}
let charUrl = HUAWEI_BASE_URL.concat("/")
.concat(endpoint)
.concat("/v1/chat/completions")
.replace(/(?<!:)\/+/g, "/"); // 只替换不在 :// 后面的多个斜杠
console.log(`current charUrl name:${charUrl}`);
baseUrl = charUrl;
// 处理请求体1. 移除 system role 消息 2. 修改 model 名称格式
const modifiedBody = {
messages: body.messages
.map((msg: any) => ({
role: msg.role,
content: msg.content,
}))
.filter((msg: any) => msg.role !== "system"),
model: modelName.replace(/^(DeepSeek-(?:R1|V3)).*$/, "$1"), // 只保留 DeepSeek-R1 或 DeepSeek-V3
stream: body.stream,
temperature: body.temperature,
presence_penalty: body.presence_penalty,
frequency_penalty: body.frequency_penalty,
top_p: body.top_p,
};
const modifiedBodyText = JSON.stringify(modifiedBody);
console.log("Modified request body:", modifiedBodyText);
// if(!baseUrl){
// baseUrl = HUAWEI_BASE_URL
// }
// baseUrl = Huawei.ChatPath(modelName) || serverConfig.huaweiUrl || HUAWEI_BASE_URL;
console.log(
`current model name:${modelName},current api path:${baseUrl}.........`,
);
if (!baseUrl.startsWith("http")) {
baseUrl = `https://${baseUrl}`;
}
if (baseUrl.endsWith("/")) {
baseUrl = baseUrl.slice(0, -1);
}
console.log("[Proxy] ", path);
console.log("[Base Url]", baseUrl);
const timeoutId = setTimeout(
() => {
controller.abort();
},
10 * 60 * 1000,
);
// 如果 baseUrl 来自 Huawei.ChatPath则不需要再拼接 path
let fetchUrl = baseUrl.includes(HUAWEI_BASE_URL)
? baseUrl
: `${baseUrl}${path}`;
const headers: Record<string, string> = {
"Content-Type": "application/json",
Authorization: req.headers.get("Authorization") ?? "",
"X-Forwarded-For": req.headers.get("X-Forwarded-For") ?? "",
"X-Real-IP": req.headers.get("X-Real-IP") ?? "",
"User-Agent": req.headers.get("User-Agent") ?? "",
};
console.debug(`headers.Authorization:${headers.Authorization}`);
console.debug("serverConfig.huaweiApiKey: *****");
// 如果没有 Authorization header使用系统配置的 API key
headers.Authorization = `Bearer ${serverConfig.huaweiApiKey}`;
// #1815 try to refuse some request to some models
// if (serverConfig.customModels) {
// try {
// const jsonBody = JSON.parse(bodyText); // 直接使用已解析的 body
//
// if (
// isModelNotavailableInServer(
// serverConfig.customModels,
// jsonBody?.model as string,
// ServiceProvider.Huawei as string,
// )
// ) {
// return NextResponse.json(
// {
// error: true,
// message: `you are not allowed to use ${jsonBody?.model} model`,
// },
// {
// status: 403,
// },
// );
// }
// } catch (e) {
// console.error(`[Huawei] filter`, e);
// }
// }
try {
const res = await fetch(fetchUrl, {
headers,
method: req.method,
body: modifiedBodyText,
redirect: "manual",
// @ts-ignore
duplex: "half",
signal: controller.signal,
});
const newHeaders = new Headers(res.headers);
newHeaders.delete("www-authenticate");
// to disable nginx buffering
newHeaders.set("X-Accel-Buffering", "no");
return new Response(res.body, {
status: res.status,
statusText: res.statusText,
headers: newHeaders,
});
} finally {
clearTimeout(timeoutId);
}
}
export { Huawei };

View File

@@ -24,6 +24,7 @@ import { DeepSeekApi } from "./platforms/deepseek";
import { XAIApi } from "./platforms/xai"; import { XAIApi } from "./platforms/xai";
import { ChatGLMApi } from "./platforms/glm"; import { ChatGLMApi } from "./platforms/glm";
import { SiliconflowApi } from "./platforms/siliconflow"; import { SiliconflowApi } from "./platforms/siliconflow";
import { HuaweiApi } from "./platforms/huawei";
import { Ai302Api } from "./platforms/ai302"; import { Ai302Api } from "./platforms/ai302";
export const ROLES = ["system", "user", "assistant"] as const; export const ROLES = ["system", "user", "assistant"] as const;
@@ -174,6 +175,9 @@ export class ClientApi {
case ModelProvider.SiliconFlow: case ModelProvider.SiliconFlow:
this.llm = new SiliconflowApi(); this.llm = new SiliconflowApi();
break; break;
case ModelProvider.Huawei:
this.llm = new HuaweiApi();
break;
case ModelProvider["302.AI"]: case ModelProvider["302.AI"]:
this.llm = new Ai302Api(); this.llm = new Ai302Api();
break; break;
@@ -269,6 +273,7 @@ export function getHeaders(ignoreHeaders: boolean = false) {
const isChatGLM = modelConfig.providerName === ServiceProvider.ChatGLM; const isChatGLM = modelConfig.providerName === ServiceProvider.ChatGLM;
const isSiliconFlow = const isSiliconFlow =
modelConfig.providerName === ServiceProvider.SiliconFlow; modelConfig.providerName === ServiceProvider.SiliconFlow;
const isHuawei = modelConfig.providerName == ServiceProvider.Huawei;
const isAI302 = modelConfig.providerName === ServiceProvider["302.AI"]; const isAI302 = modelConfig.providerName === ServiceProvider["302.AI"];
const isEnabledAccessControl = accessStore.enabledAccessControl(); const isEnabledAccessControl = accessStore.enabledAccessControl();
const apiKey = isGoogle const apiKey = isGoogle
@@ -295,6 +300,8 @@ export function getHeaders(ignoreHeaders: boolean = false) {
? accessStore.iflytekApiKey && accessStore.iflytekApiSecret ? accessStore.iflytekApiKey && accessStore.iflytekApiSecret
? accessStore.iflytekApiKey + ":" + accessStore.iflytekApiSecret ? accessStore.iflytekApiKey + ":" + accessStore.iflytekApiSecret
: "" : ""
: isHuawei
? accessStore.huaweiApiKey
: isAI302 : isAI302
? accessStore.ai302ApiKey ? accessStore.ai302ApiKey
: accessStore.openaiApiKey; : accessStore.openaiApiKey;
@@ -311,6 +318,7 @@ export function getHeaders(ignoreHeaders: boolean = false) {
isXAI, isXAI,
isChatGLM, isChatGLM,
isSiliconFlow, isSiliconFlow,
isHuawei,
isAI302, isAI302,
apiKey, apiKey,
isEnabledAccessControl, isEnabledAccessControl,
@@ -340,6 +348,7 @@ export function getHeaders(ignoreHeaders: boolean = false) {
isXAI, isXAI,
isChatGLM, isChatGLM,
isSiliconFlow, isSiliconFlow,
isHuawei: boolean,
isAI302, isAI302,
apiKey, apiKey,
isEnabledAccessControl, isEnabledAccessControl,
@@ -391,6 +400,8 @@ export function getClientApi(provider: ServiceProvider): ClientApi {
return new ClientApi(ModelProvider.ChatGLM); return new ClientApi(ModelProvider.ChatGLM);
case ServiceProvider.SiliconFlow: case ServiceProvider.SiliconFlow:
return new ClientApi(ModelProvider.SiliconFlow); return new ClientApi(ModelProvider.SiliconFlow);
case ServiceProvider.Huawei:
return new ClientApi(ModelProvider.Huawei);
case ServiceProvider["302.AI"]: case ServiceProvider["302.AI"]:
return new ClientApi(ModelProvider["302.AI"]); return new ClientApi(ModelProvider["302.AI"]);
default: default:

View File

@@ -0,0 +1,200 @@
"use client";
import { ApiPath, HUAWEI_BASE_URL, Huawei } from "@/app/constant";
import {
useAccessStore,
useAppConfig,
useChatStore,
usePluginStore,
ChatMessageTool,
} from "@/app/store";
import {
ChatOptions,
getHeaders,
LLMApi,
LLMModel,
MultimodalContent,
SpeechOptions,
} from "../api";
import { getClientConfig } from "@/app/config/client";
import { getTimeoutMSByModel } from "@/app/utils";
import { streamWithThink } from "@/app/utils/chat";
import { fetch } from "@/app/utils/stream";
interface RequestPayloadForHuawei {
messages: {
role: "system" | "user" | "assistant";
content: string | MultimodalContent[];
}[];
stream?: boolean;
model: string;
temperature: number;
presence_penalty: number;
frequency_penalty: number;
top_p: number;
max_tokens?: number;
}
export class HuaweiApi implements LLMApi {
path(path: string): string {
const accessStore = useAccessStore.getState();
let baseUrl = "";
if (accessStore.useCustomConfig) {
baseUrl = accessStore.huaweiUrl;
}
if (baseUrl.length === 0) {
const isApp = !!getClientConfig()?.isApp;
baseUrl = isApp ? HUAWEI_BASE_URL : ApiPath.Huawei;
}
if (baseUrl.endsWith("/")) {
baseUrl = baseUrl.slice(0, baseUrl.length - 1);
}
if (!baseUrl.startsWith("http") && !baseUrl.startsWith(ApiPath.Huawei)) {
baseUrl = "https://" + baseUrl;
}
console.log("[Proxy Endpoint] ", baseUrl, path);
return [baseUrl, path].join("/");
}
extractMessage(res: any) {
return res.choices?.at(0)?.message?.content ?? "";
}
speech(options: SpeechOptions): Promise<ArrayBuffer> {
throw new Error("Method not implemented.");
}
async chat(options: ChatOptions) {
const messages = options.messages.map((v) => ({
role: v.role,
content: v.content,
}));
const modelConfig = {
...useAppConfig.getState().modelConfig,
...useChatStore.getState().currentSession().mask.modelConfig,
...{
model: options.config.model,
},
};
const requestPayload: RequestPayloadForHuawei = {
messages,
stream: options.config.stream,
model: modelConfig.model,
temperature: modelConfig.temperature,
presence_penalty: modelConfig.presence_penalty,
frequency_penalty: modelConfig.frequency_penalty,
top_p: modelConfig.top_p,
};
const shouldStream = !!options.config.stream;
const controller = new AbortController();
options.onController?.(controller);
try {
const chatPath = this.path(Huawei.ChatPath);
const chatPayload = {
method: "POST",
body: JSON.stringify(requestPayload),
signal: controller.signal,
headers: getHeaders(),
};
const requestTimeoutId = setTimeout(
() => controller.abort(),
getTimeoutMSByModel(options.config.model),
);
if (shouldStream) {
const [tools, funcs] = usePluginStore
.getState()
.getAsTools(
useChatStore.getState().currentSession().mask?.plugin || [],
);
return streamWithThink(
chatPath,
requestPayload,
getHeaders(),
tools as any[],
funcs,
controller,
// parseSSE
(text: string, runTools: ChatMessageTool[]) => {
const json = JSON.parse(text);
const choices = json.choices as Array<{
delta: {
content: string;
tool_calls: ChatMessageTool[];
};
}>;
const tool_calls = choices[0]?.delta?.tool_calls;
if (tool_calls?.length > 0) {
const index = tool_calls[0]?.index;
const id = tool_calls[0]?.id;
const args = tool_calls[0]?.function?.arguments;
if (id) {
runTools.push({
id,
type: tool_calls[0]?.type,
function: {
name: tool_calls[0]?.function?.name as string,
arguments: args,
},
});
} else {
// @ts-ignore
runTools[index]["function"]["arguments"] += args;
}
}
return {
isThinking: false,
content: choices[0]?.delta?.content || "",
};
},
// processToolMessage
(
payload: RequestPayloadForHuawei,
toolCallMessage: any,
toolCallResult: any[],
) => {
payload?.messages?.splice(
payload?.messages?.length,
0,
toolCallMessage,
...toolCallResult,
);
},
options,
);
} else {
const res = await fetch(chatPath, chatPayload);
clearTimeout(requestTimeoutId);
const resJson = await res.json();
const message = this.extractMessage(resJson);
options.onFinish(message, res);
}
} catch (e) {
console.log("[Request] failed to make a chat request", e);
options.onError?.(e as Error);
}
}
async usage() {
return {
used: 0,
total: 0,
};
}
async models(): Promise<LLMModel[]> {
return [];
}
}

View File

@@ -200,6 +200,7 @@ export class ChatGPTApi implements LLMApi {
options.config.model.startsWith("o1") || options.config.model.startsWith("o1") ||
options.config.model.startsWith("o3") || options.config.model.startsWith("o3") ||
options.config.model.startsWith("o4-mini"); options.config.model.startsWith("o4-mini");
const isGpt5 = options.config.model.startsWith("gpt-5");
if (isDalle3) { if (isDalle3) {
const prompt = getMessageTextContent( const prompt = getMessageTextContent(
options.messages.slice(-1)?.pop() as any, options.messages.slice(-1)?.pop() as any,
@@ -230,7 +231,7 @@ export class ChatGPTApi implements LLMApi {
messages, messages,
stream: options.config.stream, stream: options.config.stream,
model: modelConfig.model, model: modelConfig.model,
temperature: !isO1OrO3 ? modelConfig.temperature : 1, temperature: (!isO1OrO3 && !isGpt5) ? modelConfig.temperature : 1,
presence_penalty: !isO1OrO3 ? modelConfig.presence_penalty : 0, presence_penalty: !isO1OrO3 ? modelConfig.presence_penalty : 0,
frequency_penalty: !isO1OrO3 ? modelConfig.frequency_penalty : 0, frequency_penalty: !isO1OrO3 ? modelConfig.frequency_penalty : 0,
top_p: !isO1OrO3 ? modelConfig.top_p : 1, top_p: !isO1OrO3 ? modelConfig.top_p : 1,
@@ -238,7 +239,13 @@ export class ChatGPTApi implements LLMApi {
// Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore. // Please do not ask me why not send max_tokens, no reason, this param is just shit, I dont want to explain anymore.
}; };
if (isO1OrO3) { if (isGpt5) {
// Remove max_tokens if present
delete requestPayload.max_tokens;
// Add max_completion_tokens (or max_completion_tokens if that's what you meant)
requestPayload["max_completion_tokens"] = modelConfig.max_tokens;
} else if (isO1OrO3) {
// by default the o1/o3 models will not attempt to produce output that includes markdown formatting // by default the o1/o3 models will not attempt to produce output that includes markdown formatting
// manually add "Formatting re-enabled" developer message to encourage markdown inclusion in model responses // manually add "Formatting re-enabled" developer message to encourage markdown inclusion in model responses
// (https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reasoning?tabs=python-secure#markdown-output) // (https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reasoning?tabs=python-secure#markdown-output)
@@ -251,8 +258,9 @@ export class ChatGPTApi implements LLMApi {
requestPayload["max_completion_tokens"] = modelConfig.max_tokens; requestPayload["max_completion_tokens"] = modelConfig.max_tokens;
} }
// add max_tokens to vision model // add max_tokens to vision model
if (visionModel && !isO1OrO3) { if (visionModel && !isO1OrO3 && ! isGpt5) {
requestPayload["max_tokens"] = Math.max(modelConfig.max_tokens, 4000); requestPayload["max_tokens"] = Math.max(modelConfig.max_tokens, 4000);
} }
} }

View File

@@ -76,6 +76,7 @@ import {
DeepSeek, DeepSeek,
SiliconFlow, SiliconFlow,
AI302, AI302,
Huawei,
} from "../constant"; } from "../constant";
import { Prompt, SearchService, usePromptStore } from "../store/prompt"; import { Prompt, SearchService, usePromptStore } from "../store/prompt";
import { ErrorBoundary } from "./error"; import { ErrorBoundary } from "./error";
@@ -1498,6 +1499,46 @@ export function Settings() {
</ListItem> </ListItem>
</> </>
); );
const huaweiConfigComponent = accessStore.provider ===
ServiceProvider.Huawei && (
<>
<ListItem
title={Locale.Settings.Access.Huawei.Endpoint.Title}
subTitle={
Locale.Settings.Access.Huawei.Endpoint.SubTitle +
Huawei.ExampleEndpoint
}
>
<input
aria-label={Locale.Settings.Access.Huawei.Endpoint.Title}
type="text"
value={accessStore.huaweiUrl}
placeholder={Huawei.ExampleEndpoint}
onChange={(e) =>
accessStore.update(
(access) => (access.huaweiUrl = e.currentTarget.value),
)
}
></input>
</ListItem>
<ListItem
title={Locale.Settings.Access.Huawei.ApiKey.Title}
subTitle={Locale.Settings.Access.Huawei.ApiKey.SubTitle}
>
<PasswordInput
aria-label={Locale.Settings.Access.Huawei.ApiKey.Title}
value={accessStore.huaweiApiKey}
type="text"
placeholder={Locale.Settings.Access.Huawei.ApiKey.Placeholder}
onChange={(e) => {
accessStore.update(
(access) => (access.huaweiApiKey = e.currentTarget.value),
);
}}
/>
</ListItem>
</>
);
return ( return (
<ErrorBoundary> <ErrorBoundary>
@@ -1863,6 +1904,7 @@ export function Settings() {
{XAIConfigComponent} {XAIConfigComponent}
{chatglmConfigComponent} {chatglmConfigComponent}
{siliconflowConfigComponent} {siliconflowConfigComponent}
{huaweiConfigComponent}
{ai302ConfigComponent} {ai302ConfigComponent}
</> </>
)} )}

View File

@@ -88,6 +88,10 @@ declare global {
SILICONFLOW_URL?: string; SILICONFLOW_URL?: string;
SILICONFLOW_API_KEY?: string; SILICONFLOW_API_KEY?: string;
//huaweionly
HUAWEI_URL?: string;
HUAWEI_API_KEY?: string;
// 302.AI only // 302.AI only
AI302_URL?: string; AI302_URL?: string;
AI302_API_KEY?: string; AI302_API_KEY?: string;
@@ -168,6 +172,7 @@ export const getServerSideConfig = () => {
const isChatGLM = !!process.env.CHATGLM_API_KEY; const isChatGLM = !!process.env.CHATGLM_API_KEY;
const isSiliconFlow = !!process.env.SILICONFLOW_API_KEY; const isSiliconFlow = !!process.env.SILICONFLOW_API_KEY;
const isAI302 = !!process.env.AI302_API_KEY; const isAI302 = !!process.env.AI302_API_KEY;
const isHuawei = !!process.env.HUAWEI_API_KEY;
// const apiKeyEnvVar = process.env.OPENAI_API_KEY ?? ""; // const apiKeyEnvVar = process.env.OPENAI_API_KEY ?? "";
// const apiKeys = apiKeyEnvVar.split(",").map((v) => v.trim()); // const apiKeys = apiKeyEnvVar.split(",").map((v) => v.trim());
// const randomIndex = Math.floor(Math.random() * apiKeys.length); // const randomIndex = Math.floor(Math.random() * apiKeys.length);
@@ -238,6 +243,10 @@ export const getServerSideConfig = () => {
xaiUrl: process.env.XAI_URL, xaiUrl: process.env.XAI_URL,
xaiApiKey: getApiKey(process.env.XAI_API_KEY), xaiApiKey: getApiKey(process.env.XAI_API_KEY),
isHuawei,
huaweiUrl: process.env.HUAWEI_URL,
huaweiApiKey: getApiKey(process.env.HUAWEI_API_KEY),
isChatGLM, isChatGLM,
chatglmUrl: process.env.CHATGLM_URL, chatglmUrl: process.env.CHATGLM_URL,
chatglmApiKey: getApiKey(process.env.CHATGLM_API_KEY), chatglmApiKey: getApiKey(process.env.CHATGLM_API_KEY),

View File

@@ -38,6 +38,9 @@ export const SILICONFLOW_BASE_URL = "https://api.siliconflow.cn";
export const AI302_BASE_URL = "https://api.302.ai"; export const AI302_BASE_URL = "https://api.302.ai";
export const HUAWEI_BASE_URL =
"https://maas-cn-southwest-2.modelarts-maas.com/v1/infers";
export const CACHE_URL_PREFIX = "/api/cache"; export const CACHE_URL_PREFIX = "/api/cache";
export const UPLOAD_URL = `${CACHE_URL_PREFIX}/upload`; export const UPLOAD_URL = `${CACHE_URL_PREFIX}/upload`;
@@ -74,6 +77,7 @@ export enum ApiPath {
ChatGLM = "/api/chatglm", ChatGLM = "/api/chatglm",
DeepSeek = "/api/deepseek", DeepSeek = "/api/deepseek",
SiliconFlow = "/api/siliconflow", SiliconFlow = "/api/siliconflow",
Huawei = "/api/huawei",
"302.AI" = "/api/302ai", "302.AI" = "/api/302ai",
} }
@@ -133,6 +137,7 @@ export enum ServiceProvider {
ChatGLM = "ChatGLM", ChatGLM = "ChatGLM",
DeepSeek = "DeepSeek", DeepSeek = "DeepSeek",
SiliconFlow = "SiliconFlow", SiliconFlow = "SiliconFlow",
Huawei = "Huawei",
"302.AI" = "302.AI", "302.AI" = "302.AI",
} }
@@ -160,6 +165,7 @@ export enum ModelProvider {
ChatGLM = "ChatGLM", ChatGLM = "ChatGLM",
DeepSeek = "DeepSeek", DeepSeek = "DeepSeek",
SiliconFlow = "SiliconFlow", SiliconFlow = "SiliconFlow",
Huawei = "Huawei",
"302.AI" = "302.AI", "302.AI" = "302.AI",
} }
@@ -219,6 +225,11 @@ export const Baidu = {
}, },
}; };
export const Huawei = {
ExampleEndpoint: HUAWEI_BASE_URL,
ChatPath: "/v1/chat/completions",
};
export const ByteDance = { export const ByteDance = {
ExampleEndpoint: "https://ark.cn-beijing.volces.com/api/", ExampleEndpoint: "https://ark.cn-beijing.volces.com/api/",
ChatPath: "api/v3/chat/completions", ChatPath: "api/v3/chat/completions",
@@ -493,6 +504,7 @@ export const VISION_MODEL_REGEXES = [
/o3/, /o3/,
/o4-mini/, /o4-mini/,
/grok-4/i, /grok-4/i,
/gpt-5/
]; ];
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/]; export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
@@ -517,6 +529,11 @@ const openaiModels = [
"gpt-4.1-nano-2025-04-14", "gpt-4.1-nano-2025-04-14",
"gpt-4.5-preview", "gpt-4.5-preview",
"gpt-4.5-preview-2025-02-27", "gpt-4.5-preview-2025-02-27",
"gpt-5-chat",
"gpt-5-mini",
"gpt-5-nano",
"gpt-5",
"gpt-5-chat-2025-01-01-preview",
"gpt-4o", "gpt-4o",
"gpt-4o-2024-05-13", "gpt-4o-2024-05-13",
"gpt-4o-2024-08-06", "gpt-4o-2024-08-06",
@@ -598,6 +615,11 @@ const bytedanceModels = [
"Doubao-pro-4k", "Doubao-pro-4k",
"Doubao-pro-32k", "Doubao-pro-32k",
"Doubao-pro-128k", "Doubao-pro-128k",
// "deepseek-r1-250120",
"deepseek-v3-241226",
"deepseek-v3-250324",
"deepseek-r1-distill-qwen-7b-250120",
"deepseek-r1-distill-qwen-32b-250120",
]; ];
const alibabaModes = [ const alibabaModes = [
@@ -731,6 +753,8 @@ const ai302Models = [
"gemini-2.5-pro", "gemini-2.5-pro",
]; ];
const huaweiModels = ["DeepSeek-R1", "DeepSeek-V3"];
let seq = 1000; // 内置的模型序号生成器从1000开始 let seq = 1000; // 内置的模型序号生成器从1000开始
export const DEFAULT_MODELS = [ export const DEFAULT_MODELS = [
...openaiModels.map((name) => ({ ...openaiModels.map((name) => ({
@@ -887,6 +911,17 @@ export const DEFAULT_MODELS = [
sorted: 14, sorted: 14,
}, },
})), })),
...huaweiModels.map((name) => ({
name,
available: true,
sorted: seq++,
provider: {
id: "huawei",
providerName: "Huawei",
providerType: "Huawei",
sorted: 15,
},
})),
...ai302Models.map((name) => ({ ...ai302Models.map((name) => ({
name, name,
available: true, available: true,

View File

@@ -431,6 +431,22 @@ const ar: PartialLocaleType = {
Title: "اسم النموذج المخصص", Title: "اسم النموذج المخصص",
SubTitle: "أضف خيارات نموذج مخصص، مفصولة بفواصل إنجليزية", SubTitle: "أضف خيارات نموذج مخصص، مفصولة بفواصل إنجليزية",
}, },
Huawei: {
ApiKey: {
Title: "مفتاح API",
SubTitle: "استخدم مفتاح API الخاص بـ HUAWEI",
Placeholder: "مفتاح HUAWEI",
},
SecretKey: {
Title: "المفتاح السري",
SubTitle: "استخدم مفتاح HUAWEI السري الخاص بك",
Placeholder: "المفتاح السري HUAWEI",
},
Endpoint: {
Title: "عنوان الواجهة",
SubTitle: "لا يدعم التكوين المخصص .env",
},
},
}, },
Model: "النموذج", Model: "النموذج",

View File

@@ -439,6 +439,22 @@ const bn: PartialLocaleType = {
SubTitle: SubTitle:
"স্বনির্ধারিত মডেল বিকল্পগুলি যুক্ত করুন, ইংরেজি কমা দ্বারা আলাদা করুন", "স্বনির্ধারিত মডেল বিকল্পগুলি যুক্ত করুন, ইংরেজি কমা দ্বারা আলাদা করুন",
}, },
Huawei: {
ApiKey: {
Title: "এপিআই কী",
SubTitle: "আপনার HUAWEI এপিআই কী ব্যবহার করুন",
Placeholder: "HUAWEI কী",
},
SecretKey: {
Title: "গোপন কী",
SubTitle: "আপনার HUAWEI গোপন কী ব্যবহার করুন",
Placeholder: "HUAWEI গোপন কী",
},
Endpoint: {
Title: "এন্ডপয়েন্ট ঠিকানা",
SubTitle: "কাস্টম কনফিগারেশনের জন্য .env-এ যান",
},
},
}, },
Model: "মডেল (model)", Model: "মডেল (model)",

View File

@@ -549,6 +549,22 @@ const cn = {
SubTitle: "样例:", SubTitle: "样例:",
}, },
}, },
Huawei: {
ApiKey: {
Title: "API Key",
SubTitle: "使用自定义华为API Key",
Placeholder: "HUAWEI Key",
},
SecretKey: {
Title: "Secret Key",
SubTitle: "使用自定义HUAWEI Secret Key",
Placeholder: "HUAWEI Secret Key",
},
Endpoint: {
Title: "接口地址",
SubTitle: "不支持自定义前往.env配置",
},
},
}, },
Model: "模型 (model)", Model: "模型 (model)",

View File

@@ -438,6 +438,22 @@ const cs: PartialLocaleType = {
Title: "Vlastní názvy modelů", Title: "Vlastní názvy modelů",
SubTitle: "Přidejte možnosti vlastních modelů, oddělené čárkami", SubTitle: "Přidejte možnosti vlastních modelů, oddělené čárkami",
}, },
Huawei: {
ApiKey: {
Title: "API Klíč",
SubTitle: "Použijte svůj HUAWEI API klíč",
Placeholder: "HUAWEI Klíč",
},
SecretKey: {
Title: "Tajný Klíč",
SubTitle: "Použijte svůj HUAWEI Tajný klíč",
Placeholder: "HUAWEI Tajný Klíč",
},
Endpoint: {
Title: "Adresa rozhraní",
SubTitle: "Nepodporuje vlastní konfiguraci .env",
},
},
}, },
Model: "Model (model)", Model: "Model (model)",

View File

@@ -498,6 +498,22 @@ const da: PartialLocaleType = {
Title: "Egne modelnavne", Title: "Egne modelnavne",
SubTitle: "Skriv komma-adskilte navne", SubTitle: "Skriv komma-adskilte navne",
}, },
Huawei: {
ApiKey: {
Title: "API-nøgle",
SubTitle: "Brug din egen HUAWEI API-nøgle",
Placeholder: "HUAWEI-nøgle",
},
SecretKey: {
Title: "Hemmelig nøgle",
SubTitle: "Brug din egen HUAWEI hemmelige nøgle",
Placeholder: "HUAWEI hemmelig nøgle",
},
Endpoint: {
Title: "Grænsefladeadresse",
SubTitle: "Understøtter ikke tilpasset .env-konfiguration",
},
},
Google: { Google: {
ApiKey: { ApiKey: {
Title: "Google-nøgle", Title: "Google-nøgle",

View File

@@ -450,6 +450,22 @@ const de: PartialLocaleType = {
SubTitle: SubTitle:
"Fügen Sie benutzerdefinierte Modelloptionen hinzu, getrennt durch Kommas", "Fügen Sie benutzerdefinierte Modelloptionen hinzu, getrennt durch Kommas",
}, },
Huawei: {
ApiKey: {
Title: "API-Schlüssel",
SubTitle: "Verwenden Sie Ihren eigenen HUAWEI API-Schlüssel",
Placeholder: "HUAWEI-Schlüssel",
},
SecretKey: {
Title: "Geheimer Schlüssel",
SubTitle: "Verwenden Sie Ihren eigenen HUAWEI geheimen Schlüssel",
Placeholder: "HUAWEI geheimer Schlüssel",
},
Endpoint: {
Title: "Schnittstellenadresse",
SubTitle: "Unterstützt keine benutzerdefinierte .env-Konfiguration",
},
},
}, },
Model: "Modell", Model: "Modell",

View File

@@ -522,6 +522,22 @@ const en: LocaleType = {
Title: "Custom Models", Title: "Custom Models",
SubTitle: "Custom model options, seperated by comma", SubTitle: "Custom model options, seperated by comma",
}, },
Huawei: {
ApiKey: {
Title: "API Key",
SubTitle: "Use your own HUAWEI API key",
Placeholder: "HUAWEI Key",
},
SecretKey: {
Title: "Secret Key",
SubTitle: "Use your own HUAWEI Secret key",
Placeholder: "HUAWEI Secret Key",
},
Endpoint: {
Title: "Endpoint Address",
SubTitle: "Does not support custom .env configuration",
},
},
Google: { Google: {
ApiKey: { ApiKey: {
Title: "API Key", Title: "API Key",

View File

@@ -452,6 +452,22 @@ const es: PartialLocaleType = {
SubTitle: SubTitle:
"Agrega opciones de modelos personalizados, separados por comas", "Agrega opciones de modelos personalizados, separados por comas",
}, },
Huawei: {
ApiKey: {
Title: "Clave API",
SubTitle: "Utiliza tu propia clave API de HUAWEI",
Placeholder: "Clave HUAWEI",
},
SecretKey: {
Title: "Clave Secreta",
SubTitle: "Utiliza tu propia clave secreta de HUAWEI",
Placeholder: "Clave secreta HUAWEI",
},
Endpoint: {
Title: "Dirección del Endpoint",
SubTitle: "No admite configuración personalizada .env",
},
},
}, },
Model: "Modelo (model)", Model: "Modelo (model)",

View File

@@ -451,6 +451,23 @@ const fr: PartialLocaleType = {
SubTitle: SubTitle:
"Ajouter des options de modèles personnalisés, séparées par des virgules", "Ajouter des options de modèles personnalisés, séparées par des virgules",
}, },
Huawei: {
ApiKey: {
Title: "Clé API",
SubTitle: "Utilisez votre propre clé API HUAWEI",
Placeholder: "Clé HUAWEI",
},
SecretKey: {
Title: "Clé secrète",
SubTitle: "Utilisez votre propre clé secrète HUAWEI",
Placeholder: "Clé secrète HUAWEI",
},
Endpoint: {
Title: "Adresse de l'endpoint",
SubTitle:
"Ne prend pas en charge la configuration personnalisée .env",
},
},
}, },
Model: "Modèle", Model: "Modèle",

View File

@@ -439,6 +439,22 @@ const id: PartialLocaleType = {
Title: "Nama Model Kustom", Title: "Nama Model Kustom",
SubTitle: "Tambahkan opsi model kustom, pisahkan dengan koma", SubTitle: "Tambahkan opsi model kustom, pisahkan dengan koma",
}, },
Huawei: {
ApiKey: {
Title: "Kunci API",
SubTitle: "Gunakan kunci API HUAWEI Anda sendiri",
Placeholder: "Kunci HUAWEI",
},
SecretKey: {
Title: "Kunci Rahasia",
SubTitle: "Gunakan kunci rahasia HUAWEI Anda sendiri",
Placeholder: "Kunci Rahasia HUAWEI",
},
Endpoint: {
Title: "Alamat Endpoint",
SubTitle: "Tidak mendukung konfigurasi .env kustom",
},
},
}, },
Model: "Model", Model: "Model",

View File

@@ -452,6 +452,22 @@ const it: PartialLocaleType = {
SubTitle: SubTitle:
"Aggiungi opzioni di modelli personalizzati, separati da virgole", "Aggiungi opzioni di modelli personalizzati, separati da virgole",
}, },
Huawei: {
ApiKey: {
Title: "Chiave API",
SubTitle: "Usa la tua chiave API HUAWEI",
Placeholder: "Chiave HUAWEI",
},
SecretKey: {
Title: "Chiave Segreta",
SubTitle: "Usa la tua chiave segreta HUAWEI",
Placeholder: "Chiave segreta HUAWEI",
},
Endpoint: {
Title: "Indirizzo dell'Endpoint",
SubTitle: "Non supporta configurazioni personalizzate .env",
},
},
}, },
Model: "Modello (model)", Model: "Modello (model)",

View File

@@ -435,6 +435,22 @@ const jp: PartialLocaleType = {
Title: "カスタムモデル名", Title: "カスタムモデル名",
SubTitle: "カスタムモデルの選択肢を追加、英語のカンマで区切る", SubTitle: "カスタムモデルの選択肢を追加、英語のカンマで区切る",
}, },
Huawei: {
ApiKey: {
Title: "APIキー",
SubTitle: "自分のHUAWEI APIキーを使用してください",
Placeholder: "HUAWEIキー",
},
SecretKey: {
Title: "秘密キー",
SubTitle: "自分のHUAWEI秘密キーを使用してください",
Placeholder: "HUAWEI秘密キー",
},
Endpoint: {
Title: "エンドポイントアドレス",
SubTitle: "カスタム.env構成はサポートされていません",
},
},
}, },
Model: "モデル (model)", Model: "モデル (model)",

View File

@@ -540,6 +540,22 @@ const ko: PartialLocaleType = {
Title: "커스텀 모델 이름", Title: "커스텀 모델 이름",
SubTitle: "커스텀 모델 옵션 추가, 영어 쉼표로 구분", SubTitle: "커스텀 모델 옵션 추가, 영어 쉼표로 구분",
}, },
Huawei: {
ApiKey: {
Title: "API 키",
SubTitle: "자신의 HUAWEI API 키를 사용하세요",
Placeholder: "HUAWEI 키",
},
SecretKey: {
Title: "비밀 키",
SubTitle: "자신의 HUAWEI 비밀 키를 사용하세요",
Placeholder: "HUAWEI 비밀 키",
},
Endpoint: {
Title: "엔드포인트 주소",
SubTitle: "사용자 정의 .env 구성을 지원하지 않습니다",
},
},
AI302: { AI302: {
ApiKey: { ApiKey: {
Title: "엔드포인트 키", Title: "엔드포인트 키",

View File

@@ -444,6 +444,22 @@ const no: PartialLocaleType = {
SubTitle: "Eksempel:", SubTitle: "Eksempel:",
}, },
}, },
Huawei: {
ApiKey: {
Title: "API-nøkkel",
SubTitle: "Bruk din egen HUAWEI API-nøkkel",
Placeholder: "HUAWEI-nøkkel",
},
SecretKey: {
Title: "Hemmelig nøkkel",
SubTitle: "Bruk din egen HUAWEI hemmelige nøkkel",
Placeholder: "HUAWEI hemmelig nøkkel",
},
Endpoint: {
Title: "Grensesnittadresse",
SubTitle: "Støtter ikke tilpasset .env-konfigurasjon",
},
},
}, },
Model: "Modell", Model: "Modell",

View File

@@ -374,6 +374,22 @@ const pt: PartialLocaleType = {
Title: "Modelos Personalizados", Title: "Modelos Personalizados",
SubTitle: "Opções de modelo personalizado, separados por vírgula", SubTitle: "Opções de modelo personalizado, separados por vírgula",
}, },
Huawei: {
ApiKey: {
Title: "Chave API",
SubTitle: "Use sua própria chave API HUAWEI",
Placeholder: "Chave HUAWEI",
},
SecretKey: {
Title: "Chave Secreta",
SubTitle: "Use sua própria chave secreta HUAWEI",
Placeholder: "Chave Secreta HUAWEI",
},
Endpoint: {
Title: "Endereço do Endpoint",
SubTitle: "Não suporta configuração personalizada .env",
},
},
}, },
Model: "Modelo", Model: "Modelo",

View File

@@ -442,6 +442,22 @@ const ru: PartialLocaleType = {
SubTitle: SubTitle:
"Добавьте варианты пользовательских моделей, разделяя запятыми", "Добавьте варианты пользовательских моделей, разделяя запятыми",
}, },
Huawei: {
ApiKey: {
Title: "API Ключ",
SubTitle: "Используйте свой HUAWEI API ключ",
Placeholder: "HUAWEI Ключ",
},
SecretKey: {
Title: "Секретный Ключ",
SubTitle: "Используйте свой HUAWEI Секретный ключ",
Placeholder: "HUAWEI Секретный Ключ",
},
Endpoint: {
Title: "Адрес интерфейса",
SubTitle: "Не поддерживает собственную конфигурацию .env",
},
},
}, },
Model: "Модель", Model: "Модель",

View File

@@ -363,6 +363,22 @@ const sk: PartialLocaleType = {
Title: "Vlastné modely", Title: "Vlastné modely",
SubTitle: "Možnosti vlastného modelu, oddelené čiarkou", SubTitle: "Možnosti vlastného modelu, oddelené čiarkou",
}, },
Huawei: {
ApiKey: {
Title: "API kľúč",
SubTitle: "Použite svoj vlastný HUAWEI API kľúč",
Placeholder: "HUAWEI kľúč",
},
SecretKey: {
Title: "Tajný kľúč",
SubTitle: "Použite svoj vlastný HUAWEI tajný kľúč",
Placeholder: "HUAWEI tajný kľúč",
},
Endpoint: {
Title: "Adresa rozhrania",
SubTitle: "Nepodporuje vlastnú konfiguráciu .env",
},
},
Google: { Google: {
ApiKey: { ApiKey: {
Title: "API kľúč", Title: "API kľúč",

View File

@@ -442,6 +442,22 @@ const tr: PartialLocaleType = {
SubTitle: SubTitle:
"Özelleştirilmiş model seçenekleri ekleyin, İngilizce virgül ile ayırın", "Özelleştirilmiş model seçenekleri ekleyin, İngilizce virgül ile ayırın",
}, },
Huawei: {
ApiKey: {
Title: "API Anahtarı",
SubTitle: "Kendi Huawei API Anahtarınızı kullanın",
Placeholder: "HUAWEI Anahtarı",
},
SecretKey: {
Title: "Gizli Anahtar",
SubTitle: "Kendi HUAWEI Gizli Anahtarınızı kullanın",
Placeholder: "HUAWEI Gizli Anahtarı",
},
Endpoint: {
Title: "Arayüz Adresi",
SubTitle: "Özelleştirilmiş .env yapılandırmasına desteklenmez",
},
},
}, },
Model: "Model (model)", Model: "Model (model)",

View File

@@ -397,6 +397,22 @@ const tw = {
Title: "自訂模型名稱", Title: "自訂模型名稱",
SubTitle: "增加自訂模型可選擇項目,使用英文逗號隔開", SubTitle: "增加自訂模型可選擇項目,使用英文逗號隔開",
}, },
Huawei: {
ApiKey: {
Title: "API金鑰",
SubTitle: "使用您的HUAWEI API金鑰",
Placeholder: "HUAWEI金鑰",
},
SecretKey: {
Title: "密鑰",
SubTitle: "使用您的HUAWEI密鑰",
Placeholder: "HUAWEI密鑰",
},
Endpoint: {
Title: "端點地址",
SubTitle: "不支援自訂的.env配置",
},
},
}, },
Model: "模型 (model)", Model: "模型 (model)",

View File

@@ -438,6 +438,22 @@ const vi: PartialLocaleType = {
SubTitle: SubTitle:
"Thêm tùy chọn mô hình tùy chỉnh, sử dụng dấu phẩy để phân cách", "Thêm tùy chọn mô hình tùy chỉnh, sử dụng dấu phẩy để phân cách",
}, },
Huawei: {
ApiKey: {
Title: "Khóa API",
SubTitle: "Sử dụng khóa API HUAWEI của bạn",
Placeholder: "Khóa HUAWEI",
},
SecretKey: {
Title: "Khóa bí mật",
SubTitle: "Sử dụng khóa bí mật HUAWEI của bạn",
Placeholder: "Khóa bí mật HUAWEI",
},
Endpoint: {
Title: "Địa chỉ điểm cuối",
SubTitle: "Không hỗ trợ cấu hình .env tùy chỉnh",
},
},
}, },
Model: "Mô hình (model)", Model: "Mô hình (model)",

View File

@@ -17,6 +17,7 @@ import {
XAI_BASE_URL, XAI_BASE_URL,
CHATGLM_BASE_URL, CHATGLM_BASE_URL,
SILICONFLOW_BASE_URL, SILICONFLOW_BASE_URL,
HUAWEI_BASE_URL,
AI302_BASE_URL, AI302_BASE_URL,
} from "../constant"; } from "../constant";
import { getHeaders } from "../client/api"; import { getHeaders } from "../client/api";
@@ -56,6 +57,8 @@ const DEFAULT_XAI_URL = isApp ? XAI_BASE_URL : ApiPath.XAI;
const DEFAULT_CHATGLM_URL = isApp ? CHATGLM_BASE_URL : ApiPath.ChatGLM; const DEFAULT_CHATGLM_URL = isApp ? CHATGLM_BASE_URL : ApiPath.ChatGLM;
const DEFAULT_HUAWEI_URL = isApp ? HUAWEI_BASE_URL : ApiPath.Huawei;
const DEFAULT_SILICONFLOW_URL = isApp const DEFAULT_SILICONFLOW_URL = isApp
? SILICONFLOW_BASE_URL ? SILICONFLOW_BASE_URL
: ApiPath.SiliconFlow; : ApiPath.SiliconFlow;
@@ -134,6 +137,9 @@ const DEFAULT_ACCESS_STATE = {
// siliconflow // siliconflow
siliconflowUrl: DEFAULT_SILICONFLOW_URL, siliconflowUrl: DEFAULT_SILICONFLOW_URL,
siliconflowApiKey: "", siliconflowApiKey: "",
// huawei
huaweiUrl: DEFAULT_HUAWEI_URL,
huaweiApiKey: "",
// 302.AI // 302.AI
ai302Url: DEFAULT_AI302_URL, ai302Url: DEFAULT_AI302_URL,
@@ -226,6 +232,9 @@ export const useAccessStore = createPersistStore(
return ensure(get(), ["siliconflowApiKey"]); return ensure(get(), ["siliconflowApiKey"]);
}, },
isValidHuawei() {
return ensure(get(), ["huaweiApiKey"]);
},
isAuthorized() { isAuthorized() {
this.fetch(); this.fetch();
@@ -245,6 +254,7 @@ export const useAccessStore = createPersistStore(
this.isValidXAI() || this.isValidXAI() ||
this.isValidChatGLM() || this.isValidChatGLM() ||
this.isValidSiliconFlow() || this.isValidSiliconFlow() ||
this.isValidHuawei() ||
!this.enabledAccessControl() || !this.enabledAccessControl() ||
(this.enabledAccessControl() && ensure(get(), ["accessCode"])) (this.enabledAccessControl() && ensure(get(), ["accessCode"]))
); );

View File

@@ -17,6 +17,40 @@ services:
- ENABLE_BALANCE_QUERY=$ENABLE_BALANCE_QUERY - ENABLE_BALANCE_QUERY=$ENABLE_BALANCE_QUERY
- DISABLE_FAST_LINK=$DISABLE_FAST_LINK - DISABLE_FAST_LINK=$DISABLE_FAST_LINK
- OPENAI_SB=$OPENAI_SB - OPENAI_SB=$OPENAI_SB
- SILICONFLOW_API_KEY=$SILICONFLOW_API_KEY
- SILICONFLOW_URL=$SILICONFLOW_URL
- AZURE_URL=$AZURE_URL
- AZURE_API_KEY=$AZURE_API_KEY
- AZURE_API_VERSION=$AZURE_API_VERSION
- GOOGLE_URL=$GOOGLE_URL
- GTM_ID=$GTM_ID
- ANTHROPIC_URL=$ANTHROPIC_URL
- ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY
- ANTHROPIC_API_VERSION=$ANTHROPIC_API_VERSION
- BAIDU_URL=$BAIDU_URL
- BAIDU_API_KEY=$BAIDU_API_KEY
- BAIDU_SECRET_KEY=$BAIDU_SECRET_KEY
- BYTEDANCE_URL=$BYTEDANCE_URL
- BYTEDANCE_API_KEY=$BYTEDANCE_API_KEY
- ALIBABA_URL=$ALIBABA_URL
- ALIBABA_API_KEY=$ALIBABA_API_KEY
- TENCENT_URL=$TENCENT_URL
- TENCENT_SECRET_KEY=$TENCENT_SECRET_KEY
- TENCENT_SECRET_ID=$TENCENT_SECRET_ID
- MOONSHOT_URL=$MOONSHOT_URL
- MOONSHOT_API_KEY=$MOONSHOT_API_KEY
- IFLYTEK_URL=$IFLYTEK_URL
- IFLYTEK_API_KEY=$IFLYTEK_API_KEY
- IFLYTEK_API_SECRET=$IFLYTEK_API_SECRET
- DEEPSEEK_URL=$DEEPSEEK_URL
- DEEPSEEK_API_KEY=$DEEPSEEK_API_KEY
- XAI_URL=$XAI_URL
- XAI_API_KEY=$XAI_API_KEY
- CHATGLM_URL=$CHATGLM_URL
- CHATGLM_API_KEY=$CHATGLM_API_KEY
- DEFAULT_INPUT_TEMPLATE=$DEFAULT_INPUT_TEMPLATE
- HUAWEI_API_KEY=$HUAWEI_API_KEY
- HUAWEI_URL=$HUAWEI_URL
chatgpt-next-web-proxy: chatgpt-next-web-proxy:
profiles: [ "proxy" ] profiles: [ "proxy" ]
@@ -36,3 +70,37 @@ services:
- ENABLE_BALANCE_QUERY=$ENABLE_BALANCE_QUERY - ENABLE_BALANCE_QUERY=$ENABLE_BALANCE_QUERY
- DISABLE_FAST_LINK=$DISABLE_FAST_LINK - DISABLE_FAST_LINK=$DISABLE_FAST_LINK
- OPENAI_SB=$OPENAI_SB - OPENAI_SB=$OPENAI_SB
- SILICONFLOW_API_KEY=$SILICONFLOW_API_KEY
- SILICONFLOW_URL=$SILICONFLOW_URL
- AZURE_URL=$AZURE_URL
- AZURE_API_KEY=$AZURE_API_KEY
- AZURE_API_VERSION=$AZURE_API_VERSION
- GOOGLE_URL=$GOOGLE_URL
- GTM_ID=$GTM_ID
- ANTHROPIC_URL=$ANTHROPIC_URL
- ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY
- ANTHROPIC_API_VERSION=$ANTHROPIC_API_VERSION
- BAIDU_URL=$BAIDU_URL
- BAIDU_API_KEY=$BAIDU_API_KEY
- BAIDU_SECRET_KEY=$BAIDU_SECRET_KEY
- BYTEDANCE_URL=$BYTEDANCE_URL
- BYTEDANCE_API_KEY=$BYTEDANCE_API_KEY
- ALIBABA_URL=$ALIBABA_URL
- ALIBABA_API_KEY=$ALIBABA_API_KEY
- TENCENT_URL=$TENCENT_URL
- TENCENT_SECRET_KEY=$TENCENT_SECRET_KEY
- TENCENT_SECRET_ID=$TENCENT_SECRET_ID
- MOONSHOT_URL=$MOONSHOT_URL
- MOONSHOT_API_KEY=$MOONSHOT_API_KEY
- IFLYTEK_URL=$IFLYTEK_URL
- IFLYTEK_API_KEY=$IFLYTEK_API_KEY
- IFLYTEK_API_SECRET=$IFLYTEK_API_SECRET
- DEEPSEEK_URL=$DEEPSEEK_URL
- DEEPSEEK_API_KEY=$DEEPSEEK_API_KEY
- XAI_URL=$XAI_URL
- XAI_API_KEY=$XAI_API_KEY
- CHATGLM_URL=$CHATGLM_URL
- CHATGLM_API_KEY=$CHATGLM_API_KEY
- DEFAULT_INPUT_TEMPLATE=$DEFAULT_INPUT_TEMPLATE
- HUAWEI_API_KEY=$HUAWEI_API_KEY
- HUAWEI_URL=$HUAWEI_URL

View File

@@ -49,7 +49,7 @@
"rehype-highlight": "^6.0.0", "rehype-highlight": "^6.0.0",
"rehype-katex": "^6.0.3", "rehype-katex": "^6.0.3",
"remark-breaks": "^3.0.2", "remark-breaks": "^3.0.2",
"remark-gfm": "^4.0.1", "remark-gfm": "^3.0.1",
"remark-math": "^5.1.1", "remark-math": "^5.1.1",
"rt-client": "https://github.com/Azure-Samples/aoai-realtime-audio-sdk/releases/download/js/v0.5.0/rt-client-0.5.0.tgz", "rt-client": "https://github.com/Azure-Samples/aoai-realtime-audio-sdk/releases/download/js/v0.5.0/rt-client-0.5.0.tgz",
"sass": "^1.59.2", "sass": "^1.59.2",

View File

@@ -9,7 +9,7 @@
}, },
"package": { "package": {
"productName": "NextChat", "productName": "NextChat",
"version": "2.15.8" "version": "2.16.1"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {

604
yarn.lock
View File

@@ -2358,13 +2358,6 @@
dependencies: dependencies:
"@types/unist" "*" "@types/unist" "*"
"@types/mdast@^4.0.0":
version "4.0.4"
resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-4.0.4.tgz#7ccf72edd2f1aa7dd3437e180c64373585804dd6"
integrity sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==
dependencies:
"@types/unist" "*"
"@types/ms@*": "@types/ms@*":
version "0.7.31" version "0.7.31"
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197"
@@ -2435,11 +2428,6 @@
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==
"@types/unist@^3.0.0":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-3.0.3.tgz#acaab0f919ce69cce629c2d4ed2eb4adc1b6c20c"
integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==
"@types/use-sync-external-store@^0.0.3": "@types/use-sync-external-store@^0.0.3":
version "0.0.3" version "0.0.3"
resolved "https://registry.npmmirror.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43" resolved "https://registry.npmmirror.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43"
@@ -3895,13 +3883,6 @@ detect-newline@^3.0.0:
resolved "https://registry.npmmirror.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" resolved "https://registry.npmmirror.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
devlop@^1.0.0, devlop@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018"
integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==
dependencies:
dequal "^2.0.0"
diff-sequences@^29.6.3: diff-sequences@^29.6.3:
version "29.6.3" version "29.6.3"
resolved "https://registry.npmmirror.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" resolved "https://registry.npmmirror.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921"
@@ -6181,15 +6162,15 @@ mdast-util-definitions@^5.0.0:
"@types/unist" "^2.0.0" "@types/unist" "^2.0.0"
unist-util-visit "^4.0.0" unist-util-visit "^4.0.0"
mdast-util-find-and-replace@^3.0.0: mdast-util-find-and-replace@^2.0.0:
version "3.0.2" version "2.2.2"
resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz#70a3174c894e14df722abf43bc250cbae44b11df" resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.2.tgz#cc2b774f7f3630da4bd592f61966fecade8b99b1"
integrity sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg== integrity sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
escape-string-regexp "^5.0.0" escape-string-regexp "^5.0.0"
unist-util-is "^6.0.0" unist-util-is "^5.0.0"
unist-util-visit-parents "^6.0.0" unist-util-visit-parents "^5.0.0"
mdast-util-from-markdown@^1.0.0, mdast-util-from-markdown@^1.3.0: mdast-util-from-markdown@^1.0.0, mdast-util-from-markdown@^1.3.0:
version "1.3.1" version "1.3.1"
@@ -6209,88 +6190,63 @@ mdast-util-from-markdown@^1.0.0, mdast-util-from-markdown@^1.3.0:
unist-util-stringify-position "^3.0.0" unist-util-stringify-position "^3.0.0"
uvu "^0.5.0" uvu "^0.5.0"
mdast-util-from-markdown@^2.0.0: mdast-util-gfm-autolink-literal@^1.0.0:
version "2.0.2" version "1.0.3"
resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz#4850390ca7cf17413a9b9a0fbefcd1bc0eb4160a" resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-1.0.3.tgz#67a13abe813d7eba350453a5333ae1bc0ec05c06"
integrity sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA== integrity sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
"@types/unist" "^3.0.0"
decode-named-character-reference "^1.0.0"
devlop "^1.0.0"
mdast-util-to-string "^4.0.0"
micromark "^4.0.0"
micromark-util-decode-numeric-character-reference "^2.0.0"
micromark-util-decode-string "^2.0.0"
micromark-util-normalize-identifier "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
unist-util-stringify-position "^4.0.0"
mdast-util-gfm-autolink-literal@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz#abd557630337bd30a6d5a4bd8252e1c2dc0875d5"
integrity sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==
dependencies:
"@types/mdast" "^4.0.0"
ccount "^2.0.0" ccount "^2.0.0"
devlop "^1.0.0" mdast-util-find-and-replace "^2.0.0"
mdast-util-find-and-replace "^3.0.0" micromark-util-character "^1.0.0"
micromark-util-character "^2.0.0"
mdast-util-gfm-footnote@^2.0.0: mdast-util-gfm-footnote@^1.0.0:
version "2.1.0" version "1.0.2"
resolved "https://registry.yarnpkg.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz#7778e9d9ca3df7238cc2bd3fa2b1bf6a65b19403" resolved "https://registry.yarnpkg.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-1.0.2.tgz#ce5e49b639c44de68d5bf5399877a14d5020424e"
integrity sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ== integrity sha512-56D19KOGbE00uKVj3sgIykpwKL179QsVFwx/DCW0u/0+URsryacI4MAdNJl0dh+u2PSsD9FtxPFbHCzJ78qJFQ==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
devlop "^1.1.0" mdast-util-to-markdown "^1.3.0"
mdast-util-from-markdown "^2.0.0" micromark-util-normalize-identifier "^1.0.0"
mdast-util-to-markdown "^2.0.0"
micromark-util-normalize-identifier "^2.0.0"
mdast-util-gfm-strikethrough@^2.0.0: mdast-util-gfm-strikethrough@^1.0.0:
version "2.0.0" version "1.0.3"
resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz#d44ef9e8ed283ac8c1165ab0d0dfd058c2764c16" resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-1.0.3.tgz#5470eb105b483f7746b8805b9b989342085795b7"
integrity sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg== integrity sha512-DAPhYzTYrRcXdMjUtUjKvW9z/FNAMTdU0ORyMcbmkwYNbKocDpdk+PX1L1dQgOID/+vVs1uBQ7ElrBQfZ0cuiQ==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
mdast-util-from-markdown "^2.0.0" mdast-util-to-markdown "^1.3.0"
mdast-util-to-markdown "^2.0.0"
mdast-util-gfm-table@^2.0.0: mdast-util-gfm-table@^1.0.0:
version "2.0.0" version "1.0.7"
resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz#7a435fb6223a72b0862b33afbd712b6dae878d38" resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-1.0.7.tgz#3552153a146379f0f9c4c1101b071d70bbed1a46"
integrity sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg== integrity sha512-jjcpmNnQvrmN5Vx7y7lEc2iIOEytYv7rTvu+MeyAsSHTASGCCRA79Igg2uKssgOs1i1po8s3plW0sTu1wkkLGg==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
devlop "^1.0.0"
markdown-table "^3.0.0" markdown-table "^3.0.0"
mdast-util-from-markdown "^2.0.0" mdast-util-from-markdown "^1.0.0"
mdast-util-to-markdown "^2.0.0" mdast-util-to-markdown "^1.3.0"
mdast-util-gfm-task-list-item@^2.0.0: mdast-util-gfm-task-list-item@^1.0.0:
version "2.0.0" version "1.0.2"
resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz#e68095d2f8a4303ef24094ab642e1047b991a936" resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-1.0.2.tgz#b280fcf3b7be6fd0cc012bbe67a59831eb34097b"
integrity sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ== integrity sha512-PFTA1gzfp1B1UaiJVyhJZA1rm0+Tzn690frc/L8vNX1Jop4STZgOE6bxUhnzdVSB+vm2GU1tIsuQcA9bxTQpMQ==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
devlop "^1.0.0" mdast-util-to-markdown "^1.3.0"
mdast-util-from-markdown "^2.0.0"
mdast-util-to-markdown "^2.0.0"
mdast-util-gfm@^3.0.0: mdast-util-gfm@^2.0.0:
version "3.1.0" version "2.0.2"
resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz#2cdf63b92c2a331406b0fb0db4c077c1b0331751" resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-2.0.2.tgz#e92f4d8717d74bdba6de57ed21cc8b9552e2d0b6"
integrity sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ== integrity sha512-qvZ608nBppZ4icQlhQQIAdc6S3Ffj9RGmzwUKUWuEICFnd1LVkN3EktF7ZHAgfcEdvZB5owU9tQgt99e2TlLjg==
dependencies: dependencies:
mdast-util-from-markdown "^2.0.0" mdast-util-from-markdown "^1.0.0"
mdast-util-gfm-autolink-literal "^2.0.0" mdast-util-gfm-autolink-literal "^1.0.0"
mdast-util-gfm-footnote "^2.0.0" mdast-util-gfm-footnote "^1.0.0"
mdast-util-gfm-strikethrough "^2.0.0" mdast-util-gfm-strikethrough "^1.0.0"
mdast-util-gfm-table "^2.0.0" mdast-util-gfm-table "^1.0.0"
mdast-util-gfm-task-list-item "^2.0.0" mdast-util-gfm-task-list-item "^1.0.0"
mdast-util-to-markdown "^2.0.0" mdast-util-to-markdown "^1.0.0"
mdast-util-math@^2.0.0: mdast-util-math@^2.0.0:
version "2.0.2" version "2.0.2"
@@ -6309,14 +6265,6 @@ mdast-util-phrasing@^3.0.0:
"@types/mdast" "^3.0.0" "@types/mdast" "^3.0.0"
unist-util-is "^5.0.0" unist-util-is "^5.0.0"
mdast-util-phrasing@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz#7cc0a8dec30eaf04b7b1a9661a92adb3382aa6e3"
integrity sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==
dependencies:
"@types/mdast" "^4.0.0"
unist-util-is "^6.0.0"
mdast-util-to-hast@^12.1.0: mdast-util-to-hast@^12.1.0:
version "12.3.0" version "12.3.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz#045d2825fb04374e59970f5b3f279b5700f6fb49" resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz#045d2825fb04374e59970f5b3f279b5700f6fb49"
@@ -6331,7 +6279,7 @@ mdast-util-to-hast@^12.1.0:
unist-util-position "^4.0.0" unist-util-position "^4.0.0"
unist-util-visit "^4.0.0" unist-util-visit "^4.0.0"
mdast-util-to-markdown@^1.3.0: mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0:
version "1.5.0" version "1.5.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6" resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6"
integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A== integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==
@@ -6345,21 +6293,6 @@ mdast-util-to-markdown@^1.3.0:
unist-util-visit "^4.0.0" unist-util-visit "^4.0.0"
zwitch "^2.0.0" zwitch "^2.0.0"
mdast-util-to-markdown@^2.0.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz#f910ffe60897f04bb4b7e7ee434486f76288361b"
integrity sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==
dependencies:
"@types/mdast" "^4.0.0"
"@types/unist" "^3.0.0"
longest-streak "^3.0.0"
mdast-util-phrasing "^4.0.0"
mdast-util-to-string "^4.0.0"
micromark-util-classify-character "^2.0.0"
micromark-util-decode-string "^2.0.0"
unist-util-visit "^5.0.0"
zwitch "^2.0.0"
mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0:
version "3.1.1" version "3.1.1"
resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.1.1.tgz#db859050d79d48cf9896d294de06f3ede7474d16" resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.1.1.tgz#db859050d79d48cf9896d294de06f3ede7474d16"
@@ -6367,13 +6300,6 @@ mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0:
dependencies: dependencies:
"@types/mdast" "^3.0.0" "@types/mdast" "^3.0.0"
mdast-util-to-string@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz#7a5121475556a04e7eddeb67b264aae79d312814"
integrity sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==
dependencies:
"@types/mdast" "^4.0.0"
mdn-data@2.0.14: mdn-data@2.0.14:
version "2.0.14" version "2.0.14"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
@@ -6425,7 +6351,7 @@ mermaid@^10.6.1:
uuid "^9.0.0" uuid "^9.0.0"
web-worker "^1.2.0" web-worker "^1.2.0"
micromark-core-commonmark@^1.0.1: micromark-core-commonmark@^1.0.0, micromark-core-commonmark@^1.0.1:
version "1.0.6" version "1.0.6"
resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-1.0.6.tgz#edff4c72e5993d93724a3c206970f5a15b0585ad" resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-1.0.6.tgz#edff4c72e5993d93724a3c206970f5a15b0585ad"
integrity sha512-K+PkJTxqjFfSNkfAhp4GB+cZPfQd6dxtTXnf+RjZOV7T4EEXnvgzOcnp+eSTmpGk9d1S9sL6/lqrgSNn/s0HZA== integrity sha512-K+PkJTxqjFfSNkfAhp4GB+cZPfQd6dxtTXnf+RjZOV7T4EEXnvgzOcnp+eSTmpGk9d1S9sL6/lqrgSNn/s0HZA==
@@ -6447,106 +6373,85 @@ micromark-core-commonmark@^1.0.1:
micromark-util-types "^1.0.1" micromark-util-types "^1.0.1"
uvu "^0.5.0" uvu "^0.5.0"
micromark-core-commonmark@^2.0.0: micromark-extension-gfm-autolink-literal@^1.0.0:
version "2.0.3" version "1.0.3"
resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz#c691630e485021a68cf28dbc2b2ca27ebf678cd4" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.3.tgz#dc589f9c37eaff31a175bab49f12290edcf96058"
integrity sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg== integrity sha512-i3dmvU0htawfWED8aHMMAzAVp/F0Z+0bPh3YrbTPPL1v4YAlCZpy5rBO5p0LPYiZo0zFVkoYh7vDU7yQSiCMjg==
dependencies: dependencies:
decode-named-character-reference "^1.0.0" micromark-util-character "^1.0.0"
devlop "^1.0.0" micromark-util-sanitize-uri "^1.0.0"
micromark-factory-destination "^2.0.0" micromark-util-symbol "^1.0.0"
micromark-factory-label "^2.0.0" micromark-util-types "^1.0.0"
micromark-factory-space "^2.0.0" uvu "^0.5.0"
micromark-factory-title "^2.0.0"
micromark-factory-whitespace "^2.0.0"
micromark-util-character "^2.0.0"
micromark-util-chunked "^2.0.0"
micromark-util-classify-character "^2.0.0"
micromark-util-html-tag-name "^2.0.0"
micromark-util-normalize-identifier "^2.0.0"
micromark-util-resolve-all "^2.0.0"
micromark-util-subtokenize "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-extension-gfm-autolink-literal@^2.0.0: micromark-extension-gfm-footnote@^1.0.0:
version "2.1.0" version "1.0.4"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz#6286aee9686c4462c1e3552a9d505feddceeb935" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-1.0.4.tgz#cbfd8873b983e820c494498c6dac0105920818d5"
integrity sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw== integrity sha512-E/fmPmDqLiMUP8mLJ8NbJWJ4bTw6tS+FEQS8CcuDtZpILuOb2kjLqPEeAePF1djXROHXChM/wPJw0iS4kHCcIg==
dependencies: dependencies:
micromark-util-character "^2.0.0" micromark-core-commonmark "^1.0.0"
micromark-util-sanitize-uri "^2.0.0" micromark-factory-space "^1.0.0"
micromark-util-symbol "^2.0.0" micromark-util-character "^1.0.0"
micromark-util-types "^2.0.0" micromark-util-normalize-identifier "^1.0.0"
micromark-util-sanitize-uri "^1.0.0"
micromark-util-symbol "^1.0.0"
micromark-util-types "^1.0.0"
uvu "^0.5.0"
micromark-extension-gfm-footnote@^2.0.0: micromark-extension-gfm-strikethrough@^1.0.0:
version "2.1.0" version "1.0.4"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz#4dab56d4e398b9853f6fe4efac4fc9361f3e0750" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.4.tgz#162232c284ffbedd8c74e59c1525bda217295e18"
integrity sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw== integrity sha512-/vjHU/lalmjZCT5xt7CcHVJGq8sYRm80z24qAKXzaHzem/xsDYb2yLL+NNVbYvmpLx3O7SYPuGL5pzusL9CLIQ==
dependencies: dependencies:
devlop "^1.0.0" micromark-util-chunked "^1.0.0"
micromark-core-commonmark "^2.0.0" micromark-util-classify-character "^1.0.0"
micromark-factory-space "^2.0.0" micromark-util-resolve-all "^1.0.0"
micromark-util-character "^2.0.0" micromark-util-symbol "^1.0.0"
micromark-util-normalize-identifier "^2.0.0" micromark-util-types "^1.0.0"
micromark-util-sanitize-uri "^2.0.0" uvu "^0.5.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-extension-gfm-strikethrough@^2.0.0: micromark-extension-gfm-table@^1.0.0:
version "2.1.0" version "1.0.5"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz#86106df8b3a692b5f6a92280d3879be6be46d923" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.5.tgz#7b708b728f8dc4d95d486b9e7a2262f9cddbcbb4"
integrity sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw== integrity sha512-xAZ8J1X9W9K3JTJTUL7G6wSKhp2ZYHrFk5qJgY/4B33scJzE2kpfRL6oiw/veJTbt7jiM/1rngLlOKPWr1G+vg==
dependencies: dependencies:
devlop "^1.0.0" micromark-factory-space "^1.0.0"
micromark-util-chunked "^2.0.0" micromark-util-character "^1.0.0"
micromark-util-classify-character "^2.0.0" micromark-util-symbol "^1.0.0"
micromark-util-resolve-all "^2.0.0" micromark-util-types "^1.0.0"
micromark-util-symbol "^2.0.0" uvu "^0.5.0"
micromark-util-types "^2.0.0"
micromark-extension-gfm-table@^2.0.0: micromark-extension-gfm-tagfilter@^1.0.0:
version "2.1.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz#fac70bcbf51fe65f5f44033118d39be8a9b5940b" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-1.0.1.tgz#fb2e303f7daf616db428bb6a26e18fda14a90a4d"
integrity sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg== integrity sha512-Ty6psLAcAjboRa/UKUbbUcwjVAv5plxmpUTy2XC/3nJFL37eHej8jrHrRzkqcpipJliuBH30DTs7+3wqNcQUVA==
dependencies: dependencies:
devlop "^1.0.0" micromark-util-types "^1.0.0"
micromark-factory-space "^2.0.0"
micromark-util-character "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-extension-gfm-tagfilter@^2.0.0: micromark-extension-gfm-task-list-item@^1.0.0:
version "2.0.0" version "1.0.3"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz#f26d8a7807b5985fba13cf61465b58ca5ff7dc57" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.3.tgz#7683641df5d4a09795f353574d7f7f66e47b7fc4"
integrity sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg== integrity sha512-PpysK2S1Q/5VXi72IIapbi/jliaiOFzv7THH4amwXeYXLq3l1uo8/2Be0Ac1rEwK20MQEsGH2ltAZLNY2KI/0Q==
dependencies: dependencies:
micromark-util-types "^2.0.0" micromark-factory-space "^1.0.0"
micromark-util-character "^1.0.0"
micromark-util-symbol "^1.0.0"
micromark-util-types "^1.0.0"
uvu "^0.5.0"
micromark-extension-gfm-task-list-item@^2.0.0: micromark-extension-gfm@^2.0.0:
version "2.1.0" version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz#bcc34d805639829990ec175c3eea12bb5b781f2c" resolved "https://registry.yarnpkg.com/micromark-extension-gfm/-/micromark-extension-gfm-2.0.1.tgz#40f3209216127a96297c54c67f5edc7ef2d1a2a2"
integrity sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw== integrity sha512-p2sGjajLa0iYiGQdT0oelahRYtMWvLjy8J9LOCxzIQsllMCGLbsLW+Nc+N4vi02jcRJvedVJ68cjelKIO6bpDA==
dependencies: dependencies:
devlop "^1.0.0" micromark-extension-gfm-autolink-literal "^1.0.0"
micromark-factory-space "^2.0.0" micromark-extension-gfm-footnote "^1.0.0"
micromark-util-character "^2.0.0" micromark-extension-gfm-strikethrough "^1.0.0"
micromark-util-symbol "^2.0.0" micromark-extension-gfm-table "^1.0.0"
micromark-util-types "^2.0.0" micromark-extension-gfm-tagfilter "^1.0.0"
micromark-extension-gfm-task-list-item "^1.0.0"
micromark-extension-gfm@^3.0.0: micromark-util-combine-extensions "^1.0.0"
version "3.0.0" micromark-util-types "^1.0.0"
resolved "https://registry.yarnpkg.com/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz#3e13376ab95dd7a5cfd0e29560dfe999657b3c5b"
integrity sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==
dependencies:
micromark-extension-gfm-autolink-literal "^2.0.0"
micromark-extension-gfm-footnote "^2.0.0"
micromark-extension-gfm-strikethrough "^2.0.0"
micromark-extension-gfm-table "^2.0.0"
micromark-extension-gfm-tagfilter "^2.0.0"
micromark-extension-gfm-task-list-item "^2.0.0"
micromark-util-combine-extensions "^2.0.0"
micromark-util-types "^2.0.0"
micromark-extension-math@^2.0.0: micromark-extension-math@^2.0.0:
version "2.0.2" version "2.0.2"
@@ -6570,15 +6475,6 @@ micromark-factory-destination@^1.0.0:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-factory-destination@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz#8fef8e0f7081f0474fbdd92deb50c990a0264639"
integrity sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==
dependencies:
micromark-util-character "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-factory-label@^1.0.0: micromark-factory-label@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-1.0.2.tgz#6be2551fa8d13542fcbbac478258fb7a20047137" resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-1.0.2.tgz#6be2551fa8d13542fcbbac478258fb7a20047137"
@@ -6589,16 +6485,6 @@ micromark-factory-label@^1.0.0:
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
uvu "^0.5.0" uvu "^0.5.0"
micromark-factory-label@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz#5267efa97f1e5254efc7f20b459a38cb21058ba1"
integrity sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==
dependencies:
devlop "^1.0.0"
micromark-util-character "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-factory-space@^1.0.0: micromark-factory-space@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-1.0.0.tgz#cebff49968f2b9616c0fcb239e96685cb9497633" resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-1.0.0.tgz#cebff49968f2b9616c0fcb239e96685cb9497633"
@@ -6607,14 +6493,6 @@ micromark-factory-space@^1.0.0:
micromark-util-character "^1.0.0" micromark-util-character "^1.0.0"
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-factory-space@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz#36d0212e962b2b3121f8525fc7a3c7c029f334fc"
integrity sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==
dependencies:
micromark-util-character "^2.0.0"
micromark-util-types "^2.0.0"
micromark-factory-title@^1.0.0: micromark-factory-title@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-1.0.2.tgz#7e09287c3748ff1693930f176e1c4a328382494f" resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-1.0.2.tgz#7e09287c3748ff1693930f176e1c4a328382494f"
@@ -6626,16 +6504,6 @@ micromark-factory-title@^1.0.0:
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
uvu "^0.5.0" uvu "^0.5.0"
micromark-factory-title@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz#237e4aa5d58a95863f01032d9ee9b090f1de6e94"
integrity sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==
dependencies:
micromark-factory-space "^2.0.0"
micromark-util-character "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-factory-whitespace@^1.0.0: micromark-factory-whitespace@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.0.0.tgz#e991e043ad376c1ba52f4e49858ce0794678621c" resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.0.0.tgz#e991e043ad376c1ba52f4e49858ce0794678621c"
@@ -6646,16 +6514,6 @@ micromark-factory-whitespace@^1.0.0:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-factory-whitespace@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz#06b26b2983c4d27bfcc657b33e25134d4868b0b1"
integrity sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==
dependencies:
micromark-factory-space "^2.0.0"
micromark-util-character "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-util-character@^1.0.0: micromark-util-character@^1.0.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-1.1.0.tgz#d97c54d5742a0d9611a68ca0cd4124331f264d86" resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-1.1.0.tgz#d97c54d5742a0d9611a68ca0cd4124331f264d86"
@@ -6664,14 +6522,6 @@ micromark-util-character@^1.0.0:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-util-character@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-2.1.1.tgz#2f987831a40d4c510ac261e89852c4e9703ccda6"
integrity sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==
dependencies:
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-util-chunked@^1.0.0: micromark-util-chunked@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-1.0.0.tgz#5b40d83f3d53b84c4c6bce30ed4257e9a4c79d06" resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-1.0.0.tgz#5b40d83f3d53b84c4c6bce30ed4257e9a4c79d06"
@@ -6679,13 +6529,6 @@ micromark-util-chunked@^1.0.0:
dependencies: dependencies:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-chunked@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz#47fbcd93471a3fccab86cff03847fc3552db1051"
integrity sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==
dependencies:
micromark-util-symbol "^2.0.0"
micromark-util-classify-character@^1.0.0: micromark-util-classify-character@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-1.0.0.tgz#cbd7b447cb79ee6997dd274a46fc4eb806460a20" resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-1.0.0.tgz#cbd7b447cb79ee6997dd274a46fc4eb806460a20"
@@ -6695,15 +6538,6 @@ micromark-util-classify-character@^1.0.0:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-util-classify-character@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz#d399faf9c45ca14c8b4be98b1ea481bced87b629"
integrity sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==
dependencies:
micromark-util-character "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-util-combine-extensions@^1.0.0: micromark-util-combine-extensions@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.0.0.tgz#91418e1e74fb893e3628b8d496085639124ff3d5" resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.0.0.tgz#91418e1e74fb893e3628b8d496085639124ff3d5"
@@ -6712,14 +6546,6 @@ micromark-util-combine-extensions@^1.0.0:
micromark-util-chunked "^1.0.0" micromark-util-chunked "^1.0.0"
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-util-combine-extensions@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz#2a0f490ab08bff5cc2fd5eec6dd0ca04f89b30a9"
integrity sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==
dependencies:
micromark-util-chunked "^2.0.0"
micromark-util-types "^2.0.0"
micromark-util-decode-numeric-character-reference@^1.0.0: micromark-util-decode-numeric-character-reference@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.0.0.tgz#dcc85f13b5bd93ff8d2868c3dba28039d490b946" resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.0.0.tgz#dcc85f13b5bd93ff8d2868c3dba28039d490b946"
@@ -6727,13 +6553,6 @@ micromark-util-decode-numeric-character-reference@^1.0.0:
dependencies: dependencies:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-decode-numeric-character-reference@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz#fcf15b660979388e6f118cdb6bf7d79d73d26fe5"
integrity sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==
dependencies:
micromark-util-symbol "^2.0.0"
micromark-util-decode-string@^1.0.0: micromark-util-decode-string@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-1.0.2.tgz#942252ab7a76dec2dbf089cc32505ee2bc3acf02" resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-1.0.2.tgz#942252ab7a76dec2dbf089cc32505ee2bc3acf02"
@@ -6744,36 +6563,16 @@ micromark-util-decode-string@^1.0.0:
micromark-util-decode-numeric-character-reference "^1.0.0" micromark-util-decode-numeric-character-reference "^1.0.0"
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-decode-string@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz#6cb99582e5d271e84efca8e61a807994d7161eb2"
integrity sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==
dependencies:
decode-named-character-reference "^1.0.0"
micromark-util-character "^2.0.0"
micromark-util-decode-numeric-character-reference "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-encode@^1.0.0: micromark-util-encode@^1.0.0:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-1.0.1.tgz#2c1c22d3800870ad770ece5686ebca5920353383" resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-1.0.1.tgz#2c1c22d3800870ad770ece5686ebca5920353383"
integrity sha512-U2s5YdnAYexjKDel31SVMPbfi+eF8y1U4pfiRW/Y8EFVCy/vgxk/2wWTxzcqE71LHtCuCzlBDRU2a5CQ5j+mQA== integrity sha512-U2s5YdnAYexjKDel31SVMPbfi+eF8y1U4pfiRW/Y8EFVCy/vgxk/2wWTxzcqE71LHtCuCzlBDRU2a5CQ5j+mQA==
micromark-util-encode@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz#0d51d1c095551cfaac368326963cf55f15f540b8"
integrity sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==
micromark-util-html-tag-name@^1.0.0: micromark-util-html-tag-name@^1.0.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.1.0.tgz#eb227118befd51f48858e879b7a419fc0df20497" resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.1.0.tgz#eb227118befd51f48858e879b7a419fc0df20497"
integrity sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA== integrity sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA==
micromark-util-html-tag-name@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz#e40403096481986b41c106627f98f72d4d10b825"
integrity sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==
micromark-util-normalize-identifier@^1.0.0: micromark-util-normalize-identifier@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.0.0.tgz#4a3539cb8db954bbec5203952bfe8cedadae7828" resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.0.0.tgz#4a3539cb8db954bbec5203952bfe8cedadae7828"
@@ -6781,13 +6580,6 @@ micromark-util-normalize-identifier@^1.0.0:
dependencies: dependencies:
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-normalize-identifier@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz#c30d77b2e832acf6526f8bf1aa47bc9c9438c16d"
integrity sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==
dependencies:
micromark-util-symbol "^2.0.0"
micromark-util-resolve-all@^1.0.0: micromark-util-resolve-all@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.0.0.tgz#a7c363f49a0162e931960c44f3127ab58f031d88" resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.0.0.tgz#a7c363f49a0162e931960c44f3127ab58f031d88"
@@ -6795,13 +6587,6 @@ micromark-util-resolve-all@^1.0.0:
dependencies: dependencies:
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
micromark-util-resolve-all@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz#e1a2d62cdd237230a2ae11839027b19381e31e8b"
integrity sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==
dependencies:
micromark-util-types "^2.0.0"
micromark-util-sanitize-uri@^1.0.0, micromark-util-sanitize-uri@^1.1.0: micromark-util-sanitize-uri@^1.0.0, micromark-util-sanitize-uri@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.1.0.tgz#f12e07a85106b902645e0364feb07cf253a85aee" resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.1.0.tgz#f12e07a85106b902645e0364feb07cf253a85aee"
@@ -6811,15 +6596,6 @@ micromark-util-sanitize-uri@^1.0.0, micromark-util-sanitize-uri@^1.1.0:
micromark-util-encode "^1.0.0" micromark-util-encode "^1.0.0"
micromark-util-symbol "^1.0.0" micromark-util-symbol "^1.0.0"
micromark-util-sanitize-uri@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz#ab89789b818a58752b73d6b55238621b7faa8fd7"
integrity sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==
dependencies:
micromark-util-character "^2.0.0"
micromark-util-encode "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-subtokenize@^1.0.0: micromark-util-subtokenize@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.2.tgz#ff6f1af6ac836f8bfdbf9b02f40431760ad89105" resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.2.tgz#ff6f1af6ac836f8bfdbf9b02f40431760ad89105"
@@ -6830,36 +6606,16 @@ micromark-util-subtokenize@^1.0.0:
micromark-util-types "^1.0.0" micromark-util-types "^1.0.0"
uvu "^0.5.0" uvu "^0.5.0"
micromark-util-subtokenize@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz#d8ade5ba0f3197a1cf6a2999fbbfe6357a1a19ee"
integrity sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==
dependencies:
devlop "^1.0.0"
micromark-util-chunked "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromark-util-symbol@^1.0.0: micromark-util-symbol@^1.0.0:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-1.0.1.tgz#b90344db62042ce454f351cf0bebcc0a6da4920e" resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-1.0.1.tgz#b90344db62042ce454f351cf0bebcc0a6da4920e"
integrity sha512-oKDEMK2u5qqAptasDAwWDXq0tG9AssVwAx3E9bBF3t/shRIGsWIRG+cGafs2p/SnDSOecnt6hZPCE2o6lHfFmQ== integrity sha512-oKDEMK2u5qqAptasDAwWDXq0tG9AssVwAx3E9bBF3t/shRIGsWIRG+cGafs2p/SnDSOecnt6hZPCE2o6lHfFmQ==
micromark-util-symbol@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz#e5da494e8eb2b071a0d08fb34f6cefec6c0a19b8"
integrity sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==
micromark-util-types@^1.0.0, micromark-util-types@^1.0.1: micromark-util-types@^1.0.0, micromark-util-types@^1.0.1:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.0.2.tgz#f4220fdb319205812f99c40f8c87a9be83eded20" resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.0.2.tgz#f4220fdb319205812f99c40f8c87a9be83eded20"
integrity sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w== integrity sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w==
micromark-util-types@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-2.0.2.tgz#f00225f5f5a0ebc3254f96c36b6605c4b393908e"
integrity sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==
micromark@^3.0.0: micromark@^3.0.0:
version "3.1.0" version "3.1.0"
resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.1.0.tgz#eeba0fe0ac1c9aaef675157b52c166f125e89f62" resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.1.0.tgz#eeba0fe0ac1c9aaef675157b52c166f125e89f62"
@@ -6883,29 +6639,6 @@ micromark@^3.0.0:
micromark-util-types "^1.0.1" micromark-util-types "^1.0.1"
uvu "^0.5.0" uvu "^0.5.0"
micromark@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/micromark/-/micromark-4.0.2.tgz#91395a3e1884a198e62116e33c9c568e39936fdb"
integrity sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==
dependencies:
"@types/debug" "^4.0.0"
debug "^4.0.0"
decode-named-character-reference "^1.0.0"
devlop "^1.0.0"
micromark-core-commonmark "^2.0.0"
micromark-factory-space "^2.0.0"
micromark-util-character "^2.0.0"
micromark-util-chunked "^2.0.0"
micromark-util-combine-extensions "^2.0.0"
micromark-util-decode-numeric-character-reference "^2.0.0"
micromark-util-encode "^2.0.0"
micromark-util-normalize-identifier "^2.0.0"
micromark-util-resolve-all "^2.0.0"
micromark-util-sanitize-uri "^2.0.0"
micromark-util-subtokenize "^2.0.0"
micromark-util-symbol "^2.0.0"
micromark-util-types "^2.0.0"
micromatch@^4.0.4, micromatch@^4.0.5: micromatch@^4.0.4, micromatch@^4.0.5:
version "4.0.5" version "4.0.5"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"
@@ -7629,17 +7362,15 @@ remark-breaks@^3.0.2:
unified "^10.0.0" unified "^10.0.0"
unist-util-visit "^4.0.0" unist-util-visit "^4.0.0"
remark-gfm@^4.0.1: remark-gfm@^3.0.1:
version "4.0.1" version "3.0.1"
resolved "https://registry.yarnpkg.com/remark-gfm/-/remark-gfm-4.0.1.tgz#33227b2a74397670d357bf05c098eaf8513f0d6b" resolved "https://registry.yarnpkg.com/remark-gfm/-/remark-gfm-3.0.1.tgz#0b180f095e3036545e9dddac0e8df3fa5cfee54f"
integrity sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg== integrity sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==
dependencies: dependencies:
"@types/mdast" "^4.0.0" "@types/mdast" "^3.0.0"
mdast-util-gfm "^3.0.0" mdast-util-gfm "^2.0.0"
micromark-extension-gfm "^3.0.0" micromark-extension-gfm "^2.0.0"
remark-parse "^11.0.0" unified "^10.0.0"
remark-stringify "^11.0.0"
unified "^11.0.0"
remark-math@^5.1.1: remark-math@^5.1.1:
version "5.1.1" version "5.1.1"
@@ -7660,16 +7391,6 @@ remark-parse@^10.0.0:
mdast-util-from-markdown "^1.0.0" mdast-util-from-markdown "^1.0.0"
unified "^10.0.0" unified "^10.0.0"
remark-parse@^11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-11.0.0.tgz#aa60743fcb37ebf6b069204eb4da304e40db45a1"
integrity sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==
dependencies:
"@types/mdast" "^4.0.0"
mdast-util-from-markdown "^2.0.0"
micromark-util-types "^2.0.0"
unified "^11.0.0"
remark-rehype@^10.0.0: remark-rehype@^10.0.0:
version "10.1.0" version "10.1.0"
resolved "https://registry.yarnpkg.com/remark-rehype/-/remark-rehype-10.1.0.tgz#32dc99d2034c27ecaf2e0150d22a6dcccd9a6279" resolved "https://registry.yarnpkg.com/remark-rehype/-/remark-rehype-10.1.0.tgz#32dc99d2034c27ecaf2e0150d22a6dcccd9a6279"
@@ -7680,15 +7401,6 @@ remark-rehype@^10.0.0:
mdast-util-to-hast "^12.1.0" mdast-util-to-hast "^12.1.0"
unified "^10.0.0" unified "^10.0.0"
remark-stringify@^11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-11.0.0.tgz#4c5b01dd711c269df1aaae11743eb7e2e7636fd3"
integrity sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==
dependencies:
"@types/mdast" "^4.0.0"
mdast-util-to-markdown "^2.0.0"
unified "^11.0.0"
require-directory@^2.1.1: require-directory@^2.1.1:
version "2.1.1" version "2.1.1"
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
@@ -8498,19 +8210,6 @@ unified@^10.0.0:
trough "^2.0.0" trough "^2.0.0"
vfile "^5.0.0" vfile "^5.0.0"
unified@^11.0.0:
version "11.0.5"
resolved "https://registry.yarnpkg.com/unified/-/unified-11.0.5.tgz#f66677610a5c0a9ee90cab2b8d4d66037026d9e1"
integrity sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==
dependencies:
"@types/unist" "^3.0.0"
bail "^2.0.0"
devlop "^1.0.0"
extend "^3.0.0"
is-plain-obj "^4.0.0"
trough "^2.0.0"
vfile "^6.0.0"
unist-util-find-after@^4.0.0: unist-util-find-after@^4.0.0:
version "4.0.1" version "4.0.1"
resolved "https://registry.yarnpkg.com/unist-util-find-after/-/unist-util-find-after-4.0.1.tgz#80c69c92b0504033638ce11973f4135f2c822e2d" resolved "https://registry.yarnpkg.com/unist-util-find-after/-/unist-util-find-after-4.0.1.tgz#80c69c92b0504033638ce11973f4135f2c822e2d"
@@ -8531,13 +8230,6 @@ unist-util-is@^5.0.0:
dependencies: dependencies:
"@types/unist" "^2.0.0" "@types/unist" "^2.0.0"
unist-util-is@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-6.0.0.tgz#b775956486aff107a9ded971d996c173374be424"
integrity sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==
dependencies:
"@types/unist" "^3.0.0"
unist-util-position@^4.0.0: unist-util-position@^4.0.0:
version "4.0.4" version "4.0.4"
resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-4.0.4.tgz#93f6d8c7d6b373d9b825844645877c127455f037" resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-4.0.4.tgz#93f6d8c7d6b373d9b825844645877c127455f037"
@@ -8560,14 +8252,7 @@ unist-util-stringify-position@^3.0.0:
dependencies: dependencies:
"@types/unist" "^2.0.0" "@types/unist" "^2.0.0"
unist-util-stringify-position@^4.0.0: unist-util-visit-parents@^5.0.0, unist-util-visit-parents@^5.1.1:
version "4.0.0"
resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz#449c6e21a880e0855bf5aabadeb3a740314abac2"
integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==
dependencies:
"@types/unist" "^3.0.0"
unist-util-visit-parents@^5.1.1:
version "5.1.3" version "5.1.3"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz#b4520811b0ca34285633785045df7a8d6776cfeb" resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz#b4520811b0ca34285633785045df7a8d6776cfeb"
integrity sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg== integrity sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==
@@ -8575,14 +8260,6 @@ unist-util-visit-parents@^5.1.1:
"@types/unist" "^2.0.0" "@types/unist" "^2.0.0"
unist-util-is "^5.0.0" unist-util-is "^5.0.0"
unist-util-visit-parents@^6.0.0:
version "6.0.1"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz#4d5f85755c3b8f0dc69e21eca5d6d82d22162815"
integrity sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==
dependencies:
"@types/unist" "^3.0.0"
unist-util-is "^6.0.0"
unist-util-visit@^4.0.0: unist-util-visit@^4.0.0:
version "4.1.2" version "4.1.2"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2"
@@ -8592,15 +8269,6 @@ unist-util-visit@^4.0.0:
unist-util-is "^5.0.0" unist-util-is "^5.0.0"
unist-util-visit-parents "^5.1.1" unist-util-visit-parents "^5.1.1"
unist-util-visit@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz#a7de1f31f72ffd3519ea71814cccf5fd6a9217d6"
integrity sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==
dependencies:
"@types/unist" "^3.0.0"
unist-util-is "^6.0.0"
unist-util-visit-parents "^6.0.0"
universalify@^0.2.0: universalify@^0.2.0:
version "0.2.0" version "0.2.0"
resolved "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" resolved "https://registry.npmmirror.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
@@ -8710,14 +8378,6 @@ vfile-message@^3.0.0:
"@types/unist" "^2.0.0" "@types/unist" "^2.0.0"
unist-util-stringify-position "^3.0.0" unist-util-stringify-position "^3.0.0"
vfile-message@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-4.0.3.tgz#87b44dddd7b70f0641c2e3ed0864ba73e2ea8df4"
integrity sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==
dependencies:
"@types/unist" "^3.0.0"
unist-util-stringify-position "^4.0.0"
vfile@^5.0.0: vfile@^5.0.0:
version "5.3.7" version "5.3.7"
resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7" resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7"
@@ -8728,14 +8388,6 @@ vfile@^5.0.0:
unist-util-stringify-position "^3.0.0" unist-util-stringify-position "^3.0.0"
vfile-message "^3.0.0" vfile-message "^3.0.0"
vfile@^6.0.0:
version "6.0.3"
resolved "https://registry.yarnpkg.com/vfile/-/vfile-6.0.3.tgz#3652ab1c496531852bf55a6bac57af981ebc38ab"
integrity sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==
dependencies:
"@types/unist" "^3.0.0"
vfile-message "^4.0.0"
w3c-xmlserializer@^4.0.0: w3c-xmlserializer@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073" resolved "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073"