Skip to content

Commit

Permalink
Merge pull request #9 from geoblocks/ol_9
Browse files Browse the repository at this point in the history
Adapt code to ol 9.0.0
  • Loading branch information
gberaudo authored Mar 15, 2024
2 parents 9e490ec + ec8657e commit 94d543f
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 46 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.7.5 - 2024/03/15

- port to OpenLayers 9
- support for OpenLayers versions 7 and 8 is deprecated and will be removed in the future

# v0.7.4 - 2023/09/04

- port to OpenLayers 8
Expand Down
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,6 @@ module.exports = {
// Whether to use watchman for file crawling
// watchman: true,
transformIgnorePatterns: [
"node_modules/(?!(ol|pbf|@open-wc|chai-a11y-axe|lit-html|lit-element|node-fetch|fetch-blob|data-uri-to-buffer|formdata-polyfill)/)", // <- exclude the OL lib
"node_modules/(?!(ol|pbf|@open-wc|chai-a11y-axe|lit-html|lit-element|node-fetch|fetch-blob|data-uri-to-buffer|formdata-polyfill|color-space|color-rgba|color-parse)/)", // <- exclude the OL lib
]
};
124 changes: 96 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test": "jest"
},
"peerDependencies": {
"ol": "7 || 8"
"ol": "7 || 8 || 9"
},
"devDependencies": {
"@babel/preset-env": "7.24.0",
Expand All @@ -45,7 +45,7 @@
"jest-environment-jsdom": "29.7.0",
"lit": "3.1.2",
"node-fetch": "3.3.2",
"ol": "8.0.0",
"ol": "9.0.0",
"ol-mapbox-style": "12.2.1",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0",
Expand Down
Loading

0 comments on commit 94d543f

Please sign in to comment.