1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
Commit graph

76 commits

Author SHA1 Message Date
timonson
1956cb8137
fix(std/encoding): base64 properly encodes mbc and handles Uint8Arrays (#7807)
Fixes #6094
Fixes #4794
2020-10-13 12:12:10 +11:00
Peter
08f3ae92d3
fix(std): Parsing inline arrays of inline tables in toml (#7902) 2020-10-11 21:33:23 +02:00
Cedric Vangout
b5f06adbf3
docs(std/encoding/csv): update the usage of ParseOptions (#7857) 2020-10-07 18:01:35 +02:00
tokiedokie
3d65177dbc
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically
display proper version.
2020-10-04 14:18:36 +02:00
Trivikram Kamat
d0eb179132
docs: end sentences with a period in markdown (#7813) 2020-10-04 07:19:11 +11:00
Atakan Ermiş
920c0b3515
docs(std/encoding): add missing JSDoc (#7809) 2020-10-03 16:44:08 +02:00
uki00a
94dcef714d
BREAKING(std/encoding/csv): improve the definition of ParseOptions (#7714) 2020-09-27 14:20:46 -04:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
tokiedokie
c4ed3fb7e7
chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
tasshi / Masaharu TASHIRO
85b98f6dd8
fix typo miliseconds -> milliseconds (#7469) 2020-09-14 22:48:49 -04:00
Casper Beyer
bd32f9d6e1
test(std/encoding): make tests runnable from any directory (#7368) 2020-09-06 19:48:53 +02:00
Jakob Strobl
03a3256e9c
fix(std/encoding/toml): Comment after arrays causing incorrect output (#7224) 2020-08-28 18:51:06 -04:00
Yusuke Tanaka
beec3ae096
chore(std/encoding): disable no-control-regex (#7219) 2020-08-27 19:03:04 +02:00
Kitson Kelly
c4d5b01acf
feat: update to TypeScript 4.0 (#6514) 2020-08-24 19:43:54 -04:00
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
uki00a
95a6812e82
fix(std/encoding/csv): improve error message on ParseError (#7057) 2020-08-17 17:47:01 -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
Kid
391088c6ff
docs(std/encoding): Fix TOML docs (#6912) 2020-07-30 09:56:10 -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
Opliko
e5724e6118
feat(std/encoding): add ascii85 module (#6711) 2020-07-14 14:26:49 -04:00
Marcos Casagrande
dc6b3ef714
BREAKING(std/encoding/hex): simplify API (#6690) 2020-07-09 16:50:19 -04:00
Kitson Kelly
82aabb657a
feat: add --no-check option (#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.
2020-07-08 11:26:39 +02:00
Marcos Casagrande
cb98a59452
fix(std): base64 in workers (#6681) 2020-07-07 20:43:11 +02:00
Marcos Casagrande
f24aab81c9
BREAKING(std/encoding/hex): reorder encode & decode arguments (#6410)
refactor to match other src/dst methods
2020-06-21 00:13:54 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
Ryan Dahl
d0970daacd
make std deno-lint clean (#6240)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-12 09:19:29 -04:00
Ch3ri0ur
bad6f2b224
Readme cleanup in encoding and ws (#6209) 2020-06-09 15:08:38 -04:00
Oliver Lenehan
6f22bc8278
feat(std/encoding/binary): add varnumBytes(), varbigBytes() (#5173) 2020-06-08 18:58:55 -04:00
Chris Knight
3ef94c5473
refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
timonson
9a97e61b78
feat(std/encoding): add base64url module (#5976) 2020-06-03 09:44:51 -04:00
uki00a
0ce6394aca
re-enable the "HugeLines" test case (#6006) 2020-05-31 16:04:19 -04:00
uki00a
1fe089178a
docs(std/encoding/csv): improve the document and jsdoc comments (#6008) 2020-05-31 16:02:39 -04:00
skdltmxn
f6e3160356
feat(std/encoding): add base64 (#5811) 2020-05-24 09:10:01 -04:00
pontakornth
ce81064e4c
docs(std): Fix typo (#5582) 2020-05-18 12:10:19 +02:00
Dante Calderón
c3a205bae8
Fix typos across the repo (#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"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-14 06:38:42 +02:00
Nayeem Rahman
e74a83a715
fix(std/encoding/yaml): Correct exports (#5191) 2020-05-10 17:17:54 -04:00
Nayeem Rahman
f184332c09
BREAKING(std): reorganization (#5087)
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move std/_util/async.ts to std/async
* Move std/util/sha*.ts to std/hash
2020-05-09 08:34:47 -04:00
David Sherret
6fd754fba0
Move the docs like @param [obj.prop] to the interface. (#4974) 2020-04-28 23:26:31 +02:00
Nayeem Rahman
678313b176
BREAKING: Remove Deno.EOF, use null instead (#4953) 2020-04-28 12:40:43 -04:00
Bartek Iwańczuk
8feb30e325
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
2020-04-28 12:33:09 +02:00
Ryan Dahl
12c6b2395b
Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565)
also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
2020-04-01 15:23:39 -04:00
Ondřej Žára
a86b07f2df
used native padStart/End where possible (#4537) 2020-03-31 12:34:13 +02:00
uki00a
a98512af9a
fix(std/encoding/csv): enable skipped tests (#4520) 2020-03-30 11:37:58 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
Samrith Shankar
798904b0f2
Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
Bartek Iwańczuk
b0b27c4310
refactor: rename Deno.TestDefinition.skip to ignore (#4400) 2020-03-19 10:58:12 +01:00
Bartek Iwańczuk
6e2df8c64f
feat: Deno.test() sanitizes ops and resources (#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 #4208
2020-03-18 19:25:55 -04:00