diff --git a/.github/check_examples.py b/.github/check_examples.py
index b40c224..d255551 100644
--- a/.github/check_examples.py
+++ b/.github/check_examples.py
@@ -13,6 +13,17 @@ for package in glob.glob("**/package.json",recursive=True):
name = j["name"]
version = j["version"]
+ for dependent in glob.glob("**/package.json",recursive=True):
+ if "node_modules" in dependent:
+ continue
+ with open(dependent,"r") as f:
+ j2 = json.loads(f.read())
+ if 'dependencies' in j2 and name in j2["dependencies"]:
+ dependent_version = j2["dependencies"]["pmtiles"]
+ if dependent_version != "^" + version:
+ print(dependent,"should be ^",version,"was",dependent_version)
+ fail = 1
+
for html in glob.glob("**/*.html",recursive=True):
if "node_modules" in html:
continue
diff --git a/js/README.md b/js/README.md
index 26e88e6..0f6e666 100644
--- a/js/README.md
+++ b/js/README.md
@@ -37,7 +37,7 @@ See [protomaps-leaflet](https://github.com/protomaps/protomaps-leaflet)
Example of a PMTiles archive displayed in MapLibre GL JS:
```js
- import { Protocol } from "pmtiles";
+import { Protocol } from "pmtiles";
let protocol = new Protocol();
maplibregl.addProtocol("pmtiles",protocol.tile);
var style = {
diff --git a/openlayers/examples/raster.html b/openlayers/examples/raster.html
index 6a02b4b..16782bc 100644
--- a/openlayers/examples/raster.html
+++ b/openlayers/examples/raster.html
@@ -4,7 +4,7 @@
-
+