Commit Graph

78 Commits

Author SHA1 Message Date
Asher Gomez
45cef56ce9
BREAKING(io): remove MultiReader (#6059) 2024-09-26 12:15:16 +10:00
Asher Gomez
4e4f3f1fe6
docs(archive): clarify deprecation notices (#6034)
* docs(archive): clarify deprecation notices

* tweak
2024-09-24 15:33:53 +09:00
Asher Gomez
0e8f0b5b6b
docs(archive): update @std/archive deprecation notices (#6028) 2024-09-20 15:24:10 +09:00
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
Asher Gomez
e5c67a006c
deprecation(archive/unstable): deprecate @std/archive (#5988)
* deprecation(archive/unstable): deprecate `@std/archive`

* update
2024-09-17 13:38:50 +09:00
Caleb Cox
381d70dcd1
docs(archive,log,testing): correct typos (#5995)
* docs(log,testing): replace colours with colors

Use the American spelling of colors in docs for consistency with module
and option names.

* docs(archive,testing): replace it's with its

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-16 22:48:56 +00:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +09:00
Asher Gomez
dea7d7701a
docs(archive,assert,cache,cli,encoding,html,http,net,streams,text): remove unstable Markdown alert (#5672)
* docs(archive,cli,html,http,net,streams,text): remove unstable Markdown alert

* update

* fix

* update

* fmt

* fix
2024-08-22 02:55:17 -04:00
Ian Bull
70011e9155
refactor(archive,cache,datetime,fmt,front-matter): align error messages to the style guide (#5706)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 14:42:02 +09:00
Asher Gomez
d6fde648e2
docs(archive): complete documentation (#5636)
* docs(archive): complete documentation

* work

* work

* work

* work

* fixes
2024-08-20 17:13:54 +10:00
Asher Gomez
4432ba1c1b
fix(archive): make data property private in Tar (#5645) 2024-08-07 18:20:29 +09:00
Asher Gomez
889a63de2e
docs(archive): mark public APIs as unstable/experimental (#5639)
* BREAKING(archive): remove `TarEntry.#header`

* docs(archive): mark public APIs as unstable/experimental
2024-08-06 12:41:59 +00:00
Madhav Ganesan
ab458a38fa
refactor(archive,expect,io,log,toml,yaml): remove private and public access modifiers (#5077)
* replaced public and private access modifiers #5066

* fix: run `deno fmt`

* fix: apply suggestions

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-21 14:13:08 +10:00
Asher Gomez
2e54f46670
refactor(archive): cleanup use of @std/assert (#4975)
* refactor(archive): cleanup use of `@std/assert`

* update graph
2024-06-05 21:52:06 +00:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
d63e97c735
docs(archive): further documentation (#4462)
docs(archive): complete documentation
2024-03-11 20:52:36 +11:00
Asher Gomez
bdada09466
refactor(archive): various cleanups (#4463) 2024-03-11 20:31:25 +11:00
David Sherret
b72ec0651e
chore: latest verbatim-module-syntax fixes (#4418) 2024-02-29 18:01:26 -05:00
Asher Gomez
5b0ff30bbf
refactor: cleanup deprecated-related APIs in std/io and std/streams (#4201) 2024-01-15 13:23:04 +09:00
Asher Gomez
22fba79092
deprecation(io): move types file (#4133) 2024-01-09 16:14:28 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
451efa6243
deprecation: move types.d.ts to std/io (#3885)
* deprecation: move `types.d.ts` to `std/io`

* fix
2023-12-01 11:46:43 +09:00
Chris Knight
7fc5cdacab
docs(archive): improve docs and general code cleanup (#3593) 2023-08-31 18:00:41 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
familyboat
8ee7766677
refactor(archive/tar): improve clean function (#3431)
Co-authored-by: familyboat <familyboat@163.com>
2023-06-07 20:37:10 +09:00
Asher Gomez
a11c957053
chore(streams, archive): remove deprecated exports (#3107) 2023-01-14 19:10:03 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
22cdb7f0fc
refactor(archive): rework single-export files (#3060) 2022-12-27 13:38:03 +09:00
Asher Gomez
2f9baf6794
refactor: remove Deno namespace IO types (#3030) 2022-12-23 14:33:12 +09:00
Asher Gomez
ae3663e74c
chore: move deprecated removal versions back (#3032) 2022-12-22 17:01:00 +09:00
Asher Gomez
c78061eef3
refactor: replace String.prototype.substr() with String.prototype.slice() (#2993) 2022-12-12 15:21:59 +09:00
Asher Gomez
259d5a71e2
BREAKING(archive): move to single-export files (#2958) 2022-12-04 20:41:50 +09:00
Asher Gomez
5dabeb2d91
refactor(streams): move to single-export files (#2957) 2022-11-29 08:55:38 -05:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
792f1334fe
refactor: use _util/asserts.ts for non-test code (#2857) 2022-11-10 16:28:20 +09:00
ayame113
6b04b730b1
chore: Avoid using rid-based filesystem functions (#2763) 2022-10-10 10:07:24 -04:00
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
cuobiezi
dab98b6e1b
fix(archive/tar): export TarEntry class (#2429) 2022-07-11 17:38:23 +09:00
Mark Ladyshau
1bba810b48
refactor: replace TS private with private identifiers (#2272) 2022-05-27 21:27:13 +09:00
Kitson Kelly
00463cba18
docs: improve module JSDoc for archive, async, bytes (#2162) 2022-04-28 14:08:08 +10:00
TrickyPi
3e7c4501a1
BREAKING(io/readers): use an array as a MultiReader constructor parameter to avoid Maximum call stack size exceeded (#2016) 2022-04-08 15:03:51 +09:00
Yoshiya Hinosawa
b061c817c4
chore(archive): fix lint error in tar.ts (#1960) 2022-02-25 23:20:47 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Leo K
b58b10c229
feat: streams utilities (#1141) 2021-10-12 11:51:48 +02:00
Nayeem Rahman
d21aa79126
BREAKING(io): Reorganize modules (#813)
This commit reogranizes many modules:
- Move exports of io/bufio.ts (removed) into io/buffer.ts.
- Move exports of io/util.ts (repurposed, see next bullet) into io/streams.ts.
* With the exception of readRange() and readRangeSync(), which have been moved to io/files.ts (new).
*Also rename iter() and iterSync() to iterateReader() and iterateReaderSync() respectively.
- Move exports of io/ioutil.ts (removed) into io/util.ts.

Deprecation messages were added to old modules to make this change backwards compatible.

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-10-08 03:42:33 +02:00
Kitson Kelly
039271fa6c
chore: update std for TypeScript 4.3 changes (#938)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-05-30 10:46:38 +10:00
William Perron
69f3d67cb2
chore: remove Promise<void> return type annotation (#819)
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.

used this one-liner to automatically remove everything:

```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Luca Casonato
be89f5a714
feat: add io/buffer and io/util module (#808)
This moves the `Deno.Buffer` and `Deno.readAll` / `Deno.readAllSync` /
`Deno.writeAll` / `Deno.writeAllSync` implementations to std, so we can
deprecate them in Deno 1.9, and remove them in Deno 2.0.
2021-03-22 22:45:35 +01:00