Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update deno dependencies #184

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/file/__tests__/deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { session } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { expect } from 'https://deno.land/x/[email protected].0/mod.ts';
import { expect } from 'https://deno.land/x/[email protected].2/mod.ts';
import { FileAdapter } from '../src/mod.ts';
import { fs, path } from '../src/deps.deno.ts';
import { createMessage, createBot } from '../../../libs/utils/src/mod.ts';
Expand Down
4 changes: 2 additions & 2 deletions packages/file/src/deps.deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { exists, existsSync } from 'https://deno.land/std@0.217.0/fs/mod.ts';
import { resolve } from 'https://deno.land/std@0.217.0/path/mod.ts';
import { exists, existsSync } from 'https://deno.land/std@0.224.0/fs/mod.ts';
import { resolve } from 'https://deno.land/std@0.224.0/path/mod.ts';

export const fs = {
readFile: Deno.readTextFile,
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/__tests__/deno.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MongoClient, Collection } from 'https://deno.land/x/mongo@v0.32.0/mod.ts';
import { MongoClient, Collection } from 'https://deno.land/x/mongo@v0.33.0/mod.ts';
import { expect } from 'https://deno.land/x/expect/mod.ts';
import { session } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { createBot, createMessage } from '../../../libs/utils/src/mod.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/examples/deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Bot, Context, session, SessionFlavor } from "https://lib.deno.dev/x/[email protected]/mod.ts";
import { MongoDBAdapter, ISession } from "https://deno.land/x/grammy_storages/mongodb/src/mod.ts";
import { MongoClient } from "https://deno.land/x/mongo@v0.32.0/mod.ts";
import { MongoClient } from "https://deno.land/x/mongo@v0.33.0/mod.ts";

interface SessionData {
counter: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/src/deps.deno.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { Collection } from 'https://deno.land/x/mongo@v0.32.0/mod.ts';
export { Collection } from 'https://deno.land/x/mongo@v0.33.0/mod.ts';
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
2 changes: 1 addition & 1 deletion packages/psql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Deno

```ts
import { PsqlAdapter } from "https://deno.land/x/grammy_storages/psql/src/mod.ts";
import { Client } from "https://deno.land/x/[email protected].2/mod.ts";
import { Client } from "https://deno.land/x/[email protected].3/mod.ts";
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/psql/__tests__/deno.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { session } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { expect } from 'https://deno.land/x/expect/mod.ts';
import { PsqlAdapter } from '../src/mod.ts';
import { Client } from 'https://deno.land/x/postgres@v0.17.0/mod.ts';
import { Client } from 'https://deno.land/x/postgres@v0.19.3/mod.ts';
import * as utils from '../../../libs/utils/src/mod.ts';

Deno.test('Pizza counter tests', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/psql/examples/deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Bot, Context, session, SessionFlavor } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { PsqlAdapter } from 'https://deno.land/x/grammy_storages/psql/src/mod.ts';
import { Client } from 'https://deno.land/x/postgres@v0.17.0/mod.ts';
import { Client } from 'https://deno.land/x/postgres@v0.19.3/mod.ts';

interface SessionData {
counter: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/psql/src/deps.deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Client } from 'https://deno.land/x/[email protected].2/mod.ts';
import type { Client } from 'https://deno.land/x/[email protected].3/mod.ts';
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
export type { Client } from 'https://deno.land/x/[email protected].2/mod.ts';
export type { Client } from 'https://deno.land/x/[email protected].3/mod.ts';

export function buildQueryRunner(client: Client) {
return async (text: string, args?: string[]) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Deno

```ts
import { RedisAdapter } from "https://deno.land/x/grammy_storages/redis/src/mod.ts";
import { connect } from "https://deno.land/x/redis@v0.32.1/mod.ts";
import { connect } from "https://deno.land/x/redis@v0.37.1/mod.ts";
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/__tests__/deno.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { session } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { expect } from 'https://deno.land/x/[email protected].0/mod.ts';
import { expect } from 'https://deno.land/x/[email protected].2/mod.ts';
import { RedisAdapter } from '../src/mod.ts';
import { RedisMock } from './redisMock.ts';
import { createBot, createMessage } from '../../../libs/utils/src/mod.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/examples/deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Bot, Context, session, SessionFlavor } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
import { RedisAdapter } from 'https://deno.land/x/grammy_storages/redis/src/mod.ts';
import { connect } from 'https://deno.land/x/redis@v0.31.0/mod.ts';
import { connect } from 'https://deno.land/x/redis@v0.37.1/mod.ts';

interface SessionData {
counter: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/src/deps.deno.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export type { Redis as Client, RedisConnectOptions } from 'https://deno.land/x/redis@v0.32.1/mod.ts';
export type { Redis as Client, RedisConnectOptions } from 'https://deno.land/x/redis@v0.37.1/mod.ts';
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts';
2 changes: 1 addition & 1 deletion packages/supabase/src/deps.deno.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { SupabaseClient } from 'https://esm.sh/@supabase/supabase-js@2.33.1';
export { SupabaseClient } from 'https://esm.sh/@supabase/supabase-js@2.47.10';