Commit c48a2c6ad6d3328f4c595563ff613bda91fa963a
1 parent
5bb64034
UI: Add path to fixed leaflet library memory leak in function removePointerListener
Showing
3 changed files
with
91 additions
and
3 deletions
... | ... | @@ -8,7 +8,8 @@ |
8 | 8 | "build:prod": "ng build --prod --vendor-chunk", |
9 | 9 | "test": "ng test", |
10 | 10 | "lint": "ng lint", |
11 | - "e2e": "ng e2e" | |
11 | + "e2e": "ng e2e", | |
12 | + "prepare": "patch-package" | |
12 | 13 | }, |
13 | 14 | "private": true, |
14 | 15 | "dependencies": { |
... | ... | @@ -135,6 +136,8 @@ |
135 | 136 | "karma-jasmine": "~4.0.0", |
136 | 137 | "karma-jasmine-html-reporter": "^1.5.0", |
137 | 138 | "ngrx-store-freeze": "^0.2.4", |
139 | + "patch-package": "^6.4.7", | |
140 | + "postinstall-prepare": "^2.0.0", | |
138 | 141 | "protractor": "~7.0.0", |
139 | 142 | "ts-node": "^9.0.0", |
140 | 143 | "tslint": "~6.1.3", | ... | ... |
ui-ngx/patches/leaflet+1.7.1.patch
0 → 100644
1 | +diff --git a/node_modules/leaflet/dist/leaflet-src.js b/node_modules/leaflet/dist/leaflet-src.js | |
2 | +index 9acc7da..6c9acf8 100644 | |
3 | +--- a/node_modules/leaflet/dist/leaflet-src.js | |
4 | ++++ b/node_modules/leaflet/dist/leaflet-src.js | |
5 | +@@ -2050,6 +2050,8 @@ | |
6 | + obj.removeEventListener(POINTER_CANCEL, handler, false); | |
7 | + } | |
8 | + | |
9 | ++ delete obj['_leaflet_' + type + id]; | |
10 | ++ | |
11 | + return this; | |
12 | + } | |
13 | + | ... | ... |
... | ... | @@ -2101,7 +2101,7 @@ |
2101 | 2101 | resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" |
2102 | 2102 | integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== |
2103 | 2103 | |
2104 | -"@yarnpkg/lockfile@1.1.0": | |
2104 | +"@yarnpkg/lockfile@1.1.0", "@yarnpkg/lockfile@^1.1.0": | |
2105 | 2105 | version "1.1.0" |
2106 | 2106 | resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" |
2107 | 2107 | integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== |
... | ... | @@ -3069,6 +3069,11 @@ chrome-trace-event@^1.0.2: |
3069 | 3069 | dependencies: |
3070 | 3070 | tslib "^1.9.0" |
3071 | 3071 | |
3072 | +ci-info@^2.0.0: | |
3073 | + version "2.0.0" | |
3074 | + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" | |
3075 | + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== | |
3076 | + | |
3072 | 3077 | cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: |
3073 | 3078 | version "1.0.4" |
3074 | 3079 | resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" |
... | ... | @@ -3526,7 +3531,7 @@ critters@0.0.7: |
3526 | 3531 | parse5-htmlparser2-tree-adapter "^6.0.1" |
3527 | 3532 | pretty-bytes "^5.3.0" |
3528 | 3533 | |
3529 | -cross-spawn@^6.0.0: | |
3534 | +cross-spawn@^6.0.0, cross-spawn@^6.0.5: | |
3530 | 3535 | version "6.0.5" |
3531 | 3536 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" |
3532 | 3537 | integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== |
... | ... | @@ -4665,6 +4670,13 @@ find-up@^4.0.0, find-up@^4.1.0: |
4665 | 4670 | locate-path "^5.0.0" |
4666 | 4671 | path-exists "^4.0.0" |
4667 | 4672 | |
4673 | +find-yarn-workspace-root@^2.0.0: | |
4674 | + version "2.0.0" | |
4675 | + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" | |
4676 | + integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== | |
4677 | + dependencies: | |
4678 | + micromatch "^4.0.2" | |
4679 | + | |
4668 | 4680 | flatted@^2.0.1: |
4669 | 4681 | version "2.0.2" |
4670 | 4682 | resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" |
... | ... | @@ -4754,6 +4766,15 @@ fs-extra@4.0.2: |
4754 | 4766 | jsonfile "^4.0.0" |
4755 | 4767 | universalify "^0.1.0" |
4756 | 4768 | |
4769 | +fs-extra@^7.0.1: | |
4770 | + version "7.0.1" | |
4771 | + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" | |
4772 | + integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== | |
4773 | + dependencies: | |
4774 | + graceful-fs "^4.1.2" | |
4775 | + jsonfile "^4.0.0" | |
4776 | + universalify "^0.1.0" | |
4777 | + | |
4757 | 4778 | fs-extra@^8.1.0: |
4758 | 4779 | version "8.1.0" |
4759 | 4780 | resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" |
... | ... | @@ -5468,6 +5489,13 @@ is-callable@^1.1.4, is-callable@^1.2.2: |
5468 | 5489 | resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.2.tgz#c7c6715cd22d4ddb48d3e19970223aceabb080d9" |
5469 | 5490 | integrity sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA== |
5470 | 5491 | |
5492 | +is-ci@^2.0.0: | |
5493 | + version "2.0.0" | |
5494 | + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" | |
5495 | + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== | |
5496 | + dependencies: | |
5497 | + ci-info "^2.0.0" | |
5498 | + | |
5471 | 5499 | is-color-stop@^1.1.0: |
5472 | 5500 | version "1.1.0" |
5473 | 5501 | resolved "https://registry.yarnpkg.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" |
... | ... | @@ -6179,6 +6207,13 @@ kind-of@^6.0.0, kind-of@^6.0.2: |
6179 | 6207 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" |
6180 | 6208 | integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== |
6181 | 6209 | |
6210 | +klaw-sync@^6.0.0: | |
6211 | + version "6.0.0" | |
6212 | + resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" | |
6213 | + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== | |
6214 | + dependencies: | |
6215 | + graceful-fs "^4.1.11" | |
6216 | + | |
6182 | 6217 | klona@^2.0.4: |
6183 | 6218 | version "2.0.4" |
6184 | 6219 | resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.4.tgz#7bb1e3affb0cb8624547ef7e8f6708ea2e39dfc0" |
... | ... | @@ -7256,6 +7291,14 @@ open@7.4.0: |
7256 | 7291 | is-docker "^2.0.0" |
7257 | 7292 | is-wsl "^2.1.1" |
7258 | 7293 | |
7294 | +open@^7.4.2: | |
7295 | + version "7.4.2" | |
7296 | + resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" | |
7297 | + integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== | |
7298 | + dependencies: | |
7299 | + is-docker "^2.0.0" | |
7300 | + is-wsl "^2.1.1" | |
7301 | + | |
7259 | 7302 | opn@^5.5.0: |
7260 | 7303 | version "5.5.0" |
7261 | 7304 | resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" |
... | ... | @@ -7465,6 +7508,25 @@ pascalcase@^0.1.1: |
7465 | 7508 | resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" |
7466 | 7509 | integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= |
7467 | 7510 | |
7511 | +patch-package@^6.4.7: | |
7512 | + version "6.4.7" | |
7513 | + resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.4.7.tgz#2282d53c397909a0d9ef92dae3fdeb558382b148" | |
7514 | + integrity sha512-S0vh/ZEafZ17hbhgqdnpunKDfzHQibQizx9g8yEf5dcVk3KOflOfdufRXQX8CSEkyOQwuM/bNz1GwKvFj54kaQ== | |
7515 | + dependencies: | |
7516 | + "@yarnpkg/lockfile" "^1.1.0" | |
7517 | + chalk "^2.4.2" | |
7518 | + cross-spawn "^6.0.5" | |
7519 | + find-yarn-workspace-root "^2.0.0" | |
7520 | + fs-extra "^7.0.1" | |
7521 | + is-ci "^2.0.0" | |
7522 | + klaw-sync "^6.0.0" | |
7523 | + minimist "^1.2.0" | |
7524 | + open "^7.4.2" | |
7525 | + rimraf "^2.6.3" | |
7526 | + semver "^5.6.0" | |
7527 | + slash "^2.0.0" | |
7528 | + tmp "^0.0.33" | |
7529 | + | |
7468 | 7530 | path-browserify@0.0.1: |
7469 | 7531 | version "0.0.1" |
7470 | 7532 | resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" |
... | ... | @@ -7908,6 +7970,11 @@ postcss@^8.1.4: |
7908 | 7970 | nanoid "^3.1.23" |
7909 | 7971 | source-map-js "^0.6.2" |
7910 | 7972 | |
7973 | +postinstall-prepare@^2.0.0: | |
7974 | + version "2.0.0" | |
7975 | + resolved "https://registry.yarnpkg.com/postinstall-prepare/-/postinstall-prepare-2.0.0.tgz#2a6867c1a13a05502aa115d0495efbbd778769cb" | |
7976 | + integrity sha512-lLFwEKdnGLAaRAm8OpXP6HwrXRW+b8Hh9vRhVHZKmCdobd+D21YM38BCDsi3zrePLSe8Tt0H/mbYkh7/ySQQMg== | |
7977 | + | |
7911 | 7978 | prettier@^2.1.2: |
7912 | 7979 | version "2.1.2" |
7913 | 7980 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5" |
... | ... | @@ -9008,6 +9075,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: |
9008 | 9075 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" |
9009 | 9076 | integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== |
9010 | 9077 | |
9078 | +slash@^2.0.0: | |
9079 | + version "2.0.0" | |
9080 | + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" | |
9081 | + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== | |
9082 | + | |
9011 | 9083 | slash@^3.0.0: |
9012 | 9084 | version "3.0.0" |
9013 | 9085 | resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" | ... | ... |