Commit Graph

4032 Commits

Author SHA1 Message Date
Tim Reichen
e052dcb8ae
refactor(csv): rename arguments, variables and loop (#5297) 2024-07-04 20:15:24 +09:00
Tim Reichen
a8d22d2343
refactor(yaml): simplify encodeHex() (#5305) 2024-07-04 20:11:44 +09:00
Tim Reichen
ca0a37479f
refactor(yaml): add readIndent() method (#5302) 2024-07-04 20:03:57 +09:00
Yoshiya Hinosawa
ee4600667f
docs(assert): improve assertObjectMatch docs (#5296) 2024-07-04 18:59:18 +09:00
Tim Reichen
ae956512eb
test(csv): add grapheme length test (#5304) 2024-07-04 17:34:22 +09:00
Tim Reichen
9d5d887bbf
refactor(yaml): remove repeat helper function (#5303) 2024-07-04 18:18:35 +10:00
Tim Reichen
6a28a21f56
refactor(yaml): rename throwWarning() to dispatchWarning() (#5301) 2024-07-04 17:27:55 +10:00
Tim Reichen
9df093032d
refactor(yaml): move char check functions (#5300) 2024-07-04 17:23:23 +10:00
Tim Reichen
c58879e6be
refactor(csv): remove runeCount() function (#5298) 2024-07-04 17:15:48 +10:00
Tim Reichen
73f236d2f2
refactor(csv): throw errors immediately (#5299) 2024-07-04 17:08:57 +10:00
Yoshiya Hinosawa
29f5612eb1
docs(assert): improve assertNotStrictEquals example (#5295) 2024-07-04 15:40:05 +09:00
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