Socket
Socket
Sign inDemoInstall

react-tap-event-plugin

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tap-event-plugin - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "react-tap-event-plugin",
"version": "0.1.2",
"version": "0.1.3",
"description": "Facebook's TapEventPlugin, temporarily available on npm until its made public in their repo",

@@ -5,0 +5,0 @@ "main": "src/injectTapEventPlugin.js",

@@ -9,2 +9,2 @@ module.exports = function injectTapEventPlugin () {

});
};
};
/**
* Copyright 2013 Facebook, Inc.
* Copyright 2013-2014, Facebook, Inc.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ResponderEventPlugin

@@ -26,3 +19,3 @@ */

var accumulate = require('react/lib/accumulate');
var accumulateInto = require('react/lib/accumulateInto');
var keyOf = require('react/lib/keyOf');

@@ -216,3 +209,3 @@

EventPropagators.accumulateDirectDispatches(terminateEvent);
extracted = accumulate(extracted, [grantEvent, terminateEvent]);
extracted = accumulateInto(extracted, [grantEvent, terminateEvent]);
responderID = wantsResponderID;

@@ -226,6 +219,6 @@ } else {

EventPropagators.accumulateDirectDispatches(rejectEvent);
extracted = accumulate(extracted, rejectEvent);
extracted = accumulateInto(extracted, rejectEvent);
}
} else {
extracted = accumulate(extracted, grantEvent);
extracted = accumulateInto(extracted, grantEvent);
responderID = wantsResponderID;

@@ -294,3 +287,3 @@ }

if (transfer) {
extracted = accumulate(extracted, transfer);
extracted = accumulateInto(extracted, transfer);
}

@@ -310,3 +303,3 @@ }

EventPropagators.accumulateDirectDispatches(gesture);
extracted = accumulate(extracted, gesture);
extracted = accumulateInto(extracted, gesture);
}

@@ -313,0 +306,0 @@ if (type === eventTypes.responderRelease) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc