Commit Graph

68 Commits

Author SHA1 Message Date
Asher Gomez
3da310774d
docs(bytes): polish documentation (#4594) 2024-04-16 16:59:52 +10:00
Gabriele Belluardo
2990aa6de5
chore: enable single-var-declarator lint rule (#4488) 2024-03-14 22:18:00 +11:00
Asher Gomez
e7cf89d55d
docs(bytes): module docs (#4466) 2024-03-11 20:30:58 +11:00
Simon Holloway
bd08c2b57d
refactor(bytes): prepare for noUncheckedIndexedAccess (#4119)
refactor(bytes): prepare for noUncheckedIndexedAccess
2024-01-06 08:37:29 +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
David Sherret
ceb107f4ef
chore: add more explicit types (#4018)
* Add explicit types

* Format.

* Revert
2023-12-22 15:35:15 +11:00
Tim Reichen
17eef1e62d
refactor(bytes): format test names (#3986)
* initial commit

* updat test names
2023-12-19 12:16:10 +11:00
Asher Gomez
e21c1fc903
BREAKING(bytes): remove spread concat() overload (#3854) 2023-11-24 19:19:11 +11:00
Asher Gomez
029a3edc7d
BREAKING(bytes): deprecate concat() signatures that don't use Uint8Array[] argument (#3784)
* BREAKING(bytes): deprecate spreaded `concat()`

* fix

* cleanup
2023-11-13 16:34:32 +11:00
Pavel Lechenko
9df03992e9
fix(msgpack): encode huge objects (#3698)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-08 17:30:22 +09:00
Asher Gomez
b20f796f1c
BREAKING: remove deprecated BytesList() (#3740) 2023-10-29 13:09:19 +09:00
Aapo Alasuutari
6d75c4ed7f
BREAKING(bytes): deprecate BytesList class (#3589) 2023-08-31 19:40:32 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
JEROME MARTIN
06e84de644
fix(bytes): correct slice() of BytesList (#3292) 2023-04-03 16:03:25 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
b454363655
refactor(bytes): minor tweaks and fixes for full cov. (#2969) 2022-12-03 21:27:32 +09:00
Asher Gomez
04d57ea1af
docs(bytes): fix JSDoc examples match new structure (#2968) 2022-12-01 13:55:43 +09:00
Asher Gomez
e1117a8c0d
refactor(bytes): move to single-export files (#2955) 2022-11-29 15:01:21 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Yoshiya Hinosawa
b23cf6aac8
Revert "refactor(bytes): remove equalsNaive (#2852)" (#2854) 2022-11-09 00:17:16 +09:00
Asher Gomez
e86f7cdbba
refactor(bytes): remove equalsNaive (#2852) 2022-11-08 18:56:50 +09:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
Asher Gomez
40d0466e46
chore(testing/bench): remove deprecated APIs (#2714) 2022-09-29 11:27:10 -04:00
Asher Gomez
36a4069bb3
test(bytes): cleanup empty test (#2586) 2022-09-02 20:40:52 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
Mark Ladyshau
4e07cfd3cc
chore(bytes): rename equalsSimd to equals32Bit (#2345) 2022-06-14 18:09:21 +09:00
Mark Ladyshau
1bba810b48
refactor: replace TS private with private identifiers (#2272) 2022-05-27 21:27:13 +09:00
Eliaz Bobadilla
2ae8becaec
🐛 Export equalSimd and equalsNaive (#2187) 2022-05-03 22:21:16 +02:00
Kitson Kelly
00463cba18
docs: improve module JSDoc for archive, async, bytes (#2162) 2022-04-28 14:08:08 +10:00
Luca Casonato
d31f404759
BREAKING: improve bytes/ module (#2074)
This commit improves the bytes module. The changes:

- indexOf, lastIndexOf, and includes have been renamed to indexOfNeedle,
  lastIndexOfNeedle, and includesNeedle. This is done to differentiate
  them from the similarly called Uint8Array prototype methods.

- JS doc comments have been re-written to be more extensive, and clearer.
  More examples have been added to them.
2022-03-31 17:36:23 +02:00
Jesse Jackson
58204e6f56
refactor: mark modules as browser compatible (#1972) 2022-03-01 13:25:50 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Un Known
812720e704
perf(bytes): switch equals to simd for large byte arrays (#1349) 2021-10-07 02:10:43 +09:00
Craig Morten
c4600fbd75
docs: correct typos (#1207) 2021-09-07 16:40:05 +09:00
arrayah
e83f077a33
docs(bytes): fix typo in *iterator() description (#1162) 2021-08-25 12:41:08 +05:30
Zhangyuan Nie
1ca2081e2d
refactor(bytes): rename contains to includes with optional argument fromIndex (#1133) 2021-08-16 14:22:48 +09:00
grian
de275a91b2
test(bytes): improve tests for equals, startsWith and endsWith (#1021) 2021-07-12 08:32:48 -04:00
Yusuke Sakurai
3586ef0ab6
fix(io): Improve readDelims() performance (#867) 2021-04-24 14:26:34 -04:00
Jean-Rene Bouvier
8ba4ef9700
docs(bytes): improve README.md (#737)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-02-18 22:23:03 +09:00
Zhangyuan Nie
5bc18f5d86
BREAKING(encoding): remove module utf8.ts (#728) 2021-02-16 13:22:07 +01:00
Maxim Zhukov
50cbb3cbc5 docs(bytes): fix typo in readme example (denoland/deno#9119) 2021-02-01 10:46:59 +00:00
Ryan Dahl
48a2496dbe update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
Yosi Pramajaya
fe6304a6a2 BREAKING(bytes): Adjust APIs based on std-wg discussion (denoland/deno#8612) 2021-02-01 10:46:58 +00:00
Yoshiya Hinosawa
9aa4d7c331 docs(bytes): add missing docs to README (denoland/deno#7885) 2021-02-01 10:46:58 +00:00
tokiedokie
8567b960f8 docs: version all imports in README (denoland/deno#7442)
Use $STD_VERSION in  README files to automatically
display proper version.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf docs: end sentences with a period in markdown (denoland/deno#7813) 2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320 feat(fmt): Sort named import and export specifiers (denoland/deno#7711) 2021-02-01 10:46:58 +00:00
sonota88
d5fe8881af doc(bytes): Fix wrong import in the example code (copyBytes) (denoland/deno#6787) 2021-02-01 10:46:58 +00:00
David Sherret
1425960509 Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00