1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

5343 commits

Author SHA1 Message Date
Yusuke Tanaka
9029003046
build: update dlint to v0.2.10 (#8284)
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14 20:27:37 +01:00
Benjamin Gruenbaum
3d65e57d7c
fix: fix various global objects constructor length (#8373)
This commit changes various Web APIs constructors to 
match their signature in the browser.
2020-11-14 13:10:23 +01:00
Yusuke Tanaka
3a0ebff641
fix(fmt, lint): Make sure that target paths are not directory (#8375)
This commit merges implementations of "collect_files" and "files_in_subtree",
leaving only the former. Additionally it was ensured that directories are not yielded
from this function.
2020-11-14 13:05:26 +01:00
Behnam Mohammadi
a59f5eadd8
refactor(std): add std/_util/os.ts module (#8370)
This commit adds "std/_util/os.ts" module which contains
common os detection logic and is browser compatible.

Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-14 00:21:11 +01:00
Divy Srivastava
d5661f677e
refactor: deno_crypto op crate (#7956)
This commit factors out "deno_crypto" op crate.

"rand" crate dependency was consequently moved to 
"deno_crypto" crate and reexported.
2020-11-13 22:01:57 +01:00
KNnut
2c8439bc1e
refactor(cli+core): various cleanups in Rust (#8336) 2020-11-13 09:17:31 +11:00
Behnam Mohammadi
a52d883921
refactor(std/fs): moved isCopyFolder to options (#8319) 2020-11-13 09:13:13 +11:00
Mark Tiedemann
952c8f21e7
fix(std/http): flush body chunks for HTTP chunked encoding (#8349)
Fixes #8339
2020-11-13 09:11:09 +11:00
Max Drosdo.www
444c2cda4f
refactor(cli): minor cleanup of main.rs (#8362) 2020-11-13 08:49:59 +11:00
Bartek Iwańczuk
d4c8fa263d
refactor(core): don't depend on get_identity_hash for promises (#8352)
This commit changes how pending promise exceptions are stored
in JsRuntime by using global handle to promise instead of its
identity hash.
2020-11-11 23:11:40 +01:00
Akshat Agarwal
c744ee2756
fix(cli): don't walk the subdirectory twice when using the --ignore flag (#8040)
This commit reworks "collect_files" utility to accept "ignore" parameter
which allows to filter out files in a single iteration instead of walking
file tree second time to excude "ignored" files.
2020-11-11 20:53:55 +01:00
Benjamin Gruenbaum
a55e689e38
fix(op_crates/web): FileReader event handler order (#8348) 2020-11-11 16:59:49 +01:00
Benjamin Gruenbaum
c7804c06ad
fix(op_crates/web) make isTrusted not constructable (#8337) 2020-11-10 15:26:58 -05:00
Benjamin Gruenbaum
b255a05f18
fix(web/worker) define event handlers in DOM order (#8334) 2020-11-10 07:15:42 -05:00
Andrew Mitchell
97a9620a01
test(cli/upgrade): remove test_compose_url_to_exec (#8329) 2020-11-10 10:41:33 +01:00
Behnam Mohammadi
4cc919a742
refactor(std/fs): remove unnecessary if else block (#8321) 2020-11-10 15:38:46 +11:00
Benjamin Gruenbaum
94b68f9069
fix(cli/rt): dom handler order in websocket (#8320) 2020-11-10 14:34:42 +11:00
Kitson Kelly
0982056ff6
tests(cli): check ignores dynamic import errors (#8323)
Closes #6618
2020-11-10 10:18:43 +11:00
Kitson Kelly
c1fa8fbeba
fix(cli): allow root modules be .mjs/.cjs (#8310)
Fixes #6176
2020-11-10 10:10:41 +11:00
Behnam Mohammadi
568b7d6afb
refactor(std/fs): improve performance by using some instead filter method (#8322) 2020-11-10 09:43:44 +11:00
Bartek Iwańczuk
6f48c526c6
chore: reference dprint config file in format script (#8318)
* chore: reference dprint config file in format script
* chore: ignore .git folder in dprint config
2020-11-09 20:56:43 +01:00
Kitson Kelly
b402b75c1d
fix(cli): allow setting of importsNotUsedAsValues in Deno.compile() (#8306)
Fixes #6663
2020-11-10 06:50:33 +11:00
Kitson Kelly
5375bf2e3f
fix(cli): allow declaration emits for Deno.compile() (#8303)
Fixes #8289
2020-11-10 06:49:15 +11:00
Scott Olson
57c2608e98
fix(cli): Use safe shell escaping in deno install (#7613) 2020-11-09 14:08:12 -05:00
Behnam Mohammadi
b0e38bffc3
refactor(std): remove redundant code in move.ts (#8269) 2020-11-09 18:21:33 +01:00
Benjamin Gruenbaum
996a87b168
fix(op_crates/web): handler order when reassign (#8264) 2020-11-09 17:49:19 +01:00
Bartek Iwańczuk
c650c5c720
build: use shallow clone of third_party (#8295)
"third_party/" is a git submodule pointing to "deno_third_party" repository. 
The git history of that repo is quite heavy as it historically contained 
typescript, node_modules and python_packages directories, but now there 
are only 11 binaries in there. Setting this attribute should speed up fresh clones.
2020-11-09 15:43:04 +01:00
KNnut
aaf7166a9d
refactor(cli): remove unnecessary format! calls (#8315) 2020-11-09 15:38:29 +01:00
Guy Bedford
8b7f5531ee
feat(std/node): consistent Node.js builtin shapes (#8274) 2020-11-09 09:25:13 -05:00
Kitson Kelly
293cae5e1f
fix(cli): do not write tsbuildinfo when diagnostics are emitted (#8311)
Fixes #8309
2020-11-09 21:21:49 +11:00
Kitson Kelly
71d7482577
v1.5.2 (#8301) 2020-11-09 10:58:21 +11:00
Bartek Iwańczuk
a269dffe17
chore: remove dead code (#8298) 2020-11-08 23:35:36 +01:00
Bartek Iwańczuk
6743383d2e
upgrade: deno_doc, deno_lint, dprint, swc (#8292) 2020-11-08 23:27:36 +01:00
Casper Beyer
b244766f9d
docs(tools): add a little note about cargo run (#8297) 2020-11-08 20:56:36 +01:00
KNnut
8cc5e18f80
chore: remove dead code (#8296) 2020-11-08 19:07:33 +01:00
crowlKats
5995c58e63
refactor: auto detect target triples for upgrade (#8286) 2020-11-08 11:54:35 +01:00
Mo
ccc95bc9b9
refactor: rewrite permission_test to not depend on Python (#8291) 2020-11-08 11:50:27 +01:00
Kitson Kelly
e9edc05bed
fix(cli): ensure that transitory dependencies are emitted (#8275)
Fixes #8111
2020-11-08 07:00:42 +11:00
Luca Casonato
37b7024a8f
build: full color ci logs (#8280) 2020-11-07 20:31:35 +01:00
Guy Bedford
9fc5b6510c
fix(std/node): only define Node.js globals when loading std/node/global (#8281) 2020-11-07 20:27:07 +01:00
Mo
bb1a673b21
docs(std/fmt): add JSDoc (#8278) 2020-11-07 09:05:37 -05:00
Nikita Sobolev
3bb5257e6d
docs: fix code highlighting in typescript.md (#8277) 2020-11-07 11:02:55 +01:00
Kitson Kelly
88c4d3145b
fix(cli): allow remapping to locals for import map (#8262)
Fixes #7723
2020-11-07 15:04:22 +11:00
Kitson Kelly
4f67f0cc60
fix(cli): properly handle type checking root modules with type defini… (#8263) 2020-11-07 06:53:37 +11:00
Bartek Iwańczuk
280ab920a8
docs: Update style guide (#8267) 2020-11-06 17:36:28 +01:00
Fukuda Naoto
fd9b6e03af
docs(std): add some missing JSDoc (#7765)
Refs #7487
2020-11-06 13:33:59 +11:00
Benjamin Gruenbaum
bfa00bef22
fix(op_crates/web): define abort event handler on prototype (#8230) 2020-11-06 12:40:36 +11:00
Trivikram Kamat
23557331c9
docs: add Deno security model conference video link (#7724) 2020-11-06 12:35:17 +11:00
Hanseo Jo
731de86976
docs(std/node/util): add missing JSdoc (#7806)
Refs #7487
2020-11-06 12:33:41 +11:00
Bhumij Gupta
2259e99aef
docs(std/node/url): Added JSDocs for std/node/url (#7805) 2020-11-06 12:28:00 +11:00