Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Leaflet and Friends #155

Open
rajadain opened this issue Oct 26, 2022 · 0 comments
Open

Upgrade Leaflet and Friends #155

rajadain opened this issue Oct 26, 2022 · 0 comments
Labels
Task 3.6 Front-end implementation

Comments

@rajadain
Copy link
Contributor

Overview

Upgrade Leaflet to the latest version, to get rid of this warning:

iow-boundary-tool-app-1       | Compiled with warnings.
iow-boundary-tool-app-1       |
iow-boundary-tool-app-1       | Warning
iow-boundary-tool-app-1       | (655:3) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
iow-boundary-tool-app-1       |
iow-boundary-tool-app-1       | Search for the keywords to learn more about each warning.
iow-boundary-tool-app-1       | To ignore, add // eslint-disable-next-line to the line before.
iow-boundary-tool-app-1       |
iow-boundary-tool-app-1       | WARNING in ./node_modules/leaflet/dist/leaflet.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/leaflet/dist/leaflet.css)
iow-boundary-tool-app-1       | Module Warning (from ./node_modules/postcss-loader/dist/cjs.js):
iow-boundary-tool-app-1       | Warning
iow-boundary-tool-app-1       |
iow-boundary-tool-app-1       | (655:3) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
iow-boundary-tool-app-1       |
iow-boundary-tool-app-1       | webpack compiled with 1 warning

This was fixed in 1.9.0: https://github.com/Leaflet/Leaflet/blob/8a467ab39db7d44ff30db2656da4044bb626337a/CHANGELOG.md#190-2022-09-21

Also upgrade Leaflet.DistortableImage so it includes this fix: publiclab/Leaflet.DistortableImage#1014, and drop the manual fix https://github.com/azavea/iow-boundary-tool/blob/develop/src/app/src/components/Layers/L.DistortableImage.Edit.fix.js

@rajadain rajadain added the Task 3.6 Front-end implementation label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task 3.6 Front-end implementation
Projects
None yet
Development

No branches or pull requests

1 participant