Skip to content

Commit

Permalink
chore: update std
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkal committed Apr 7, 2021
1 parent ca9bcab commit 58d60cb
Show file tree
Hide file tree
Showing 22 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
* @license MIT
*/

import * as flags from 'https://deno.land/std@0.61.0/flags/mod.ts'
import * as flags from 'https://deno.land/std@0.92.0/flags/mod.ts'
import {
parse,
JSON_SCHEMA,
} from 'https://deno.land/std@0.61.0/encoding/yaml.ts'
} from 'https://deno.land/std@0.92.0/encoding/yaml.ts'

/**
* If the value is '-' stdin is read and returned.
Expand Down
2 changes: 1 addition & 1 deletion dedent.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.61.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
import { dedent } from './dedent.ts'
const it = Deno.test

Expand Down
2 changes: 1 addition & 1 deletion doc-gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license MIT
*/

import * as fs from 'https://deno.land/std@0.61.0/fs/mod.ts'
import * as fs from 'https://deno.land/std@0.92.0/fs/mod.ts'

const jsDocStartRe = /^\/\*\*/
const jsDocMidRe = /^\s+\*\s/
Expand Down
4 changes: 2 additions & 2 deletions emittery.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { assertEquals } from 'https://deno.land/std@0.61.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
import {
delay as wait,
delay,
} from 'https://deno.land/std@0.61.0/async/delay.ts'
} from 'https://deno.land/std@0.92.0/async/delay.ts'
import { Emittery } from './emittery.ts'
const emitter = new Emittery()

Expand Down
2 changes: 1 addition & 1 deletion http-signature/verify.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.61.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
const it = Deno.test

import * as httpsig from './verify.ts'
Expand Down
4 changes: 2 additions & 2 deletions http-signature/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @license MIT
*/

import { HmacSha256 } from 'https://deno.land/std@0.61.0/hash/sha256.ts'
import { encode } from 'https://deno.land/std@0.61.0/encoding/base64.ts'
import { HmacSha256 } from 'https://deno.land/std@0.92.0/hash/sha256.ts'
import { encode } from 'https://deno.land/std@0.92.0/encoding/base64.ts'

/////
interface parseOptions {
Expand Down
8 changes: 4 additions & 4 deletions kite/docker/server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { serve } from 'https://deno.land/std@0.61.0/http/server.ts'
import * as YAML from 'https://deno.land/std@0.61.0/encoding/yaml.ts'
import { ensureDir } from 'https://deno.land/std@0.61.0/fs/mod.ts'
import { serve } from 'https://deno.land/std@0.92.0/http/server.ts'
import * as YAML from 'https://deno.land/std@0.92.0/encoding/yaml.ts'
import { ensureDir } from 'https://deno.land/std@0.92.0/fs/mod.ts'
import * as httpsig from 'https://x.kite.run/lib/http-signature/verify.ts'
import { Sha256 } from 'https://deno.land/std@0.61.0/hash/sha256.ts'
import { Sha256 } from 'https://deno.land/std@0.92.0/hash/sha256.ts'

const PORT = 8080
const EVAL_DIR = '/tmp/deno-eval'
Expand Down
2 changes: 1 addition & 1 deletion kite/extended-string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import { sha1 } from 'https://deno.land/x/sha1@v1.0.3/mod.ts'
import titleCase from 'https://deno.land/x/case@v2.0.0/titleCase.ts'
import { sha256 } from 'https://deno.land/x/sha256@v1.0.2/mod.ts'
import * as base32 from 'https://deno.land/std@0.61.0/encoding/base32.ts'
import * as base32 from 'https://deno.land/std@0.92.0/encoding/base32.ts'

const RE = /^{{.*}}$/

Expand Down
2 changes: 1 addition & 1 deletion kite/filter-terraform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license MIT
*/

import { readLines } from 'https://deno.land/std@0.61.0/io/bufio.ts'
import { readLines } from 'https://deno.land/std@0.92.0/io/bufio.ts'

// Filter Sensitive values. Regex based on
// https://github.com/cloudposse/tfmask/blob/7a4a942248c665b6a5c66f9c288fabe97550f43d/main.go
Expand Down
2 changes: 1 addition & 1 deletion kite/template-cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.61.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
const it = Deno.test
import { canonicalizeOptions, CliFlags } from './template-cli.ts'
import { TemplateConfig } from './template.ts'
Expand Down
2 changes: 1 addition & 1 deletion kite/template-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import template, {
} from './template.ts'
import { getArgsObject } from '../args.ts'
import { merge } from '../merge.ts'
import * as YAML from 'https://deno.land/std@0.61.0/encoding/yaml.ts'
import * as YAML from 'https://deno.land/std@0.92.0/encoding/yaml.ts'

const helpText = `\
Kite™️ Template Tool by Brandon Kalinowski @brandonkal
Expand Down
2 changes: 1 addition & 1 deletion kite/template.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.61.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
const it = Deno.test
import { TemplateConfig, getConfigFromYaml } from './template.ts'
import { dedent } from '../dedent.ts'
Expand Down
8 changes: 4 additions & 4 deletions kite/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
* @license MIT
*/

import * as fs from 'https://deno.land/std@0.61.0/fs/mod.ts'
import * as path from 'https://deno.land/std@0.61.0/path/mod.ts'
import * as fs from 'https://deno.land/std@0.92.0/fs/mod.ts'
import * as path from 'https://deno.land/std@0.92.0/path/mod.ts'
import { sha1 } from 'https://deno.land/x/sha1@v1.0.3/mod.ts'
import titleCase from 'https://deno.land/x/case@v2.0.0/titleCase.ts'
import { sha256 } from 'https://deno.land/x/sha256@v1.0.2/mod.ts'
import * as YAML from 'https://deno.land/std@0.61.0/encoding/yaml.ts'
import * as base32 from 'https://deno.land/std@0.61.0/encoding/base32.ts'
import * as YAML from 'https://deno.land/std@0.92.0/encoding/yaml.ts'
import * as base32 from 'https://deno.land/std@0.92.0/encoding/base32.ts'
import * as k8s from 'https://x.kite.run/lib/kubernetes.ts'

import { dotProp, jsonItem, visitAll, withTimeout, homedir } from '../utils.ts'
Expand Down
2 changes: 1 addition & 1 deletion kubernetes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import {
parseAll,
JSON_SCHEMA,
} from 'https://deno.land/std@0.61.0/encoding/yaml.ts'
} from 'https://deno.land/std@0.92.0/encoding/yaml.ts'
import * as kite from './kite.ts'
import { meta } from './kubernetes/gen/types.ts'

Expand Down
2 changes: 1 addition & 1 deletion merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function arrayMergeWithKey<A extends Array<any>>(
* **Example**:
*
* ```js
* importee { merge, deep, deepWithKey } from '@jkcfg/std@0.61.0/merge';
* importee { merge, deep, deepWithKey } from '@jkcfg/std@0.92.0/merge';
*
* const pod = {
* spec: {
Expand Down
2 changes: 1 addition & 1 deletion npm/@brandonkal/deno-quokka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ It does this by injecting a mock Deno global module into your instrumented TypeS

It should be used in combination with `babel-plugin-deno` which rewrites imports to use the cache directory.

![Deno Quokka example with std@0.61.0/yaml](https://user-images.githubusercontent.com/4714862/72419175-2f72ad00-3774-11ea-950a-a20936b7fb95.png)
![Deno Quokka example with std@0.92.0/yaml](https://user-images.githubusercontent.com/4714862/72419175-2f72ad00-3774-11ea-950a-a20936b7fb95.png)

## Config

Expand Down
2 changes: 1 addition & 1 deletion npm/babel-plugin-deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This npm module rewrites imports to use the cache directory.

It can be used in combination with `@brandonkal/deno-quokka` for an interactive REPL for some Deno-flavored TypeScript code.

![Deno Quokka example with std@0.61.0/yaml](https://user-images.githubusercontent.com/4714862/72419175-2f72ad00-3774-11ea-950a-a20936b7fb95.png)
![Deno Quokka example with std@0.92.0/yaml](https://user-images.githubusercontent.com/4714862/72419175-2f72ad00-3774-11ea-950a-a20936b7fb95.png)

## License

Expand Down
2 changes: 1 addition & 1 deletion npm/babel-plugin-deno/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function convertRemoteToLocalCache(moduleName) {
}

const denoDir = getDenoDir()
// "https://deno.land/std@0.61.0/log/mod" to "$DENO_DIR/deps/https/deno.land/std@0.61.0/log/mod" (no ".ts" because stripped)
// "https://deno.land/std@0.92.0/log/mod" to "$DENO_DIR/deps/https/deno.land/std@0.92.0/log/mod" (no ".ts" because stripped)
const name = path.resolve(denoDir, 'deps', moduleName.replace('://', '/'))
const redirectedName = fallbackHeader(name)

Expand Down
2 changes: 1 addition & 1 deletion retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license MIT
*/

import { delay as wait } from 'https://deno.land/std@0.61.0/async/delay.ts'
import { delay as wait } from 'https://deno.land/std@0.92.0/async/delay.ts'

/**
* Retry an async function until it does not throw an exception.
Expand Down
2 changes: 1 addition & 1 deletion testutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function describe(desc: string, fn: Function) {
console.log(desc)
fn()
}
export { fail } from 'https://deno.land/std/testing/asserts.ts'
export { fail } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
export const it = Deno.test
export { expect } from 'https://raw.githubusercontent.com/brandonkal/expect/b457497332ba2197835f4eacef3e95dac569ee8d/expect.ts'
import * as m from 'https://raw.githubusercontent.com/brandonkal/expect/b457497332ba2197835f4eacef3e95dac569ee8d/mock.ts'
Expand Down
6 changes: 3 additions & 3 deletions yaml-tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* @license MIT
*/

import * as YAML from 'https://deno.land/std@0.61.0/encoding/yaml.ts'
import { Type } from 'https://deno.land/std@0.61.0/encoding/_yaml/type.ts'
import { Schema } from 'https://deno.land/std@0.61.0/encoding/_yaml/schema.ts'
import * as YAML from 'https://deno.land/std@0.92.0/encoding/yaml.ts'
import { Type } from 'https://deno.land/std@0.92.0/encoding/_yaml/type.ts'
import { Schema } from 'https://deno.land/std@0.92.0/encoding/_yaml/schema.ts'
import { execDedent } from './dedent.ts'
import { stripUndefined } from './utils.ts'

Expand Down
2 changes: 1 addition & 1 deletion yaml.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from 'https://deno.land/std@0.61.0/testing/asserts.ts'
import { assertEquals } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
const it = Deno.test

import { dedent } from './dedent.ts'
Expand Down

0 comments on commit 58d60cb

Please sign in to comment.