-
-
Notifications
You must be signed in to change notification settings - Fork 476
build(deps): bump jsvectormap from 1.6.0 to 1.7.0 #11978
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
base: main
Are you sure you want to change the base?
Conversation
Bumps [jsvectormap](https://github.com/themustafaomar/jsvectormap) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/themustafaomar/jsvectormap/releases) - [Commits](themustafaomar/jsvectormap@v1.6.0...v1.7.0) --- updated-dependencies: - dependency-name: jsvectormap dependency-version: 1.7.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like jsvectormap
doesn't use semver. Some of the changes like
- refactor: rename jsvectormap.js to jsvectormap.esm.js (afce9da)
- refactor: drop class definition comment from classes (themustafaomar/jsvectormap#164 (a87a1bb))
- refactor: replace deprecated pageY/XOffset with scrollY/X (themustafaomar/jsvectormap#170) (1362f18)
require manual testing/review of our code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the jsvectormap
dependency to v1.7.0 and refactors the map display code to use ESM modules.
- Bumped
jsvectormap
from^1.6.0
to^1.7.0
inpackage.json
. - Replaced legacy
<script>
includes withtype="module"
imports in HTML templates and in the Perl renderer. - Converted
display-list-of-tags
to an ESM module and updated the Gulp task to copy the.esm.js
build.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
tests/integration/expected_test_results/web_html/world-countries.html | Replaced inline map setup with a <script type="module"> import of display-list-of-tags.esm.js |
tests/integration/expected_test_results/web_html/fr-countries.html | Same ESM import update for the French countries page |
package.json | Updated jsvectormap version to ^1.7.0 |
lib/ProductOpener/Display.pm | Switched from concatenated JS includes to injecting an ESM module snippet for displayWorldMap |
html/js/display-list-of-tags.esm.js | Exported displayWorldMap and imported jsvectormap.esm.js and world-merc.js as modules |
gulpfile.ts | Changed copy source from jsvectormap.js to jsvectormap.esm.js |
Co-authored-by: Copilot <[email protected]>
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #11978 +/- ##
==========================================
+ Coverage 49.88% 50.54% +0.66%
==========================================
Files 83 84 +1
Lines 22984 22919 -65
Branches 5508 5508
==========================================
+ Hits 11466 11585 +119
+ Misses 10121 9919 -202
- Partials 1397 1415 +18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fixed/updated some stuff and tested fine locally. As I modified stuff, I won't review though 😅 |
Bumps jsvectormap from 1.6.0 to 1.7.0.
Release notes
Sourced from jsvectormap's releases.
Commits
5f77186
chore: update readme and package.jsond8467ee
docs: update documentation completely (#198)df12f2f
refactor: enhance style and drop unwanted props (#197)70ad831
fix(lines): curves distorted when it's zero value (#195)7f331be
revert: revert old lineStyle config to maintain compatibility (#194)82dbea0
fix(tooltip): internal text overrides text from listeners (#192)bb1581e
refactor: use css variables to override style (#191)c2cfb10
fix: tooltip might be undefined see #126 #179 (#186)e308ad8
build: update package dependencies (#187)c2ef7e7
refactor: missing using zoomInOption variable at #182You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)