Skip to content

Commit a3d5a28

Browse files
committed
fix: lock leaflet version
1 parent 13637a5 commit a3d5a28

File tree

4 files changed

+41
-9
lines changed

4 files changed

+41
-9
lines changed

.changeset/proud-laws-sleep.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@navigraph/leaflet": minor
3+
---
4+
5+
Locked leaflet version to `1.9.0` based on reports of this version working better with MSFS 2024.
6+
7+
This should hopefully get rid of the flashing that currently may occur when loading Navigraph maps inside instruments in the simulator.

examples/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@turf/buffer": "^7.1.0",
2222
"@turf/helpers": "^7.1.0",
2323
"clsx": "^2.1.1",
24-
"leaflet": "^1.9.4",
24+
"leaflet": "1.9.0",
2525
"react": "^18.3.1",
2626
"react-dom": "^18.3.1",
2727
"react-icons": "^5.3.0",

packages/leaflet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@navigraph/app": "1.4.0"
3939
},
4040
"peerDependencies": {
41-
"leaflet": "^1.9.4"
41+
"leaflet": "1.9.0"
4242
},
4343
"devDependencies": {
4444
"@navigraph/auth": "2.6.0",

yarn.lock

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4774,10 +4774,10 @@ kleur@^4.1.5:
47744774
resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780"
47754775
integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==
47764776

4777-
leaflet@^1.9.4:
4778-
version "1.9.4"
4779-
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.4.tgz#23fae724e282fa25745aff82ca4d394748db7d8d"
4780-
integrity sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==
4777+
leaflet@1.9.0:
4778+
version "1.9.0"
4779+
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.0.tgz#4f5adf5ad392107935a20a24298e877520691c1e"
4780+
integrity sha512-lL8433PmoPoTSfPoPMzsQdTKmH36Rn2bQx9/j0bbZ98LimrsMof0P+7AQ0LntwRbjXe601j/IY1P2mwBRnN/1Q==
47814781

47824782
leven@^3.1.0:
47834783
version "3.1.0"
@@ -6049,7 +6049,16 @@ string-length@^4.0.1:
60496049
char-regex "^1.0.2"
60506050
strip-ansi "^6.0.0"
60516051

6052-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
6052+
"string-width-cjs@npm:string-width@^4.2.0":
6053+
version "4.2.3"
6054+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
6055+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
6056+
dependencies:
6057+
emoji-regex "^8.0.0"
6058+
is-fullwidth-code-point "^3.0.0"
6059+
strip-ansi "^6.0.1"
6060+
6061+
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
60536062
version "4.2.3"
60546063
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
60556064
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -6094,7 +6103,14 @@ string.prototype.trimstart@^1.0.7:
60946103
define-properties "^1.2.0"
60956104
es-abstract "^1.22.1"
60966105

6097-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
6106+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
6107+
version "6.0.1"
6108+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
6109+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
6110+
dependencies:
6111+
ansi-regex "^5.0.1"
6112+
6113+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
60986114
version "6.0.1"
60996115
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
61006116
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -6775,7 +6791,7 @@ which@^2.0.1:
67756791
dependencies:
67766792
isexe "^2.0.0"
67776793

6778-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
6794+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
67796795
version "7.0.0"
67806796
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
67816797
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -6793,6 +6809,15 @@ wrap-ansi@^6.2.0:
67936809
string-width "^4.1.0"
67946810
strip-ansi "^6.0.0"
67956811

6812+
wrap-ansi@^7.0.0:
6813+
version "7.0.0"
6814+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
6815+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
6816+
dependencies:
6817+
ansi-styles "^4.0.0"
6818+
string-width "^4.1.0"
6819+
strip-ansi "^6.0.0"
6820+
67966821
wrap-ansi@^8.1.0:
67976822
version "8.1.0"
67986823
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)