Commit Graph

4488 Commits

Author SHA1 Message Date
lionel-rowe
8782bdb699
fix(cache/unstable): fix flaky fibonacci test (#5872)
* fix(cache/unstable): Fix flaky fibonacci test

* Attempt 2
2024-08-30 14:03:58 +10:00
Tim Reichen
d279c0a49a
test(yaml): add int type tests (#5868)
initial commit
2024-08-30 10:02:13 +10:00
Tim Reichen
15bf9115dd
refactor(yaml): simplify set type (#5867) 2024-08-30 09:42:56 +10:00
Tim Reichen
a26ce0fb4a
test(yaml): add set type test (#5866)
initial commit
2024-08-30 09:35:49 +10:00
Tim Reichen
b7efc57d4f
refactor(yaml): simplify regexp type (#5860)
initial commit

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-30 08:58:14 +10:00
Tim Reichen
0b59bfd465
test(yaml): add regexp type tests (#5862)
* initial commit

* update

* update
2024-08-30 08:53:08 +10:00
Tim Reichen
fab118b515
refactor(yaml): move duplicate and duplicateIndex (#5836)
* initial commit

* update
2024-08-30 08:52:17 +10:00
Ben McLean
c3b113d7a9
refactor(path): make isWindows check compatible with Node and Bun (#4961)
* Refactored to get rid of unnecessary function.

All that needs to be done here is to check if
the version is windows. Handling each combination
of runtime and operating system will make
the existing osType difficult to test and maintain.

* Changed browser version of isWindows.

It was using a deprecated web API.

* Refactored getIsWindows.

* Added node/bun version of isWindows.

* Got cross platform os module working.

* Handled Deno error.

* Fixed type errors.

* Removed node:os import.

This is how NodeJS checks to see
if the underlying OS is windows.

* tweaks

* fix

* cleanup

* tweak

* fix

* Added support for node.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-30 08:39:59 +10:00
Tim Reichen
0a71a4d3db
refactor(yaml): inline composeNode() (#5861)
* initial commit

* update
2024-08-29 17:43:20 +10:00
Tim Reichen
745c4a61ae
refactor(yaml): simplify resolve() for pairs (#5852)
initial commit
2024-08-29 10:38:29 +10:00
Emerson Laurentino
8b9a139472
fix(dotenv): handle single-quotes in values in stringify() (#5846)
* refactor(dotenv): add parse function and test

* refactor(dotenv): escape single quotes in stringify function

* refactor(dotenv): fix stringify function to correctly escape single quotes

* refactor(dotenv): fix stringify function to correctly escape single quotes

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-29 10:32:39 +10:00
Tim Reichen
2c4287178a
refactor(yaml): simplify null type (#5858)
initial commit
2024-08-29 10:17:00 +10:00
Tim Reichen
11fce1a431
refactor(yaml): simplify boolean type (#5859)
initial commit
2024-08-29 10:15:38 +10:00
Kitson Kelly
b8df2b3494
fix(http): less restrictive arguments for accepts*() functions (#5850)
* fix(http): less restrictive types

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-29 10:09:44 +10:00
Tim Reichen
a7e072881c
refactor(yaml): inline readAlias() (#5856)
initial commit
2024-08-29 09:49:40 +10:00
Ian Bull
3b3a7617ab
refactor(assert,datetime,fmt,io,streams): consistently throw new Error() instead of throw Error() (#5855)
refactor(assert, datetime, fmt, io, streams): use `throw new Error` instead of `throw`

To ensure consistency across the codebase, this commit refactors the
codebase to use `throw new Error` instead of `throw` for throwing
errors.

https://github.com/denoland/std/issues/5854
2024-08-29 08:55:24 +10:00
Tim Reichen
a55ee9c84d
refactor(yaml): inline readAnchorProperty() (#5853) 2024-08-28 17:33:07 +10:00
Tim Reichen
c7835496e4
refactor(yaml): simplify omap resolve() (#5843)
* initial commit

* update
2024-08-28 17:22:55 +10:00
Tim Reichen
8770ff156c
refactor(yaml): simplify pair construct() function (#5844)
* initial commit

* Update yaml/_type/pairs.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* update

* update

* update

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-28 17:20:19 +10:00
Tim Reichen
937da3966e
refactor(yaml): inline readTagProperty() (#5849)
initial commit
2024-08-28 17:11:23 +10:00
lionel-rowe
2e209c0ff6
docs(async): add note about deadline() DOMException name of TimeoutError (#5833)
* docs(async): add note about deadline DOMException name of TimeoutError

* Document all cases for thrown error
2024-08-28 15:46:19 +10:00
Tim Reichen
29fdb0d536
refactor(yaml): replace getObjectTypeString() with isPlainObject() (#5842)
* initial commit

* fmt
2024-08-28 15:37:14 +10:00
Tim Reichen
f7fe38a182
refactor(yaml): inline readBlockMapping() (#5847)
initial commit
2024-08-28 10:34:06 +10:00
Tim Reichen
cde346da13
refactor(yaml): inline readBlockScalar() (#5841) 2024-08-28 06:35:05 +10:00
familyboat
baa5086dff
chore(yaml): fix typo in inline comment (#5845) 2024-08-27 23:51:27 +09:00
Tim Reichen
ab2c1cd7ca
refactor(yaml): inline readFlowCollection() (#5840) 2024-08-27 18:40:56 +10:00
Tim Reichen
3dbccc5a84
refactor(yaml): change error message in stringifyNode() (#5839) 2024-08-27 18:40:03 +10:00
Tim Reichen
eeaada9c18
test(yaml): add duplicate binary references test (#5837) 2024-08-27 18:26:08 +10:00
Tim Reichen
2b66301364
refactor(yaml): inline readDoubleQuotedScalar() (#5838) 2024-08-27 18:24:42 +10:00
Ian Bull
7539060ceb
refactor(expect): align error messages in the matchers (#5835) 2024-08-27 14:18:01 +09:00
lionel-rowe
15fc72c273
fix(msgpack): accept readonly input data in encode() (#5832)
feat(msgpack): accept readonly input data (#5831)
2024-08-27 15:16:03 +10:00
Ian Bull
64d80042b1
refactor(yaml): align additional error messages (#5806)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-27 14:03:26 +09:00
Jesse Jackson
4ab37ea779
docs(cache): document valid range information for TTL values (#5834)
* docs(cache): document valid range information for TTL values

* add test for documented TTL range

* tweaks

* Apply suggestions from code review

Co-authored-by: Jesse Jackson <jsejcksn@users.noreply.github.com>

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-27 00:08:34 +00:00
Tim Reichen
95ad45b118
test(yaml): add undefined array entry with skipInvalid and flowLevel options test (#5828)
initial commit
2024-08-27 09:27:21 +10:00
Tim Reichen
78bb214da3
test(yaml): add duplicate array reference test (#5825)
initial commit
2024-08-27 09:22:54 +10:00
Tim Reichen
52c65f9bb6
refactor(yaml): move isObject() (#5823)
* initial commit

* Update yaml/_dumper_state.ts

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-26 23:16:52 +00:00
Tim Reichen
7fc1940d96
refactor(yaml): inline readSingleQuotedScalar() (#5827)
initial commit
2024-08-26 21:07:48 +10:00
Tim Reichen
3946983d7c
test(yaml): add undefined object entry with skipInvalid and flowLevel option test (#5829) 2024-08-26 18:56:26 +09:00
Yoshiya Hinosawa
0ebec10450
chore: specify import map path in version_bump workflow (#5826) 2024-08-26 18:03:26 +09:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Tim Reichen
37d3350c90
refactor(yaml): use isObject() (#5822) 2024-08-26 07:39:57 +00:00
Asher Gomez
3666d84513
feat(path/unstable): support URL in extname() (#5818)
* feat(path/unstable): support URL in `extname()`

* update

* fix

* fixes

* use fromFileUrl in window implementation

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 16:33:53 +09:00
Yoshiya Hinosawa
3cf1e611a6
test(cli): reduce flakiness of Spinner test (#5821) 2024-08-26 15:33:51 +09:00
Ian Bull
f1d04d6403
refactor(expect): align additional error messages (#5811) 2024-08-26 14:27:49 +09:00
Ian Bull
73987a1772
refactor(testing): align additional error messages (#5810) 2024-08-26 14:22:16 +09:00
Ian Bull
9a8b3a5d4e
refactor(csv): align additional error messages (#5796)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 14:11:55 +09:00
Asher Gomez
7314eec8d4
docs: update badge URL (#5787)
* docs: update badge URL

* remove badge

* update

* work

* work
2024-08-26 14:07:06 +09:00
Ian Bull
3c2ac9fe65
refactor(http): align additional error messages (#5791)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 14:05:00 +09:00
Yoshiya Hinosawa
600dfa47b1
test(uuid): assert error message of version() (#5819) 2024-08-26 13:45:37 +09:00
Ian Bull
96bc247998
refactor(uuid): align additional error messages (#5803) 2024-08-26 13:36:01 +09:00