From 4cead2718c85d069b60f42d166e4ce3e63a8c133 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 23 Oct 2018 14:42:37 +0100 Subject: [PATCH 1/7] Remove 4.2 deprecated features --- components/code-editor/README.md | 88 ----------- components/code-editor/editor.js | 106 ------------- components/code-editor/index.js | 115 -------------- .../test/__snapshots__/editor.js.snap | 7 - components/code-editor/test/editor.js | 24 --- components/index.js | 5 - lib/client-assets.php | 5 - package-lock.json | 147 ------------------ package.json | 4 - packages/blocks/src/api/index.js | 2 - packages/blocks/src/api/index.native.js | 2 - packages/blocks/src/api/parser.js | 24 +-- packages/blocks/src/api/registration.js | 30 ---- packages/blocks/src/api/test/registration.js | 25 --- packages/blocks/src/store/actions.js | 22 --- packages/blocks/src/store/selectors.js | 21 --- .../components/src/primitives/svg/index.js | 15 -- packages/components/src/tab-panel/index.js | 10 +- .../data/src/plugins/async-generator/index.js | 38 ----- .../src/plugins/async-generator/middleware.js | 102 ------------ packages/data/src/plugins/controls/index.js | 14 -- packages/data/src/plugins/index.js | 1 - packages/data/src/registry.js | 3 +- packages/data/src/test/registry.js | 89 ----------- .../hooks/components/media-upload/index.js | 21 +-- packages/edit-post/src/index.js | 18 +-- packages/edit-post/src/store/actions.js | 39 ----- packages/edit-post/src/store/selectors.js | 45 ------ .../edit-post/src/store/test/selectors.js | 48 ------ .../src/components/media-placeholder/index.js | 26 +--- .../unsaved-changes-warning/index.js | 19 +-- .../editor/src/utils/media-upload/index.js | 21 +-- .../src/utils/media-upload/media-upload.js | 4 - webpack.config.js | 60 +------ 34 files changed, 23 insertions(+), 1177 deletions(-) delete mode 100644 components/code-editor/README.md delete mode 100644 components/code-editor/editor.js delete mode 100644 components/code-editor/index.js delete mode 100644 components/code-editor/test/__snapshots__/editor.js.snap delete mode 100644 components/code-editor/test/editor.js delete mode 100644 components/index.js delete mode 100644 packages/data/src/plugins/async-generator/index.js delete mode 100644 packages/data/src/plugins/async-generator/middleware.js diff --git a/components/code-editor/README.md b/components/code-editor/README.md deleted file mode 100644 index c48c0545aa0b4..0000000000000 --- a/components/code-editor/README.md +++ /dev/null @@ -1,88 +0,0 @@ -CodeEditor -======= - -CodeEditor is a React component that provides the user with a code editor -that has syntax highlighting and linting. - -The components acts as a drop-in replacement for a