From 8b86ee42dfc6a6e3685b7ce133f33639e25371f0 Mon Sep 17 00:00:00 2001 From: Roj Date: Mon, 26 Feb 2024 14:48:48 +0300 Subject: [PATCH] chore: update deps --- examples/deno.ts | 2 +- scripts/dnt.ts | 10 +++++----- scripts/package.json | 2 +- src/deps.ts | 4 ++-- tests/deps.ts | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/deno.ts b/examples/deno.ts index 6f72485a..f176e27b 100644 --- a/examples/deno.ts +++ b/examples/deno.ts @@ -3,7 +3,7 @@ import { Context, session, SessionFlavor, -} from "https://deno.land/x/grammy@v1.17.1/mod.ts"; +} from "https://deno.land/x/grammy@v1.21.1/mod.ts"; import { I18n, I18nFlavor } from "../src/mod.ts"; interface SessionData { diff --git a/scripts/dnt.ts b/scripts/dnt.ts index 1e2f688e..c1e6aa97 100644 --- a/scripts/dnt.ts +++ b/scripts/dnt.ts @@ -2,10 +2,10 @@ import { dirname, fromFileUrl, join, -} from "https://deno.land/std@0.192.0/path/mod.ts"; -import { build, emptyDir } from "https://deno.land/x/dnt@0.37.0/mod.ts"; +} from "https://deno.land/std@0.217.0/path/mod.ts"; +import { build, emptyDir } from "https://deno.land/x/dnt@0.40.0/mod.ts"; -import package_ from "./package.json" assert { type: "json" }; +import package_ from "./package.json" with { type: "json" }; const version = Deno.args[0]; if (!version) { @@ -40,11 +40,11 @@ await build({ subPath: "types", peerDependency: true, }, - "https://deno.land/x/fluent@v0.0.0/bundle/mod.ts": { + "https://deno.land/x/fluent@0.0.1/bundle/mod.ts": { name: "@fluent/bundle", version: "^0.17.1", }, - "https://deno.land/x/fluent@v0.0.0/langneg/mod.ts": { + "https://deno.land/x/fluent@0.0.1/langneg/mod.ts": { name: "@fluent/langneg", version: "^0.6.2", }, diff --git a/scripts/package.json b/scripts/package.json index be265e90..0dc61e6a 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -1,6 +1,6 @@ { "name": "@grammyjs/i18n", - "description": "Internationalization middleware for grammY based on Fluent.", + "description": "Internationalization plugin for grammY based on Fluent.", "keywords": [ "bot", "bot-framework", diff --git a/src/deps.ts b/src/deps.ts index bea9286b..b91deb16 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -2,9 +2,9 @@ export { FluentBundle, FluentResource, type FluentVariable, -} from "https://deno.land/x/fluent@v0.0.0/bundle/mod.ts"; +} from "https://deno.land/x/fluent@0.0.1/bundle/mod.ts"; -export { negotiateLanguages } from "https://deno.land/x/fluent@v0.0.0/langneg/mod.ts"; +export { negotiateLanguages } from "https://deno.land/x/fluent@0.0.1/langneg/mod.ts"; export { type Context, diff --git a/tests/deps.ts b/tests/deps.ts index 2fd43d08..f4a687a6 100644 --- a/tests/deps.ts +++ b/tests/deps.ts @@ -3,8 +3,8 @@ export { assertEquals, assertNotEquals, assertStringIncludes, -} from "https://deno.land/std@0.192.0/testing/asserts.ts"; -export { join } from "https://deno.land/std@0.192.0/path/mod.ts"; +} from "https://deno.land/std@0.217.0/testing/asserts.ts"; +export { join } from "https://deno.land/std@0.217.0/path/mod.ts"; export { Bot, Context,