Skip to content

[Snyk] Upgrade jsvectormap from 1.4.2 to 1.5.3#3

Open
wanissr wants to merge 1 commit intomainfrom
snyk-upgrade-a96493f03f6cad89cf38e5c10495fa87
Open

[Snyk] Upgrade jsvectormap from 1.4.2 to 1.5.3#3
wanissr wants to merge 1 commit intomainfrom
snyk-upgrade-a96493f03f6cad89cf38e5c10495fa87

Conversation

@wanissr
Copy link
Copy Markdown
Owner

@wanissr wanissr commented Jun 22, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

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

    v1.5.2

    • 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

    v1.5.1

  • 1.5.0 - 2022-07-09

    v1.5.0

    • 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)

    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

    const map = new jsVectorMap({})

    // ❌ Avoid this in the future versions.
    map.addLine()

    // ✅ Use addLines method 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

    // ❌ Avoid this in the future versions.
    map.removeLine('United States', 'Egypt')

    // ✅ Use removeLines method 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

    • fix: jsvectormap constructor is not accessible (#69)
    • refactor: drop webpack development server
    • docs: import typo
    • fix: touch events
  • 1.4.4 - 2022-02-02

    v1.4.4

    • fix: lines position fail when zooming in/out (#63)
  • 1.4.3 - 2022-02-01

    v1.4.3

    • 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

    v1.4.2

    • fix: tooltip not destroyed
from jsvectormap GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

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
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.

2 participants