From 161274f1ed08b55e8a8b83f1671e59a268d88182 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Tue, 17 Sep 2024 10:40:32 -0500 Subject: [PATCH] chore!: update to @comapeo/schema@1.0.0 (#23) --- package-lock.json | 46 ++++++++++++++++++++++++---------------------- package.json | 2 +- schema/field.js | 4 ++-- schema/preset.js | 4 ++-- 4 files changed, 29 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1454af0..3937c54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "3.0.2-alpha.1", "license": "MIT", "dependencies": { - "@mapeo/schema": "^3.0.0-next.22", + "@comapeo/schema": "^1.0.0", "glob": "^7.0.5", "js-yaml": "^3.14.0", "jsonschema": "^1.4.1", @@ -74,6 +74,29 @@ "node": ">=4" } }, + "node_modules/@comapeo/schema": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@comapeo/schema/-/schema-1.0.0.tgz", + "integrity": "sha512-dK227I+0yg9D2y5/O5NGywx50tgeNYyUkl1uYnSmNAPlbv+r2KX9aaC9m4dEjIja2aR2VFnYn6z537ERZiahqQ==", + "license": "MIT", + "dependencies": { + "compact-encoding": "^2.12.0", + "protobufjs": "^7.2.5", + "type-fest": "^4.26.0" + } + }, + "node_modules/@comapeo/schema/node_modules/type-fest": { + "version": "4.26.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", + "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@eslint/eslintrc": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", @@ -95,27 +118,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/@mapeo/schema": { - "version": "3.0.0-next.22", - "resolved": "https://registry.npmjs.org/@mapeo/schema/-/schema-3.0.0-next.22.tgz", - "integrity": "sha512-LGgazGZoP8Gq2SaLvWf2rf+njtC2qcpliWl7BctOXTO6pZ9oNX9QSBFOwk/0PjU2fg4iHqKal5UaEIhbIBmWgA==", - "dependencies": { - "compact-encoding": "^2.12.0", - "protobufjs": "^7.2.5", - "type-fest": "^4.1.0" - } - }, - "node_modules/@mapeo/schema/node_modules/type-fest": { - "version": "4.15.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.15.0.tgz", - "integrity": "sha512-tB9lu0pQpX5KJq54g+oHOLumOx+pMep4RaM6liXh2PKmVRFF+/vAtUP0ZaJ0kOySfVNjF6doBWPHhBhISKdlIA==", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", diff --git a/package.json b/package.json index f43a655..2665adb 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "author": "Gregor MacLennan / Digital Democracy", "license": "MIT", "dependencies": { - "@mapeo/schema": "^3.0.0-next.22", + "@comapeo/schema": "^1.0.0", "glob": "^7.0.5", "js-yaml": "^3.14.0", "jsonschema": "^1.4.1", diff --git a/schema/field.js b/schema/field.js index 73090a7..5e99b37 100644 --- a/schema/field.js +++ b/schema/field.js @@ -1,2 +1,2 @@ -import { valueSchemas } from '@mapeo/schema' -export const fieldSchema = valueSchemas['field'] +import { valueSchemas } from '@comapeo/schema' +export const fieldSchema = valueSchemas.field diff --git a/schema/preset.js b/schema/preset.js index 01ea2ac..f385b14 100644 --- a/schema/preset.js +++ b/schema/preset.js @@ -1,2 +1,2 @@ -import { valueSchemas } from '@mapeo/schema' -export const presetSchema = valueSchemas['preset'] +import { valueSchemas } from '@comapeo/schema' +export const presetSchema = valueSchemas.preset