Skip to content

Commit

Permalink
Add Vega-Lite 5.18, drop 5.10, update deps (#164)
Browse files Browse the repository at this point in the history
* cargo update

* update deno

* import StatusCode from reqwest

* add Vega-Lite 5.18, drop Vega-Lite 5.10

* update licenses
  • Loading branch information
jonmmease authored Apr 15, 2024
1 parent 2ece4bc commit f34a3bb
Show file tree
Hide file tree
Showing 31 changed files with 22,964 additions and 9,686 deletions.
1,677 changes: 912 additions & 765 deletions Cargo.lock

Large diffs are not rendered by default.

7,316 changes: 5,136 additions & 2,180 deletions thirdparty_rust.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions vl-convert-python/tests/test_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ def load_expected_png(name, vl_version, theme=None):
"vl_version",
[
"v5_8",
"v5_10",
"v5_11",
"v5_12",
"v5_13",
"v5_14",
"v5_15",
"v5_16",
"v5_17",
"v5_18",
],
)
@pytest.mark.parametrize("as_dict", [False, True])
Expand All @@ -106,14 +106,14 @@ def test_vega(name, vl_version, as_dict):
"vl_version",
[
"5.8",
"5.10",
"5.11",
"5.12",
"5.13",
"5.14",
"5.15",
"5.16",
"5.17",
"5.18",
],
)
def test_vegalite_to_html_no_bundle(name, vl_version):
Expand Down Expand Up @@ -142,14 +142,14 @@ def test_vegalite_to_html_no_bundle(name, vl_version):
"vl_version",
[
"5.8",
"5.10",
"5.11",
"5.12",
"5.13",
"5.14",
"5.15",
"5.16",
"5.17",
"5.18",
],
)
def test_vegalite_to_html_bundle(name, vl_version):
Expand Down
7,316 changes: 5,136 additions & 2,180 deletions vl-convert-python/thirdparty_rust.yaml

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions vl-convert-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ keywords = ["Visualization", "Vega", "Vega-Lite"]
[dependencies]
vl-convert-pdf = {path= "../vl-convert-pdf", version= "1.2.3" }

# Deno 1.41.0. Before updating deno_runtime/deno_core, see note in DEVELOP.md
deno_runtime = "0.147.0"
deno_core = "0.264.0"
deno_emit = "0.38.1"
deno_graph = "0.69.0"
# Deno 1.42.3. Before updating deno_runtime/deno_core, see note in DEVELOP.md
deno_runtime = "0.154.0"
deno_core = "0.272.0"
deno_emit = "0.39.0"
deno_graph = "0.71.1"
serde_json = {version="1.0.106", features=["preserve_order"]}
serde = {version="1.0.188", features=["derive"]}
futures = "0.3.28"
Expand All @@ -32,8 +32,7 @@ fontdb = {version= "0.15.0", features=["fontconfig"]}
tempfile = "3.8.0"
log = "0.4.20"
env_logger = "0.10.0"
http = "0.2.9"
image = {version="0.24.7", default-features=false, features=["jpeg"]}
image = {version= "0.24.7", default-features=false, features=["jpeg"]}
lz-str = "0.2.1"
regex = "1"

Expand Down
16 changes: 6 additions & 10 deletions vl-convert-rs/src/converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,10 @@ function vegaToScenegraph(vgSpec, allowedBaseUrls, formatLocale, timeFormatLocal
return scenegraphPromise
}
"#;
self.worker
.execute_script("ext:<anon>", deno_core::FastString::Static(function_str))?;
self.worker.execute_script(
"ext:<anon>",
deno_core::FastString::from_static(function_str),
)?;
self.worker.run_event_loop(false).await?;

self.vega_initialized = true;
Expand Down Expand Up @@ -601,10 +603,7 @@ function vegaLiteToScenegraph_{ver_name}(vlSpec, config, theme, warnings, allowe
script: &str,
) -> Result<serde_json::Value, AnyError> {
let code = script.to_string();
let res = self
.worker
.js_runtime
.execute_script("ext:<anon>", code.into())?;
let res = self.worker.js_runtime.execute_script("ext:<anon>", code)?;

self.worker.run_event_loop(false).await?;

Expand All @@ -624,10 +623,7 @@ function vegaLiteToScenegraph_{ver_name}(vlSpec, config, theme, warnings, allowe

async fn execute_script_to_string(&mut self, script: &str) -> Result<String, AnyError> {
let code = script.to_string();
let res = self
.worker
.js_runtime
.execute_script("ext:<anon>", code.into())?;
let res = self.worker.js_runtime.execute_script("ext:<anon>", code)?;

self.worker.run_event_loop(false).await?;

Expand Down
6 changes: 3 additions & 3 deletions vl-convert-rs/src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::module_loader::import_map::{DEBOUNCE_PATH, SKYPACK_URL, VEGA_EMBED_PA
use crate::module_loader::VlConvertBundleLoader;
use crate::VlVersion;
use deno_core::error::AnyError;
use deno_emit::{bundle, BundleOptions, BundleType, EmitOptions};
use deno_emit::{bundle, BundleOptions, BundleType, EmitOptions, SourceMapOption};
use std::path::Path;

pub fn get_vega_or_vegalite_script(
Expand Down Expand Up @@ -38,9 +38,9 @@ pub async fn bundle_script(script: String, vl_version: VlVersion) -> Result<Stri
None,
BundleOptions {
bundle_type: BundleType::Module,
transpile_options: Default::default(),
emit_options: EmitOptions {
source_map: false,
inline_source_map: false,
source_map: SourceMapOption::None,
..Default::default()
},
emit_ignore_directives: false,
Expand Down
3 changes: 1 addition & 2 deletions vl-convert-rs/src/image_loading.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use http::StatusCode;
use log::{error, info};
use reqwest::Client;
use reqwest::{Client, StatusCode};
use std::io::Write;
use tokio::task;
use usvg::{ImageHrefResolver, ImageKind, Options};
Expand Down
24 changes: 12 additions & 12 deletions vl-convert-rs/src/module_loader/import_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub const VEGA_PATH: &str =
pub const VEGA_THEMES_PATH: &str =
"/pin/vega-themes@v2.14.0-RvUmNETlVH2y3yQM1y36/mode=imports,min/optimized/vega-themes.js";
pub const VEGA_EMBED_PATH: &str =
"/pin/vega-embed@v6.24.0-w7baSqpeCYEV2w1fHJn2/mode=imports,min/optimized/vega-embed.js";
"/pin/vega-embed@v6.25.0-3T3K5LYNFrLq0n1oBsLI/mode=imports,min/optimized/vega-embed.js";
pub const DEBOUNCE_PATH: &str = "/pin/lodash.debounce@v4.0.8-aOLIwnE2RethWPrEzTeR/mode=imports,min/optimized/lodash.debounce.js";

pub fn url_for_path(path: &str) -> String {
Expand All @@ -31,29 +31,29 @@ pub fn vega_themes_url() -> String {
#[allow(non_camel_case_types)]
pub enum VlVersion {
v5_8,
v5_10,
v5_11,
v5_12,
v5_13,
v5_14,
v5_15,
v5_16,
v5_17,
v5_18,
}

impl VlVersion {
pub fn to_path(self) -> String {
use VlVersion::*;
let path = match self {
v5_8 => "/pin/vega-lite@v5.8.0-4snbURNltT4se5LjMOKF/mode=imports,min/optimized/vega-lite.js",
v5_10 => "/pin/vega-lite@v5.10.0-Vm0dgr6cpOyUiTjlPzt9/mode=imports,min/optimized/vega-lite.js",
v5_11 => "/pin/vega-lite@v5.11.1-Q5Jhmb2acmWm03IObXvn/mode=imports,min/optimized/vega-lite.js",
v5_12 => "/pin/vega-lite@v5.12.0-ujK64YZaLHcwzRN5lx1E/mode=imports,min/optimized/vega-lite.js",
v5_13 => "/pin/vega-lite@v5.13.0-GkFo6HVxfKtvVL5RV8aE/mode=imports,min/optimized/vega-lite.js",
v5_14 => "/pin/vega-lite@v5.14.1-0IRM1VigcIVzRzBRoLFR/mode=imports,min/optimized/vega-lite.js",
v5_15 => "/pin/vega-lite@v5.15.1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js",
v5_16 => "/pin/vega-lite@v5.16.3-Hw7pZxUuaiVgThsNMjY9/mode=imports,min/optimized/vega-lite.js",
v5_17 => "/pin/vega-lite@v5.17.0-jkfrfJOQ30TsVIlEEbKQ/mode=imports,min/optimized/vega-lite.js"
v5_17 => "/pin/vega-lite@v5.17.0-jkfrfJOQ30TsVIlEEbKQ/mode=imports,min/optimized/vega-lite.js",
v5_18 => "/pin/vega-lite@v5.18.0-FtLrd9Ks5cFttxoTAph7/mode=imports,min/optimized/vega-lite.js"
};
path.to_string()
}
Expand All @@ -66,21 +66,21 @@ impl VlVersion {
use VlVersion::*;
match self {
v5_8 => "5.8",
v5_10 => "5.10",
v5_11 => "5.11",
v5_12 => "5.12",
v5_13 => "5.13",
v5_14 => "5.14",
v5_15 => "5.15",
v5_16 => "5.16",
v5_17 => "5.17",
v5_18 => "5.18",
}
}
}

impl Default for VlVersion {
fn default() -> Self {
VlVersion::from_str("5.17").unwrap()
VlVersion::from_str("5.18").unwrap()
}
}

Expand All @@ -90,29 +90,29 @@ impl FromStr for VlVersion {
fn from_str(s: &str) -> Result<Self, Self::Err> {
Ok(match s {
"5.8" | "v5.8" | "5_8" | "v5_8" => Self::v5_8,
"5.10" | "v5.10" | "5_10" | "v5_10" => Self::v5_10,
"5.11" | "v5.11" | "5_11" | "v5_11" => Self::v5_11,
"5.12" | "v5.12" | "5_12" | "v5_12" => Self::v5_12,
"5.13" | "v5.13" | "5_13" | "v5_13" => Self::v5_13,
"5.14" | "v5.14" | "5_14" | "v5_14" => Self::v5_14,
"5.15" | "v5.15" | "5_15" | "v5_15" => Self::v5_15,
"5.16" | "v5.16" | "5_16" | "v5_16" => Self::v5_16,
"5.17" | "v5.17" | "5_17" | "v5_17" => Self::v5_17,
"5.18" | "v5.18" | "5_18" | "v5_18" => Self::v5_18,
_ => bail!("Unsupported Vega-Lite version string {}", s),
})
}
}

pub const VL_VERSIONS: &[VlVersion] = &[
VlVersion::v5_8,
VlVersion::v5_10,
VlVersion::v5_11,
VlVersion::v5_12,
VlVersion::v5_13,
VlVersion::v5_14,
VlVersion::v5_15,
VlVersion::v5_16,
VlVersion::v5_17,
VlVersion::v5_18,
];

pub fn build_import_map() -> HashMap<String, String> {
Expand Down Expand Up @@ -148,7 +148,7 @@ pub fn build_import_map() -> HashMap<String, String> {
m.insert("/-/vega-canvas@v1.2.7-hCEcvULuKIOqBVGX1Tn8/dist=es2020,mode=imports,min/optimized/vega-canvas.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-canvas@v1.2.7-hCEcvULuKIOqBVGX1Tn8/dist=es2020,mode=imports,min/optimized/vega-canvas.js").to_string());
m.insert("/-/vega-crossfilter@v4.1.1-0AUAt51ACgvwsfDQr3R4/dist=es2020,mode=imports,min/optimized/vega-crossfilter.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-crossfilter@v4.1.1-0AUAt51ACgvwsfDQr3R4/dist=es2020,mode=imports,min/optimized/vega-crossfilter.js").to_string());
m.insert("/-/vega-dataflow@v5.7.5-asKYS4gpPLMPf64pSozt/dist=es2020,mode=imports,min/optimized/vega-dataflow.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-dataflow@v5.7.5-asKYS4gpPLMPf64pSozt/dist=es2020,mode=imports,min/optimized/vega-dataflow.js").to_string());
m.insert("/-/vega-embed@v6.24.0-w7baSqpeCYEV2w1fHJn2/dist=es2020,mode=imports,min/optimized/vega-embed.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-embed@v6.24.0-w7baSqpeCYEV2w1fHJn2/dist=es2020,mode=imports,min/optimized/vega-embed.js").to_string());
m.insert("/-/vega-embed@v6.25.0-3T3K5LYNFrLq0n1oBsLI/dist=es2020,mode=imports,min/optimized/vega-embed.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-embed@v6.25.0-3T3K5LYNFrLq0n1oBsLI/dist=es2020,mode=imports,min/optimized/vega-embed.js").to_string());
m.insert("/-/vega-encode@v4.9.2-73LzBc3ioSKmAYWtrrRd/dist=es2020,mode=imports,min/optimized/vega-encode.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-encode@v4.9.2-73LzBc3ioSKmAYWtrrRd/dist=es2020,mode=imports,min/optimized/vega-encode.js").to_string());
m.insert("/-/vega-event-selector@v3.0.1-UgiEAWJA4WQL4DTKnV4R/dist=es2020,mode=imports,min/optimized/vega-event-selector.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-event-selector@v3.0.1-UgiEAWJA4WQL4DTKnV4R/dist=es2020,mode=imports,min/optimized/vega-event-selector.js").to_string());
m.insert("/-/vega-expression@v5.1.0-2VnsdaYPtQ6Pi5w8JxN8/dist=es2020,mode=imports,min/optimized/vega-expression.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-expression@v5.1.0-2VnsdaYPtQ6Pi5w8JxN8/dist=es2020,mode=imports,min/optimized/vega-expression.js").to_string());
Expand All @@ -159,14 +159,14 @@ pub fn build_import_map() -> HashMap<String, String> {
m.insert("/-/vega-hierarchy@v4.1.1-UOm1ATDeVOQ6Lqji63hi/dist=es2020,mode=imports,min/optimized/vega-hierarchy.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-hierarchy@v4.1.1-UOm1ATDeVOQ6Lqji63hi/dist=es2020,mode=imports,min/optimized/vega-hierarchy.js").to_string());
m.insert("/-/vega-interpreter@v1.0.5-xGayK8haM1EVgaoW7oOi/dist=es2020,mode=imports,min/optimized/vega-interpreter.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-interpreter@v1.0.5-xGayK8haM1EVgaoW7oOi/dist=es2020,mode=imports,min/optimized/vega-interpreter.js").to_string());
m.insert("/-/vega-label@v1.2.1-hEHqe293fM7lKP2OHb0o/dist=es2020,mode=imports,min/optimized/vega-label.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-label@v1.2.1-hEHqe293fM7lKP2OHb0o/dist=es2020,mode=imports,min/optimized/vega-label.js").to_string());
m.insert("/-/vega-lite@v5.10.0-Vm0dgr6cpOyUiTjlPzt9/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.10.0-Vm0dgr6cpOyUiTjlPzt9/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.11.1-Q5Jhmb2acmWm03IObXvn/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.11.1-Q5Jhmb2acmWm03IObXvn/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.12.0-ujK64YZaLHcwzRN5lx1E/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.12.0-ujK64YZaLHcwzRN5lx1E/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.13.0-GkFo6HVxfKtvVL5RV8aE/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.13.0-GkFo6HVxfKtvVL5RV8aE/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.14.1-0IRM1VigcIVzRzBRoLFR/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.14.1-0IRM1VigcIVzRzBRoLFR/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.15.1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.15.1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.16.3-Hw7pZxUuaiVgThsNMjY9/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.16.3-Hw7pZxUuaiVgThsNMjY9/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.17.0-jkfrfJOQ30TsVIlEEbKQ/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.17.0-jkfrfJOQ30TsVIlEEbKQ/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.18.0-FtLrd9Ks5cFttxoTAph7/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.18.0-FtLrd9Ks5cFttxoTAph7/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-lite@v5.8.0-4snbURNltT4se5LjMOKF/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-lite@v5.8.0-4snbURNltT4se5LjMOKF/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/vega-loader@v4.5.1-e2JpneCYErTzObWVOVxs/dist=es2020,mode=imports,min/optimized/vega-loader.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-loader@v4.5.1-e2JpneCYErTzObWVOVxs/dist=es2020,mode=imports,min/optimized/vega-loader.js").to_string());
m.insert("/-/vega-parser@v6.3.0-LmHzQ5CDjQqCqdcg4N1t/dist=es2020,mode=imports,min/optimized/vega-parser.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-parser@v6.3.0-LmHzQ5CDjQqCqdcg4N1t/dist=es2020,mode=imports,min/optimized/vega-parser.js").to_string());
Expand All @@ -189,15 +189,15 @@ pub fn build_import_map() -> HashMap<String, String> {
m.insert("/-/vega-wordcloud@v4.1.4-J5ewLsaJzX7o65uuoGqD/dist=es2020,mode=imports,min/optimized/vega-wordcloud.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega-wordcloud@v4.1.4-J5ewLsaJzX7o65uuoGqD/dist=es2020,mode=imports,min/optimized/vega-wordcloud.js").to_string());
m.insert("/-/vega@v5.28.0-apQC2txkSWyYRCV9ipfx/dist=es2020,mode=imports,min/optimized/vega.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/-/vega@v5.28.0-apQC2txkSWyYRCV9ipfx/dist=es2020,mode=imports,min/optimized/vega.js").to_string());
m.insert("/pin/lodash.debounce@v4.0.8-aOLIwnE2RethWPrEzTeR/mode=imports,min/optimized/lodash.debounce.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/lodash.debounce@v4.0.8-aOLIwnE2RethWPrEzTeR/mode=imports,min/optimized/lodash.debounce.js").to_string());
m.insert("/pin/vega-embed@v6.24.0-w7baSqpeCYEV2w1fHJn2/mode=imports,min/optimized/vega-embed.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-embed@v6.24.0-w7baSqpeCYEV2w1fHJn2/mode=imports,min/optimized/vega-embed.js").to_string());
m.insert("/pin/vega-lite@v5.10.0-Vm0dgr6cpOyUiTjlPzt9/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.10.0-Vm0dgr6cpOyUiTjlPzt9/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-embed@v6.25.0-3T3K5LYNFrLq0n1oBsLI/mode=imports,min/optimized/vega-embed.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-embed@v6.25.0-3T3K5LYNFrLq0n1oBsLI/mode=imports,min/optimized/vega-embed.js").to_string());
m.insert("/pin/vega-lite@v5.11.1-Q5Jhmb2acmWm03IObXvn/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.11.1-Q5Jhmb2acmWm03IObXvn/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.12.0-ujK64YZaLHcwzRN5lx1E/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.12.0-ujK64YZaLHcwzRN5lx1E/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.13.0-GkFo6HVxfKtvVL5RV8aE/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.13.0-GkFo6HVxfKtvVL5RV8aE/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.14.1-0IRM1VigcIVzRzBRoLFR/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.14.1-0IRM1VigcIVzRzBRoLFR/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.15.1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.15.1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.16.3-Hw7pZxUuaiVgThsNMjY9/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.16.3-Hw7pZxUuaiVgThsNMjY9/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.17.0-jkfrfJOQ30TsVIlEEbKQ/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.17.0-jkfrfJOQ30TsVIlEEbKQ/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.18.0-FtLrd9Ks5cFttxoTAph7/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.18.0-FtLrd9Ks5cFttxoTAph7/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-lite@v5.8.0-4snbURNltT4se5LjMOKF/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-lite@v5.8.0-4snbURNltT4se5LjMOKF/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/vega-themes@v2.14.0-RvUmNETlVH2y3yQM1y36/mode=imports,min/optimized/vega-themes.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega-themes@v2.14.0-RvUmNETlVH2y3yQM1y36/mode=imports,min/optimized/vega-themes.js").to_string());
m.insert("/pin/vega@v5.28.0-apQC2txkSWyYRCV9ipfx/mode=imports,min/optimized/vega.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/vega@v5.28.0-apQC2txkSWyYRCV9ipfx/mode=imports,min/optimized/vega.js").to_string());
Expand Down
1 change: 1 addition & 0 deletions vl-convert-rs/src/module_loader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ impl ModuleLoader for VlConvertModuleLoader {
ModuleType::JavaScript,
ModuleSourceCode::String(code.into()),
&module_specifier,
None,
)))
}
}
Expand Down
Loading

0 comments on commit f34a3bb

Please sign in to comment.