diff --git a/package-lock.json b/package-lock.json index 3717227a2..351bff678 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,6 @@ "@formatjs/intl-pluralrules": "5.4.1", "@formatjs/intl-relativetimeformat": "11.4.8", "@gorhom/bottom-sheet": "5.0.6", - "@mapeo/mock-data": "2.1.2", "@osm_borders/maritime_10000m": "1.1.0", "@react-native-community/hooks": "3.0.0", "@react-native-community/netinfo": "11.4.1", @@ -99,9 +98,10 @@ "@babel/core": "7.25.7", "@babel/preset-env": "7.22.10", "@babel/runtime": "7.22.11", - "@comapeo/core": "2.3.0", - "@comapeo/schema": "1.3.0", + "@comapeo/core": "2.3.1", + "@comapeo/schema": "1.4.1", "@formatjs/cli": "6.2.0", + "@mapeo/mock-data": "2.1.5", "@react-native-community/cli": "12.3.6", "@react-native/babel-preset": "0.73.21", "@react-native/eslint-config": "0.73.2", @@ -2401,20 +2401,20 @@ "license": "MIT" }, "node_modules/@comapeo/core": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@comapeo/core/-/core-2.3.0.tgz", - "integrity": "sha512-yH/GOKMGSRNbdo4mKf+XXw7TGzdK+e4Ze9QfojhKs2Gdmq6uXMGp74XbUBUyzLKxiUnYCyOM0dPIyQR+i08yqg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@comapeo/core/-/core-2.3.1.tgz", + "integrity": "sha512-7nLnCqaOU0EYj2i0FirGlk+M3TKIHSi7WDu9HYiTE3EpQpElHlci7iv70Ic8uQg2Hkk/wnmKXJq7+RJ1yutsVw==", "license": "MIT", "dependencies": { "@comapeo/fallback-smp": "^1.0.0", - "@comapeo/schema": "1.3.0", + "@comapeo/schema": "1.4.1", "@digidem/types": "^2.3.0", "@fastify/error": "^3.4.1", "@fastify/type-provider-typebox": "^4.1.0", "@hyperswarm/secret-stream": "^6.6.3", "@mapeo/crypto": "1.0.0-alpha.10", "@mapeo/sqlite-indexer": "1.0.0-alpha.9", - "@sinclair/typebox": "^0.29.6", + "@sinclair/typebox": "^0.33.17", "@sindresorhus/merge-streams": "^4.0.0", "b4a": "^1.6.3", "bcp-47": "^2.1.0", @@ -2460,9 +2460,9 @@ } }, "node_modules/@comapeo/core/node_modules/@sinclair/typebox": { - "version": "0.29.6", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.29.6.tgz", - "integrity": "sha512-aX5IFYWlMa7tQ8xZr3b2gtVReCvg7f3LEhjir/JAjX2bJCMVJA5tIPv30wTD4KDfcwMd7DDYY3hFDeGmOgtrZQ==", + "version": "0.33.22", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.33.22.tgz", + "integrity": "sha512-auUj4k+f4pyrIVf4GW5UKquSZFHJWri06QgARy9C0t9ZTjJLIuNIrr1yl9bWcJWJ1Gz1vOvYN1D+QPaIlNMVkQ==", "license": "MIT" }, "node_modules/@comapeo/core/node_modules/hypercore": { @@ -2590,12 +2590,12 @@ } }, "node_modules/@comapeo/schema": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.3.0.tgz", - "integrity": "sha512-+rDgfKahCbUk5bU6BBcCQ3aMSRJfenkbYET0PdN4sg2c+G3BOELaTI5+s5n+oZQEEOxYXp3UDkT61PlA2nUPQw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.4.1.tgz", + "integrity": "sha512-Uh8kBluSWS8C9lI2tuM7emR1zPnCiMFKpY/0chUe3Peb92YSWzZ6iApHd5qRwljruamr99OBX35HVe8EnaPi+g==", "license": "MIT", "dependencies": { - "@comapeo/geometry": "^1.1.0", + "@comapeo/geometry": "^1.1.1", "compact-encoding": "^2.12.0", "protobufjs": "^7.2.5", "type-fest": "^4.26.0" @@ -4440,6 +4440,7 @@ "version": "9.3.0", "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-9.3.0.tgz", "integrity": "sha512-r0tJ3ZOkMd9xsu3VRfqlFR6cz0V/jFYRswAIpC+m/DIfAUXq7g8N7wTAlhSANySXYGKzGryfDXwtwsY8TxEIDw==", + "dev": true, "funding": [ { "type": "opencollective", @@ -5665,6 +5666,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", + "dev": true, "license": "MIT", "engines": { "node": ">= 10.16.0" @@ -5677,6 +5679,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", + "dev": true, "license": "MIT", "engines": { "node": ">= 10.16.0" @@ -5739,9 +5742,10 @@ } }, "node_modules/@mapeo/mock-data": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@mapeo/mock-data/-/mock-data-2.1.2.tgz", - "integrity": "sha512-eh5uVvuckgsEiWMYYWkixx0N2tzJnr+NsbVdYiA0i7EwmwkAKA5k5B8S8uXZVXLeOH3TfYxYezoZLtAoBvbIvg==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@mapeo/mock-data/-/mock-data-2.1.5.tgz", + "integrity": "sha512-pYFpQ3EJMPtEchftz++T8Cr6huSVMb2LS8LmOKmMSEj2XQDfy4XED+BsG6xww4ykILL5Me64AinYCMEBmgYWIw==", + "dev": true, "license": "MIT", "dependencies": { "@faker-js/faker": "^9.2.0", @@ -5754,13 +5758,14 @@ "list-mapeo-schemas": "bin/list-mapeo-schemas.js" }, "peerDependencies": { - "@comapeo/schema": "^1.1.1" + "@comapeo/schema": "^1.4.1" } }, "node_modules/@mapeo/mock-data/node_modules/type-fest": { "version": "4.30.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.2.tgz", "integrity": "sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig==", + "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" @@ -10958,6 +10963,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "dev": true, "license": "MIT" }, "node_modules/caller-callsite": { @@ -12988,6 +12994,7 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/dereference-json-schema/-/dereference-json-schema-0.2.1.tgz", "integrity": "sha512-uzJsrg225owJyRQ8FNTPHIuBOdSzIZlHhss9u6W8mp7jJldHqGuLv9cULagP/E26QVJDnjtG8U7Dw139mM1ydA==", + "dev": true, "license": "MIT" }, "node_modules/destroy": { @@ -15670,6 +15677,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/format-util/-/format-util-1.0.5.tgz", "integrity": "sha512-varLbTj0e0yVyRpqQhuWV+8hlePAgaoFRhNFj50BNjEIrw1/DphHSObtqwskVCPWNgzwPoQrZAbfa/SBiicNeg==", + "dev": true, "license": "MIT" }, "node_modules/forwarded": { @@ -19793,6 +19801,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 10.16.0" @@ -19873,6 +19882,7 @@ "version": "0.5.8", "resolved": "https://registry.npmjs.org/json-schema-faker/-/json-schema-faker-0.5.8.tgz", "integrity": "sha512-sqzPEbEDlpiH8U1tfmJHScXHy52onvMxITPsHyhe/jhS83g8TX6ruvRqt/ot1bXUPRsh7Ps1sWqJiBxIXmW5Xw==", + "dev": true, "license": "MIT", "dependencies": { "json-schema-ref-parser": "^6.1.0", @@ -19887,6 +19897,7 @@ "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-6.1.0.tgz", "integrity": "sha512-pXe9H1m6IgIpXmE5JSb8epilNTGsmTb2iPohAXpOdhqGFbQjNeHHsZxU+C8w6T81GZxSPFLeUoqDJmzxx5IGuw==", "deprecated": "Please switch to @apidevtools/json-schema-ref-parser", + "dev": true, "license": "MIT", "dependencies": { "call-me-maybe": "^1.0.1", @@ -19979,6 +19990,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.2.0.tgz", "integrity": "sha512-T9V+8iNYKFL2n2rF+w02LBOT2JjDnTjioaNFrxRy0Bv1y/hNsqR/EBK7Ojy2ythRHwmz2cRIls+9JitQGZC/sw==", + "dev": true, "license": "MIT", "dependencies": { "@jsep-plugin/assignment": "^1.3.0", @@ -22812,6 +22824,7 @@ "version": "4.0.11", "resolved": "https://registry.npmjs.org/ono/-/ono-4.0.11.tgz", "integrity": "sha512-jQ31cORBFE6td25deYeD80wxKBMj+zBmHTrVxnc6CKhx8gho6ipmWM5zj/oeoqioZ99yqBls9Z/9Nss7J26G2g==", + "dev": true, "license": "MIT", "dependencies": { "format-util": "^1.0.3" diff --git a/package.json b/package.json index 7b8b5d498..7915884a3 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "@formatjs/intl-pluralrules": "5.4.1", "@formatjs/intl-relativetimeformat": "11.4.8", "@gorhom/bottom-sheet": "5.0.6", - "@mapeo/mock-data": "2.1.2", "@osm_borders/maritime_10000m": "1.1.0", "@react-native-community/hooks": "3.0.0", "@react-native-community/netinfo": "11.4.1", @@ -120,9 +119,10 @@ "@babel/core": "7.25.7", "@babel/preset-env": "7.22.10", "@babel/runtime": "7.22.11", - "@comapeo/core": "2.3.0", - "@comapeo/schema": "1.3.0", + "@comapeo/core": "2.3.1", + "@comapeo/schema": "1.4.1", "@formatjs/cli": "6.2.0", + "@mapeo/mock-data": "2.1.5", "@react-native-community/cli": "12.3.6", "@react-native/babel-preset": "0.73.21", "@react-native/eslint-config": "0.73.2", diff --git a/src/backend/package-lock.json b/src/backend/package-lock.json index 74131273b..9b7666ed1 100644 --- a/src/backend/package-lock.json +++ b/src/backend/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@comapeo/core": "2.3.0", + "@comapeo/core": "2.3.1", "@comapeo/ipc": "2.1.0", "@mapeo/default-config": "5.0.0", "debug": "^4.3.4" @@ -56,20 +56,20 @@ } }, "node_modules/@comapeo/core": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@comapeo/core/-/core-2.3.0.tgz", - "integrity": "sha512-yH/GOKMGSRNbdo4mKf+XXw7TGzdK+e4Ze9QfojhKs2Gdmq6uXMGp74XbUBUyzLKxiUnYCyOM0dPIyQR+i08yqg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@comapeo/core/-/core-2.3.1.tgz", + "integrity": "sha512-7nLnCqaOU0EYj2i0FirGlk+M3TKIHSi7WDu9HYiTE3EpQpElHlci7iv70Ic8uQg2Hkk/wnmKXJq7+RJ1yutsVw==", "license": "MIT", "dependencies": { "@comapeo/fallback-smp": "^1.0.0", - "@comapeo/schema": "1.3.0", + "@comapeo/schema": "1.4.1", "@digidem/types": "^2.3.0", "@fastify/error": "^3.4.1", "@fastify/type-provider-typebox": "^4.1.0", "@hyperswarm/secret-stream": "^6.6.3", "@mapeo/crypto": "1.0.0-alpha.10", "@mapeo/sqlite-indexer": "1.0.0-alpha.9", - "@sinclair/typebox": "^0.29.6", + "@sinclair/typebox": "^0.33.17", "@sindresorhus/merge-streams": "^4.0.0", "b4a": "^1.6.3", "bcp-47": "^2.1.0", @@ -203,12 +203,12 @@ } }, "node_modules/@comapeo/schema": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.3.0.tgz", - "integrity": "sha512-+rDgfKahCbUk5bU6BBcCQ3aMSRJfenkbYET0PdN4sg2c+G3BOELaTI5+s5n+oZQEEOxYXp3UDkT61PlA2nUPQw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.4.1.tgz", + "integrity": "sha512-Uh8kBluSWS8C9lI2tuM7emR1zPnCiMFKpY/0chUe3Peb92YSWzZ6iApHd5qRwljruamr99OBX35HVe8EnaPi+g==", "license": "MIT", "dependencies": { - "@comapeo/geometry": "^1.1.0", + "@comapeo/geometry": "^1.1.1", "compact-encoding": "^2.12.0", "protobufjs": "^7.2.5", "type-fest": "^4.26.0" @@ -1270,9 +1270,9 @@ } }, "node_modules/@sinclair/typebox": { - "version": "0.29.6", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.29.6.tgz", - "integrity": "sha512-aX5IFYWlMa7tQ8xZr3b2gtVReCvg7f3LEhjir/JAjX2bJCMVJA5tIPv30wTD4KDfcwMd7DDYY3hFDeGmOgtrZQ==", + "version": "0.33.22", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.33.22.tgz", + "integrity": "sha512-auUj4k+f4pyrIVf4GW5UKquSZFHJWri06QgARy9C0t9ZTjJLIuNIrr1yl9bWcJWJ1Gz1vOvYN1D+QPaIlNMVkQ==", "license": "MIT" }, "node_modules/@sindresorhus/merge-streams": { @@ -6889,19 +6889,19 @@ } }, "@comapeo/core": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@comapeo/core/-/core-2.3.0.tgz", - "integrity": "sha512-yH/GOKMGSRNbdo4mKf+XXw7TGzdK+e4Ze9QfojhKs2Gdmq6uXMGp74XbUBUyzLKxiUnYCyOM0dPIyQR+i08yqg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@comapeo/core/-/core-2.3.1.tgz", + "integrity": "sha512-7nLnCqaOU0EYj2i0FirGlk+M3TKIHSi7WDu9HYiTE3EpQpElHlci7iv70Ic8uQg2Hkk/wnmKXJq7+RJ1yutsVw==", "requires": { "@comapeo/fallback-smp": "^1.0.0", - "@comapeo/schema": "1.3.0", + "@comapeo/schema": "1.4.1", "@digidem/types": "^2.3.0", "@fastify/error": "^3.4.1", "@fastify/type-provider-typebox": "^4.1.0", "@hyperswarm/secret-stream": "^6.6.3", "@mapeo/crypto": "1.0.0-alpha.10", "@mapeo/sqlite-indexer": "1.0.0-alpha.9", - "@sinclair/typebox": "^0.29.6", + "@sinclair/typebox": "^0.33.17", "@sindresorhus/merge-streams": "^4.0.0", "b4a": "^1.6.3", "bcp-47": "^2.1.0", @@ -7010,11 +7010,11 @@ } }, "@comapeo/schema": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.3.0.tgz", - "integrity": "sha512-+rDgfKahCbUk5bU6BBcCQ3aMSRJfenkbYET0PdN4sg2c+G3BOELaTI5+s5n+oZQEEOxYXp3UDkT61PlA2nUPQw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.4.1.tgz", + "integrity": "sha512-Uh8kBluSWS8C9lI2tuM7emR1zPnCiMFKpY/0chUe3Peb92YSWzZ6iApHd5qRwljruamr99OBX35HVe8EnaPi+g==", "requires": { - "@comapeo/geometry": "^1.1.0", + "@comapeo/geometry": "^1.1.1", "compact-encoding": "^2.12.0", "protobufjs": "^7.2.5", "type-fest": "^4.26.0" @@ -7712,9 +7712,9 @@ } }, "@sinclair/typebox": { - "version": "0.29.6", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.29.6.tgz", - "integrity": "sha512-aX5IFYWlMa7tQ8xZr3b2gtVReCvg7f3LEhjir/JAjX2bJCMVJA5tIPv30wTD4KDfcwMd7DDYY3hFDeGmOgtrZQ==" + "version": "0.33.22", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.33.22.tgz", + "integrity": "sha512-auUj4k+f4pyrIVf4GW5UKquSZFHJWri06QgARy9C0t9ZTjJLIuNIrr1yl9bWcJWJ1Gz1vOvYN1D+QPaIlNMVkQ==" }, "@sindresorhus/merge-streams": { "version": "4.0.0", diff --git a/src/backend/package.json b/src/backend/package.json index e44955af4..5711c849f 100644 --- a/src/backend/package.json +++ b/src/backend/package.json @@ -13,7 +13,7 @@ "author": "Digital Democracy", "license": "MIT", "dependencies": { - "@comapeo/core": "2.3.0", + "@comapeo/core": "2.3.1", "@comapeo/ipc": "2.1.0", "@mapeo/default-config": "5.0.0", "debug": "^4.3.4"