1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00

fix: include deno.crypto in "deno types" (#9863)

This commit is contained in:
Luca Casonato 2021-03-26 08:43:58 +01:00 committed by Kitson Kelly
parent 1a4b2a4ec9
commit 17194fb033
No known key found for this signature in database
GPG key ID: 2D87CFF11B51960A
2 changed files with 3 additions and 1 deletions

View file

@ -278,7 +278,7 @@ fn print_cache_info(
pub fn get_types(unstable: bool) -> String { pub fn get_types(unstable: bool) -> String {
let mut types = format!( let mut types = format!(
"{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}", "{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}",
crate::tsc::DENO_NS_LIB, crate::tsc::DENO_NS_LIB,
crate::tsc::DENO_CONSOLE_LIB, crate::tsc::DENO_CONSOLE_LIB,
crate::tsc::DENO_URL_LIB, crate::tsc::DENO_URL_LIB,
@ -286,6 +286,7 @@ pub fn get_types(unstable: bool) -> String {
crate::tsc::DENO_FETCH_LIB, crate::tsc::DENO_FETCH_LIB,
crate::tsc::DENO_WEBGPU_LIB, crate::tsc::DENO_WEBGPU_LIB,
crate::tsc::DENO_WEBSOCKET_LIB, crate::tsc::DENO_WEBSOCKET_LIB,
crate::tsc::DENO_CRYPTO_LIB,
crate::tsc::SHARED_GLOBALS_LIB, crate::tsc::SHARED_GLOBALS_LIB,
crate::tsc::WINDOW_LIB, crate::tsc::WINDOW_LIB,
); );

View file

@ -36,6 +36,7 @@ pub static DENO_FETCH_LIB: &str = include_str!(env!("DENO_FETCH_LIB_PATH"));
pub static DENO_WEBGPU_LIB: &str = include_str!(env!("DENO_WEBGPU_LIB_PATH")); pub static DENO_WEBGPU_LIB: &str = include_str!(env!("DENO_WEBGPU_LIB_PATH"));
pub static DENO_WEBSOCKET_LIB: &str = pub static DENO_WEBSOCKET_LIB: &str =
include_str!(env!("DENO_WEBSOCKET_LIB_PATH")); include_str!(env!("DENO_WEBSOCKET_LIB_PATH"));
pub static DENO_CRYPTO_LIB: &str = include_str!(env!("DENO_CRYPTO_LIB_PATH"));
pub static SHARED_GLOBALS_LIB: &str = pub static SHARED_GLOBALS_LIB: &str =
include_str!("dts/lib.deno.shared_globals.d.ts"); include_str!("dts/lib.deno.shared_globals.d.ts");
pub static WINDOW_LIB: &str = include_str!("dts/lib.deno.window.d.ts"); pub static WINDOW_LIB: &str = include_str!("dts/lib.deno.window.d.ts");