Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fullstory/babel-plugin-react-native

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullstory/babel-plugin-react-native - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md
# Changelog
## 1.0.1
Work around an intermittent issue in the click handler when running with the Metro server
## 1.0.0

@@ -4,0 +8,0 @@

4

lib/index.js

@@ -41,3 +41,3 @@ "use strict";

// this is the code that we will generate for Pressability
var _onFsPressForward_PressabilityCode = "_onFsPressForward_Pressability = function(isLongPress) {\n if (UIManager.onFsPressForward == null) {\n return;\n }\n\n if (this._responderID == null) {\n return;\n }\n\n var nativeTag = null;\n if (typeof this._responderID === 'number') {\n nativeTag = this._responderID;\n } else if (typeof this._responderID === 'object' && typeof this._responderID._nativeTag === 'number') {\n nativeTag = this._responderID._nativeTag\n }\n\n if (nativeTag == null) {\n return;\n }\n\n const {onLongPress, onPress} = this._config;\n\n var hasPress = !!onPress;\n var hasLongPress = !!onLongPress;\n UIManager.onFsPressForward(nativeTag, isLongPress, hasPress, hasLongPress);\n}";
var _onFsPressForward_PressabilityCode = "_onFsPressForward_Pressability = function(isLongPress) {\n if (!UIManager || !UIManager.onFsPressForward) {\n return;\n }\n\n if (this._responderID == null) {\n return;\n }\n\n var nativeTag = null;\n if (typeof this._responderID === 'number') {\n nativeTag = this._responderID;\n } else if (typeof this._responderID === 'object' && typeof this._responderID._nativeTag === 'number') {\n nativeTag = this._responderID._nativeTag\n }\n\n if (nativeTag == null) {\n return;\n }\n\n const {onLongPress, onPress} = this._config;\n\n var hasPress = !!onPress;\n var hasLongPress = !!onLongPress;\n UIManager.onFsPressForward(nativeTag, isLongPress, hasPress, hasLongPress);\n}";
var _onFsPressForwardCallLongPress_PressabilityCode = "this._onFsPressForward_Pressability(true)";

@@ -51,3 +51,3 @@ var _onFsPressForwardCallPress_PressabilityCode = "this._onFsPressForward_Pressability(false)";

// this is the code that we will generate for Touchable
var _onFsPressForwardCode = "_onFsPressForward = function(isLongPress) {\n if (UIManager.onFsPressForward == null) {\n return;\n }\n\n const tag = this.state.touchable.responderID;\n if (tag == null) {\n return;\n }\n\n var nativeTag = null;\n if (typeof tag === 'number') {\n nativeTag = tag;\n } else if (typeof tag === 'object' && typeof tag._nativeTag === 'number') {\n nativeTag = tag._nativeTag\n }\n\n if (nativeTag == null) {\n return;\n }\n\n var hasPress = !!this.props.onPress;\n var hasLongPress = !!this.props.onLongPress;\n UIManager.onFsPressForward(nativeTag, isLongPress, hasPress, hasLongPress);\n}";
var _onFsPressForwardCode = "_onFsPressForward = function(isLongPress) {\n if (!UIManager || !UIManager.onFsPressForward) {\n return;\n }\n\n const tag = this.state.touchable.responderID;\n if (tag == null) {\n return;\n }\n\n var nativeTag = null;\n if (typeof tag === 'number') {\n nativeTag = tag;\n } else if (typeof tag === 'object' && typeof tag._nativeTag === 'number') {\n nativeTag = tag._nativeTag\n }\n\n if (nativeTag == null) {\n return;\n }\n\n var hasPress = !!this.props.onPress;\n var hasLongPress = !!this.props.onLongPress;\n UIManager.onFsPressForward(nativeTag, isLongPress, hasPress, hasLongPress);\n}";
var _onFsPressForwardCallLongPressCode = "this._onFsPressForward(true)";

@@ -54,0 +54,0 @@ var _onFsPressForwardCallPressCode = "this._onFsPressForward(false)";

{
"name": "@fullstory/babel-plugin-react-native",
"version": "1.0.0",
"version": "1.0.1",
"description": "The official FullStory React Native babel plugin",

@@ -5,0 +5,0 @@ "repository": "git://github.com/fullstorydev/fullstory-babel-plugin-react-native.git",

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