Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Feb 26, 2024
1 parent c268694 commit 8b86ee4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions scripts/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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/[email protected].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/[email protected].1/langneg/mod.ts": {
name: "@fluent/langneg",
version: "^0.6.2",
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].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/[email protected].1/langneg/mod.ts";

export {
type Context,
Expand Down
4 changes: 2 additions & 2 deletions tests/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8b86ee4

Please sign in to comment.