Casper Beyer
073e05f9fb
docs(cli/dts): make worker example pass ( #10703 )
2021-05-31 16:37:29 +02:00
Casper Beyer
736b736479
docs: fix unix socket examples ( #10705 )
2021-05-31 16:37:29 +02:00
Casper Beyer
44cd0b1ef6
docs(cli/dts): fix typo in TestDefinition.only
description ( #10697 )
2021-05-31 16:37:29 +02:00
Yusuke Tanaka
22426fee1e
chore: update deno_lint binary used in CI to v0.5.0 ( #10652 )
2021-05-31 16:37:28 +02:00
Casper Beyer
75d547809f
docs(cli/dts): fix Deno.startTls
example ( #10657 )
2021-05-17 18:44:07 +09:00
Casper Beyer
910935c071
feat(runtime): support urls for Deno.realPath
and Deno.realPathSync
( #10626 )
2021-05-17 06:31:21 +02:00
Casper Beyer
ac8ea823f5
docs(cli/dts): fix http server example ( #10651 )
2021-05-16 16:57:55 +02:00
Casper Beyer
808226f110
docs(cli/dts): remove stray new operators in examples ( #10648 )
2021-05-15 15:20:37 +02:00
Yusuke Tanaka
24a2e1ef82
docs(cli/dts): fix link from master to main ( #10633 )
2021-05-15 16:22:45 +09:00
Casper Beyer
62c752211c
docs(cli/dts): use Deno.stdin.rid
in Deno.setRaw
example ( #10623 )
2021-05-13 14:20:55 +02:00
Casper Beyer
b504eb94bb
docs(cli/dts): fix Deno.createHttpClient
example ( #10608 )
2021-05-13 16:45:55 +09:00
Casper Beyer
5e4764a00f
docs(cli/dts): fix missing std/testing/asserts.ts imports in examples ( #10579 )
2021-05-13 16:03:34 +09:00
Casper Beyer
473c93a90b
docs(cli/dts): fix worker net permissions example ( #10578 )
2021-05-12 15:15:34 +02:00
Casper Beyer
7211c7cf8f
docs(cli/dts): fix Deno.applySourceMap
example ( #10602 )
2021-05-12 15:14:48 +02:00
Casper Beyer
46f0ac59e0
docs: remove stale Deno.compile
example ( #10580 )
2021-05-11 06:44:23 -04:00
Casper Beyer
62562f3fd1
docs(cli/dts): fix Deno.permissions.query
example ( #10572 )
2021-05-11 14:44:15 +09:00
Casper Beyer
576f14baeb
docs(cli/dts): fix Deno.test permission examples ( #10571 )
2021-05-11 14:42:26 +09:00
Casper Beyer
2b8bac3c85
docs(cli/dts): fix Deno.watchFs example ( #10570 )
2021-05-11 11:18:29 +09:00
Casper Beyer
ba8d6ec771
docs(cli/dts): fix Deno.inspect examples ( #10569 )
2021-05-11 11:17:07 +09:00
Casper Beyer
2b8376db24
docs(cli/dts): fix Deno.seek and Deno.seekSync examples ( #10568 )
2021-05-11 11:13:33 +09:00
Casper Beyer
60c172cccb
docs(cli/dts): fix Deno.run example ( #10567 )
2021-05-11 11:11:17 +09:00
Elias Sjögreen
f12b82e183
fix(cli): typings for Deno.os.arch
( #10541 )
2021-05-10 16:12:42 -04:00
crowlKats
dfe528198d
feat: add WebStorage API ( #7819 )
...
This commit introduces localStorage and sessionStorage.
2021-05-10 12:02:47 +02:00
Casper Beyer
ce76f8c3a9
docs: tag permission examples as ts ( #10506 )
2021-05-06 13:54:13 +02:00
迷渡
7e22987876
docs: env.get will return undefined
if not exist ( #10514 )
2021-05-06 19:45:36 +10:00
Casper Beyer
49c4d57b0f
docs(cli/dts): add missing awaits ( #10501 )
2021-05-05 14:59:12 +09:00
Casper Beyer
d654e78e0d
docs(cli/dts): fix env examples ( #10500 )
2021-05-05 14:57:02 +09:00
Casper Beyer
a16a830e33
docs(cli/dts): use one block per writeAll example ( #10496 )
2021-05-05 14:55:21 +09:00
Casper Beyer
9c206545f7
docs(cli/dts): explicitly import assert in examples ( #10495 )
2021-05-05 14:50:38 +09:00
Casper Beyer
820c658ff8
docs(cli/dts): use one code block per truncate example ( #10494 )
2021-05-05 12:45:10 +09:00
Casper Beyer
17118c41e4
docs(cli/ftruncateSync): use openSync in example ( #10485 )
2021-05-04 16:47:11 +09:00
Andy Hayden
684c357136
Rename crate_ops to extensions ( #10431 )
2021-04-30 15:51:48 -04:00
Yoshiya Hinosawa
8c6f977192
docs: document how to stop file watcher ( #10403 )
2021-04-28 21:37:16 +09:00
Yoshiya Hinosawa
4fa0e9c652
docs: fix ftruncateSync example ( #10393 )
2021-04-27 11:23:18 +02:00
Casper Beyer
e4e7d957e8
feat(core): enable wasm threading support ( #10116 )
2021-04-26 17:54:07 +02:00
Carter Snook
0d3b22a53a
fix: invalid types for asynchronous and synchronous File#truncate
( #10353 )
2021-04-26 16:56:22 +02:00
Carter Snook
0897bd51a0
fix( #10360 ): clarify JSDoc for Deno.noColor
( #10373 )
...
Fixes #10360
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-04-26 13:59:22 +10:00
Casper Beyer
f3751e498f
feat(cli): add test permissions to Deno.test ( #10188 )
...
This commits adds adds "permissions" option to the test definitions
which allows tests to run with different permission sets than
the process's permission.
The change will only be in effect within the test function, once the
test has completed the original process permission set is restored.
Test permissions cannot exceed the process's permission.
You can only narrow or drop permissions, failure to acquire a
permission results in an error being thrown and the test case will fail.
2021-04-25 23:38:59 +02:00
Nayeem Rahman
fb1ccc3d88
refactor(cli): rename Deno.emit() bundle options to "module" and "classic" ( #10332 )
2021-04-26 06:54:57 +10:00
Aaron O'Mullan
201185f9fb
fix(cli/dts): sleepSync doesn't return a Promise ( #10358 )
...
Per its name its synchronous for the current thread
2021-04-25 00:48:43 +02:00
Kitson Kelly
b6203cb465
revert: Conn type changes in #10012 and #10061 ( #10255 )
...
Fixes #10200 (again)
This reverts commit 9c7c9a35c1
and a8057e3e06
.
2021-04-20 10:12:33 +10:00
Kitson Kelly
9c7c9a35c1
fix( #10200 ): weaken types so non-breaking ( #10205 )
...
Fixes #10200
2021-04-16 22:34:29 +10:00
Nayeem Rahman
df49a8462c
fix(cli/dts): Make respondWith() return a Promise ( #10128 )
2021-04-13 07:41:47 -04:00
crowlKats
a8057e3e06
feat(cli/dts): stricter typings for Listener & Conn ( #10012 )
2021-04-13 13:33:17 +02:00
crowlKats
8b59d9f7bc
feat(permissions): allow env permission to take values ( #9825 )
2021-04-13 13:25:21 +02:00
Casper Beyer
ec1fce58d9
fix(core): remove wasm-test-streaming flag ( #10158 )
2021-04-13 06:20:05 -04:00
Casper Beyer
9d53dab4df
feat(runtime): add truncate and truncateSync methods to Deno.File ( #10130 )
2021-04-12 14:32:58 +02:00
Casper Beyer
da9219341f
feat(runtime): add stat and statSync methods to Deno.File ( #10107 )
2021-04-12 13:33:05 +02:00
Casper Beyer
875ac73f1e
feat(runtime): stabilize Deno.fstat and Deno.fstatSync ( #10108 )
...
This commit stabilizes Deno.fstat and Deno.fstatSync
which are well known system calls and have a stable interface.
2021-04-12 11:27:38 +02:00
Aaron O'Mullan
bf99039ea9
feat: Add Deno.memoryUsage() ( #9986 )
2021-04-12 10:47:44 +02:00