From 2c17d5021a73e259d0594326f9012da6cf16e87a Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Tue, 9 Aug 2022 10:06:28 +0200 Subject: [PATCH] Update to latest Draftail, draftjs-filters --- package-lock.json | 41 ++++++++++++++--------------------------- package.json | 4 ++-- 2 files changed, 16 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index a6a0ab344d..b52dfcaf94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,8 @@ "@tippyjs/react": "^4.2.6", "a11y-dialog": "^7.4.0", "draft-js": "^0.10.5", - "draftail": "^2.0.0-alpha.5", - "draftjs-filters": "^2.5.0", + "draftail": "^2.0.0-rc.1", + "draftjs-filters": "^3.0.1", "focus-trap-react": "^8.4.2", "immer": "^9.0.6", "js-cookie": "^2.2.1", @@ -17951,9 +17951,9 @@ } }, "node_modules/draftail": { - "version": "2.0.0-alpha.5", - "resolved": "https://registry.npmjs.org/draftail/-/draftail-2.0.0-alpha.5.tgz", - "integrity": "sha512-7wGDH95FpOAMIUKyG41tVS3YybtRoZnIDSnytVoKDqnA0eqbaV6JsQCN9p3wOWuRsTkMCwzYQbBXnyd4FcMZWg==", + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/draftail/-/draftail-2.0.0-rc.1.tgz", + "integrity": "sha512-dUa+Z4HnNTxLbChw0FibaVzFwPE8uQL0BYM5QOkvgpZSciQ4UT09NUvEUOAYxQRkS9/VbVBgnZy0VRYf4CBnKQ==", "dependencies": { "@tippyjs/react": "^4.2.6", "decorate-component-with-props": "^1.0.2", @@ -17968,14 +17968,6 @@ "react-dom": "^16.6.0" } }, - "node_modules/draftail/node_modules/draftjs-filters": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/draftjs-filters/-/draftjs-filters-3.0.1.tgz", - "integrity": "sha512-sms/ACV6w/dc/mRkmrBw6o0+lxE8SevRg+5k31Y/FJIYf+ALVKGltcVixEwh5XSYVgddjHkMJoC4hmx1m6Fcxg==", - "peerDependencies": { - "draft-js": "^0.10.4 || ^0.11.0 || ^0.12.0" - } - }, "node_modules/draftjs-conductor": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/draftjs-conductor/-/draftjs-conductor-3.0.0.tgz", @@ -17985,8 +17977,9 @@ } }, "node_modules/draftjs-filters": { - "version": "2.5.0", - "license": "MIT", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/draftjs-filters/-/draftjs-filters-3.0.1.tgz", + "integrity": "sha512-sms/ACV6w/dc/mRkmrBw6o0+lxE8SevRg+5k31Y/FJIYf+ALVKGltcVixEwh5XSYVgddjHkMJoC4hmx1m6Fcxg==", "peerDependencies": { "draft-js": "^0.10.4 || ^0.11.0 || ^0.12.0" } @@ -43961,9 +43954,9 @@ } }, "draftail": { - "version": "2.0.0-alpha.5", - "resolved": "https://registry.npmjs.org/draftail/-/draftail-2.0.0-alpha.5.tgz", - "integrity": "sha512-7wGDH95FpOAMIUKyG41tVS3YybtRoZnIDSnytVoKDqnA0eqbaV6JsQCN9p3wOWuRsTkMCwzYQbBXnyd4FcMZWg==", + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/draftail/-/draftail-2.0.0-rc.1.tgz", + "integrity": "sha512-dUa+Z4HnNTxLbChw0FibaVzFwPE8uQL0BYM5QOkvgpZSciQ4UT09NUvEUOAYxQRkS9/VbVBgnZy0VRYf4CBnKQ==", "requires": { "@tippyjs/react": "^4.2.6", "decorate-component-with-props": "^1.0.2", @@ -43971,14 +43964,6 @@ "draft-js-plugins-editor": "^2.1.1", "draftjs-conductor": "^3.0.0", "draftjs-filters": "^3.0.1" - }, - "dependencies": { - "draftjs-filters": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/draftjs-filters/-/draftjs-filters-3.0.1.tgz", - "integrity": "sha512-sms/ACV6w/dc/mRkmrBw6o0+lxE8SevRg+5k31Y/FJIYf+ALVKGltcVixEwh5XSYVgddjHkMJoC4hmx1m6Fcxg==", - "requires": {} - } } }, "draftjs-conductor": { @@ -43988,7 +43973,9 @@ "requires": {} }, "draftjs-filters": { - "version": "2.5.0", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/draftjs-filters/-/draftjs-filters-3.0.1.tgz", + "integrity": "sha512-sms/ACV6w/dc/mRkmrBw6o0+lxE8SevRg+5k31Y/FJIYf+ALVKGltcVixEwh5XSYVgddjHkMJoC4hmx1m6Fcxg==", "requires": {} }, "duplexify": { diff --git a/package.json b/package.json index 3565d6a654..da6344a036 100644 --- a/package.json +++ b/package.json @@ -101,8 +101,8 @@ "@tippyjs/react": "^4.2.6", "a11y-dialog": "^7.4.0", "draft-js": "^0.10.5", - "draftail": "^2.0.0-alpha.5", - "draftjs-filters": "^2.5.0", + "draftail": "^2.0.0-rc.1", + "draftjs-filters": "^3.0.1", "focus-trap-react": "^8.4.2", "immer": "^9.0.6", "js-cookie": "^2.2.1",