@mailwoman/registry 6.5.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/map-html.js +3 -3
- package/package.json +6 -6
package/out/map-html.js
CHANGED
|
@@ -52,7 +52,7 @@ const CROSS_COLOR = "#e8590c"; // cross-dataset link (≥2 sources)
|
|
|
52
52
|
* containing `</script>` would close the block early; escaping `<`/`>`/`&` to `\uXXXX` keeps the JSON valid and makes a
|
|
53
53
|
* breakout impossible.
|
|
54
54
|
*/
|
|
55
|
-
function
|
|
55
|
+
function safeJSONForScript(value) {
|
|
56
56
|
return JSON.stringify(value).replace(/</g, "\\u003c").replace(/>/g, "\\u003e").replace(/&/g, "\\u0026");
|
|
57
57
|
}
|
|
58
58
|
/** Escape text for the HTML document body (title/heading), not the inlined script. */
|
|
@@ -205,8 +205,8 @@ ${features.length ? `<div class="mw-panel mw-legend">${legendRows}</div>` : `<di
|
|
|
205
205
|
crossorigin="anonymous"></script>
|
|
206
206
|
<script>
|
|
207
207
|
"use strict";
|
|
208
|
-
var STYLE = ${
|
|
209
|
-
var BBOX = ${
|
|
208
|
+
var STYLE = ${safeJSONForScript(style)};
|
|
209
|
+
var BBOX = ${safeJSONForScript(bbox)};
|
|
210
210
|
|
|
211
211
|
function esc(v) {
|
|
212
212
|
if (v === null || v === undefined) return "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/registry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "The geocode-first record-matching application: resolve messy contact/organization records into canonical, geocoded entities (block → score → cluster) and export them as GeoJSON for spatial analysis. The clinic-funding use case mailwoman was built for.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@mailwoman/address-id": "
|
|
69
|
-
"@mailwoman/core": "
|
|
70
|
-
"@mailwoman/match": "
|
|
71
|
-
"@mailwoman/record": "
|
|
72
|
-
"@mailwoman/spatial": "
|
|
68
|
+
"@mailwoman/address-id": "7.0.0",
|
|
69
|
+
"@mailwoman/core": "7.0.0",
|
|
70
|
+
"@mailwoman/match": "7.0.0",
|
|
71
|
+
"@mailwoman/record": "7.0.0",
|
|
72
|
+
"@mailwoman/spatial": "7.0.0",
|
|
73
73
|
"@protomaps/basemaps": "^5.7.2",
|
|
74
74
|
"csv-parse": "^7.0.1",
|
|
75
75
|
"h3-js": "^4.5.0",
|