Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase ( #4650 )
2024-04-29 11:57:30 +09:00
Marvin Hagemeister
116c54a428
chore: fix lint error in canary ( #4513 )
...
chore: fix lint
2024-03-22 21:27:04 +01:00
Gabriele Belluardo
9d5011ed3d
fix(tar): leak in Tar() checks directory entry type
test ( #4490 )
2024-03-15 05:35:15 +11: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
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax
( #4406 )
...
* Start
* Update
* Format
* Revert deno.json change
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Asher Gomez
5b0ff30bbf
refactor: cleanup deprecated-related APIs in std/io
and std/streams
( #4201 )
2024-01-15 13:23:04 +09:00
Anwesh
3fcb0a8b24
refactor(using): use using
keyword for Explicit Resource Management ( #4143 )
...
* refactor(using): add using keyword for Explicit Resource Management
* refactor(using): fix fmt
* refactor(using): add more fixes
* refactor(using): fix fmt
* refactor: add more `using` cases
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-15 08:35:50 +11:00
Asher Gomez
a9fe1603e0
feat(io): re-introduce IO functions ( #4128 )
2024-01-12 18:34:12 +11:00
Asher Gomez
22fba79092
deprecation(io): move types file ( #4133 )
2024-01-09 16:14:28 +11:00
Simon Holloway
efb3866571
refactor(archive): prepare for noUncheckedIndexedAccess
( #4110 )
...
* refactor(archive): prepare for noUncheckedIndexedAccess
* adjust test to handle new TarHeader requirements
2024-01-08 15:58:59 +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
Tim Reichen
228d29e5fa
refactor(archive): format test names ( #3984 )
...
* initial commit
* chore
* update test names
* tweaks
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 09:21:01 +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
Asher Gomez
56e2bc10e0
chore: use Array.fromAsync()
where possible ( #3788 )
2023-11-11 06:00:28 +11:00
Carl W. Irving
c7b94e3e7d
fix(archive/untar.ts): cannot access symlinks in archives ( #3686 )
2023-10-06 15:33:36 +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
Jesper van den Ende
11b2b7f7f7
BREAKING(testing/asserts): remove implicit any types from assert signatures. ( #2203 )
2022-05-20 14:08:49 +02: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
Jonah Snider
1d9cd65f95
perf: use Array.from
instead of new Array
( #1551 )
...
Co-authored-by: Leon Strauss <me@lionc.de>
2021-11-11 10:21:06 +01: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
Craig Morten
c4600fbd75
docs: correct typos ( #1207 )
2021-09-07 16:40:05 +09:00
Guilherme J. Tramontina
c27b2593d4
fix(testing/asserts): cater for different class constructor functions ( #1000 )
2021-07-22 13:53:53 +09:00
Luca Casonato
81314bcab8
feat: add copy
util to std/io ( #1016 )
...
This is in preparation of deprecation in Deno, and removal in Deno 2.0.
2021-07-12 14:46:07 +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