1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
Commit graph

43 commits

Author SHA1 Message Date
Yoshiya Hinosawa
2be7e44403 chore: update eslint plugin (#2146) 2019-04-18 21:54:12 -04:00
Kitson Kelly
ada5ffa610 Upgrade to TypeScript 3.4.1 (#2027) 2019-04-01 12:47:25 -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
Kitson Kelly
0473d832c1 Cleanup node_modules, update packages (#1894)
And fix new lint issues.
2019-03-07 08:53:56 -05:00
Yoshiya Hinosawa
55edc06218 Add back typescript version number and add Deno.version object. (#1788) 2019-02-18 18:43:02 -05:00
Ryan Dahl
75f349929b
Revert "Upgrade tslint and friends (#1571)" (#1573)
This commit was cauing a still problem described here:
https://github.com/denoland/deno/issues/1259

This reverts commit d0dc4deaad.
2019-01-26 03:04:03 -05:00
Ryan Dahl
d0dc4deaad
Upgrade tslint and friends (#1571) 2019-01-24 14:27:59 -05:00
Ryan Dahl
c113df1bb8
Process source maps in Rust instead of JS (#1280)
- Improves speed and binary size significantly.
- Makes deno_last_exception() output a JSON structure.
- Isolate::execute and Isolate::event_loop now return
  structured, mapped JSError objects on errors.
- Removes libdeno functions:
  libdeno.setGlobalErrorHandler()
  libdeno.setPromiseRejectHandler()
  libdeno.setPromiseErrorExaminer()

In collaboration with Ryan Dahl.
2018-12-06 23:05:36 -05:00
Kitson Kelly
6cc89b9e27 Use alternate TextEncoder/TextDecoder implementation (#1281)
This is faster and smaller.
2018-12-06 10:01:15 -08:00
Ryan Dahl
b7178e1704 Upgrade Prettier to support BigInt syntax in TS 2018-11-30 16:26:53 -08:00
Kitson Kelly
17994d4542 Upgrade to TypeScript 3.2 2018-11-29 23:37:28 -08:00
Kitson Kelly
6332eb7815 Update to TypeScript 3.1.6 (#1177) 2018-11-12 08:47:36 -08:00
Kitson Kelly
5c51cffacf Omit sources from source maps in bundle. 2018-11-05 13:26:54 -08:00
Ryan Dahl
428fc450eb Upgrade node_modules. 2018-10-19 21:42:23 -04:00
Kitson Kelly
25c97962f4 Update to TypeScript 3.1 and ts-simple-ast 17 (#980) 2018-10-15 12:47:48 -04:00
Kitson Kelly
ec402c6932 Replace globals.d.ts with lib.deno_runtime.d.ts 2018-10-11 20:29:43 -04:00
Ryan Dahl
522ddbf9d3 Upgrade TS to 3.0.3
We need this specific version because ts-simple-ast depends on it. See
https://github.com/denoland/deno/pull/729#issuecomment-426352887
2018-10-03 17:06:07 -04:00
Kevin (Kun) "Kassimo" Qian
fab4bdf40d Add deno.arch/deno.platform (#773) 2018-09-20 02:13:59 -04:00
Ryan Dahl
89eee51f07 Use unit_tests for readFileSync testing. 2018-08-11 09:02:07 -07:00
Ryan Dahl
040a042679 Add TextEncoder/TextDecoder support.
Fixes #470

This commit increases size:
out/release/gen/bundle/main.js      7.3M -> 7.9M
out/release/gen/bundle/main.js.map   11M -> 12M
out/release/gen/snapshot_deno.bin    34M -> 37M
out/release/deno                     49M -> 53M

Note the amount in the JS code added is quite small:
4.0K    node_modules/text-encoding/index.js
4.0K    node_modules/@types/text-encoding/index.d.ts
4.0K    js/text_encoding.ts

Unclear to me what is causing the jump in snapshot size.
2018-08-09 14:27:46 -07:00
Ryan Dahl
9a42fcad9f Add base64-js to third_party.
It's a dependency of js/v8_source_maps.ts.
2018-08-01 12:14:10 -04:00
Kitson Kelly
36fa1cea4a Upgrade TypeScript (3.0.1)
Update runtime to use lib.deno.d.ts

Add proper console declaration

Upgrade prettier (There was an issue formatting lib.deno.d.ts)
2018-07-31 20:47:49 -04:00
Kitson Kelly
845f7215db
Replace packer with rollup 2018-07-22 03:16:17 +02:00
Ryan Dahl
08606e40a8 Downgrade typescript to 2.8.3
This is to exactly match the runtime in the prototype for easier
debugging. We will upgrade once the runtime is functional being tested
properly.
2018-07-18 15:43:50 -04:00
Yoshiya Hinosawa
46db20172c chore: use local prettier 2018-07-09 11:05:02 -04:00
Yoshiya Hinosawa
c1f430966a chore: reorganize symlinks
resolves #332
2018-07-06 01:57:32 -04:00
Ryan Dahl
86354a29a4
Delete go implementation (#276)
The go prototype will remain at https://github.com/ry/deno/tree/golang
2018-06-22 14:23:42 +02:00
Ryan Dahl
6097f87154 Try to fix tslint on travis 2018-05-28 09:47:40 -04:00
Ryan Dahl
bbcdc9b488 Move text-encoding types into repo so i can hack it.
It is unchanged in this commit.
2018-05-27 14:13:36 -04:00
Ryan Dahl
a831d1e239 Implement fetch 2018-05-27 03:46:51 -04:00
Ryan Dahl
ef00cf3e38 Use babel-polyfill to fix error 2018-05-27 01:33:37 -04:00
Ryan Dahl
016684a586 Try to fix travis 2018-05-24 14:00:54 -04:00
Ryan Dahl
b98f9f1efe Replace Node test runner with golang one. 2018-05-24 10:25:25 -04:00
Ryan Dahl
105438c94f Add prettier to deps 2018-05-23 13:37:04 -04:00
Ryan Dahl
af6076f3c6 Source maps work for testdata/007_stack_trace.ts. 2018-05-21 16:09:24 -04:00
Ryan Dahl
2c65292119 Source map support. Partially working. 2018-05-19 07:06:23 -04:00
Ryan Dahl
8886e1b55f Initial support for remote imports 2018-05-18 21:25:37 -04:00
Ryan Dahl
2da9893da3 Format 2018-05-14 03:15:21 -04:00
Ryan Dahl
6f59a9588b Add tslint, and tenative travis file. 2018-05-14 03:06:09 -04:00
Ryan Dahl
aba6a1dc87 readFileSync is working 2018-05-14 02:50:55 -04:00
Ryan Dahl
04df88912d Add protobufjs deps 2018-05-14 00:42:14 -04:00
Ryan Dahl
f7c5e19081 Init 2018-05-13 23:32:01 -04:00