Skip to content

Commit

Permalink
Update with Vega-Lite 5.15.1 (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease authored Oct 2, 2023
1 parent efcbb77 commit e8d3c44
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions vl-convert-rs/src/module_loader/import_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl VlVersion {
v5_12 => "/pin/[email protected]/mode=imports,min/optimized/vega-lite.js",
v5_13 => "/pin/[email protected]/mode=imports,min/optimized/vega-lite.js",
v5_14 => "/pin/[email protected]/mode=imports,min/optimized/vega-lite.js",
v5_15 => "/pin/[email protected].0-l27jdbpFztiLqmj2Waun/mode=imports,min/optimized/vega-lite.js"
v5_15 => "/pin/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js"
};
path.to_string()
}
Expand Down Expand Up @@ -159,7 +159,7 @@ pub fn build_import_map() -> HashMap<String, String> {
m.insert("/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected].0-l27jdbpFztiLqmj2Waun/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected].0-l27jdbpFztiLqmj2Waun/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js").to_string());
Expand Down Expand Up @@ -197,7 +197,7 @@ pub fn build_import_map() -> HashMap<String, String> {
m.insert("/pin/[email protected]/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/[email protected]/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/[email protected]/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/[email protected].0-l27jdbpFztiLqmj2Waun/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected].0-l27jdbpFztiLqmj2Waun/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js").to_string());
m.insert("/pin/[email protected]/mode=imports,min/optimized/vega.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/vega.js").to_string());
m.insert("/pin/[email protected]/mode=imports,min/optimized/vega-themes.js".to_string(), include_str!("../../vendor/cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/vega-themes.js").to_string());
m
Expand Down

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Skypack CDN - [email protected].0
* Skypack CDN - [email protected].1
* Remove "min" from url for additional help & instructions.
*/

export * from '/-/[email protected].0-l27jdbpFztiLqmj2Waun/dist=es2020,mode=imports,min/optimized/vega-lite.js';
export {default} from '/-/[email protected].0-l27jdbpFztiLqmj2Waun/dist=es2020,mode=imports,min/optimized/vega-lite.js';
export * from '/-/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js';
export {default} from '/-/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js';
2 changes: 1 addition & 1 deletion vl-convert-rs/vendor/import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected].0-l27jdbpFztiLqmj2Waun/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected].0-l27jdbpFztiLqmj2Waun/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js",
"/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js": "./cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports,min/optimized/vega-lite.js",
Expand Down
2 changes: 1 addition & 1 deletion vl-convert-rs/vendor_imports.js

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

5 changes: 3 additions & 2 deletions vl-convert-vendor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ const VL_PATHS: &[(&str, &str)] = &[
"5.13",
"/pin/[email protected]/mode=imports,min/optimized/vega-lite.js",
),
// 5.14 is used by Altair 5.1 (keep forever)
// 5.14.1 is used by Altair 5.1.0 (keep forever)
(
"5.14",
"/pin/[email protected]/mode=imports,min/optimized/vega-lite.js",
),
// 5.15.1 is used by Altair 5.1.1 (keep forever)
(
"5.15",
"/pin/[email protected].0-l27jdbpFztiLqmj2Waun/mode=imports,min/optimized/vega-lite.js",
"/pin/[email protected].1-lQeQs8sDPgFa9d7Jm3sd/mode=imports,min/optimized/vega-lite.js",
),
];
const SKYPACK_URL: &str = "https://cdn.skypack.dev";
Expand Down

0 comments on commit e8d3c44

Please sign in to comment.