Skip to content

Commit

Permalink
0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Jan 27, 2022
1 parent 4de1eae commit e905854
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 56 deletions.
91 changes: 46 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "eszip"
version = "0.14.1"
authors = ["Ryan Dahl <ry@tinyclouds.org>"]
version = "0.15.0"
authors = ["the Deno authors"]
edition = "2021"
repository = "https://github.com/denoland/eszip"
description = "A utility that can download JavaScript and TypeScript module graphs and store them locally in a special zip file"
license = "MIT"

Expand Down Expand Up @@ -38,9 +39,9 @@ url = "2.2.2"

[dev-dependencies]
clap = "3"
deno_console = "0.32.0"
deno_core = "0.114.0"
import_map = "0.6.0"
deno_console = "0.34.0"
deno_core = "0.116.0"
import_map = "0.7.0"
indicatif = "0.16"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11.9", features = ["rustls-tls"] }
3 changes: 1 addition & 2 deletions src/examples/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ async fn main() {
.unwrap()
.unwrap();
let import_map =
ImportMap::from_json_with_diagnostics(&resp.specifier, &resp.content)
.unwrap();
import_map::parse_from_json(&resp.specifier, &resp.content).unwrap();
(
Some(import_map.import_map),
Some((resp.specifier, resp.content)),
Expand Down
3 changes: 1 addition & 2 deletions src/examples/load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ async fn main() {
let source = module.source().await;
let contents = std::str::from_utf8(&source).unwrap();
let import_map =
ImportMap::from_json_with_diagnostics(&maybe_import_map, contents)
.unwrap();
import_map::parse_from_json(&maybe_import_map, contents).unwrap();
Some(import_map.import_map)
} else {
None
Expand Down
3 changes: 1 addition & 2 deletions src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,7 @@ mod tests {
.unwrap()
.unwrap();
let import_map =
ImportMap::from_json_with_diagnostics(&resp.specifier, &resp.content)
.unwrap();
import_map::parse_from_json(&resp.specifier, &resp.content).unwrap();

let roots = vec![(
ModuleSpecifier::parse("file:///mapped.js").unwrap(),
Expand Down

0 comments on commit e905854

Please sign in to comment.