Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
package: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Jun 14, 2023
1 parent aa662d3 commit 1936b16
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .github/prepublish.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { walk } from 'https://deno.land/std@0.190.0/fs/walk.ts'
import { walk } from 'https://deno.land/std@0.191.0/fs/walk.ts'
import byte from 'https://deno.land/x/byte@v3.3.0/byte.ts'
import { build, stop } from 'https://deno.land/x/esbuild@v0.17.19/mod.js'
import { build, stop } from 'https://deno.land/x/esbuild@v0.18.2/mod.js'

// update module sizes

Expand Down
2 changes: 1 addition & 1 deletion benchmark/basic.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Hono } from 'https://deno.land/x/hono@v3.2.4/mod.ts'
import { Hono } from 'https://deno.land/x/hono@v3.2.5/mod.ts'
import { Application, Router } from 'https://deno.land/x/oak@v12.5.0/mod.ts'
import { Router as IttyRouter } from 'https://esm.sh/itty-router@4.0.9'
import cheetah from '../mod.ts'
Expand Down
8 changes: 4 additions & 4 deletions build.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { parse } from 'https://deno.land/std@0.190.0/flags/mod.ts'
import { brightGreen, brightRed, brightYellow, gray } from 'https://deno.land/std@0.190.0/fmt/colors.ts'
import { join } from 'https://deno.land/std@0.190.0/path/mod.ts'
import { parse } from 'https://deno.land/std@0.191.0/flags/mod.ts'
import { brightGreen, brightRed, brightYellow, gray } from 'https://deno.land/std@0.191.0/fmt/colors.ts'
import { join } from 'https://deno.land/std@0.191.0/path/mod.ts'
import byte from 'https://deno.land/x/byte@v3.3.0/byte.ts'
import * as esbuild from 'https://deno.land/x/esbuild@v0.17.19/mod.js'
import * as esbuild from 'https://deno.land/x/esbuild@v0.18.2/mod.js'

export async function build({
input = './mod.ts',
Expand Down
8 changes: 4 additions & 4 deletions cheetah.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ContinentCode, IncomingRequestCfProperties } from 'https://cdn.jsdelivr.net/npm/@cloudflare/workers-types@4.20230518.0/index.ts'
import { DeadlineError, deadline } from 'https://deno.land/std@0.190.0/async/deadline.ts'
import { brightBlue, brightGreen, brightRed, gray, white } from 'https://deno.land/std@0.190.0/fmt/colors.ts'
import { ConnInfo } from 'https://deno.land/std@0.190.0/http/server.ts'
import { TSchema } from 'https://esm.sh/@sinclair/typebox@0.28.14'
import { DeadlineError, deadline } from 'https://deno.land/std@0.191.0/async/deadline.ts'
import { brightBlue, brightGreen, brightRed, gray, white } from 'https://deno.land/std@0.191.0/fmt/colors.ts'
import { ConnInfo } from 'https://deno.land/std@0.191.0/http/server.ts'
import { TSchema } from 'https://esm.sh/@sinclair/typebox@0.28.15'
import { Collection } from './Collection.ts'
import { Context } from './Context.d.ts'
import { Exception } from './Exception.ts'
Expand Down
2 changes: 1 addition & 1 deletion guide/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ deno run -A https://deno.land/x/cheetah@v0.10.0/build.ts mod.ts mod.js

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.10.0/mod.ts'
import { serve } from 'https://deno.land/std@v0.185.0/http/server.ts'
import { serve } from 'https://deno.land/std@0.191.0/http/server.ts'

const app = new cheetah()
.get('/', () => 'Hello World')
Expand Down
4 changes: 2 additions & 2 deletions new.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parse } from 'https://deno.land/std@0.190.0/flags/mod.ts'
import { brightRed } from 'https://deno.land/std@0.190.0/fmt/colors.ts'
import { parse } from 'https://deno.land/std@0.191.0/flags/mod.ts'
import { brightRed } from 'https://deno.land/std@0.191.0/fmt/colors.ts'

const args = parse(Deno.args)

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.10.0/mod.ts'
import { serve } from 'https://deno.land/std@0.190.0/http/server.ts'
import { serve } from 'https://deno.land/std@0.191.0/http/server.ts'

const app = new cheetah()
.get('/', () => 'Hello World')
Expand Down
2 changes: 1 addition & 1 deletion test/Exception.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah, { Exception } from '../mod.ts'

Deno.test('Exception', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/context.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah from '../mod.ts'

Deno.test('Context', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/cors.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah from '../mod.ts'

Deno.test('CORS', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/plugins.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals, assertInstanceOf } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals, assertInstanceOf } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah, { createPlugin } from '../mod.ts'

Deno.test('Plugins', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/preflight_mode.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah from '../mod.ts'

Deno.test('preflight mode', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/request.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah from '../mod.ts'

Deno.test('Request', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/response.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah from '../mod.ts'

Deno.test('Response', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/routing.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah, { Collection } from '../mod.ts'

Deno.test('Nesting/Routing', async t => {
Expand Down
2 changes: 1 addition & 1 deletion test/validation.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import cheetah from '../mod.ts'
import typebox, { Type } from '../validator/typebox.ts'
import zod, { z } from '../validator/zod.ts'
Expand Down
2 changes: 1 addition & 1 deletion validator/Validator.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { z, ZodObject, ZodType } from 'https://deno.land/x/zod@v3.21.4/mod.ts'
import { ZodRecord } from 'https://deno.land/x/zod@v3.21.4/types.ts'
import { TObject, TRecord, TSchema, Static as TypeBoxStatic } from 'https://esm.sh/@sinclair/typebox@0.28.14'
import { TObject, TRecord, TSchema, Static as TypeBoxStatic } from 'https://esm.sh/@sinclair/typebox@0.28.15'
import { TypeBoxValidator } from './typebox.ts'
import { ZodValidator } from './zod.ts'

Expand Down
8 changes: 4 additions & 4 deletions validator/typebox.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @deno-types='https://esm.sh/@sinclair/typebox@0.28.14/value'
import { Value } from 'https://cdn.jsdelivr.net/npm/@sinclair/typebox@0.28.14/value/value.js/+esm'
// @deno-types='https://esm.sh/@sinclair/typebox@0.28.15/value'
import { Value } from 'https://cdn.jsdelivr.net/npm/@sinclair/typebox@0.28.15/value/value.js/+esm'

export type TypeBoxValidator = {
name: 'typebox',
Expand All @@ -11,6 +11,6 @@ const typebox: TypeBoxValidator = {
check: Value.Check
}

// @deno-types='https://esm.sh/@sinclair/typebox@0.28.14'
export { Kind, Type } from 'https://cdn.jsdelivr.net/npm/@sinclair/typebox@0.28.14/typebox.js/+esm'
// @deno-types='https://esm.sh/@sinclair/typebox@0.28.15'
export { Kind, Type } from 'https://cdn.jsdelivr.net/npm/@sinclair/typebox@0.28.15/typebox.js/+esm'
export default typebox
2 changes: 1 addition & 1 deletion x/jwt.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals, assertInstanceOf } from 'https://deno.land/std@0.190.0/testing/asserts.ts'
import { assertEquals, assertInstanceOf } from 'https://deno.land/std@0.191.0/testing/asserts.ts'
import { createKey, importKey, jwt } from './mod.ts'

Deno.test('x/jwt', async t => {
Expand Down
2 changes: 1 addition & 1 deletion x/jwt.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { decode, encode } from 'https://deno.land/std@0.190.0/encoding/base64.ts'
import { decode, encode } from 'https://deno.land/std@0.191.0/encoding/base64.ts'
import { VerifyOptions, verify as _verify, create, getNumericDate } from 'https://deno.land/x/djwt@v2.8/mod.ts'

interface Payload {
Expand Down

0 comments on commit 1936b16

Please sign in to comment.