Commit Graph

4021 Commits

Author SHA1 Message Date
Yoshiya Hinosawa
99764a7869
docs(assert): update assertMatch example (#5294) 2024-07-04 15:30:27 +09:00
Yoshiya Hinosawa
ed1ab2684a
fix(yaml): fix StringifyOptions.noRefs (#5292) 2024-07-04 14:56:40 +09:00
Asher Gomez
484977ff9e
chore: update @std/encoding version (#5293) 2024-07-04 14:55:53 +09:00
Yoshiya Hinosawa
10be0e3fde
chore: run test in Node.js (#5258)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-04 14:36:47 +09:00
Yoshiya Hinosawa
442a497c03
fix(fmt): fix the case when mantissa exceeds 10 by rounding and exponent is negative (#5279) 2024-07-04 14:29:31 +09:00
Asher Gomez
53037679bb
BREAKING(yaml): rename StringifyOptions.noCompatMode to StringifyOptions.compatMode (#5287) 2024-07-04 15:07:27 +10:00
Asher Gomez
789753d1c4
BREAKING(yaml): rename ParseOptions.noArrayIndent to ParseOptions.arrayIndent (#5286) 2024-07-04 15:05:21 +10:00
Asher Gomez
f3ca45857f
BREAKING(yaml): rename ParseOptions.json to ParseOptions.allowDuplicateKeys (#5282)
* BREAKING(yaml): rename `ParseOptions.json` to `ParseOptions.allowDuplicateKeys`

* fix
2024-07-04 14:59:06 +10:00
Asher Gomez
fc2975b21f
chore: temporarily disable canary (#5290)
* chore: temporarily disable canary

* fix

* fix

* more fixing

* fix

* fixing...
2024-07-04 13:47:53 +09:00
Asher Gomez
004432499e
refactor(yaml): remove first argument from ParseOptions.onWarning (#5284) 2024-07-04 14:05:51 +10:00
Asher Gomez
57c59d8d89
test(yaml): add test for ParseOptions.json option (#5283) 2024-07-04 13:59:09 +10:00
Yoshiya Hinosawa
cdb6ee4abf
test(fmt): add test cases for printf() (#5278) 2024-07-04 11:46:04 +09:00
Asher Gomez
f1952eca20
fix(bytes,cli,collections,expect): add missing non-null assertions (#5280)
fix(bytes,cli,collections,expect): add non-null assertions
2024-07-04 00:12:41 +02:00
Tim Reichen
a78d874f67
refactor(yaml): add peek() and next() to LoaderState (#5276)
* initial commit

* refactor(yaml): inline error functions as methods (#5273)

* Update _loader.ts

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>

* refactor(yaml): simplify isWhiteSpaceOrEOL (#5271)

* refactor(yaml): replace `Type` class with interface (#5262)

* update

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-04 07:38:32 +10:00
Tim Reichen
9127978d31
refactor(yaml): replace Type class with interface (#5262) 2024-07-03 18:42:19 +09:00
Tim Reichen
63233ce580
refactor(yaml): simplify isWhiteSpaceOrEOL (#5271) 2024-07-03 18:40:24 +09:00
Tim Reichen
ba704daba6
refactor(yaml): simplify sanitizeInput() (#5274) 2024-07-03 17:44:36 +09:00
Tim Reichen
4f9959d14b
refactor(yaml): inline error functions as methods (#5273) 2024-07-03 17:40:18 +09:00
Asher Gomez
ebf8eeec59
BREAKING(front-matter): remove createExtractor() (#5266)
* BREAKING(front-matter): remove `createExtractor()`

* work
2024-07-03 17:53:55 +10:00
Tim Reichen
769cc02d71
refactor(yaml): remove State class (#5275)
initial commit
2024-07-03 16:37:13 +09:00
Tim Reichen
b775a956d1
refactor(yaml): move loader and dumper files (#5270)
initial commit
2024-07-03 17:06:39 +10:00
Asher Gomez
735609e304
test(crypto): test timingSafeEqual() in handling DataViews (#5268) 2024-07-03 14:56:31 +10:00
Asher Gomez
c9a4effda9
test(assert): add "assert() throws if expr is falsy" test (#5267) 2024-07-03 13:38:22 +09:00
Asher Gomez
8a96290e3c
chore(front-matter): release front-matter@1.0.0-rc.1 (#5263) 2024-07-03 14:03:44 +10:00
Tim Reichen
17837f4618
refactor(yaml): make readDocument() and readDocuments() generator functions (#5255)
* initial commit

* update

* update

* cleanup

* refactor: remove `documents` field from `LoaderState`

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-03 14:02:47 +10:00
Yoshiya Hinosawa
f78f2f2cda
fix(yaml): fix !!int style variation handling in stringfiy (#5256) 2024-07-03 12:55:38 +09:00
Tim Reichen
1a11b69bb8
refactor(yaml): merge yaml/_dumper/ files (#5260)
* initial commit

* update

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-02 23:53:51 +00:00
Tim Reichen
6f33e7f1e4
refactor(yaml): merge yaml/_loader/ files (#5259)
* initial commit

* update

* update
2024-07-03 09:50:58 +10:00
Tim Reichen
db577fd629
refactor(yaml): add default options object (#5261)
initial commit
2024-07-03 09:48:31 +10:00
Yoshiya Hinosawa
6b26d41367
test(yaml): add test of parsing !!int types (#5253) 2024-07-02 21:06:38 +09:00
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +09:00
Yoshiya Hinosawa
dbe94e83d5
test(yaml): test handling of boolean values (#5251) 2024-07-02 19:49:10 +09:00
Tim Reichen
88716b8128
refactor(yaml): replace chars and comments with constants (#5250)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-02 19:47:48 +09:00
Tim Reichen
5c65c1363c
refactor(yaml): add sanitizeInput() function (#5248)
* initial commit

* Update yaml/_loader/loader.ts

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

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-02 10:43:43 +00:00
Tim Reichen
832be240ea
refactor(yaml): remove inferred Schema type (#5252)
initial commit
2024-07-02 20:40:53 +10:00
Tim Reichen
0629b7140a
refactor(yaml): add default options object (#5249)
initial commit
2024-07-02 19:53:21 +10:00
Tim Reichen
df26c6d6e3
refactor(yaml): share char constants (#5246)
* initial commit

* add copyright header

* Update loader.ts

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>

* add import

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-02 09:39:29 +00:00
Tim Reichen
8420b13f00
refactor(yaml): remove DirectiveHandler type (#5247)
initial commit

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-02 09:34:48 +00:00
Yoshiya Hinosawa
41385c003b
test(yaml): check handling of binary type (#5245) 2024-07-02 18:26:23 +09:00
Asher Gomez
532ab28e3a
chore(yaml): release yaml@1.0.0-rc.1 (#5244) 2024-07-02 19:25:25 +10:00
Asher Gomez
730bc08544
refactor(yaml): minor cleanups (#5239)
* refactor(yaml): minor cleanups

* work

* tweaks

* Update yaml/_dumper/dumper.ts

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>

* tweaks

* tweak

* fix

* fix

* tweak

* fix

* reverts

* tweak

* tweaks

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-02 16:27:49 +10:00
Asher Gomez
375e914050
refactor(expect,testing): update @std/assert imports (#5242) 2024-07-02 14:07:46 +10:00
Asher Gomez
9c9ed80a28
test(yaml): add parse() test for duplicate keys (#5240) 2024-07-02 13:58:47 +10:00
Asher Gomez
5803cc9172
BREAKING(assert): remove assert from module names (#5176)
* BREAKING(assert): remove `assert` from module names

* work

* fix

* work

* work

* tweaks

* fix
2024-07-02 13:42:40 +10:00
Yoshiya Hinosawa
76113d67fe
BREAKING(expect): remove special handling of Immutable.js objects (#5228) 2024-07-02 12:33:08 +09:00
Asher Gomez
d983137bc2
refactor(csv): minor cleanup (#5166)
* refactor(csv): minor cleanup

* x
2024-07-02 12:17:58 +09:00
Asher Gomez
cadf85c8ad
BREAKING(yaml): remove ParseOptions.legacy option (#5229)
BREAKING(yaml): remove `ParseOptions.legacy`
2024-07-02 11:57:58 +10:00
Asher Gomez
f1a71fcc19
chore(yaml): remove example folder (#5238) 2024-07-02 11:57:25 +10:00
Asher Gomez
c059a3d343
BREAKING(json): remove json from module names (#5173)
* BREAKING(json): remove `json` from module names

* revert

* fixes
2024-07-02 11:57:00 +10:00
Yoshiya Hinosawa
9e19c392da
test(yaml): add test cases of handling ? mark in YAML (#5234) 2024-07-02 10:51:53 +09:00