@versatiles/svg-renderer 0.7.3 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/svg-renderer",
3
- "version": "0.7.3",
3
+ "version": "1.0.0",
4
4
  "description": "Renders vector maps as SVG.",
5
5
  "keywords": [
6
6
  "svg",
@@ -18,8 +18,8 @@
18
18
  "main": "dist/index.cjs",
19
19
  "module": "dist/index.js",
20
20
  "types": "dist/index.d.ts",
21
- "unpkg": "dist/maplibre.umd.js",
22
- "jsdelivr": "dist/maplibre.umd.js",
21
+ "unpkg": "dist/maplibre-svg-export.umd.js",
22
+ "jsdelivr": "dist/maplibre-svg-export.umd.js",
23
23
  "exports": {
24
24
  ".": {
25
25
  "import": {
@@ -32,19 +32,16 @@
32
32
  }
33
33
  },
34
34
  "./maplibre": {
35
- "script": "./dist/maplibre.umd.js",
35
+ "script": "./dist/maplibre-svg-export.umd.js",
36
36
  "import": {
37
- "types": "./dist/maplibre.d.ts",
38
- "default": "./dist/maplibre.js"
39
- },
40
- "require": {
41
- "types": "./dist/maplibre.d.ts",
42
- "default": "./dist/maplibre.cjs"
37
+ "types": "./dist/maplibre-svg-export.d.ts",
38
+ "default": "./dist/maplibre-svg-export.js"
43
39
  }
44
40
  }
45
41
  },
46
42
  "files": [
47
- "dist"
43
+ "dist",
44
+ "!dist/**/*.map"
48
45
  ],
49
46
  "scripts": {
50
47
  "build": "rm -rf dist && rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript && rm -rf dist/types",
@@ -85,33 +82,36 @@
85
82
  },
86
83
  "devDependencies": {
87
84
  "@eslint/js": "^10.0.1",
88
- "@mapbox/vector-tile": "^2.0.4",
89
- "@maplibre/maplibre-gl-style-spec": "^24.8.1",
85
+ "@mapbox/vector-tile": "^3.0.0",
86
+ "@maplibre/maplibre-gl-style-spec": "^26.1.0",
90
87
  "@rollup/plugin-node-resolve": "^16.0.3",
91
88
  "@rollup/plugin-typescript": "^12.3.0",
92
- "@turf/union": "^7.3.4",
93
- "@types/node": "^25.5.2",
89
+ "@types/node": "^26.1.1",
94
90
  "@types/pbf": "^3.0.5",
95
91
  "@types/pngjs": "^6.0.5",
96
- "@versatiles/release-tool": "^2.7.5",
97
- "@versatiles/style": "^5.10.1",
98
- "@vitest/coverage-v8": "^4.1.2",
99
- "eslint": "^10.2.0",
92
+ "@versatiles/release-tool": "^2.8.1",
93
+ "@versatiles/style": "^5.13.0",
94
+ "@vitest/coverage-v8": "^4.1.10",
95
+ "eslint": "^10.7.0",
100
96
  "geojson": "^0.5.0",
101
- "jsdom": "^29.0.1",
102
- "maplibre-gl": "^5.22.0",
103
- "npm-check-updates": "^20.0.0",
104
- "pbf": "^4.0.1",
105
- "pixelmatch": "^7.1.0",
106
- "playwright": "^1.59.1",
97
+ "jsdom": "^29.1.1",
98
+ "maplibre-gl": "^5.24.0",
99
+ "npm-check-updates": "^22.2.9",
100
+ "pbf": "^5.1.2",
101
+ "pixelmatch": "^7.2.0",
102
+ "playwright": "^1.61.1",
107
103
  "pngjs": "^7.0.0",
108
- "prettier": "^3.8.1",
109
- "rollup": "^4.60.1",
104
+ "prettier": "^3.9.5",
105
+ "rollup": "^4.62.2",
110
106
  "rollup-plugin-dts": "^6.4.1",
111
107
  "rollup-plugin-visualizer": "^7.0.1",
112
- "tsx": "^4.21.0",
113
- "typescript": "^5.9.3",
114
- "typescript-eslint": "^8.58.0",
115
- "vitest": "^4.1.2"
108
+ "tsx": "^4.23.1",
109
+ "typescript": "<7",
110
+ "typescript-eslint": "^8.64.0",
111
+ "vitest": "^4.1.10"
112
+ },
113
+ "allowScripts": {
114
+ "esbuild": true,
115
+ "fsevents": true
116
116
  }
117
117
  }