lint, add to changelog

This commit is contained in:
Martin Raifer
2022-04-19 11:47:43 +02:00
parent 7b0127f5e7
commit 5d2c5e63a5
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -50,6 +50,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
* Fix KeepRight warnings showing up as "Unknown" issues ([#8925])
* Fix <kbd>⌥</kbd><kbd>W</kbd> keyboard shortcut not working on MacOS in certain system languages / keyboard layouts (e.g. Spanish) ([#8905])
* Render closed ways tagged as `public_transport=platform`, `waterway=dam` or `highway=elevator` as areas ([#8985])
* Fix a bug which caused validations to not take effect in certain situations ([#9021], thanks [@mbrzakovic])
#### :rocket: Presets
* Optimize order of values in dropdowns of `access` fields ([#8945])
* Use value of `vehicle` tag as placeholder value of `access` fields for `motor_vehicle` and `bicycle`
@@ -58,7 +59,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
#### Other
* Redact more API tokens from custom imagery sources in changeset metadata tags ([#8976], thanks [@k-yle])
#### :hammer: Development
* Switch build system to [esbuild](https://esbuild.github.io/) for much faster builds ([#8774], thanks [@ mbrzakovic] and [@bhousel])
* Switch build system to [esbuild](https://esbuild.github.io/) for much faster builds ([#8774], thanks [@mbrzakovic] and [@bhousel])
* Upgrade some dependencies: maki to `v7.1`, `fontawesome` to `v6`, `d3` to `v7.3`, `node-diff` to `v3.1`, `mocha` to `v9.2`, `svg-sprite` to `v1.5.4`, `marked` to `v4.0`
[#8774]: https://github.com/openstreetmap/iD/pull/8774
@@ -71,6 +72,7 @@ _Breaking developer changes, which may affect downstream projects or sites that
[#8963]: https://github.com/openstreetmap/iD/issues/8963
[#8976]: https://github.com/openstreetmap/iD/issues/8976
[#8985]: https://github.com/openstreetmap/iD/issues/8985
[#9021]: https://github.com/openstreetmap/iD/pull/9021
# 2.20.4
+4 -1
View File
@@ -103,7 +103,10 @@ export function coreValidator(context) {
_headCache.queue = [];
// cancel deferred work and reject any pending promise
Object.keys(_deferredRIC).forEach(key => {window.cancelIdleCallback(key); _deferredRIC[key](); });
Object.keys(_deferredRIC).forEach(key => {
window.cancelIdleCallback(key);
_deferredRIC[key]();
});
_deferredRIC = {};
_deferredST.forEach(window.clearTimeout);
_deferredST.clear();