1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-11 08:33:43 -05:00
A modern runtime for JavaScript and TypeScript. https://deno.com/
Find a file
Kitson Kelly a21a5ad2fa Add Deno global namespace (#1748)
Resolves #1705

This PR adds the Deno APIs as a global namespace named `Deno`. For backwards
compatibility, the ability to `import * from "deno"` is preserved. I have tried
to convert every test and internal code the references the module to use the
namespace instead, but because I didn't break compatibility I am not sure.

On the REPL, `deno` no longer exists, replaced only with `Deno` to align with
the regular runtime.

The runtime type library includes both the namespace and module. This means it
duplicates the whole type information. When we remove the functionality from the
runtime, it will be a one line change to the library generator to remove the
module definition from the type library.

I marked a `TODO` in a couple places where to remove the `"deno"` module, but
there are additional places I know I didn't mark.
2019-02-12 10:08:56 -05:00
.github web design (#1728) 2019-02-11 17:41:13 -05:00
build@89b12c4642 Upgrade V8 to 7.4.98 (kKeep fix) (#1640) 2019-02-06 23:43:31 -05:00
build_extra third_party: add the 'regex' crate 2019-02-07 14:46:52 -08:00
js Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
libdeno Support scoped variables, unblock REPL async op, and REPL error colors (#1721) 2019-02-09 16:55:40 -05:00
prebuilt Upgrade sccache binaries to 0.2.8 (#1576) 2019-01-26 02:49:14 -05:00
src REPL multiline support with recoverable errors (#1731) 2019-02-11 14:01:28 -05:00
tests Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
third_party@4673ce4795 third_party: add the 'regex' crate 2019-02-07 14:46:52 -08:00
tools Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
website Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
.appveyor.yml fix: improve formatting (#1732) 2019-02-11 12:57:26 -05:00
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 2019-02-07 11:31:49 -05:00
.gitattributes Add LSAN build to travis. 2018-12-03 15:31:06 -08:00
.gitignore travis: Set CARGO_HOME to third_party/rust_crates (#1370) 2018-12-18 21:09:30 -05:00
.gitmodules deno_net -> deno_std rename 2018-12-24 11:31:17 -05:00
.gn Revert "Remove symbol_level=1 override (#1532)" 2019-01-17 13:11:33 -05:00
.prettierrc.json tools/format: format markdown files with prettier 2018-10-04 02:02:23 -07:00
.rustfmt.toml Make rustfmt format macro bodies also 2019-02-08 20:06:21 -08:00
.travis.yml fix: improve formatting (#1732) 2019-02-11 12:57:26 -05:00
BUILD.gn Support scoped variables, unblock REPL async op, and REPL error colors (#1721) 2019-02-09 16:55:40 -05:00
build.rs chore: update license lines (#1557) 2019-01-21 13:03:30 -06:00
build_overrides move v8 to third_party/v8 (#322) 2018-07-03 10:15:32 +02:00
buildtools move v8 to third_party/v8 (#322) 2018-07-03 10:15:32 +02:00
Cargo.lock v0.2.11 2019-02-08 23:34:05 -05:00
Cargo.toml v0.2.11 2019-02-08 23:34:05 -05:00
Docs.md web design (#1728) 2019-02-11 17:41:13 -05:00
gclient_config.py Upgrade V8 to 7.4.98 (kKeep fix) (#1640) 2019-02-06 23:43:31 -05:00
LICENSE Happy new year! 2019-01-02 02:37:08 +01:00
node_modules chore: reorganize symlinks 2018-07-06 01:57:32 -04:00
package.json Revert "Upgrade tslint and friends (#1571)" (#1573) 2019-01-26 03:04:03 -05:00
README.md web design (#1728) 2019-02-11 17:41:13 -05:00
Releases.md v0.2.11 2019-02-08 23:34:05 -05:00
rollup.config.js Respect NO_COLOR in TypeScript output (#1736) 2019-02-10 18:19:31 -05:00
testing move v8 to third_party/v8 (#322) 2018-07-03 10:15:32 +02:00
tsconfig.json Add WebAssembly to runtime library (#1677) 2019-02-05 08:12:58 -05:00
tslint.json tslint: no-unused-variable is deprecated. 2018-10-04 00:25:55 -04:00

deno

Linux & Mac Windows

See documentation at https://deno.land/