Skip to content

Commit 370f1fc

Browse files
committed
feat(deps): update deps
1 parent 8a01c10 commit 370f1fc

File tree

6 files changed

+74
-42
lines changed

6 files changed

+74
-42
lines changed

_dev_deps.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ export {
22
assert,
33
assertEquals,
44
assertThrows,
5-
} from "https://deno.land/std@0.181.0/testing/asserts.ts";
6-
export { describe, it } from "https://deno.land/std@0.181.0/testing/bdd.ts";
5+
} from "https://deno.land/std@0.185.0/testing/asserts.ts";
6+
export { describe, it } from "https://deno.land/std@0.185.0/testing/bdd.ts";
77
export {
88
assertSpyCalls,
99
spy,
10-
} from "https://deno.land/std@0.181.0/testing/mock.ts";
11-
export { Status } from "https://deno.land/std@0.181.0/http/http_status.ts";
12-
export { equalsResponse } from "https://deno.land/x/http_utils@1.0.0/response.ts";
10+
} from "https://deno.land/std@0.185.0/testing/mock.ts";
11+
export { Status } from "https://deno.land/std@0.185.0/http/http_status.ts";
12+
export { equalsResponse } from "https://deno.land/x/http_utils@1.2.0/response.ts";
1313
export {
1414
ConditionalHeader,
1515
RangeHeader,
1616
RepresentationHeader,
17-
} from "https://deno.land/x/http_utils@1.0.0/header.ts";
17+
} from "https://deno.land/x/http_utils@1.2.0/header.ts";
1818
export {
1919
type IntRange,
2020
type SuffixRange,

_test_import_map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"imports": {
33
"https://deno.land/x/range_request_middleware@$VERSION/": "./",
4-
"https://deno.land/std/": "https://deno.land/std@0.181.0/"
4+
"https://deno.land/std/": "https://deno.land/std@0.185.0/"
55
}
66
}

_tools/meta.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,34 +46,34 @@ export const makeOptions = (version: string): BuildOptions => ({
4646
name: "@httpland/http-middleware",
4747
version: "1.0.0",
4848
},
49-
"https://deno.land/x/isx@1.1.1/is_string.ts": {
49+
"https://deno.land/x/isx@1.3.1/is_string.ts": {
5050
name: "@miyauci/isx",
51-
version: "1.1.1",
52-
subPath: "is_string",
51+
version: "1.3.1",
52+
subPath: "is_string.js",
5353
},
54-
"https://deno.land/x/isx@1.1.1/is_null.ts": {
54+
"https://deno.land/x/isx@1.3.1/is_null.ts": {
5555
name: "@miyauci/isx",
56-
version: "1.1.1",
57-
subPath: "is_null",
56+
version: "1.3.1",
57+
subPath: "is_null.js",
5858
},
59-
"https://deno.land/x/isx@1.1.1/is_number.ts": {
59+
"https://deno.land/x/isx@1.3.1/is_number.ts": {
6060
name: "@miyauci/isx",
61-
version: "1.1.1",
62-
subPath: "is_number",
61+
version: "1.3.1",
62+
subPath: "is_number.js",
6363
},
64-
"https://deno.land/x/isx@1.1.1/iterable/is_not_empty.ts": {
64+
"https://deno.land/x/isx@1.3.1/iterable/is_not_empty.ts": {
6565
name: "@miyauci/isx",
66-
version: "1.1.1",
67-
subPath: "iterable/is_not_empty",
66+
version: "1.3.1",
67+
subPath: "iterable/is_not_empty.js",
6868
},
69-
"https://deno.land/x/http_utils@1.0.0/header.ts": {
69+
"https://deno.land/x/http_utils@1.2.0/header.ts": {
7070
name: "@httpland/http-utils",
71-
version: "1.0.0",
71+
version: "1.2.0",
7272
subPath: "header.js",
7373
},
74-
"https://deno.land/x/http_utils@1.0.0/method.ts": {
74+
"https://deno.land/x/http_utils@1.2.0/method.ts": {
7575
name: "@httpland/http-utils",
76-
version: "1.0.0",
76+
version: "1.2.0",
7777
subPath: "method.js",
7878
},
7979
"https://deno.land/x/[email protected]/mod.ts": {
@@ -84,9 +84,9 @@ export const makeOptions = (version: string): BuildOptions => ({
8484
name: "@httpland/range-parser",
8585
version: "1.2.0",
8686
},
87-
"https://deno.land/x/[email protected].0/mod.ts": {
87+
"https://deno.land/x/[email protected].1/mod.ts": {
8888
name: "@httpland/accept-ranges-parser",
89-
version: "1.0.0",
89+
version: "1.0.1",
9090
},
9191
"https://deno.land/x/[email protected]/mod.ts": {
9292
name: "@httpland/content-range-parser",

_tools/publish_npm.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ if (import.meta.main) {
1616
const tag = isPrerelease?.[0] ?? "latest";
1717

1818
const pkg = makeOptions(version);
19-
const result = await Deno.run({
20-
cmd: ["npm", "publish", pkg.outDir, "--tag", String(tag)],
21-
stdout: "piped",
22-
})
23-
.output();
19+
const command = new Deno.Command("npm", {
20+
args: ["publish", pkg.outDir, "--tag", String(tag)],
21+
});
22+
const result = await command.output();
2423

25-
console.log(new TextDecoder().decode(result));
24+
if (!result.success) {
25+
console.error(new TextDecoder().decode(result.stderr));
26+
}
2627
}

deno.lock

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Copyright 2023-latest the httpland authors. All rights reserved. MIT license.
22
// This module is browser compatible.
33

4-
export { Status } from "https://deno.land/std@0.181.0/http/http_status.ts";
5-
export { isString } from "https://deno.land/x/isx@1.1.1/is_string.ts";
6-
export { isNull } from "https://deno.land/x/isx@1.1.1/is_null.ts";
7-
export { isNumber } from "https://deno.land/x/isx@1.1.1/is_number.ts";
8-
export { isNotEmpty } from "https://deno.land/x/isx@1.1.1/iterable/is_not_empty.ts";
4+
export { Status } from "https://deno.land/std@0.185.0/http/http_status.ts";
5+
export { isString } from "https://deno.land/x/isx@1.3.1/is_string.ts";
6+
export { isNull } from "https://deno.land/x/isx@1.3.1/is_null.ts";
7+
export { isNumber } from "https://deno.land/x/isx@1.3.1/is_number.ts";
8+
export { isNotEmpty } from "https://deno.land/x/isx@1.3.1/iterable/is_not_empty.ts";
99
export {
1010
type Handler,
1111
type Middleware,
@@ -16,8 +16,8 @@ export {
1616
isRepresentationHeader,
1717
RangeHeader,
1818
RepresentationHeader,
19-
} from "https://deno.land/x/http_utils@1.0.0/header.ts";
20-
export { Method } from "https://deno.land/x/http_utils@1.0.0/method.ts";
19+
} from "https://deno.land/x/http_utils@1.2.0/header.ts";
20+
export { Method } from "https://deno.land/x/http_utils@1.2.0/method.ts";
2121
export { isErr, unsafe } from "https://deno.land/x/[email protected]/mod.ts";
2222
export {
2323
type IntRange,
@@ -34,10 +34,10 @@ export {
3434
export {
3535
parseAcceptRanges,
3636
type Token,
37-
} from "https://deno.land/x/[email protected].0/mod.ts";
38-
export { concat } from "https://deno.land/std@0.181.0/bytes/concat.ts";
39-
export { distinct } from "https://deno.land/std@0.181.0/collections/distinct.ts";
40-
export { toHashString } from "https://deno.land/std@0.181.0/crypto/to_hash_string.ts";
37+
} from "https://deno.land/x/[email protected].1/mod.ts";
38+
export { concat } from "https://deno.land/std@0.185.0/bytes/concat.ts";
39+
export { distinct } from "https://deno.land/std@0.185.0/collections/distinct.ts";
40+
export { toHashString } from "https://deno.land/std@0.185.0/crypto/to_hash_string.ts";
4141
export {
4242
type ContentRange,
4343
type InclRange,

0 commit comments

Comments
 (0)