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

Commit

Permalink
refactor: update deps (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Aug 26, 2023
1 parent 2f886c8 commit d0404e9
Show file tree
Hide file tree
Showing 28 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/update_license_year.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { walk } from 'https://deno.land/std@0.199.0/fs/walk.ts'
import { walk } from 'https://deno.land/std@0.200.0/fs/walk.ts'

for await (const entry of walk(Deno.cwd(), { exts: ['ts', 'tsx'] })) {
if (!entry.isFile) {
Expand Down
2 changes: 1 addition & 1 deletion bench/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
prerelease,
rcompare,
} from 'https://deno.land/std@0.191.0/semver/mod.ts#pin'
import { gray, white } from 'https://deno.land/std@0.199.0/fmt/colors.ts'
import { gray, white } from 'https://deno.land/std@0.200.0/fmt/colors.ts'

async function bench(url: string) {
const a = new Deno.Command('deno', {
Expand Down
6 changes: 3 additions & 3 deletions build.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { parse } from 'https://deno.land/std@0.199.0/flags/mod.ts'
import { parse } from 'https://deno.land/std@0.200.0/flags/mod.ts'
import {
brightGreen,
brightRed,
brightYellow,
gray,
} from 'https://deno.land/std@0.199.0/fmt/colors.ts'
import { join } from 'https://deno.land/std@0.199.0/path/mod.ts'
} from 'https://deno.land/std@0.200.0/fmt/colors.ts'
import { join } from 'https://deno.land/std@0.200.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.19.2/mod.js'

Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/bundle/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { ensureFile } from 'https://deno.land/std@0.199.0/fs/ensure_file.ts'
import { join } from 'https://deno.land/std@0.199.0/path/mod.ts'
import { ensureFile } from 'https://deno.land/std@0.200.0/fs/ensure_file.ts'
import { join } from 'https://deno.land/std@0.200.0/path/mod.ts'
import * as esbuild from 'https://deno.land/x/esbuild@v0.19.2/mod.js'

export async function bundle({
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/bundle/mod.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { parse } from 'https://deno.land/std@0.199.0/flags/mod.ts'
import { parse } from 'https://deno.land/std@0.200.0/flags/mod.ts'
import {
brightGreen,
brightRed,
brightYellow,
gray,
} from 'https://deno.land/std@0.199.0/fmt/colors.ts'
} from 'https://deno.land/std@0.200.0/fmt/colors.ts'
import byte from 'https://deno.land/x/byte@v3.3.0/byte.ts'
import { logError } from '../../utils.ts'
import { bundle } from './bundle.ts'
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/new/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { ensureFile } from 'https://deno.land/std@0.199.0/fs/ensure_file.ts'
import { ensureFile } from 'https://deno.land/std@0.200.0/fs/ensure_file.ts'
import { Select } from 'https://deno.land/x/cliffy@v0.25.7/mod.ts'

type VSCodeSettings = {
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/random/create_crypto_key.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { encode } from 'https://deno.land/std@0.199.0/encoding/base64.ts'
import { encode } from 'https://deno.land/std@0.200.0/encoding/base64.ts'

export async function createCryptoKey() {
const key = await crypto.subtle.generateKey(
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/random/create_jwt_secret.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { encode } from 'https://deno.land/std@0.199.0/encoding/base64.ts'
import { encode } from 'https://deno.land/std@0.200.0/encoding/base64.ts'

export async function createJwtSecret() {
const key = await crypto.subtle.generateKey(
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/random/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { gray, white } from 'https://deno.land/std@0.199.0/fmt/colors.ts'
import { gray, white } from 'https://deno.land/std@0.200.0/fmt/colors.ts'
import { Select } from 'https://deno.land/x/cliffy@v0.25.7/mod.ts'
import { createCryptoKey } from './create_crypto_key.ts'
import { createJwtSecret } from './create_jwt_secret.ts'
Expand Down
6 changes: 3 additions & 3 deletions cli/cmd/serve/mod.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { loadSync } from 'https://deno.land/std@0.199.0/dotenv/mod.ts'
import { parse } from 'https://deno.land/std@0.199.0/flags/mod.ts'
import { loadSync } from 'https://deno.land/std@0.200.0/dotenv/mod.ts'
import { parse } from 'https://deno.land/std@0.200.0/flags/mod.ts'
import {
brightGreen,
gray,
white,
} from 'https://deno.land/std@0.199.0/fmt/colors.ts'
} from 'https://deno.land/std@0.200.0/fmt/colors.ts'
import {
keypress,
KeyPressEvent,
Expand Down
2 changes: 1 addition & 1 deletion cli/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { parse } from 'https://deno.land/std@0.199.0/flags/mod.ts'
import { parse } from 'https://deno.land/std@0.200.0/flags/mod.ts'
import { bundleCommand } from './cmd/bundle/mod.ts'
import { newCommand } from './cmd/new/mod.ts'
import { randomCommand } from './cmd/random/mod.ts'
Expand Down
2 changes: 1 addition & 1 deletion cli/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { brightRed, gray } from 'https://deno.land/std@0.199.0/fmt/colors.ts'
import { brightRed, gray } from 'https://deno.land/std@0.200.0/fmt/colors.ts'

export function logError(message: string) {
console.error(gray(`${brightRed('error')} - ${message}`))
Expand Down
2 changes: 1 addition & 1 deletion context.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
/// <reference types='./env.d.ts' />
import { encode } from 'https://deno.land/std@0.199.0/encoding/base64.ts'
import { encode } from 'https://deno.land/std@0.200.0/encoding/base64.ts'
import { ZodType } from 'https://deno.land/x/zod@v3.21.4/types.ts'
import { AppContext } from './cheetah.ts'
import { ObjectType, Payload } from './handler.ts'
Expand Down
2 changes: 1 addition & 1 deletion crypto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { decode } from 'https://deno.land/std@0.199.0/encoding/base64.ts'
import { decode } from 'https://deno.land/std@0.200.0/encoding/base64.ts'
import { Context } from './context.ts'

export async function encrypt(c: Context, message: string) {
Expand Down
4 changes: 2 additions & 2 deletions ext/debug.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { format } from 'https://deno.land/std@0.199.0/fmt/bytes.ts'
import { format } from 'https://deno.land/std@0.200.0/fmt/bytes.ts'
import {
brightBlue,
brightGreen,
brightRed,
gray,
white,
} from 'https://deno.land/std@0.199.0/fmt/colors.ts'
} from 'https://deno.land/std@0.200.0/fmt/colors.ts'
import { createExtension } from '../mod.ts'

/**
Expand Down
2 changes: 1 addition & 1 deletion ext/files.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { R2Bucket } from 'https://cdn.jsdelivr.net/npm/@cloudflare/workers-types@4.20230821.0/index.ts'
import { join } from 'https://deno.land/std@0.199.0/path/mod.ts'
import { join } from 'https://deno.land/std@0.200.0/path/mod.ts'
import { createExtension } from '../extensions.ts'
import { AppContext } from '../mod.ts'

Expand Down
2 changes: 1 addition & 1 deletion jwt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { decode } from 'https://deno.land/std@0.199.0/encoding/base64.ts'
import { decode } from 'https://deno.land/std@0.200.0/encoding/base64.ts'
import * as Jwt from 'https://deno.land/x/djwt@v2.8/mod.ts'
import { Context } from './mod.ts'

Expand Down
2 changes: 1 addition & 1 deletion oauth/get_session_data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { getCookies } from 'https://deno.land/std@0.199.0/http/cookie.ts'
import { getCookies } from 'https://deno.land/std@0.200.0/http/cookie.ts'
import { Context } from '../context.ts'
import { getVariable } from '../x/env.ts'
import { verify } from '../x/jwt.ts'
Expand Down
2 changes: 1 addition & 1 deletion oauth/get_session_id.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { getCookies } from 'https://deno.land/std@0.199.0/http/cookie.ts'
import { getCookies } from 'https://deno.land/std@0.200.0/http/cookie.ts'
import { Context } from '../context.ts'
import { getVariable } from '../x/env.ts'
import { verify } from '../x/jwt.ts'
Expand Down
2 changes: 1 addition & 1 deletion oauth/get_session_token.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { getCookies } from 'https://deno.land/std@0.199.0/http/cookie.ts'
import { getCookies } from 'https://deno.land/std@0.200.0/http/cookie.ts'
import { Context } from '../context.ts'
import { getVariable } from '../x/env.ts'
import { verify } from '../x/jwt.ts'
Expand Down
2 changes: 1 addition & 1 deletion oauth/handle_callback.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { UserAgent } from 'https://deno.land/std@0.199.0/http/user_agent.ts'
import { UserAgent } from 'https://deno.land/std@0.200.0/http/user_agent.ts'
import {
getNormalizedUser,
getToken,
Expand Down
2 changes: 1 addition & 1 deletion oauth/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { UserAgent } from 'https://deno.land/std@0.199.0/http/user_agent.ts'
import { UserAgent } from 'https://deno.land/std@0.200.0/http/user_agent.ts'
import { LocationData } from '../x/location_data.ts'

export type OAuthMethod =
Expand Down
2 changes: 1 addition & 1 deletion render.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { brightYellow, gray } from 'https://deno.land/std@0.199.0/fmt/colors.ts'
import { brightYellow, gray } from 'https://deno.land/std@0.200.0/fmt/colors.ts'
import {
defineConfig,
extract,
Expand Down
2 changes: 1 addition & 1 deletion request_context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {
deadline as resolveWithDeadline,
DeadlineError,
} from 'https://deno.land/std@0.199.0/async/deadline.ts'
} from 'https://deno.land/std@0.200.0/async/deadline.ts'
import { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'
import {
ZodStringDef,
Expand Down
2 changes: 1 addition & 1 deletion setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { ensureFile } from 'https://deno.land/std@0.199.0/fs/ensure_file.ts'
import { ensureFile } from 'https://deno.land/std@0.200.0/fs/ensure_file.ts'
import { Select } from 'https://deno.land/x/cliffy@v0.25.7/mod.ts'

type VSCodeSettings = {
Expand Down
2 changes: 1 addition & 1 deletion test/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export {
assert,
assertEquals,
assertInstanceOf,
} from 'https://deno.land/std@0.199.0/assert/mod.ts'
} from 'https://deno.land/std@0.200.0/assert/mod.ts'
export { DOMParser } from 'https://deno.land/x/deno_dom@v0.1.38/deno-dom-wasm.ts'
export { z } from 'https://deno.land/x/zod@v3.21.4/mod.ts'
2 changes: 1 addition & 1 deletion x/cache.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2023 Samuel Kopp. All rights reserved. Apache-2.0 license.
import { encode } from 'https://deno.land/std@0.199.0/encoding/base64.ts'
import { encode } from 'https://deno.land/std@0.200.0/encoding/base64.ts'
import { Context } from '../mod.ts'

/** @deprecate please use `c.cache` instead! */
Expand Down
2 changes: 1 addition & 1 deletion x/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {
decode,
encode,
} from 'https://deno.land/std@0.199.0/encoding/base64.ts'
} from 'https://deno.land/std@0.200.0/encoding/base64.ts'
import {
create,
getNumericDate,
Expand Down

0 comments on commit d0404e9

Please sign in to comment.