fadwamahmoud
5e28e39d47
fix(encoding/csv): improve error message for csv's parse function ( #2191 )
2022-05-18 14:14:40 +09:00
Jesse Jackson
88b774bf59
docs(encoding): fix fragment link to JSONC section ( #2215 )
2022-05-13 10:21:05 +02:00
ayame113
21824ca4e5
feat(encoding): add jsonc parser ( #2154 )
2022-05-07 20:06:04 +09:00
Yuki Tanaka
c5202f5dfd
feat: web streams based encoding/csv ( #1993 )
2022-04-06 06:46:45 +02:00
Yoshiya Hinosawa
2ec5e07a49
docs: fix doc testing errors ( #2012 )
2022-03-09 01:13:45 +09:00
Jesse Jackson
58204e6f56
refactor: mark modules as browser compatible ( #1972 )
2022-03-01 13:25:50 +09:00
Elisée Maurer
0bda42d822
chore: Enable "noImplicitOverride" compiler option and fix errors ( #1940 )
...
This commit makes deno_std "noImplicitOverride"-compliant and
enables the compiler option in deno.json so that further changes
don't regress it
2022-02-20 17:35:40 +01:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Andrew Mitchell
373ecdfa68
BREAKING(encoding/csv): add return type to csv's parse and remove a parse func from args ( #1724 )
2022-01-20 11:05:30 +09:00
Zheyu Zhang
78d464a17f
feat(toml): align keys by option ( #1693 )
2021-12-09 23:15:38 +09:00
Zheyu Zhang
6686110e29
fix(toml): parse declaration correctly ( #1682 )
2021-12-08 15:57:32 +09:00
Jonah Snider
1d9cd65f95
perf: use Array.from
instead of new Array
( #1551 )
...
Co-authored-by: Leon Strauss <me@lionc.de>
2021-11-11 10:21:06 +01:00
Leo K
b58b10c229
feat: streams utilities ( #1141 )
2021-10-12 11:51:48 +02:00
Nayeem Rahman
d21aa79126
BREAKING(io): Reorganize modules ( #813 )
...
This commit reogranizes many modules:
- Move exports of io/bufio.ts (removed) into io/buffer.ts.
- Move exports of io/util.ts (repurposed, see next bullet) into io/streams.ts.
* With the exception of readRange() and readRangeSync(), which have been moved to io/files.ts (new).
*Also rename iter() and iterSync() to iterateReader() and iterateReaderSync() respectively.
- Move exports of io/ioutil.ts (removed) into io/util.ts.
Deprecation messages were added to old modules to make this change backwards compatible.
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-10-08 03:42:33 +02:00
Harry Lachenmayer
bf53725e28
fix(encoding/base64url): allow passing strings to encode
( #1361 )
2021-10-07 22:51:43 +02:00
Yoshiya Hinosawa
ab349ccac4
chore: remove deno-fmt-ignore ( #1351 )
2021-10-05 22:04:47 +09:00
defectivepixel
7bc0fad6fd
docs(encoding): add hex docs ( #1287 )
2021-09-19 03:40:08 +09:00
Nayeem Rahman
159e2aeffc
feat(testing/asserts): add assertThrows() overload to receive error ( #1219 )
2021-09-16 00:35:21 +09:00
Bartek Iwańczuk
44c326dc5b
fix: update to latest signal API changes ( #1211 )
2021-09-15 01:32:26 +02:00
Aaron O'Mullan
d4145b7c7e
fix(tests/yaml): expect !!js/function parse/stringify to throw ( #1276 )
...
* fix(tests/yaml): expect !!js/function parse/stringify to throw
Following #1275
2021-09-14 15:55:34 +02:00
Aaron O'Mullan
d5abd74f47
security(encoding/yaml): disable functions ( #1275 )
...
Which could allow arbitrary code execution when parsing YAML files with the extended schema, e.g:
```js
import { parse, EXTENDED_SCHEMA } from "https://deno.land/std/encoding/yaml.ts ";
const data = parse(`
fun: !!js/function >
console.log(Deno.core);
`, {schema: EXTENDED_SCHEMA});
console.log(data);
```
2021-09-14 14:03:05 +02:00
Yuki Tanaka
76d8c0159b
chore: wrap examples in fenced code blocks ( #1222 )
2021-09-13 00:14:54 +09:00
Craig Morten
c4600fbd75
docs: correct typos ( #1207 )
2021-09-07 16:40:05 +09:00
GrosSacASacs
5537732ba3
refactor: use native hasOwn ( #1177 )
2021-09-02 13:23:41 +09:00
Fuji Haruka
9b04726d09
fix(encoding/toml): escape string key/value ( #1176 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-09-01 15:16:10 +09:00
Kitson Kelly
b7c61a27a7
chore: updates related to TypeScript 4.4 ( #1171 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-31 14:39:04 +10:00
Ryan Dahl
455077a905
fix: type check examples in README files ( #1121 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-11 11:28:10 +02:00
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +09:00
Yuki Tanaka
c1252a3cd4
docs(encoding/base64url): Add base64url
encoding example ( #1082 )
2021-08-03 15:32:41 +09:00
Simon Lecoq
5606a10728
fix(testing): change assertThrows
and assertThrowsAsync
return type to void
and Promise<void>
( #1052 )
2021-07-28 14:54:58 +09:00
Chase
68a671f2bb
fix(encoding/base64url): throw TypeError in case of invalid base64url string ( #1040 )
2021-07-26 14:08:13 +02:00
Fuji Haruka
43ef969569
fix(encoding/toml): fix inline table and nested array ( #1042 )
2021-07-21 16:17:25 -07:00
Fuji Haruka
f12982dc75
fix(encoding/yaml): fix parseAll
type definition by using overloads ( #1048 )
2021-07-21 16:47:10 +09:00
Fuji Haruka
bac1c3eb86
fix(encoding/toml): parse keys correctly ( #1019 )
2021-07-13 23:34:50 +09:00
Fuji Haruka
6649e0abc9
fix(encoding/toml): fix comment line starting with whitespaces ( #1017 )
2021-07-13 23:16:45 +09:00
Zzzen
cb39391f02
fix(encoding/toml): serializes mixed array ( #1001 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-07-12 23:03:46 +09:00
Fuji Haruka
c20aade2bd
fix(encoding/toml): throws parse error when toml uses invalid whitespaces ( #1013 )
2021-07-09 09:26:01 -04:00
Zhangyuan Nie
30a96695f6
BREAKING(encoding/hex): remove encodedLen, encodeToString, decodedLen, decodeString, errInvalidByte, errLength ( #733 )
2021-07-06 17:47:42 +02:00
Vincent LE GOFF
3f3a1a74ba
feat(encoding/toml): fix bad string format. Improve coverage ( #991 )
2021-06-30 12:12:12 -04:00
trgwii
3eea49d4cc
fix(encoding/binary): respect non 0 byte offsets ( #826 )
2021-05-31 15:26:00 +02:00
Yusuke Tanaka
81be5faad9
chore: remove ESLint directives ( #941 )
2021-05-30 15:25:01 +09:00
Hermes Espínola González
ac2f40e7e1
fix(encoding/binary): allow getNBytes to read until EOF ( #932 )
2021-05-25 13:19:14 +09:00
Vincent LE GOFF
69183a0526
perf(encoding/toml): delete useless replace ( #900 )
2021-05-07 10:15:32 +09:00
Yasser A.Idrissi
da2de64d01
docs(encoding): Add base64
encoding example ( #846 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-04-14 09:17:14 +09:00
William Perron
69f3d67cb2
chore: remove Promise<void>
return type annotation ( #819 )
...
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.
used this one-liner to automatically remove everything:
```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Yusuke Tanaka
e95e58a779
chore: add underscore prefix to unused variables ( #837 )
2021-04-04 21:04:36 +02:00
Yasser A.Idrissi
d32c66e506
ref(encoding): Promise<void> return types are unnecessary boilerplate. ( #818 )
2021-03-26 08:15:28 -04:00
Luca Casonato
be89f5a714
feat: add io/buffer and io/util module ( #808 )
...
This moves the `Deno.Buffer` and `Deno.readAll` / `Deno.readAllSync` /
`Deno.writeAll` / `Deno.writeAllSync` implementations to std, so we can
deprecate them in Deno 1.9, and remove them in Deno 2.0.
2021-03-22 22:45:35 +01:00
Simon Lecoq
46fc7058a4
feat(encoding/yaml): add support for JS types and user types ( #789 )
2021-03-15 21:22:10 +09:00
Yusuke Tanaka
b134d54319
refactor: fix codes to pass no-unused-vars
lint ( #764 )
2021-03-02 15:31:37 +09:00
Zhangyuan Nie
5bc18f5d86
BREAKING(encoding): remove module utf8.ts ( #728 )
2021-02-16 13:22:07 +01:00
Casper Beyer
d6ab8bfeef
chore: format with canary ( #717 )
2021-02-10 01:55:53 +09:00
Casper Beyer
d5bad95a71
chore: Setup CI and tests
...
Create ci.yml
chore: add wasi-test-suite as a submodule
chore: remove legacy configuration files and scripts
chore: remove outdated redirection notice
chore: add git attributes to ensure text files use unix line endings
chore: format
test(http): copy tls testdata from denoland/deno
2021-02-01 12:20:35 +01:00
Jesse Jackson
1a8acd5a28
Typo ( denoland/deno#9221 )
2021-02-01 10:46:59 +00:00
Bartek Iwańczuk
84ee144ba8
chore: Enforce ban-untagged-todo lint rule ( denoland/deno#9135 )
2021-02-01 10:46:59 +00:00
Ryan Dahl
48a2496dbe
update copyright to 2021 ( denoland/deno#9081 )
2021-02-01 10:46:59 +00:00
Yacine Hmito
858b57e6e6
docs: Remove outdated information about third_party/ directory ( denoland/deno#8973 )
2021-02-01 10:46:58 +00:00
Nayeem Rahman
a0bfd92db8
fix: Don't use JSDoc syntax for browser-compatibility headers ( denoland/deno#8960 )
2021-02-01 10:46:58 +00:00
Anh Hong
152f1e68a9
chore: fixed various misspellings and other typos ( denoland/deno#8691 )
2021-02-01 10:46:58 +00:00
Yuki Tanaka
5269f12310
fix(encoding): Rewrite toml parser not to use eval() ( denoland/deno#8624 )
2021-02-01 10:46:58 +00:00
Jesse Jackson
d336162012
fix(encoding/csv): Correct readme formatting due to dprint issues ( denoland/deno#8503 )
2021-02-01 10:46:58 +00:00
Jesse Jackson
ecf5bde405
feat(encoding/csv): Add stringify functionality ( denoland/deno#8408 )
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
57d903a06b
build: migrate to dlint ( denoland/deno#8176 )
...
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
2021-02-01 10:46:58 +00:00
timonson
68d4f03e45
fix(encoding): base64 properly encodes mbc and handles Uint8Arrays ( denoland/deno#7807 )
...
Fixes denoland/deno#6094
Fixes denoland/deno#4794
2021-02-01 10:46:58 +00:00
Peter
329b75d1e5
fix: Parsing inline arrays of inline tables in toml ( denoland/deno#7902 )
2021-02-01 10:46:58 +00:00
Cedric Vangout
160ae04418
docs(encoding/csv): update the usage of ParseOptions ( denoland/deno#7857 )
2021-02-01 10:46:58 +00:00
tokiedokie
8567b960f8
docs: version all imports in README ( denoland/deno#7442 )
...
Use $STD_VERSION in README files to automatically
display proper version.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf
docs: end sentences with a period in markdown ( denoland/deno#7813 )
2021-02-01 10:46:58 +00:00
Atakan Ermiş
121500af6c
docs(encoding): add missing JSDoc ( denoland/deno#7809 )
2021-02-01 10:46:58 +00:00
uki00a
1da9818eef
BREAKING(encoding/csv): improve the definition of ParseOptions ( denoland/deno#7714 )
2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320
feat(fmt): Sort named import and export specifiers ( denoland/deno#7711 )
2021-02-01 10:46:58 +00:00
tokiedokie
d3fa1bbf5d
chore: add copyright ( denoland/deno#7593 )
2021-02-01 10:46:58 +00:00
tasshi / Masaharu TASHIRO
50ebf926ca
fix typo miliseconds -> milliseconds ( denoland/deno#7469 )
2021-02-01 10:46:58 +00:00
Casper Beyer
d3f850240c
test(encoding): make tests runnable from any directory ( denoland/deno#7368 )
2021-02-01 10:46:58 +00:00
Jakob Strobl
ed6a8f13c2
fix(encoding/toml): Comment after arrays causing incorrect output ( denoland/deno#7224 )
2021-02-01 10:46:58 +00:00
Yusuke Tanaka
267b83a053
chore(encoding): disable no-control-regex
( denoland/deno#7219 )
2021-02-01 10:46:58 +00:00
Kitson Kelly
d47cdf14aa
feat: update to TypeScript 4.0 ( denoland/deno#6514 )
2021-02-01 10:46:58 +00:00
danielwippermann
d75b9d10b1
fix(encoding/toml): Stop TOML parser from detecting numbers in strings. ( denoland/deno#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.
2021-02-01 10:46:58 +00:00
uki00a
49996e8687
fix(encoding/csv): improve error message on ParseError ( denoland/deno#7057 )
2021-02-01 10:46:58 +00:00
Rauf Islam
61d90c5770
fix(encoding/toml): Add boolean support to stringify ( denoland/deno#6941 )
2021-02-01 10:46:58 +00:00
Jarrett Helton
98f2de9255
fix(toml): parser error with inline comments ( denoland/deno#6942 )
2021-02-01 10:46:58 +00:00
Kid
0819976061
docs(encoding): Fix TOML docs ( denoland/deno#6912 )
2021-02-01 10:46:58 +00:00
Casper Beyer
9c302c2ed0
BREAKING(fs): remove readFileStr and readFileStrSync ( denoland/deno#6848 )
...
This removes the readFileStr and readFileStrSync functions which are
effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2021-02-01 10:46:58 +00:00
uki00a
f6b5e3e4ed
fix(encoding/toml): could not parse strings with apostrophes/semicolons ( denoland/deno#6781 )
2021-02-01 10:46:58 +00:00
David Sherret
1425960509
Use dprint for internal formatting ( denoland/deno#6682 )
2021-02-01 10:46:58 +00:00
Opliko
856d3de0c4
feat(encoding): add ascii85 module ( denoland/deno#6711 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
fae1aba117
BREAKING(encoding/hex): simplify API ( denoland/deno#6690 )
2021-02-01 10:46:58 +00:00
Kitson Kelly
9d4117f963
feat: add --no-check option ( denoland/deno#6456 )
...
This commit adds a "--no-check" option to following subcommands:
- "deno cache"
- "deno info"
- "deno run"
- "deno test"
The "--no-check" options allows to skip type checking step and instead
directly transpiles TS sources to JS sources.
This solution uses `ts.transpileModule()` API and is just an interim
solution before implementing it fully in Rust.
2021-02-01 10:46:58 +00:00
Marcos Casagrande
59a4141bbc
fix: base64 in workers ( denoland/deno#6681 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
6bae7d68cf
BREAKING(encoding/hex): reorder encode & decode arguments ( denoland/deno#6410 )
...
refactor to match other src/dst methods
2021-02-01 10:46:58 +00:00
Nayeem Rahman
ccb92613f0
refactor: Don't destructure the Deno namespace ( denoland/deno#6268 )
2021-02-01 10:46:58 +00:00
Ryan Dahl
f8eb45e39d
make std deno-lint clean ( denoland/deno#6240 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-01 10:46:58 +00:00
Ch3ri0ur
7d411434da
Readme cleanup in encoding and ws ( denoland/deno#6209 )
2021-02-01 10:46:57 +00:00
Oliver Lenehan
431c07de25
feat(encoding/binary): add varnumBytes(), varbigBytes() ( denoland/deno#5173 )
2021-02-01 10:46:57 +00:00
Chris Knight
589fe4bd53
refactor: remove testing dependencies from non-test code ( denoland/deno#5838 )
2021-02-01 10:46:57 +00:00
timonson
1b9f565fb7
feat(encoding): add base64url module ( denoland/deno#5976 )
2021-02-01 10:46:57 +00:00
uki00a
7b1ccf23d3
re-enable the "HugeLines" test case ( denoland/deno#6006 )
2021-02-01 10:46:57 +00:00
uki00a
f7df64f442
docs(encoding/csv): improve the document and jsdoc comments ( denoland/deno#6008 )
2021-02-01 10:46:57 +00:00
skdltmxn
5437ef0705
feat(encoding): add base64 ( denoland/deno#5811 )
2021-02-01 10:46:57 +00:00
pontakornth
11e24677b8
docs: Fix typo ( denoland/deno#5582 )
2021-02-01 10:46:57 +00:00
Dante Calderón
558a04d2e5
Fix typos across the repo ( denoland/deno#5295 )
...
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* encoding/csv.ts:37:43: corrected "referal" to "referral"
* fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* fmt/README.md:35:68: corrected "seperated" to "separated"
* fmt/README.md:179:59: corrected "provded" to "provided"
* mime/multipart.ts:581:46: corrected "writen" to "written"
* path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* node/module.ts:1003:18: corrected "existend" to "existed"
2021-02-01 10:46:57 +00:00
Nayeem Rahman
fec1c3ba8d
fix(encoding/yaml): Correct exports ( denoland/deno#5191 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
1eecc5c7d0
BREAKING: reorganization ( denoland/deno#5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move _util/async.ts to async
* Move util/sha*.ts to hash
2021-02-01 10:46:57 +00:00
David Sherret
bd3e3f875a
Move the docs like @param [obj.prop]
to the interface. ( denoland/deno#4974 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
e4cb19d01d
BREAKING: Remove Deno.EOF, use null instead ( denoland/deno#4953 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
4facff44f2
BREAKING: remove overload of Deno.test() ( denoland/deno#4951 )
...
This commit removes overload of Deno.test() that accepted named
function.
2021-02-01 10:46:57 +00:00
Ryan Dahl
1f1818d379
Move encode, decode helpers to /encoding/utf8.ts, delete /strings/ ( denoland/deno#4565 )
...
also removes encoding/mod.ts and archive/mod.ts which are useless.
2021-02-01 10:46:57 +00:00
Ondřej Žára
32b666947a
used native padStart/End where possible ( denoland/deno#4537 )
2021-02-01 10:46:57 +00:00
uki00a
3d8a63d8c7
fix(encoding/csv): enable skipped tests ( denoland/deno#4520 )
2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0
Update to Prettier 2 and use ES Private Fields ( denoland/deno#4498 )
2021-02-01 10:46:57 +00:00
Samrith Shankar
204ebc523d
Add require-await lint rule ( denoland/deno#4401 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
03d7177ca3
refactor: rename Deno.TestDefinition.skip to ignore ( denoland/deno#4400 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
a19e660a30
feat: Deno.test() sanitizes ops and resources ( denoland/deno#4399 )
...
This PR brings assertOps and assertResources sanitizers to Deno.test() API.
assertOps checks that test doesn't leak async ops, ie. there are no unresolved
promises originating from Deno APIs. Enabled by default, can be disabled using
Deno.TestDefinition.disableOpSanitizer.
assertResources checks that test doesn't leak resources, ie. all resources used
in test are closed. For example; if a file is opened during a test case it must be
explicitly closed before test case finishes. It's most useful for asynchronous
generators. Enabled by default, can be disabled using
Deno.TestDefinition.disableResourceSanitizer.
We've used those sanitizers in internal runtime tests and it proved very useful in
surfacing incorrect tests which resulted in interference between the tests.
All tests have been sanitized.
Closes denoland/deno#4208
2021-02-01 10:46:57 +00:00
Nayeem Rahman
19ca3f53c4
refactor: Uncomment disabled tests, use skip option ( denoland/deno#4378 )
2021-02-01 10:46:57 +00:00
Oliver Lenehan
9986475ca1
fix: Use Deno.errors where possible. ( denoland/deno#4356 )
2021-02-01 10:46:57 +00:00
Oliver Lenehan
012fb2c219
feat (encoding): add binary module ( denoland/deno#4274 )
2021-02-01 10:46:57 +00:00
Kitson Kelly
2516a51343
upgrade: TypeScript 3.8 ( denoland/deno#4100 )
2021-02-01 10:46:57 +00:00
João Souto
d76d46f299
Remove ansi_term dependency ( denoland/deno#4116 )
2021-02-01 10:46:57 +00:00
Ryan Dahl
2cce592c15
Revert "Remove ansi_term dependency"
...
Broke colors
https://github.com/denoland/deno/issues/4112#issuecomment-590545385
This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d.
2021-02-01 10:46:57 +00:00
João Souto
9b1c5ffac2
Remove ansi_term dependency ( denoland/deno#4106 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
f5cbcf287e
refactor: remove unneeded ErrorKinds ( denoland/deno#3936 )
2021-02-01 10:46:57 +00:00
Maximilien Mellen
623a601fd5
Enable TS strict mode by default ( denoland/deno#3899 )
...
Fixes denoland/deno#3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
82a523639a
refactor: rewrite tests in to use Deno.test ( denoland/deno#3930 )
2021-02-01 10:46:57 +00:00
Yusuke Sakurai
7534d8390a
remove non-null assertion operator from std (part2) ( denoland/deno#3927 )
2021-02-01 10:46:57 +00:00
Yusuke Sakurai
ee8ec4b053
remove non-null assertion operator from std (part1) ( denoland/deno#3900 )
2021-02-01 10:46:57 +00:00
Rafael Vargas
500b97dde6
fix: Deno.remove() to properly remove dangling symlinks ( denoland/deno#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.
2021-02-01 10:46:57 +00:00
Kevin (Kun) "Kassimo" Qian
6630b59cec
encoding: add base32 support ( denoland/deno#3855 )
2021-02-01 10:46:57 +00:00
Takashi Idobe
085a04b6a1
change copyrights from 2019 to 2020 ( denoland/deno#3733 )
2021-02-01 10:46:56 +00:00
Brandon Kalinowski
32c750f8f0
std(yaml): correct sortKeys type ( denoland/deno#3708 )
2021-02-01 10:46:56 +00:00
uki00a
e48cfe78d8
fix(encoding/yaml): export parseAll ( denoland/deno#3592 )
2021-02-01 10:46:56 +00:00
Ry Dahl
3a9eb92372
Happy new year! ( denoland/deno#3578 )
2021-02-01 10:46:56 +00:00
Yoshiya Hinosawa
1239902a03
fix(encoding/yaml): support document separator in parseAll ( denoland/deno#3535 )
2021-02-01 10:46:56 +00:00
Nayeem Rahman
90bd2ad881
feat: Add missing mod.ts files in std ( denoland/deno#3509 )
...
archive/tar.ts:
- Remove FileReader.
- Remove FileWriter.
encoding/csv.ts:
- ExtendedParseOptions -> ParseOptions
- HeaderOption -> HeaderOptions
- ParseOptions -> ReadOptions
- readAll() -> readMatrix()
encoding/yaml.ts:
- DumpOptions -> StringifyOptions
fmt/colors.ts:
- getEnabled() -> getColorEnabled()
- setEnabled() -> setColorEnabled()
testing/mod.ts:
- Re-export sibling modules.
2021-02-01 10:46:56 +00:00
Yoshiya Hinosawa
c0485bf863
docs(encoding/yaml): add usage document ( denoland/deno#3529 )
2021-02-01 10:46:56 +00:00
Lilian Saget-Lethias
72a4a27d80
feat: Add encoding/yaml module ( denoland/deno#3361 )
2021-02-01 10:46:56 +00:00
Kitson Kelly
1c5db631f7
Update to TypeScript 3.7 ( denoland/deno#3275 )
...
and update to prettier 1.19
Also, update `assert()` and remove not null assertions where possibly
in `cli`.
Closes denoland/deno#3273
2021-02-01 10:46:56 +00:00
Nayeem Rahman
5b2aec7a62
std: Move fs/path to the top-level ( denoland/deno#3100 )
2021-02-01 10:46:56 +00:00
Ryan Dahl
d491d2e747
Run deno_std tests in github actions
2021-02-01 10:46:56 +00:00
Yoshiya Hinosawa
c3fe858f98
Update eslint and @typescript-eslint ( #621 )
2019-10-05 12:02:34 -04:00
Yusuke Sakurai
54a5b95fef
fix TOML's key encoding ( #612 )
2019-09-23 11:08:57 -04:00
Axetroy
06958a4ada
bump prettier to 1.18.2 ( #592 )
2019-09-11 23:31:23 -04:00
Bartek Iwańczuk
c44e5367bf
feat: test runner ( #516 )
2019-08-14 20:04:56 -04:00
Yoshiya Hinosawa
3ea90d54f6
Upgrade to v0.11.0 (update Reader interface) ( #527 )
2019-07-07 15:20:41 -04:00
Axetroy
b04fda30c8
lint: add max line length rules ( #507 )
2019-06-18 21:22:01 -07:00
Axetroy
418cdff25d
add encoding/hex module ( #434 )
2019-06-17 10:19:56 -07:00
Ryan Dahl
86b7499e65
upgrade: deno to v0.8.0 ( #487 )
2019-06-09 21:42:06 -04:00
Vincent LE GOFF
167f529898
encoding: add csv parse ( #458 )
2019-05-30 09:50:29 -04:00
Bartek Iwańczuk
be24677d15
chore: Implement strict mode ( #453 )
2019-05-30 08:59:30 -04:00
Bert Belder
0ee6334b69
io: refactor BufReader/Writer interfaces to be more idiomatic ( #444 )
...
Thanks Vincent Le Goff (@zekth) for porting over the CSV reader
implementation.
Fixes : #436
2019-05-29 09:50:12 -07:00
Vincent LE GOFF
c8a7dcdcd0
Add encoding/csv ( #432 )
2019-05-24 16:33:42 +03:00
Vincent LE GOFF
7a722ceffc
TOML: Move to encoding dir ( #435 )
2019-05-23 21:48:54 +03:00