From 966f4d05e9aa53bf1ae3ea200ad9c8b201071627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alja=C5=BE?= Date: Fri, 1 Mar 2024 10:09:03 +0100 Subject: [PATCH] fix windows markdown issue (#7126) * /decaporg/decap-cms/issues/7102 publish mode allow empty string * fix: /decaporg/decap-cms/issues/7125 bump vfile version --- package-lock.json | 66 ++++++++++++++++++- .../decap-cms-widget-markdown/package.json | 2 +- 2 files changed, 64 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f6168167461a..5090e3e4739b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "decap-cms", + "name": "decap-cms-pm", "version": "0.0.0", "lockfileVersion": 3, "requires": true, @@ -7373,6 +7373,7 @@ }, "node_modules/@types/vfile": { "version": "3.0.2", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*", @@ -7382,6 +7383,7 @@ }, "node_modules/@types/vfile-message": { "version": "2.0.0", + "dev": true, "license": "MIT", "dependencies": { "vfile-message": "*" @@ -7389,10 +7391,12 @@ }, "node_modules/@types/vfile-message/node_modules/@types/unist": { "version": "3.0.1", + "dev": true, "license": "MIT" }, "node_modules/@types/vfile-message/node_modules/unist-util-stringify-position": { "version": "4.0.0", + "dev": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0" @@ -7404,6 +7408,7 @@ }, "node_modules/@types/vfile-message/node_modules/vfile-message": { "version": "4.0.2", + "dev": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -7416,6 +7421,7 @@ }, "node_modules/@types/vfile/node_modules/@types/unist": { "version": "3.0.1", + "dev": true, "license": "MIT" }, "node_modules/@types/ws": { @@ -28078,6 +28084,7 @@ }, "node_modules/replace-ext": { "version": "1.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.10" @@ -31415,6 +31422,7 @@ }, "node_modules/unified": { "version": "7.1.0", + "dev": true, "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", @@ -31429,6 +31437,7 @@ }, "node_modules/unified/node_modules/is-buffer": { "version": "2.0.5", + "dev": true, "funding": [ { "type": "github", @@ -31450,10 +31459,12 @@ }, "node_modules/unified/node_modules/unist-util-stringify-position": { "version": "1.1.2", + "dev": true, "license": "MIT" }, "node_modules/unified/node_modules/vfile": { "version": "3.0.1", + "dev": true, "license": "MIT", "dependencies": { "is-buffer": "^2.0.0", @@ -31464,6 +31475,7 @@ }, "node_modules/unified/node_modules/vfile-message": { "version": "1.1.1", + "dev": true, "license": "MIT", "dependencies": { "unist-util-stringify-position": "^1.1.1" @@ -32991,7 +33003,8 @@ } }, "node_modules/x-is-string": { - "version": "0.1.0" + "version": "0.1.0", + "dev": true }, "node_modules/xcase": { "version": "2.0.1", @@ -33728,7 +33741,7 @@ "slate-plain-serializer": "^0.7.1", "slate-react": "^0.91.2", "slate-soft-break": "^0.9.0", - "unified": "^7.1.0", + "unified": "^9.2.0", "unist-builder": "^1.0.3", "unist-util-visit-parents": "^2.0.1" }, @@ -33769,6 +33782,36 @@ "url": "https://opencollective.com/unified" } }, + "packages/decap-cms-widget-markdown/node_modules/is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } + }, + "packages/decap-cms-widget-markdown/node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "engines": { + "node": ">=8" + } + }, "packages/decap-cms-widget-markdown/node_modules/rehype-stringify": { "version": "7.0.0", "license": "MIT", @@ -33794,6 +33837,23 @@ "url": "https://github.com/sponsors/wooorm" } }, + "packages/decap-cms-widget-markdown/node_modules/unified": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.2.tgz", + "integrity": "sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==", + "dependencies": { + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^2.0.0", + "trough": "^1.0.0", + "vfile": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "packages/decap-cms-widget-number": { "version": "3.1.0", "license": "MIT", diff --git a/packages/decap-cms-widget-markdown/package.json b/packages/decap-cms-widget-markdown/package.json index d48874ead7da..886e20cd96df 100644 --- a/packages/decap-cms-widget-markdown/package.json +++ b/packages/decap-cms-widget-markdown/package.json @@ -40,7 +40,7 @@ "slate-plain-serializer": "^0.7.1", "slate-react": "^0.91.2", "slate-soft-break": "^0.9.0", - "unified": "^7.1.0", + "unified": "^9.2.0", "unist-builder": "^1.0.3", "unist-util-visit-parents": "^2.0.1" },