danielwippermann
93e2bfe22e
fix(std/encoding/toml): Stop TOML parser from detecting numbers in strings. ( #7064 )
...
Before this patch the TOML parser would incorrect treat the string
"base64data0xdamaged" in a declaration as a hex number because the
corresponding check triggers even when the "0x" is inside a double
quoted string literal as long as it is followed by at least one hex
character.
2020-08-17 17:48:15 -04:00
Rauf Islam
40ead6cc98
fix(std/encoding/toml): Add boolean support to stringify ( #6941 )
2020-08-03 18:17:31 -04:00
Jarrett Helton
d615ebefe2
fix(std/toml): parser error with inline comments ( #6942 )
2020-08-03 13:26:02 -04:00
Casper Beyer
fd900cfe21
BREAKING(std/fs): remove readFileStr and readFileStrSync ( #6848 )
...
This removes the readFileStr and readFileStrSync functions which are
effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2020-07-22 22:18:18 -04:00
uki00a
121eaa4efc
fix(std/encoding/toml): could not parse strings with apostrophes/semicolons ( #6781 )
2020-07-16 18:36:15 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
João Souto
5c1ab080cd
Remove ansi_term dependency ( #4116 )
2020-02-24 19:30:17 -05:00
Ryan Dahl
4005174f6c
Revert "Remove ansi_term dependency"
...
Broke colors
https://github.com/denoland/deno/issues/4112#issuecomment-590545385
This reverts commit c250778704
.
2020-02-24 17:18:15 -05:00
João Souto
c250778704
Remove ansi_term dependency ( #4106 )
2020-02-24 10:29:56 -05:00
Bartek Iwańczuk
61273085e4
refactor: rewrite tests in std/ to use Deno.test ( #3930 )
2020-02-11 17:24:27 +01:00
Rafael Vargas
55063dd8e8
fix: Deno.remove() to properly remove dangling symlinks ( #3860 )
...
For some reason, the unit tests for Deno.remove() were not being imported to
unit_tests.ts and, consequently, not being executed. Thus, I imported them,
refactored some existent ones and wrote new ones for the symlink removal case.
Since the creation of a symlink is not implemented for Windows yet, assertions
that consider this state were added when the tests are executed in this OS.
2020-02-03 08:20:15 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Kitson Kelly
9837d324a7
Update to TypeScript 3.7 ( #3275 )
...
and update to prettier 1.19
Also, update `assert()` and remove not null assertions where possibly
in `cli`.
Closes #3273
2019-11-13 13:42:34 -05:00
Nayeem Rahman
f51dcc12d7
std: Move fs/path to the top-level ( #3100 )
2019-10-16 14:39:33 -04:00
Ryan Dahl
151ce0266e
Move everything into std subdir
2019-10-09 17:10:09 -04:00