Commit Graph

55 Commits

Author SHA1 Message Date
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
Chris Knight
ac61553cdd refactor: shift copyBytes and tweak deps to reduce dependencies (denoland/deno#6469) 2021-02-01 10:46:58 +00:00
Ali Hasani
b0067bae1f feat(bytes): add hasSuffix and contains functions, update docs (denoland/deno#4801) 2021-02-01 10:46:57 +00:00
Marcos Casagrande
94c9fbcd2e BREAKING: reorder io/utils copyBytes arguments (denoland/deno#5022) 2021-02-01 10:46:57 +00:00
Ali Hasani
f68c42de9f create readme for bytes (denoland/deno#4876) 2021-02-01 10:46:57 +00:00
Ryan Dahl
1f1818d379 Move encode, decode helpers to /encoding/utf8.ts, delete /strings/ (denoland/deno#4565)
also removes encoding/mod.ts and archive/mod.ts which are useless.
2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0 Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00
Yusuke Sakurai
1ee7c0b672 clean up textproto code in std (denoland/deno#4458)
- moved and renamed append() into bytes from ws and textproto
- renamed textproto/readder_tests.ts -> textproto/test.ts
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
82a523639a refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
axetroy
015cf3e02d rename bytes/bytes.ts to bytes/mod.ts 2019-05-24 15:40:32 +03:00
axetroy
a457942678 remove function prefix of bytes module 2019-05-24 15:40:32 +03:00
Axetroy
bd46d60ded Enable bytes tests and add bytesRepeat (#446) 2019-05-24 14:44:13 +03:00
Jun Kato
8714252916 [bytes] fix bytesFindIndex and bytesFindLastIndex (#381) 2019-05-07 12:02:31 -04:00