1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
Commit graph

3174 commits

Author SHA1 Message Date
Ryan Dahl
ae4405d747
Make some renames in js/build.ts (#1912)
* Replace Deno.OSType enum with Deno.OperatingSystem type alias

* Add arm64 to supported CPU architectures

* add type alias for cpu arch Deno.Arch
2019-03-11 20:34:48 -04:00
Ryan Dahl
8828bb8c0e Rename Deno.build.gnArgs to Deno.build.args 2019-03-11 19:05:51 -04:00
Ryan Dahl
72f9a2e20d
core: Abstract out Behavior from Isolate (#1904)
Move v8_set_flags and v8_version to core. (The idea is that src/ should
not depend on libdeno.rs anymore. This is a step towards that.)
2019-03-11 17:57:36 -04:00
Vincent LE GOFF
830ce93785 Add OSType enum (#1909) 2019-03-11 14:23:11 -04:00
chiefbiiko
4a97a6e67e Move benching into testing. (denoland/deno_std#258)
Original: 4de86f04de
2019-03-11 14:21:13 -04:00
Axetroy
d4ba2978a6 feat: add emptyDir for fs modules (denoland/deno_std#263)
Original: 64d6bfca56
2019-03-11 14:19:52 -04:00
Axetroy
ef6d932358 add fs/exists (denoland/deno_std#260)
Original: 142a1c6cf8
2019-03-11 13:14:26 -04:00
Vincent LE GOFF
8127cfb9ea Datetime module improvement (denoland/deno_std#259)
Original: 5852cd251b
2019-03-11 11:00:30 -04:00
Kitson Kelly
75a500ba81 Update to TypeScript 3.3 (#1908) 2019-03-11 10:53:18 -04:00
Kitson Kelly
034e2cc028 Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
Eugen Cazacu
1870a8ec72 Eslint Fix http (denoland/deno_std#257)
Original: 2153fd2646
2019-03-09 11:46:53 -05:00
Vincent LE GOFF
831d74e364 Use AssertionError instead of Error in testing (denoland/deno_std#254)
Original: d4088a1920
2019-03-08 16:04:43 -05:00
andy finch
8c7a12d1b2 Add basic Arm64 build to CI (#1887) 2019-03-08 13:11:05 -05:00
Yoshiya Hinosawa
aed3e590ba docs: package.ts -> deps.ts (#1903) 2019-03-08 13:10:14 -05:00
Eugen Cazacu
3761d41d32 http: add return types (denoland/deno_std#250)
Original: 84f9fe0649
2019-03-08 13:04:02 -05:00
Yoshiya Hinosawa
0434076ea6 refactor: use execPath where appropriate (denoland/deno_std#255)
Original: bf76484301
2019-03-08 12:41:47 -05:00
Ryan Dahl
b7a11b486d testing/asserts: Add unimplemented and unreachable (denoland/deno_std#248)
Original: 02274ef48b
2019-03-08 02:32:46 -05:00
Andy Hayden
4b96bfa8c7 Use fs.walk rather than git ls-files (denoland/deno_std#241)
Original: afaf343f37
2019-03-08 02:01:39 -05:00
Kitson Kelly
24d6bf6aeb Remove 'deno' builtin module (#1895) 2019-03-07 21:56:56 -05:00
Ryan Dahl
cd1992aeaa
Upgrade deno_std to 395392 (#1902) 2019-03-07 20:19:39 -05:00
Yoshiya Hinosawa
f90f62fa52 Use Deno global var instead of built-in "deno" module (denoland/deno_std#247)
Original: 395392912d
2019-03-07 19:25:16 -05:00
Vincent LE GOFF
fd74b38d36 Add assertNotEquals, assertArrayContains (denoland/deno_std#246)
Original: 899ab67cea
2019-03-07 09:08:19 -05:00
Yoshiya Hinosawa
31f684e71b Bump CI to v0.3.2 (denoland/deno_std#245)
replace Deno.platform with Deno.build
Original: c67751659c
2019-03-07 09:07:12 -05:00
Kitson Kelly
0473d832c1 Cleanup node_modules, update packages (#1894)
And fix new lint issues.
2019-03-07 08:53:56 -05:00
Ryan Dahl
535037b519 v0.3.2 2019-03-06 21:22:48 -05:00
Ryan Dahl
c42a9d7370
Upgrade deno_std (#1892)
A major API change was that asserts are imported from testing/asserts.ts
now rather than testing/mod.ts and assertEqual as renamed to
assertEquals to conform to what is most common in JavaScript.
2019-03-06 20:48:46 -05:00
Ryan Dahl
caa383a583 Rename assertEq to assertEquals (denoland/deno_std#242)
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
Original: 4cf39d4a14
2019-03-06 19:42:24 -05:00
Kevin (Kun) "Kassimo" Qian
de1a10e5f7 Reorganize version and platform into Deno.build and Deno.version (#1879) 2019-03-06 16:54:58 -05:00
Vincent LE GOFF
e36edfdb3f Testing refactor (denoland/deno_std#240)
Original: e1d5c00279
2019-03-06 16:39:50 -05:00
Andy Hayden
d29957ad17 Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239)
Original: 0fc13fffbd
2019-03-06 10:24:53 -05:00
Andy Hayden
91364cabae Replace deno.land/x/std with deno.land/std (#1890) 2019-03-06 10:23:47 -05:00
Evan Hahn
c6075f373e Update mime-db to 1.38.0 (denoland/deno_std#238)
mime-db@1.38.0 was released on 2019-02-04. This updates the JSON file.
Original: d430a24124
2019-03-05 22:00:39 -05:00
Grant Timmerman
4f623e37c5 Fix website manual link (#1889) 2019-03-05 21:57:57 -05:00
andy finch
da004fb6c8 fix snapshots in gn build (#1886)
Bug introduced in 75fe80d5a4
2019-03-05 17:26:59 -05:00
Vincent LE GOFF
787207f11b Refactor asserts in testing (denoland/deno_std#227)
Original: c734e32343
2019-03-05 14:58:28 -05:00
Bert Belder
ee29ed79a7
tools/run_node: only create 'node_modules' symlink once
Previously run_node.py would always attempt to remove and then re-create
the 'target/xx/node_modules' symlink. This causes sporadic build errors
on windows when multiple build targets that use run_node.py are being
built concurrently.
2019-03-04 21:01:52 -08:00
Bert Belder
860be9f0de
tools: remove fix_symlinks() function
This fixes an issue on Windows that causes build to fails when
fix_symlinks() is called concurrently with another build step.

It is also no longer necessary, since recent versions of git know how to
properly create symbolic links on checkout.
2019-03-04 21:01:52 -08:00
Bert Belder
25359bcc03
ci: upgrade git on appveyor to version v2.21.0.windows.1 2019-03-04 21:01:52 -08:00
Ryan Dahl
e23d0b3452 Improve tagline in README (#1881) 2019-03-04 21:01:32 -08:00
Vincent LE GOFF
39fde3a454 Use pretty assertEqual in testing (denoland/deno_std#234)
Original: 8fb9f709a6
2019-03-04 20:03:50 -05:00
Kitson Kelly
17663c1232 Add eslint for linting (denoland/deno_std#235)
Original: c0390ade3d
2019-03-04 19:53:35 -05:00
Dmitry Sharshakov
9f33cd2896 Refactor WebSockets (denoland/deno_std#173)
* Use assert.equal instead of deprecated assertEqual
* Replace let with const where possible
* Add WebSocketMessage type
* Use OpCode in WebSocketFrame
* Use const where possible in WS
* Separate sha1 tests, use const instead of let
Original: 385f866a54
2019-03-04 18:23:04 -05:00
andy finch
75fe80d5a4 use-snapshots build option for cross compile support. (#1852) 2019-03-04 18:09:35 -05:00
chiefbiiko
ce7a987009 feat: parallel testing (denoland/deno_std#224)
Original: 41bdd096f0
2019-03-04 14:19:03 -05:00
Vincent LE GOFF
2bbde0c226 Refactoring + Enhance UTs + Enhance doc (denoland/deno_std#230)
Original: e2fd507cfd
2019-03-04 13:06:05 -05:00
Simon Menke
77d7ad61f3 Allow inspection and revocation of permissions (#1875) 2019-03-04 11:04:19 -05:00
Vincent LE GOFF
87d044ec24 Fixing default parameters of runBenchmarks (denoland/deno_std#229)
Original: facc8ce9d2
2019-03-04 11:02:49 -05:00
Lazarus Holl
048a8a7775 Removed comment from tslint.json (#1878) 2019-03-03 22:21:58 -08:00
Bert Belder
4cb157b85b
libdeno: fix libdeno.print() unicode output on Windows
Note that emoji are still not supported, due limitations of the
Windows console.
2019-03-03 19:19:39 -08:00
Bert Belder
2e9d43391f
libdeno: remove prints_newline parameter from libdeno.print() 2019-03-03 19:19:01 -08:00