Open
Conversation
Snyk has created this PR to upgrade jsvectormap from 1.4.2 to 1.5.3. See this package in npm: jsvectormap See this project in Snyk: https://app.snyk.io/org/wanissr/project/f41518b1-44ce-4a7b-ba8e-60e6b722b925?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade jsvectormap from 1.4.2 to 1.5.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 7 versions ahead of your current version.
The recommended version was released on a year ago.
Release notes
Package name: jsvectormap
-
1.5.3 - 2023-04-09
-
1.5.2 - 2023-04-07
- fix(markers): get/clear selected markers
- fix: series doesn't receive markers nor regions
- fix(events): tooltip fails when it's disabled (#117)
- perf: massively improves performance when not using labels (#115)
- style: replace let with const for the sake of consistency
- refactor: abstract the zoom handlers
- style: replace let with const
- style: imporve variable declaration
- fix: zoom on mobile (#104)
- refactor: replace jsvectormap.js with index.js
-
1.5.1 - 2022-08-15
- region label fails (#92)
- fix: add ability to customize circled markers (#97)
- refactor: improve consistency & readability (5cf594d62d3ea1175d7a56e994a90740246fd778)
-
1.5.0 - 2022-07-09
- feat(events): onRegion/MarkerClick support (#29)
- fix: shaky click selects a region (#47)
- fix: lines reposition fails
- refactor: improve the destroy method
- refactor: build an abstract class for components
- refactor: improve consistency & remove addMarker entirely
- feat: ability to remove a line or multiple lines
- refactor: better name conventions (#86)
- refactor: move elements to components (#81)
- refactor: get selector from merged options directly
- fix: too much recursion error (#75) (#76)
- feat(lines): ability to remove lines (#72)
- fix(typo): 'tranparent' typo in default options (#71)
const map = new jsVectorMap({})
// ❌ Avoid this in the future versions.
- fix: jsvectormap constructor is not accessible (#69)
- refactor: drop webpack development server
- docs: import typo
- fix: touch events
-
1.4.4 - 2022-02-02
- fix: lines position fail when zooming in/out (#63)
-
1.4.3 - 2022-02-01
- refactor: switch addMap, maps, defaults to static (3b3b13d)
- revert: revert tooltip's css method (83b7822)
- fix: touch handlers (fc4dbe4)
- chore: cleaning up (a8be4ef)
- fix: marker's render function (5136fae)
-
1.4.2 - 2021-11-21
- fix: tooltip not destroyed
from jsvectormap GitHub release notesv1.5.2
v1.5.1
v1.5.0
Release Notes
Starting from v1.5.0 the addLine and removeLine are deprecated and will be removed soon, as an alternative please use addLines and removeLines.
Adding lines
// ❌ Avoid this in the future versions.
map.addLine()
// ✅ Use
addLinesmethod to add a line or multiple lines.map.addLines({ from: 'Palestine', to: 'Ukraine' })
map.addLines([
{ from: 'United States', to: 'Egypt' },
{ from: 'Palestine', to: 'Ukraine' },
])
Removing lines
map.removeLine('United States', 'Egypt')
// ✅ Use
removeLinesmethod to remove multiple lines or all lines.map.removeLines()
map.removeLines([{ from: 'United States', to: 'Egypt' }])
1.4.5 - 2022-02-21
v1.4.5
v1.4.4
v1.4.3
v1.4.2
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: