diff --git a/package-lock.json b/package-lock.json index ba24b8b6a..6e880a644 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "devDependencies": { "@datocms/cli": "^2.0.4", "@typescript-eslint/parser": "^6.4.1", - "datocms-html-to-structured-text": "^2.1.11", + "datocms-html-to-structured-text": "^4.0.1", "eslint": "^8.48.0", "eslint-plugin-vue": "^9.17.0", "husky": "^9.1.7", @@ -5799,13 +5799,12 @@ "license": "MIT" }, "node_modules/datocms-html-to-structured-text": { - "version": "2.1.12", - "resolved": "https://registry.npmjs.org/datocms-html-to-structured-text/-/datocms-html-to-structured-text-2.1.12.tgz", - "integrity": "sha512-w24Fvhd08gY/kUaxT8/kBtksvALtAlIHXeUvW2PwAesolUao0HKkr236ozJDxveMQCDr78tIRPW7FVhr3Z6l5w==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/datocms-html-to-structured-text/-/datocms-html-to-structured-text-4.0.1.tgz", + "integrity": "sha512-UyX1bHuztoXJV6O8XrdOsmH/tP4joX6GCLYOXlbCT08R1bPU1jU/NwO/g4Ot+KzjA3PDyPIy7SKLKN52OCZmBA==", "dev": true, - "license": "MIT", "dependencies": { - "datocms-structured-text-utils": "^2.1.12", + "datocms-structured-text-utils": "^4.0.1", "extend": "^3.0.2", "hast-util-from-dom": "^3.0.0", "hast-util-from-parse5": "^6.0.1", @@ -5817,6 +5816,15 @@ "unist-utils-core": "^1.0.5" } }, + "node_modules/datocms-html-to-structured-text/node_modules/datocms-structured-text-utils": { + "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==", + "dev": true, + "dependencies": { + "array-flatten": "^3.0.0" + } + }, "node_modules/datocms-listen": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/datocms-listen/-/datocms-listen-0.1.15.tgz", diff --git a/package.json b/package.json index 4cc187c33..0785e55d3 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@datocms/cli": "^2.0.4", "@typescript-eslint/parser": "^6.4.1", - "datocms-html-to-structured-text": "^2.1.11", + "datocms-html-to-structured-text": "^4.0.1", "eslint": "^8.48.0", "eslint-plugin-vue": "^9.17.0", "husky": "^9.1.7",