diff --git a/example/package-lock.json b/example/package-lock.json index a88662e..371411b 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -37,7 +37,7 @@ }, "..": { "name": "@convex-dev/geospatial", - "version": "0.1.7", + "version": "0.1.9", "license": "Apache-2.0", "dependencies": { "async-channel": "^0.2.0", @@ -67,11 +67,11 @@ "react-leaflet": "^4.2.1", "typescript": "~5.0.3", "typescript-eslint": "^8.4.0", - "vite": "^5.0.8", + "vite": "^5.4.21", "vitest": "^2.1.0" }, "peerDependencies": { - "convex": "~1.16.5 || >=1.17.0 <1.25.0" + "convex": "~1.16.5 || >=1.17.0 <1.35.0" } }, "node_modules/@ampproject/remapping": { @@ -7770,9 +7770,9 @@ } }, "node_modules/vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.21", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", + "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", "dev": true, "dependencies": { "esbuild": "^0.21.3", @@ -8750,7 +8750,7 @@ "react-leaflet": "^4.2.1", "typescript": "~5.0.3", "typescript-eslint": "^8.4.0", - "vite": "^5.0.8", + "vite": "^5.4.21", "vitest": "^2.1.0" } }, @@ -13797,9 +13797,9 @@ } }, "vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.21", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", + "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", "dev": true, "requires": { "esbuild": "^0.21.3", diff --git a/package-lock.json b/package-lock.json index 95d3565..f4b39b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -180,6 +180,7 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "dev": true, + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", @@ -568,6 +569,7 @@ "resolved": "https://registry.npmjs.org/@edge-runtime/vm/-/vm-4.0.3.tgz", "integrity": "sha512-2EKlqxSbZTV4D+XG8DTX+9P1SL+m48ahvNbDuxz+dZkmUZ+ju4hl/m28j7QMbC9kU5S+4HUJCYKCAfA+3gggLw==", "dev": true, + "peer": true, "dependencies": { "@edge-runtime/primitives": "5.1.0" }, @@ -598,7 +600,6 @@ "os": [ "aix" ], - "peer": true, "engines": { "node": ">=18" } @@ -614,7 +615,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">=18" } @@ -630,7 +630,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">=18" } @@ -646,7 +645,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">=18" } @@ -662,7 +660,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">=18" } @@ -678,7 +675,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">=18" } @@ -694,7 +690,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -710,7 +705,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -726,7 +720,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -742,7 +735,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -758,7 +750,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -774,7 +765,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -790,7 +780,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -806,7 +795,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -822,7 +810,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -838,7 +825,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -854,7 +840,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">=18" } @@ -870,7 +855,6 @@ "os": [ "netbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -886,7 +870,6 @@ "os": [ "openbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -902,7 +885,6 @@ "os": [ "openbsd" ], - "peer": true, "engines": { "node": ">=18" } @@ -918,7 +900,6 @@ "os": [ "sunos" ], - "peer": true, "engines": { "node": ">=18" } @@ -934,7 +915,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">=18" } @@ -950,7 +930,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">=18" } @@ -966,7 +945,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">=18" } @@ -1617,6 +1595,7 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.50.tgz", "integrity": "sha512-xonK+NRrMBRtkL1hVCc3G+uXtjh1Al4opBLjqVmipe5ZAaBYWW6cNAiBVZ1BvmkBhep698rP3UM3aRAdSALuhg==", "dev": true, + "peer": true, "dependencies": { "undici-types": "~5.26.4" } @@ -1684,6 +1663,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.5.0.tgz", "integrity": "sha512-gF77eNv0Xz2UJg/NbpWJ0kqAm35UMsvZf1GHj8D9MRFTj/V3tAciIWXfmPLsAAF/vUlpWPvUDyH1jjsr0cMVWw==", "dev": true, + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.5.0", "@typescript-eslint/types": "8.5.0", @@ -1989,6 +1969,7 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2183,6 +2164,7 @@ "url": "https://github.com/sponsors/ai" } ], + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001646", "electron-to-chromium": "^1.5.4", @@ -2397,7 +2379,8 @@ "version": "1.11.13", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==", - "dev": true + "dev": true, + "peer": true }, "node_modules/debug": { "version": "4.3.7", @@ -2454,7 +2437,6 @@ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.0.tgz", "integrity": "sha512-1lvV17H2bMYda/WaFb2jLPeHU3zml2k4/yagNMG8Q/YtfMjCwEUZa2eXXMgZTVSL5q1n4H7sQ0X6CdJDqqeCFA==", "hasInstallScript": true, - "peer": true, "bin": { "esbuild": "bin/esbuild" }, @@ -2514,6 +2496,7 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -3117,7 +3100,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz", "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==", - "peer": true, "engines": { "node": ">=18" } @@ -3135,7 +3117,8 @@ "version": "1.9.4", "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz", "integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==", - "dev": true + "dev": true, + "peer": true }, "node_modules/levn": { "version": "0.4.1", @@ -4115,6 +4098,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "devOptional": true, + "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -4127,6 +4111,7 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "devOptional": true, + "peer": true, "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" @@ -4517,6 +4502,7 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -4594,10 +4580,12 @@ } }, "node_modules/vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.21", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", + "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", "dev": true, + "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", @@ -4681,6 +4669,7 @@ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "aix" @@ -4697,6 +4686,7 @@ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -4713,6 +4703,7 @@ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -4729,6 +4720,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -4745,6 +4737,7 @@ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -4761,6 +4754,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -4777,6 +4771,7 @@ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -4793,6 +4788,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -4809,6 +4805,7 @@ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4825,6 +4822,7 @@ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4841,6 +4839,7 @@ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4857,6 +4856,7 @@ "loong64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4873,6 +4873,7 @@ "mips64el" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4889,6 +4890,7 @@ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4905,6 +4907,7 @@ "riscv64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4921,6 +4924,7 @@ "s390x" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4937,6 +4941,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -4953,6 +4958,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "netbsd" @@ -4969,6 +4975,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -4985,6 +4992,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "sunos" @@ -5001,6 +5009,7 @@ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -5017,6 +5026,7 @@ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -5033,6 +5043,7 @@ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -5047,6 +5058,7 @@ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, @@ -5084,6 +5096,7 @@ "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.0.tgz", "integrity": "sha512-XuuEeyNkqbfr0FtAvd9vFbInSSNY1ykCQTYQ0sj9wPy4hx+1gR7gqVNdW0AX2wrrM1wWlN5fnJDjF9xG6mYRSQ==", "dev": true, + "peer": true, "dependencies": { "@vitest/expect": "2.1.0", "@vitest/mocker": "2.1.0",