1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/cli/Cargo.toml
Bartek Iwańczuk f1d3a17043
feat: add --compat flag to provide built-in Node modules (#12293)
This commit adds "--compat" flag. When the flag is passed a set of mappings for
built-in Node modules is injected into the import map. If user doesn't
explicitly provide an import map (using "--import-map" flag) then a map is
created on the fly. If there are already existing mappings in import map that
would clash with built-in Node modules a set of diagnostics is printed to the
terminal with suggestions how to proceed.
2021-10-05 01:35:55 +02:00

110 lines
3.4 KiB
TOML

# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno"
version = "1.14.2"
authors = ["the Deno authors"]
default-run = "deno"
edition = "2018"
license = "MIT"
repository = "https://github.com/denoland/deno"
description = "Provides the deno executable"
[[bin]]
name = "deno"
path = "main.rs"
[[bench]]
name = "deno_bench"
harness = false
path = "./bench/main.rs"
[build-dependencies]
deno_broadcast_channel = { version = "0.13.0", path = "../ext/broadcast_channel" }
deno_console = { version = "0.19.0", path = "../ext/console" }
deno_core = { version = "0.101.0", path = "../core" }
deno_crypto = { version = "0.33.0", path = "../ext/crypto" }
deno_fetch = { version = "0.42.0", path = "../ext/fetch" }
deno_net = { version = "0.11.0", path = "../ext/net" }
deno_url = { version = "0.19.0", path = "../ext/url" }
deno_web = { version = "0.50.0", path = "../ext/web" }
deno_webgpu = { version = "0.20.0", path = "../ext/webgpu" }
deno_websocket = { version = "0.24.0", path = "../ext/websocket" }
deno_webstorage = { version = "0.14.0", path = "../ext/webstorage" }
regex = "1.5.4"
serde = { version = "1.0.129", features = ["derive"] }
[target.'cfg(windows)'.build-dependencies]
winapi = "0.3.9"
winres = "0.1.11"
[dependencies]
deno_ast = { version = "0.2.0", features = ["bundler", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] }
deno_core = { version = "0.101.0", path = "../core" }
deno_doc = "0.14.0"
deno_graph = "0.5.0"
deno_lint = { version = "0.16.0", features = ["docs"] }
deno_runtime = { version = "0.27.0", path = "../runtime" }
deno_tls = { version = "0.6.0", path = "../ext/tls" }
atty = "0.2.14"
base64 = "0.13.0"
clap = "2.33.3"
data-url = "0.1.0"
dissimilar = "1.0.2"
dprint-plugin-json = "0.13.0"
dprint-plugin-markdown = "0.10.0"
dprint-plugin-typescript = "0.55.0"
encoding_rs = "0.8.28"
env_logger = "0.8.4"
fancy-regex = "0.7.1"
http = "0.2.4"
import_map = "0.3.3"
jsonc-parser = { version = "0.17.0", features = ["serde"] }
lazy_static = "1.4.0"
libc = "0.2.101"
log = { version = "0.4.14", features = ["serde"] }
lspower = "1.1.0"
notify = "5.0.0-pre.12"
num_cpus = "1.13.0"
once_cell = "1.8.0"
percent-encoding = "2.1.0"
pin-project = "1.0.8"
rand = { version = "0.8.4", features = ["small_rng"] }
regex = "1.5.4"
ring = "0.16.20"
rustyline = { version = "9.0.0", default-features = false }
rustyline-derive = "0.5.0"
semver-parser = "0.10.2"
serde = { version = "1.0.129", features = ["derive"] }
shell-escape = "0.1.5"
sourcemap = "6.0.1"
tempfile = "3.2.0"
text-size = "1.1.0"
tokio = { version = "1.10.1", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4", "serde"] }
walkdir = "2.3.2"
[target.'cfg(windows)'.dependencies]
fwdansi = "1.1.0"
winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
[dev-dependencies]
# Used in benchmark
chrono = "0.4.19"
flaky_test = "0.1.0"
os_pipe = "0.9.2"
pretty_assertions = "0.7.2"
test_util = { path = "../test_util" }
trust-dns-client = "0.20.3"
trust-dns-server = "0.20.3"
[target.'cfg(unix)'.dev-dependencies]
nix = "0.22.1"
[package.metadata.winres]
# This section defines the metadata that appears in the deno.exe PE header.
OriginalFilename = "deno.exe"
LegalCopyright = "© Deno contributors & Deno Land Inc. MIT licensed."
ProductName = "Deno"
FileDescription = "Deno: A secure runtime for JavaScript and TypeScript"