@versatiles/svelte 2.2.0 → 2.2.1
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.
|
@@ -9,7 +9,7 @@ export const DragPointMap = new Map([
|
|
|
9
9
|
['sw', { cursor: 'nesw-resize', flipH: 'se', flipV: 'nw' }],
|
|
10
10
|
['w', { cursor: 'ew-resize', flipH: 'e', flipV: 'w' }],
|
|
11
11
|
['nw', { cursor: 'nwse-resize', flipH: 'ne', flipV: 'sw' }],
|
|
12
|
-
[false, { cursor: '
|
|
12
|
+
[false, { cursor: '', flipH: false, flipV: false }],
|
|
13
13
|
]);
|
|
14
14
|
const worldBBox = [-180, -85, 180, 85];
|
|
15
15
|
export class BBoxDrawer extends EventHandler {
|
|
@@ -157,7 +157,7 @@ export class BBoxDrawer extends EventHandler {
|
|
|
157
157
|
this.updateDragPoint(directions[dragX + dragY * 3]);
|
|
158
158
|
}
|
|
159
159
|
getCursor(drag) {
|
|
160
|
-
return DragPointMap.get(drag)?.cursor ?? '
|
|
160
|
+
return DragPointMap.get(drag)?.cursor ?? '';
|
|
161
161
|
}
|
|
162
162
|
destroy() {
|
|
163
163
|
this.map.off('mousemove', this.handleMouseMove);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versatiles/svelte",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && vite build && npm run package",
|
|
@@ -42,34 +42,34 @@
|
|
|
42
42
|
"svelte": "^5.45.8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@playwright/test": "^1.58.
|
|
45
|
+
"@playwright/test": "^1.58.2",
|
|
46
46
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
47
|
-
"@sveltejs/kit": "^2.
|
|
47
|
+
"@sveltejs/kit": "^2.52.0",
|
|
48
48
|
"@sveltejs/package": "^2.5.7",
|
|
49
49
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
50
|
-
"@turf/turf": "^7.3.
|
|
50
|
+
"@turf/turf": "^7.3.4",
|
|
51
51
|
"@types/eslint": "^9.6.1",
|
|
52
|
-
"@types/node": "^25.2.
|
|
53
|
-
"@versatiles/release-tool": "^2.7.
|
|
52
|
+
"@types/node": "^25.2.3",
|
|
53
|
+
"@versatiles/release-tool": "^2.7.1",
|
|
54
54
|
"@vitest/coverage-v8": "^4.0.18",
|
|
55
55
|
"cookie": "^1.1.1",
|
|
56
56
|
"eslint": "^9.39.2",
|
|
57
57
|
"eslint-config-prettier": "^10.1.8",
|
|
58
|
-
"eslint-plugin-svelte": "^3.
|
|
58
|
+
"eslint-plugin-svelte": "^3.15.0",
|
|
59
59
|
"geojson": "^0.5.0",
|
|
60
60
|
"globals": "^17.3.0",
|
|
61
|
-
"happy-dom": "^20.
|
|
61
|
+
"happy-dom": "^20.6.1",
|
|
62
62
|
"husky": "^9.1.7",
|
|
63
63
|
"prettier": "^3.8.1",
|
|
64
64
|
"prettier-plugin-svelte": "^3.4.1",
|
|
65
65
|
"publint": "^0.3.17",
|
|
66
66
|
"sass-embedded": "^1.97.3",
|
|
67
|
-
"svelte": "^5.
|
|
68
|
-
"svelte-check": "^4.
|
|
67
|
+
"svelte": "^5.51.2",
|
|
68
|
+
"svelte-check": "^4.4.0",
|
|
69
69
|
"svelte-preprocess": "^6.0.3",
|
|
70
70
|
"tsx": "^4.21.0",
|
|
71
71
|
"typescript": "^5.9.3",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
72
|
+
"typescript-eslint": "^8.55.0",
|
|
73
73
|
"vite": "^7.3.1",
|
|
74
74
|
"vitest": "^4.0.18"
|
|
75
75
|
},
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"types": "./dist/index.d.ts",
|
|
78
78
|
"type": "module",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@versatiles/style": "^5.
|
|
81
|
-
"maplibre-gl": "^5.
|
|
80
|
+
"@versatiles/style": "^5.9.3",
|
|
81
|
+
"maplibre-gl": "^5.18.0"
|
|
82
82
|
}
|
|
83
83
|
}
|