From 9078f52fe50dbaf2c29c3063ec39aa50507f0650 Mon Sep 17 00:00:00 2001 From: Stefano Verna Date: Thu, 6 Jun 2024 18:28:06 +0200 Subject: [PATCH] Fix types for structured text component --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 19 +++++-------------- 2 files changed, 21 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa6b492..bec4dc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "license": "MIT", "dependencies": { "datocms-listen": "^0.1.15", - "datocms-structured-text-generic-html-renderer": "^2.0.4", - "datocms-structured-text-utils": "^2.0.4", + "datocms-structured-text-generic-html-renderer": "^4.0.1", + "datocms-structured-text-utils": "^4.0.1", "hyphenate-style-name": "^1.0.4" }, "devDependencies": { @@ -4343,17 +4343,17 @@ } }, "node_modules/datocms-structured-text-generic-html-renderer": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/datocms-structured-text-generic-html-renderer/-/datocms-structured-text-generic-html-renderer-2.0.4.tgz", - "integrity": "sha512-Rv5Y1eC9NZXNSz3FHvHGFvGnKEEbvG1kQWlylpCSoeDBZPBwSWAFD/ixIAOfa8Yk1EVpmoQd3KQd725WKYJwRQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/datocms-structured-text-generic-html-renderer/-/datocms-structured-text-generic-html-renderer-4.0.1.tgz", + "integrity": "sha512-umEWXyBHP3fo1YsOL7AhFxWrmb2LNxiRV26+C8NMkwoBZ/RbF9+dBaGIBv1D/NeasCjq560hBdm7jqChxxIi/A==", "dependencies": { - "datocms-structured-text-utils": "^2.0.4" + "datocms-structured-text-utils": "^4.0.1" } }, "node_modules/datocms-structured-text-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/datocms-structured-text-utils/-/datocms-structured-text-utils-2.0.4.tgz", - "integrity": "sha512-JxDdJaipm3FePOli9s82MRrBDnlPP9GYhqajQJaYEu4V1jwUSZzbVkYVKMfVHUfP0Gh0VSCxPHjAGGAN1nWMJg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/datocms-structured-text-utils/-/datocms-structured-text-utils-4.0.1.tgz", + "integrity": "sha512-2rK4bZfzKpdKw2AZhnnD043QkGOUaJDOUGPrQHo5w4hvU4jTBGGxoaTg4KIb3Q5Yo+XUFvreb+U0+86xdh7I+Q==", "dependencies": { "array-flatten": "^3.0.0" } @@ -17054,17 +17054,17 @@ } }, "datocms-structured-text-generic-html-renderer": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/datocms-structured-text-generic-html-renderer/-/datocms-structured-text-generic-html-renderer-2.0.4.tgz", - "integrity": "sha512-Rv5Y1eC9NZXNSz3FHvHGFvGnKEEbvG1kQWlylpCSoeDBZPBwSWAFD/ixIAOfa8Yk1EVpmoQd3KQd725WKYJwRQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/datocms-structured-text-generic-html-renderer/-/datocms-structured-text-generic-html-renderer-4.0.1.tgz", + "integrity": "sha512-umEWXyBHP3fo1YsOL7AhFxWrmb2LNxiRV26+C8NMkwoBZ/RbF9+dBaGIBv1D/NeasCjq560hBdm7jqChxxIi/A==", "requires": { - "datocms-structured-text-utils": "^2.0.4" + "datocms-structured-text-utils": "^4.0.1" } }, "datocms-structured-text-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/datocms-structured-text-utils/-/datocms-structured-text-utils-2.0.4.tgz", - "integrity": "sha512-JxDdJaipm3FePOli9s82MRrBDnlPP9GYhqajQJaYEu4V1jwUSZzbVkYVKMfVHUfP0Gh0VSCxPHjAGGAN1nWMJg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/datocms-structured-text-utils/-/datocms-structured-text-utils-4.0.1.tgz", + "integrity": "sha512-2rK4bZfzKpdKw2AZhnnD043QkGOUaJDOUGPrQHo5w4hvU4jTBGGxoaTg4KIb3Q5Yo+XUFvreb+U0+86xdh7I+Q==", "requires": { "array-flatten": "^3.0.0" } diff --git a/package.json b/package.json index 5d00f1b..63efa2c 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,7 @@ "name": "vue-datocms", "version": "6.0.3", "description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments", - "keywords": [ - "datocms", - "vue.js", - "vue", - "vuejs" - ], + "keywords": ["datocms", "vue.js", "vue", "vuejs"], "main": "./dist/index.cjs.js", "module": "./dist/index.esm.mjs", "types": "./dist/index.d.ts", @@ -17,9 +12,7 @@ }, "license": "MIT", "author": "Stefano Verna ", - "contributors": [ - "Silvano Stralla " - ], + "contributors": ["Silvano Stralla "], "homepage": "https://github.com/datocms/vue-datocms", "exports": { ".": { @@ -28,9 +21,7 @@ "types": "./dist/index.d.ts" } }, - "files": [ - "dist/*" - ], + "files": ["dist/*"], "scripts": { "build": "rm -rf dist && rollup --config", "dev": "rollup --config --watch", @@ -42,8 +33,8 @@ }, "dependencies": { "datocms-listen": "^0.1.15", - "datocms-structured-text-generic-html-renderer": "^2.0.4", - "datocms-structured-text-utils": "^2.0.4", + "datocms-structured-text-generic-html-renderer": "^4.0.1", + "datocms-structured-text-utils": "^4.0.1", "hyphenate-style-name": "^1.0.4" }, "peerDependencies": {