Bartek Iwańczuk
161adfc51b
workers: proper TS libs, more spec-compliant APIs ( #3812 )
...
* split lib.deno_main.d.ts into:
- lib.deno.shared_globals.d.ts
- lib.deno.window.d.ts
- lib.deno.worker.d.ts
* remove no longer used libs:
- lib.deno_main.d.ts
- lib.deno_worker.d.ts
* change module loading to use proper TS library for compilation
* align to Worker API spec:
- Worker.terminate()
- self.close()
- self.name
2020-01-29 18:54:23 +01:00
Bartek Iwańczuk
ac10d79d23
refactor: isomorphic snapshot for CLI ( #3728 )
2020-01-27 21:12:25 -05:00
Kitson Kelly
950537e8ef
Break out runtime lib to main and worker ( #3771 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-01-24 14:15:01 -05:00
Bartek Iwańczuk
63293a90e1
refactor: snapshotting ( #3753 )
2020-01-22 23:58:13 +01:00
Bartek Iwańczuk
bd9561f4de
Reland "Create an old program to be used in snapshot." ( #3747 )
...
* read CLI assets from disk during snapshotting
2020-01-22 20:18:01 +01:00
Ry Dahl
fa7f34eb8c
Revert "Create an old program to be used in snapshot. ( #3644 )"
...
Ref #3712 . This change allowed the deno_typescript crate to reference
cli/js/lib.deno_runtime.d.ts which breaks "cargo package". We intend to
reintroduce a revised version of this patch later once "cargo
package" is working and tested.
This reverts commit 737ab94ea1
.
2020-01-21 14:57:56 -05:00
Kitson Kelly
737ab94ea1
Create an old program to be used in snapshot. ( #3644 )
2020-01-12 12:20:33 +01:00