Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify duplicate transitive JavaScript dependencies, Drop Vega-Lite 4.17 #140

Merged
merged 8 commits into from
Dec 2, 2023

Conversation

jonmmease
Copy link
Collaborator

@jonmmease jonmmease commented Dec 2, 2023

Closes #139

We download vl-convert's JavaScript dependencies from the SkyPack CDN using deno vendor. In some cases, this results in downloading multiple versions of transitive dependencies, like the vega-functions package. Having multiple versions of packages loaded into the Deno runtime often works just fine, but in this case it caused the new geoScale expression function to not be found.

This PR detects duplicate packages and deletes old versions and remaps imports to reference the latest version.

This approach required dropping Vega-Lite 4.17, as it's no longer compatible with the latest vega package versions.

@jonmmease jonmmease changed the title Unify duplicate transitive JavaScript dependencies Unify duplicate transitive JavaScript dependencies, Drop Vega-Lite 4.17 Dec 2, 2023
@jonmmease jonmmease merged commit ef44149 into main Dec 2, 2023
10 checks passed
@jonmmease jonmmease deleted the jonmmease/gh-139 branch December 2, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Cannot use new geoScale Vega expression function
1 participant