Commit Graph

85 Commits

Author SHA1 Message Date
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
denobot
51dc36d563
chore: release 2024.05.22 (#4830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 19:57:28 +09:00
Asher Gomez
2cc21194aa
test(bytes): add test for negative start index for indexOfNeedle() (#4768)
tests(bytes): add test for negative `start` index for `indexOfNeedle()`
2024-05-20 17:16:27 +10:00
David Sherret
196101fbea
perf(bytes): skip doing extra work in some scenarios (#4767)
perf: skip doing extra work in std/bytes in some scenarios
2024-05-19 12:10:00 +10:00
Asher Gomez
cc63704cf0
chore(bytes): release bytes@1.0.0-rc.2 (#4745)
feat(bytes): `bytes@1.0.0-rc.2`
2024-05-16 15:50:55 +10:00
Asher Gomez
883f129939
docs(bytes): trim module documentation (#4693)
* docs(bytes): trim module documentation

* fix

* tweaks

* tweak
2024-05-08 16:03:08 +09:00
Asher Gomez
a079dd3fed
docs(bytes,collections): fix doc checker and documentation (#4691)
docs(bytes,collection): fix doc checker and documentation
2024-05-08 16:18:26 +10:00
Asher Gomez
4bdefc105c
chore: run @example JSDoc code snippets (#4669)
* chore: run `@example` JSDoc code snippets

* async-ify

* work

* fix

* works

* fix

* tweak
2024-05-06 13:28:15 +10:00
Asher Gomez
e7ce4ff553
feat(bytes): @std/bytes@1.0.0-rc.1 (#4651) 2024-05-02 21:44:41 +10:00
Asher Gomez
786a013e7e
docs(bytes): fix return type description for concat() (#4668) 2024-05-02 17:47:21 +10:00
Yoshiya Hinosawa
1cfd39cf7c
docs(bytes): update API doc of lastIndexOfNeedle (#4665) 2024-05-02 14:53:55 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
T6
b2115344fd
perf(bytes): improve performance of equals() (#4635)
* improve performance of bytes equals

* fmt

* comment

* comment

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-04-24 00:59:32 +00:00
Asher Gomez
3149cdbc81
fix(bytes): equals() works with subarray (#4630)
fix(bytes): `equals()` works with `.subarray()`
2024-04-23 16:50:21 +09:00
Asher Gomez
ac5723de73
chore: JSDoc checker (#4618)
* chore: JSDoc checker

* work

* fix
2024-04-22 07:07:34 +00:00
Asher Gomez
cb2b74a0e4
fix(bytes): improve invalid count error message for repeat() (#4603)
* fix(bytes): improve invalid count error message

* tweak
2024-04-17 05:09:24 +00:00
Asher Gomez
03a6299c0c
refactor(bytes): minor cleanups (#4602) 2024-04-17 15:01:37 +10:00
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