ol-mapbox-style
Advanced tools
Comparing version 2.10.2 to 2.10.3
@@ -124,3 +124,3 @@ /* | ||
fetch(spriteUrl) | ||
fetch(spriteUrl, {credentials: 'same-origin'}) | ||
.then(function(response) { | ||
@@ -134,3 +134,3 @@ // if the response is ready return the JSON promise | ||
spriteUrl = toSpriteUrl(glStyle.sprite, path, '.json'); | ||
return fetch(spriteUrl).then(r => r.json()); | ||
return fetch(spriteUrl, {credentials: 'same-origin'}).then(r => r.json()); | ||
} | ||
@@ -137,0 +137,0 @@ }) |
{ | ||
"name": "ol-mapbox-style", | ||
"version": "2.10.2", | ||
"version": "2.10.3", | ||
"description": "Create OpenLayers maps from Mapbox Style objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,2 +15,3 @@ To create and publish a release, perform the following steps: | ||
git commit -m "Set version to 2.11.0" | ||
git push origin master | ||
@@ -17,0 +18,0 @@ ### Create and checkout a release branch |
@@ -129,3 +129,2 @@ import 'babel-polyfill'; | ||
should(layer.getStyle()).be.a.Function(); | ||
should(source.getAttributions()[0].getHTML()).equal('Tegola OSM'); | ||
done(); | ||
@@ -132,0 +131,0 @@ }); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
887203
3
7722