Commit Graph

4271 Commits

Author SHA1 Message Date
Mateusz Russak
714fccba66
fix(async): abortableAsyncIterable() should call .return() on the generator once aborted (#5560)
* fix(async): abortableAsyncIterable() should call .return() on the generator once aborted

* fix: formatting

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-01 00:25:42 +00:00
Tim Reichen
f632632558
refactor(cli): make regexps constants (#5595)
* initial commit

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 23:55:49 +00:00
Tim Reichen
ee46c4da79
refactor(front-matter): replace regexp factory with regexp literals (#5370)
* initial commit

* add parens

* update

* temp test

* update

* remove temp test

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-01 09:19:16 +10:00
Yoshiya Hinosawa
b213d54732
docs(csv): correct thrown error type in fieldsPerRecord field description (#5594) 2024-07-31 20:44:54 +09:00
Yoshiya Hinosawa
fd323c80f5
chore: release fmt@1.0.0 (#5454)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 19:24:26 +09:00
Yoshiya Hinosawa
c084459c12
BREAKING(fmt): rename PrettyDurationOptions to FormatOptions (#5591)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 19:23:43 +09:00
Asher Gomez
dfda1c3323
refactor(ini): cleanup dead code (#5576) 2024-07-31 10:20:51 +00:00
Asher Gomez
524b4e1235
test(ini): copy tests from ini/_ini_map_test.ts (#5593) 2024-07-31 19:16:24 +09:00
Yoshiya Hinosawa
d32fcaa662
docs(testing): mention default serializer (#5590) 2024-07-31 16:45:22 +09:00
Asher Gomez
20577daefe
chore(testing): release testing@1.0.0 (#5218)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-31 16:55:45 +10:00
Yoshiya Hinosawa
88bb751212
docs(semver): fix Comparator example (#5585)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 15:54:59 +09:00
Yoshiya Hinosawa
34d4be948b
docs(semver): clarify compare docs (#5586) 2024-07-31 15:54:14 +09:00
Yoshiya Hinosawa
3d09aa31ee
BREAKING(semver): remove the handling of non-standard SemVers in format function (#5587) 2024-07-31 15:26:57 +09:00
Asher Gomez
b328265596
chore(semver): release semver@1.0.0 (#5220)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-31 14:03:22 +10:00
Yoshiya Hinosawa
d8a23fefe5
fix(semver): do not throw in canParse (#5583) 2024-07-31 13:01:17 +09:00
Yoshiya Hinosawa
8baede0eb5
BREAKING(semver): do not accept undefined input in tryParse (#5584) 2024-07-31 12:59:44 +09:00
Yoshiya Hinosawa
b315e049b6
chore: clarify the policy about new features (#5581)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 12:33:03 +09:00
Jesse Jackson
9253dcbd87
refactor(io): use writeAll() within copy() (#5580)
* refactor(io): `copy`

- deduplicate logic by importing `writeAll`
- add JSDoc description of returned value

* add test step for return value
2024-07-30 15:52:20 +10:00
Yoshiya Hinosawa
b66ffc1787
chore: update Releases.md (#5579) 2024-07-30 14:29:58 +09:00
Yoshiya Hinosawa
906a1fdd85
BREAKING(http): remove ETagSource (#5577) 2024-07-30 12:40:08 +09:00
Asher Gomez
c77e966efa
chore(http): release http@1.0.0 (#5217) 2024-07-30 13:28:02 +10:00
Asher Gomez
7fd14ba8d4
fix(testing): correct stub() error message (#5575) 2024-07-30 12:11:41 +09:00
Yoshiya Hinosawa
912c6f0069
fix(http): better eTag return type for string and Uint8Array inputs (#5571)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-30 12:10:53 +09:00
Yoshiya Hinosawa
aa8bb2b28b
BREAKING(ini): reduce options for stringify, make FormattingOptions type private (#5572)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-30 11:31:39 +09:00
Asher Gomez
3a446538b1
fix(semver): throw on invalid input in parseRange() (#5567)
* fix(semver): throw on invalid input in `parseRange()`

* fix

* fix

* fix
2024-07-30 12:31:20 +10:00
Yoshiya Hinosawa
b064ee1212
chore(assert): mark options argument of AssertionError constructor unstable (#5573) 2024-07-30 11:15:52 +09:00
Asher Gomez
606838bace
docs(fmt,fs,text,yaml): fix Markdown alerts (#5568) 2024-07-29 21:31:14 +10:00
Asher Gomez
33e17d579d
refactor(testing): improve error messages in mock module (part 2) (#5569) 2024-07-29 21:30:55 +10:00
Yoshiya Hinosawa
7fa0c2d5b8
chore: release net@1.0.0 (#5457) 2024-07-29 19:41:33 +09:00
Asher Gomez
440ce91e16
docs(ini): cleanup module documentation (#5566) 2024-07-29 20:40:10 +10:00
Jesse Jackson
36bc450fd9
feat(assert): add options parameter to AssertionError constructor (#5561)
* feat(assert): add `options` parameter to `AssertionError` constructor

* add basic tests

* simplify tests using `assertThrows`

* add example usage of options parameter

* cleanup

* use strict equality comparison in test

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-29 17:46:15 +10:00
Asher Gomez
b4726c7950
refactor(semver): throw TypeError if release is invalid in increment() (#5565) 2024-07-29 15:13:17 +09:00
Asher Gomez
7eed8d0e04
BREAKING(testing): replace TimeError exception in favor of built-in error classes in some cases (#5550)
* BREAKING(testing): remove `TimeError` in favor of built-in error classes

* work

* refactor: use `Error` instead of `TypeError`

* work

* fix

* work

* work

* fix

* fix
2024-07-29 14:48:44 +10:00
Asher Gomez
2b33b55881
fix(semver): correctly remove spaces between operators and versions in parseRange() (#5564) 2024-07-29 13:06:42 +09:00
Asher Gomez
72e246222b
fix(http): update localhost strings in tests (#5563)
* fix(http): update localhost strings in tests

* fix
2024-07-29 13:59:32 +10:00
ryu
e511eb05ce
docs(fs): fix incorrect examples for walk (#5559)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-27 11:19:21 +09:00
Yoshiya Hinosawa
3fbc223f98
chore: allow manual dispatch of workspace_publish (#5556) 2024-07-26 20:13:22 +09:00
denobot
fb950fa0f3
chore: release 2024.07.26 (#5554)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-26 19:45:22 +09:00
Yoshiya Hinosawa
b1b1e5c56d
docs(expect): add examples of matcher usages (#5553) 2024-07-26 19:39:06 +09:00
Asher Gomez
9d572e086a
docs(yaml): correct core schema note (#5552) 2024-07-26 17:01:42 +09:00
Yoshiya Hinosawa
0d6b1aec6a
test(cli): stop spinner without error (#5551) 2024-07-26 16:57:33 +09:00
Asher Gomez
f7561ca825
fix(crypto): improve handling of length option (#5505)
* fix(crypto): improve handling of `length` option

* work
2024-07-26 09:30:17 +05:30
Yoshiya Hinosawa
9ac4dad6ac
chore(front-matter): release front-matter@1.0.0 (#5376)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-26 12:57:25 +09:00
Asher Gomez
1eb559fe9c
refactor(testing): improve error messages in mock module (#5549)
* refactor(testing): improve error messages in `mock` module

* work
2024-07-26 12:24:12 +09:00
ud2
b0959019c4
perf(text): make levenshteinDistance() up to 147x faster (#5527)
* perf(text): optimize `levenshteinDistance`

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-26 09:45:46 +10:00
Luca Casonato
65c189aea6
fix(http): only show LAN address when --allow-sys is provided (#5547)
This commit changes the behaviour of the file server to only print the LAN address if `--allow-sys=networkInterfaces` is provided. If it is not provided, no permission prompt for `--allow-sys` will be raised, and the LAN address will not be printed.
2024-07-25 12:13:16 +02:00
Asher Gomez
7d71b804a2
chore(jsonc): tweak JsonValue export (#5546) 2024-07-25 16:46:08 +09:00
Asher Gomez
9e67961452
chore(jsonc): release jsonc@1.0.0 (#5216) 2024-07-25 17:26:46 +10:00
Asher Gomez
8d78a51367
refactor(yaml): cleanup dead sexagesimal regexp code in float type (#5545) 2024-07-25 15:49:49 +09:00
Asher Gomez
031c32c96e
docs(fs): make preserveTimestamps note more prominent (#5543) 2024-07-25 15:49:22 +09:00