Skip to content

Commit 8f071dd

Browse files
Merge pull request #4 from httpland/beta
Beta
2 parents 8a01c10 + 1e65495 commit 8f071dd

8 files changed

+84
-51
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [1.3.0-beta.1](https://github.com/httpland/range-request-middleware/compare/1.2.0...1.3.0-beta.1) (2023-04-29)
2+
3+
4+
### Features
5+
6+
* **deps:** update deps ([370f1fc](https://github.com/httpland/range-request-middleware/commit/370f1fc84425dcc849c2a844eb395b15f751a7eb))
7+
18
# [1.2.0](https://github.com/httpland/range-request-middleware/compare/1.1.0...1.2.0) (2023-04-02)
29

310

_dev_deps.ts

+6-6
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

+1-1
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

+18-18
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

+7-6
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.json

+3-9
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,13 @@
44
"build:npm": "deno run -A _tools/build_npm.ts"
55
},
66
"fmt": {
7-
"files": {
8-
"exclude": ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
9-
}
7+
"exclude": ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
108
},
119
"lint": {
12-
"files": {
13-
"exclude": ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
14-
}
10+
"exclude": ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
1511
},
1612
"test": {
17-
"files": {
18-
"exclude": ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
19-
}
13+
"exclude": ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
2014
},
2115
"compilerOptions": {
2216
"noImplicitReturns": true,

deno.lock

+31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps.ts

+11-11
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)