1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
Commit graph

8450 commits

Author SHA1 Message Date
David Sherret
e6218d9d23
feat(task): support redirects, cat, xargs (#14859)
feat: upgrade to deno_task_shell 0.4.0
2022-06-13 14:55:21 -04:00
Mark Ladyshau
decdc59071
fix(cli): add config flag to deno info (#14706) 2022-06-13 20:09:04 +02:00
Colin Ihrig
64abb65f05
feat(console): pass options and depth to custom inspects (#14855)
This commit updates Deno.inspect() to pass inspect options and
the current inspect depth to custom inspect functions.

Refs: https://github.com/denoland/deno/issues/8099
Refs: https://github.com/denoland/deno/issues/14171
2022-06-13 10:59:22 -04:00
Jesse Jackson
7b1662a8e6
chore: Fix broken link in stale bot text (#14843) 2022-06-13 12:39:43 +02:00
David Sherret
5fffb77d06
feat(fmt): remove some unnecessary parens in types (#14841) 2022-06-12 21:00:21 -04:00
Roj
271cd7afc9
chore: delete FUNDING.yml (#14849) 2022-06-11 23:15:55 +05:30
Roj
41075b153a
chore(docs): remove senseless await (#14844) 2022-06-11 13:06:58 -04:00
David Sherret
3dd981e199
feat(fmt): support formatting cjs, cts, mjs, and mts files (#14837) 2022-06-09 19:55:04 -04:00
Colin Ihrig
cf866c5ad3
chore: Forward v1.22.3 to main (#14835)
* 1.22.3 (#14832)
* chore: pin swc versions to fix cargo publish

Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-09 16:57:16 -04:00
Bartek Iwańczuk
d8f6be2336
fix(lsp): change glob to watch json and jsonc files (#14828) 2022-06-09 17:59:22 +02:00
Kayla Washburn
94068b7109
feat(task): add --cwd flag for configuring the working directory (#14823) 2022-06-08 15:30:16 -06:00
Leo Kettmeir
a0a13b3a1b
fix(http/upgradewebsocket): check for open state for idle timeout (#14813) 2022-06-08 17:52:23 +02:00
Bartek Iwańczuk
ba13b8e2a9
refactor: ensure exit code reference is passed to all workers (#14814) 2022-06-08 17:45:38 +02:00
Lucas Michot
4911acb148
chore(scripts): always run workflows against Deno's most recent version. (#14819) 2022-06-08 16:46:57 +02:00
Divy Srivastava
4305bb4bd8
chore(bench): generalized HTTP benchmarks framework (#14815) 2022-06-08 17:33:38 +05:30
Elias Sjögreen
8113fac939
feat(ext/ffi): support passing and returning bigints (#14523) 2022-06-08 16:43:10 +05:30
Bartek Iwańczuk
2769d60250
fix: watch dynamic imports in --watch (#14775)
Fix dynamic imports being watched in the watcher when using `--watch`.
2022-06-08 12:07:25 +02:00
diachedelic
ff5def9ed5
feat(ext/crypto): export elliptic keys as "raw" (#14764)
This commit adds support for the "raw" format when exporting public ECDH/ECDSA keys via
the SubtleCrypto.exportKey method.
2022-06-08 08:29:42 +05:30
Divy Srivastava
753f32024f
feat(ops): 'hybrid' ops - sync returning future (#14640) 2022-06-08 07:58:26 +05:30
Bartek Iwańczuk
99f525a66c
refactor(core): SourceMapGetter doesn't need Send + Sync (#14808) 2022-06-07 17:26:08 +02:00
Nayeem Rahman
9385a91312
refactor(core): Move Deno.core bindings to ops (#14793) 2022-06-07 11:25:10 +02:00
Mark Ladyshau
cfb6067f9b
fix(ext/fetch): remove deprecation of URL in deno fetch (#14769) 2022-06-07 01:58:21 +02:00
David Sherret
ff463f68c8
fix(task): support parsing quotes in a word (#14807) 2022-06-06 19:54:22 -04:00
Nayeem Rahman
e3eae662f3
fix: Format non-error exceptions (#14604)
This commit adds "Deno.core.setFormatExceptionCallback" which
can be used to provide custom formatting for errors. It is useful
in cases when user throws something that is non-Error (eg.
a string, plain object, etc).
2022-06-06 20:26:57 +02:00
David Sherret
1081659be1
chore(scripts/release): increase internally used deno version (#14784) 2022-06-05 15:44:45 -04:00
AlexDebug
cc7da96508
chore: eliminate an empty comment (#14788)
This commit eliminates an extra line of comment
2022-06-04 23:23:51 -04:00
Aaron O'Mullan
4de586b685
chore: update devcontainer to a modern tag (#14792)
Using debian 11
2022-06-04 01:40:45 +02:00
Kitson Kelly
5692132755
fix(lsp): handle get diagnostic errors better (#14776) 2022-06-03 22:23:33 +10:00
Bartek Iwańczuk
de562b0215
chore: Forward v1.22.2 to main (#14785) 2022-06-02 22:29:41 +02:00
Ryan Dahl
99289451dc
Remove .github/CODEOWNERS (#14781)
It's too spammy and has the opposite of the intended effect: people ignore code
review duties because they assume any code-review-requests are automated and
unrelated to their work. Please just manually request reviews.
2022-06-02 10:20:16 -04:00
Mark Ladyshau
4e26bcb2bb
fix(ext/crypto): adjust getRandomValues types (#14714) 2022-06-02 15:15:46 +02:00
Ikko Ashimine
d78fd8ec39
chore(ops): fix typo in lib.rs (#14777) 2022-06-02 17:58:19 +05:30
Geert-Jan Zwiers
7d9e8baebb
chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
David Sherret
c01fcef93f
fix(fmt): do panic for import decl with empty named imports and default import (#14773) 2022-06-01 19:36:46 -04:00
Luca Casonato
bcff2d787b
tests: re-generate WPT certificates (#14774) 2022-06-02 00:50:48 +02:00
Kitson Kelly
7eee521199
feat: update to TypeScript 4.7 (#14242) 2022-06-01 10:19:18 +10:00
James Bradlee
c41544ac7b
feat(unstable): add Deno.getGid (#14528) 2022-05-31 17:42:44 +09:00
Geert-Jan Zwiers
d9ed5e905c
chore(docs): use cross-platform example in Deno.run jsdoc (#14754) 2022-05-30 19:44:16 -04:00
Nayeem Rahman
f0dd751190
refactor(bench): Allocate IDs for benches (#14757) 2022-05-30 19:58:44 +02:00
Bartek Iwańczuk
787e794027
chore: update deprecated APIs docs (#14756) 2022-05-30 16:42:31 +02:00
David Sherret
0cfdf5cede
refactor: use deno_emit (#14737) 2022-05-30 09:39:14 -04:00
Andreu Botella
01e5bbadac
test(core): Test that sync ops return/throw objects in the right realm (#14750)
This behavior was introduced in #14019 but wasn't properly tested in
that PR.
2022-05-30 13:18:32 +02:00
Mark Ladyshau
0cd8f53e65
fix(cli/dts): add captureStackTrace to lib.dom.extras (#14748)
Fixes #14512
2022-05-30 14:50:54 +10:00
David Sherret
da416f0249
fix(scripts/release): add unstable flag when running ./tools/format.js (#14743) 2022-05-27 12:14:37 -04:00
Kitson Kelly
1c44f4060e
1.22.1
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>

Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2022-05-27 17:36:43 +10:00
Geert-Jan Zwiers
ab9c7f52e0
chore(serde_v8): throw error when string buffer exceeds v8 max length (#14588) 2022-05-26 17:15:44 +02:00
Mark Ladyshau
402b497299
fix(core): rethrow exception during structured cloning serialization (#14671)
- Introduced optional callback for Deno.core.serialize API, that returns
cloning error if there is one.
- Removed try/catch in seralize structured clone function and throw error from
callback.
- Removed "Object with a getter that throws" assertion from WPT.
2022-05-26 17:14:38 +02:00
Bartek Iwańczuk
3aa6d5d8b0
chore: upgrade rusty_v8 to 0.43.1 (#14713) 2022-05-26 13:13:01 +02:00
David Sherret
b4fabedd79
fix(fmt): prevent infinite loop when formatting certain binary expressions (#14725) 2022-05-25 19:55:31 -04:00
Bartek Iwańczuk
3aef7d1253
chore: upgrade test_util/std/ submodule (#14722) 2022-05-25 21:53:53 +02:00