From 1351f5bd65842e7b91fe0bab8d3bfddb1f23bfbe Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Mon, 29 Aug 2016 19:32:32 +0200 Subject: [PATCH] Framework: Remove react-tap-event-plugin https://github.com/facebook/react/issues/436#issuecomment-241781187 indicates that it's no longer needed. --- client/boot/index.js | 4 ---- npm-shrinkwrap.json | 54 ++++++++++++++++++++------------------------ package.json | 1 - 3 files changed, 24 insertions(+), 35 deletions(-) diff --git a/client/boot/index.js b/client/boot/index.js index f8cfcc57c86dd..3b4be98cc4059 100644 --- a/client/boot/index.js +++ b/client/boot/index.js @@ -17,7 +17,6 @@ var React = require( 'react' ), page = require( 'page' ), url = require( 'url' ), qs = require( 'querystring' ), - injectTapEventPlugin = require( 'react-tap-event-plugin' ), i18n = require( 'i18n-calypso' ), includes = require( 'lodash/includes' ); @@ -80,9 +79,6 @@ function init() { document.documentElement.classList.add( 'notouch' ); } - // Initialize touch - injectTapEventPlugin(); - // Add accessible-focus listener accessibleFocus(); } diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index ec3d0db5c60ae..1ff144e003dc6 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -489,7 +489,7 @@ } }, "caniuse-db": { - "version": "1.0.30000547" + "version": "1.0.30000548" }, "caseless": { "version": "0.11.0" @@ -2671,20 +2671,6 @@ "react-redux": { "version": "4.4.5" }, - "react-tap-event-plugin": { - "version": "1.0.0", - "dependencies": { - "core-js": { - "version": "1.2.7" - }, - "fbjs": { - "version": "0.2.1" - }, - "whatwg-fetch": { - "version": "0.9.0" - } - } - }, "react-test-env": { "version": "0.2.0", "dependencies": { @@ -3494,45 +3480,50 @@ "version": "0.2.0", "dependencies": { "accepts": { - "version": "1.1.4" + "version": "1.3.3" + }, + "base64-arraybuffer": { + "version": "0.1.5" }, "commander": { "version": "2.9.0" }, "engine.io": { - "version": "1.6.11" + "version": "1.7.0" }, "engine.io-client": { - "version": "1.6.11", + "version": "1.7.0", "dependencies": { "component-emitter": { "version": "1.1.2" - }, - "ws": { - "version": "1.0.1" + } + } + }, + "engine.io-parser": { + "version": "1.3.0", + "dependencies": { + "has-binary": { + "version": "0.1.6" } } }, "filesize": { "version": "3.3.0" }, - "mime-db": { - "version": "1.12.0" - }, - "mime-types": { - "version": "2.0.14" + "isarray": { + "version": "0.0.1" }, "negotiator": { - "version": "0.4.9" + "version": "0.6.1" }, "socket.io": { - "version": "1.4.8" + "version": "1.5.0" }, "socket.io-client": { - "version": "1.4.8" + "version": "1.5.0" }, "ws": { - "version": "1.1.0" + "version": "1.1.1" } } }, @@ -3632,6 +3623,9 @@ "ws": { "version": "1.0.1" }, + "wtf-8": { + "version": "1.0.0" + }, "xdg-basedir": { "version": "1.0.1" }, diff --git a/package.json b/package.json index 6168881d6c91e..7b1a5c1949007 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,6 @@ "react-masonry-component": "4.0.4", "react-pure-render": "1.0.2", "react-redux": "4.4.5", - "react-tap-event-plugin": "1.0.0", "react-virtualized": "7.9.1", "redux": "3.0.4", "redux-thunk": "1.0.0",