Nayeem Rahman
2f90225c89
Implement expandGlob() and expandGlobSync() ( denoland/deno_std#617 )
...
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604 .
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
and filepath options.
fs/globrex.ts:
- Add GlobrexOptions.
fs/path/constants.ts:
- Add SEP_PATTERN.
fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.
prettier:
- Refactor to use expandGlob().
testing:
- Make findTestModules() an async generator.
Original: 8c90bd9d0b
2019-10-02 13:59:27 -04:00
Bartek Iwańczuk
a569be861a
remove legacy Isolate.set_dispatch API ( #3041 )
...
* migrate deno_typescript crate to Isolate.register_op API
* remove dual-dispatch mechanism
* update Isolate tests to new dispatch mechanism
2019-10-02 13:05:48 -04:00
Jed Fox
99eec73b4b
feat: Add support for passing a key to Deno.env() ( #2952 )
...
This adds a new op to get a single env var.
2019-10-02 11:55:28 -04:00
Bartek Iwańczuk
c920c5f62a
feat: window.onunload ( #3023 )
2019-10-02 11:32:51 -04:00
Yusuke Sakurai
d32f39f2ec
feat: JSX Support ( #3038 )
2019-10-02 10:46:36 -04:00
Tomohito Nakayama
a646c2a885
Implement ignoreBOM option of UTF8Decoder in text_encoding ( #3040 )
2019-10-01 20:08:51 -04:00
Bartek Iwańczuk
75eeac03f3
use Isolate::register_op in deno_cli ( #3039 )
2019-10-01 18:51:05 -04:00
Bartek Iwańczuk
ffbf0c20cc
feat: op registration in core ( #3002 )
2019-09-30 14:59:44 -04:00
Ryan Dahl
ae26a9c7a2
Support top-level-await in TypeScript ( #3024 )
2019-09-30 12:38:23 -04:00
Ryan Dahl
5f7ab4884c
Use 0.0.0.0 for servers in benchmarks and tests ( #3010 )
2019-09-30 12:35:48 -04:00
timonson
aca2253305
added type number to 'size' parameter ( denoland/deno_std#618 )
...
Original: f3bdf1a77b
2019-09-29 10:11:18 -04:00
Bartek Iwańczuk
c8a5d9c585
bump deps version on homepage ( #3036 )
2019-09-29 10:09:36 -04:00
Bartek Iwańczuk
3a982a014b
bump deno_std deps ( #3034 )
2019-09-28 15:14:49 -04:00
Yusuke Sakurai
04e4f10087
fix(ws) mask must not be set by default for server ( denoland/deno_std#616 )
...
Original: de99fcbaf9
2019-09-28 12:47:38 -04:00
Yusuke Sakurai
3cba0a4f4a
feat: wss support with dialTLS ( denoland/deno_std#615 )
...
Original: cac2d5ee68
2019-09-28 12:46:21 -04:00
Nayeem Rahman
a472b6732d
Test runner v2 ( denoland/deno_std#604 )
...
Original: 17a214bbd5
2019-09-28 09:33:17 -04:00
Kevin (Kun) "Kassimo" Qian
6efca6d1a1
Add Deno.hostname() ( #3032 )
2019-09-27 19:09:42 -04:00
Ryan Dahl
af18093498
Bump v0.19.0 ( denoland/deno_std#613 )
...
Original: 5d0dd5878e
2019-09-26 21:06:59 -04:00
Yusuke Sakurai
d36391ad20
fix: listenDefaults/dialDefaults may be overriden in some cases ( #3027 )
2019-09-26 09:14:13 -04:00
Ryan Dahl
3892cf5901
v0.19.0
2019-09-25 10:58:35 -04:00
Kitson Kelly
3d2d0ee771
Handle uncaught worker errors without panicking ( #3019 )
2019-09-25 10:46:58 -04:00
Bartek Iwańczuk
112ce0df1f
test: add HTTP_PROXY tests ( #2977 )
2019-09-24 18:52:01 -04:00
Ryan Dahl
a497f87b59
Upgrade V8 for top-level-await ( #3015 )
2019-09-24 18:37:04 -04:00
Christian Moritz
726f08694b
tools: fix cc_wrapper in setup.py ( #3017 )
2019-09-24 15:19:23 -04:00
Bartek Iwańczuk
2201414a7a
fix: run missing integration tests ( #2997 )
2019-09-24 10:46:57 -04:00
Jonathon Orsi
045e74bb39
feat: Add Deno.dialTLS()
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Yusuke Sakurai
aa21e7bc81
fix TOML's key encoding ( denoland/deno_std#612 )
...
Original: 54a5b95fef
2019-09-23 11:08:57 -04:00
Tomohito Nakayama
4ff04ad96f
Rename class name DenoFile to DomFileImpl ( #3006 )
2019-09-23 11:07:13 -04:00
Dmitry Sharshakov
9739ba55df
Implement readString ( denoland/deno_std#607 )
...
Original: 20b6408e10
2019-09-22 13:04:46 -04:00
Dmitry Sharshakov
f545f1d571
Fix types in example_client for ws module ( denoland/deno_std#609 )
...
Original: a4a8bb2948
2019-09-21 14:37:05 -04:00
Dmitry Sharshakov
b7dea16a37
Update mime-db to commit c50e0d1 ( denoland/deno_std#608 )
...
Original: 51134571c4
2019-09-21 14:33:21 -04:00
Nayeem Rahman
6fdf92d1ab
Remove //testing/main.ts ( denoland/deno_std#605 )
...
Original: e3a33a79e6
2019-09-21 14:32:15 -04:00
Ryan Dahl
97bb2bdb79
dial/listen API change ( #3000 )
...
Previously: dial("tcp", "deno.land:80")
Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" })
Similarly with listen().
2019-09-20 18:32:18 -04:00
Bert Belder
93b7acf99d
js: reschedule global timer if it fires earlier than expected ( #2989 )
...
When the global timer fires earlier than expected, which apparently
happens sometimes on server editions of Windows, we didn't call any
setTimeout callbacks, but we *also* didn't reschedule the global timer
to fire again later.
When this situation occurred it would make deno exit abruptly if there
were no other asynchronous ops running on the event loop. It could also
lead to application hangs if the upcoming setTimeout callback was
critical for the application to make progress.
2019-09-20 19:00:12 +02:00
Yoshiya Hinosawa
560edc536c
Fix handling of config file ( #2996 )
2019-09-20 10:19:51 -04:00
YIPG
7f90b7826d
change color of chart in dark mode ( #2995 )
2019-09-20 10:01:19 -04:00
Ryan Dahl
718a2e8281
Set RUSTC_WRAPPERf in travis and appveyor ( #2978 )
2019-09-19 15:35:44 -04:00
Ryan Dahl
56ac638d93
Remove test.py, use cargo test as test frontend ( #2967 )
...
Fixes #2933
2019-09-19 14:48:05 -04:00
迷渡
1b1ae65a4a
Make window
compatible with ts 3.6 ( #2984 )
2019-09-19 11:40:52 -04:00
迷渡
5102eec92b
fix spaces of indented in list ( #2983 )
2019-09-19 03:28:04 -04:00
Bert Belder
a130e8858b
Clean up miscellaneous metafiles ( #2981 )
...
The yarn.lock file is moved from //third_party to the root of
the main repository. This is where other package metadata
files (e.g. Cargo.lock and package.json) are also located.
2019-09-19 03:32:48 +02:00
Kitson Kelly
693a45c3fd
Utilise internal names for snapshot bundles ( #2973 )
2019-09-18 19:56:13 -04:00
Ryan Dahl
de19598d13
Run github actions on all pull requests ( #2980 )
2019-09-18 19:37:31 -04:00
Ryan Dahl
4a807f4225
First pass at github actions ( #2966 )
2019-09-18 17:23:27 -04:00
Ryan Dahl
3e9c7918c9
v0.18.0 ( denoland/deno_std#600 )
...
Several tests were disabled in order to land this update.
Original: a8f6cf7b4f
2019-09-18 13:17:03 -04:00
Nayeem Rahman
fd44fe34d4
Add includeDirs to WalkOptions ( denoland/deno_std#601 )
...
Original: de8d0ab4a1
2019-09-18 11:37:37 -04:00
Ryan Dahl
4d3df6f73b
Run tools/sync_node_modules.py ( #2972 )
2019-09-17 15:10:18 -04:00
Bert Belder
29b9f90d90
Use shallow submodules, don't clone Typescript recursively
2019-09-17 18:38:51 +02:00
Kitson Kelly
60a2b5a8d0
Update to TypeScript 3.6.3 ( #2969 )
2019-09-17 12:24:44 -04:00
Nayeem Rahman
e55e4a2838
Remove some non-standard web API constructors ( #2970 )
...
This removes the EventListener, EventInit and CustomEventInit constructors from the userland globals. The type exports stay.
I removed the internal classes as well. EventListener's implementation seemed to be doing some bookkeeping on handled events but that's not being used anywhere so I assume it's old debug stuff. The other two are completely redundant.
2019-09-17 12:17:12 -04:00