New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 0.9.1 to 0.9.2

8

CHANGELOG.md
# Changelog
## 0.9.2
Support for press handling on Android
## 0.9.1
README update
## 0.9.0
Initial Release

2

lib/index.js

@@ -1,1 +0,1 @@

var a0_0x49cb=['contexts','bindings','name','key','method','testID','queue','validAttributes','types','properties','path','container','proto','lengfth','length','indexOf','init','file','scope','ObjectProperty','UIView','Identifier','__esModule','value','VariableDeclaration','optional','hub','type','fsClass','kind','node','declarations','push','defineProperty','get','ReactNativeViewConfig','parentPath'];(function(_0xe24523,_0x49cbb8){var _0x477aae=function(_0x1261e8){while(--_0x1261e8){_0xe24523['push'](_0xe24523['shift']());}};_0x477aae(++_0x49cbb8);}(a0_0x49cb,0x9f));var a0_0x477a=function(_0xe24523,_0x49cbb8){_0xe24523=_0xe24523-0x0;var _0x477aae=a0_0x49cb[_0xe24523];return _0x477aae;};'use strict';Object[a0_0x477a('0x16')](exports,a0_0x477a('0xb'),{'value':!![]});exports['default']=function(_0x5cb51a){var _0x1e10c6=_0x5cb51a[a0_0x477a('0x22')];return{'visitor':{'VariableDeclaration':function _0x6a131(_0x146377,_0x2d1268){fixReactNativeViewConfig(_0x146377);fixReactNativeViewAttributes(_0x146377);}}};};function createObjectProperty(_0x48def1){var _0x424992={};_0x424992[a0_0x477a('0x10')]=a0_0x477a('0x8');_0x424992[a0_0x477a('0x1d')]={};_0x424992[a0_0x477a('0x1d')][a0_0x477a('0x10')]=a0_0x477a('0xa');_0x424992[a0_0x477a('0x1d')][a0_0x477a('0x1c')]=_0x48def1;_0x424992['static']=![];_0x424992[a0_0x477a('0x1')]=![];_0x424992[a0_0x477a('0x12')]=a0_0x477a('0x5');_0x424992[a0_0x477a('0x1e')]=![];_0x424992[a0_0x477a('0xc')]={};_0x424992[a0_0x477a('0xc')][a0_0x477a('0x10')]='BooleanLiteral';_0x424992['value']['value']=!![];_0x424992['variance']=null;_0x424992[a0_0x477a('0xe')]=!![];return _0x424992;}function addFullStoryProperties(_0x11e632){_0x11e632['push'](createObjectProperty(a0_0x477a('0x11')));}function fixReactNativeViewConfig(_0x2ba261){var _0x3a8551=_0x2ba261['get']('declarations');if(!_0x3a8551||_0x3a8551[a0_0x477a('0x3')]!==0x1){return;}var _0x5176bc=_0x3a8551[0x0];var _0x1e2491=_0x5176bc[a0_0x477a('0x17')]('id');if(!_0x1e2491||!_0x1e2491['node']||!_0x1e2491[a0_0x477a('0x13')][a0_0x477a('0x1c')]){return;}if(_0x1e2491[a0_0x477a('0x13')][a0_0x477a('0x1c')]!==a0_0x477a('0x18')){return;}var _0x4812ba=_0x5176bc[a0_0x477a('0x17')](a0_0x477a('0x5'));if(!_0x4812ba){return;}var _0x1433d5=_0x4812ba[a0_0x477a('0x17')]('properties');if(!_0x1433d5||!_0x1433d5['length']){return;}var _0x1f9c74;for(var _0x5e206c=0x0;_0x5e206c<_0x1433d5[a0_0x477a('0x3')];_0x5e206c++){var _0x3c94b3=_0x1433d5[_0x5e206c]['get'](a0_0x477a('0x1d'));if(!_0x3c94b3||!_0x3c94b3[a0_0x477a('0x13')]||_0x3c94b3[a0_0x477a('0x13')][a0_0x477a('0x1c')]!==a0_0x477a('0x21')){continue;}_0x1f9c74=_0x1433d5[_0x5e206c][a0_0x477a('0x17')](a0_0x477a('0xc'));break;}if(!_0x1f9c74){return;}if(!_0x2ba261||!_0x2ba261[a0_0x477a('0xf')]||!_0x2ba261[a0_0x477a('0xf')][a0_0x477a('0x6')]||!_0x2ba261[a0_0x477a('0xf')][a0_0x477a('0x6')][a0_0x477a('0x24')]||!_0x2ba261[a0_0x477a('0xf')][a0_0x477a('0x6')][a0_0x477a('0x24')][a0_0x477a('0x1a')]){return;}var _0x59bc0d=_0x2ba261[a0_0x477a('0xf')][a0_0x477a('0x6')][a0_0x477a('0x24')][a0_0x477a('0x1a')];if(_0x59bc0d[a0_0x477a('0x3')]===0x0){return;}var _0x4d919b=[];for(var _0x2bd8ab=0x0;_0x2bd8ab<_0x59bc0d[a0_0x477a('0x3')];_0x2bd8ab++){var _0x1282aa=_0x59bc0d[_0x2bd8ab];if(!_0x1282aa||!_0x1282aa[a0_0x477a('0x7')]||!_0x1282aa['scope'][a0_0x477a('0x1b')]){continue;}var _0x123d7a=_0x1282aa[a0_0x477a('0x7')]['bindings'];if(!_0x123d7a['ReactNativeViewConfig']||!_0x123d7a[a0_0x477a('0x18')]['path']||!_0x123d7a[a0_0x477a('0x18')][a0_0x477a('0x24')][a0_0x477a('0x19')]){continue;}var _0x363629=_0x123d7a[a0_0x477a('0x18')]['path'][a0_0x477a('0x19')];if(!_0x363629[a0_0x477a('0x1a')]||_0x363629[a0_0x477a('0x1a')][a0_0x477a('0x3')]==0x0){continue;}var _0x4e470e=_0x363629[a0_0x477a('0x1a')];for(var _0x2644dd=0x0;_0x2644dd<_0x4e470e['length'];_0x2644dd++){var _0x19f757=_0x4e470e[_0x2644dd][a0_0x477a('0x20')];if(!_0x19f757||_0x19f757[a0_0x477a('0x3')]==0x0){continue;}for(var _0x1c1413=0x0;_0x1c1413<_0x19f757[a0_0x477a('0x3')];_0x1c1413++){var _0xce2a11=_0x19f757[_0x1c1413][a0_0x477a('0x0')];if(!_0xce2a11||_0xce2a11[a0_0x477a('0x3')]==0x0){continue;}if(_0x4d919b[a0_0x477a('0x4')](_0xce2a11)>-0x1){continue;}_0x4d919b[a0_0x477a('0x15')](_0xce2a11);for(var _0x223479=0x0;_0x223479<_0xce2a11['length'];_0x223479++){var _0x52d228=_0xce2a11[_0x223479];if(_0x52d228[a0_0x477a('0x10')]!==a0_0x477a('0xd')){continue;}var _0x23c3bc=_0x52d228[a0_0x477a('0x14')];if(!_0x23c3bc||_0x23c3bc[a0_0x477a('0x2')]==0x0){continue;}for(var _0x51eabf=0x0;_0x51eabf<_0x23c3bc[a0_0x477a('0x3')];_0x51eabf++){var _0x17992f=_0x23c3bc[_0x51eabf];if(!_0x17992f||!_0x17992f[a0_0x477a('0x5')]||!_0x17992f[a0_0x477a('0x5')][a0_0x477a('0x23')]){continue;}var _0x326e39=_0x17992f[a0_0x477a('0x5')][a0_0x477a('0x23')];for(var _0x2c48ba=0x0;_0x2c48ba<_0x326e39[a0_0x477a('0x3')];_0x2c48ba++){var _0x11cbbc=_0x326e39[_0x2c48ba];if(_0x11cbbc['type']!==a0_0x477a('0x8')){continue;}if(!_0x11cbbc['key']||_0x11cbbc[a0_0x477a('0x1d')][a0_0x477a('0x1c')]!==a0_0x477a('0x21')){continue;}if(!_0x11cbbc[a0_0x477a('0xc')]||!_0x11cbbc[a0_0x477a('0xc')][a0_0x477a('0x23')]){continue;}addFullStoryProperties(_0x11cbbc[a0_0x477a('0xc')][a0_0x477a('0x23')]);return;}}}}}}}function fixReactNativeViewAttributes(_0x1a1cfe){var _0xa6fb53=_0x1a1cfe[a0_0x477a('0x17')]('declarations');if(!_0xa6fb53||_0xa6fb53['length']!==0x1){return;}var _0x233939=_0xa6fb53[0x0];var _0x5700ec=_0x233939[a0_0x477a('0x17')]('id');if(!_0x5700ec||!_0x5700ec['node']||!_0x5700ec[a0_0x477a('0x13')][a0_0x477a('0x1c')]){return;}if(_0x5700ec['node'][a0_0x477a('0x1c')]!=='UIView'){return;}var _0x1046aa=_0x233939[a0_0x477a('0x17')](a0_0x477a('0x5'));if(!_0x1046aa){return;}var _0x5c901f=_0x1046aa['get']('properties');if(!_0x5c901f||!_0x5c901f[a0_0x477a('0x3')]){return;}if(!_0x1a1cfe||!_0x1a1cfe[a0_0x477a('0xf')]||!_0x1a1cfe['hub'][a0_0x477a('0x6')]||!_0x1a1cfe[a0_0x477a('0xf')][a0_0x477a('0x6')][a0_0x477a('0x24')]||!_0x1a1cfe['hub'][a0_0x477a('0x6')]['path'][a0_0x477a('0x1a')]){return;}var _0x49c034=_0x1a1cfe[a0_0x477a('0xf')]['file'][a0_0x477a('0x24')]['contexts'];if(_0x49c034[a0_0x477a('0x3')]===0x0){return;}var _0x511309=[];for(var _0x14fc59=0x0;_0x14fc59<_0x49c034[a0_0x477a('0x3')];_0x14fc59++){var _0x3e0d44=_0x49c034[_0x14fc59];if(!_0x3e0d44||!_0x3e0d44[a0_0x477a('0x7')]||!_0x3e0d44[a0_0x477a('0x7')][a0_0x477a('0x1b')]){continue;}var _0x54782a=_0x3e0d44['scope'][a0_0x477a('0x1b')];if(!_0x54782a[a0_0x477a('0x9')]||!_0x54782a[a0_0x477a('0x9')][a0_0x477a('0x24')]||!_0x54782a['UIView'][a0_0x477a('0x24')][a0_0x477a('0x19')]){continue;}var _0x3e48eb=_0x54782a[a0_0x477a('0x9')][a0_0x477a('0x24')][a0_0x477a('0x19')];if(!_0x3e48eb['contexts']||_0x3e48eb[a0_0x477a('0x1a')][a0_0x477a('0x3')]==0x0){continue;}var _0x129c6e=_0x3e48eb['contexts'];for(var _0x116897=0x0;_0x116897<_0x129c6e[a0_0x477a('0x3')];_0x116897++){var _0x567897=_0x129c6e[_0x116897][a0_0x477a('0x20')];if(!_0x567897||_0x567897[a0_0x477a('0x3')]==0x0){continue;}for(var _0xa9c81b=0x0;_0xa9c81b<_0x567897[a0_0x477a('0x3')];_0xa9c81b++){var _0x520c44=_0x567897[_0xa9c81b]['container'];if(!_0x520c44||_0x520c44['length']==0x0){continue;}if(_0x511309[a0_0x477a('0x4')](_0x520c44)>-0x1){continue;}_0x511309['push'](_0x520c44);for(var _0x4781e7=0x0;_0x4781e7<_0x520c44['length'];_0x4781e7++){var _0x47f48c=_0x520c44[_0x4781e7];if(_0x47f48c[a0_0x477a('0x10')]!==a0_0x477a('0xd')){continue;}var _0x4900d8=_0x47f48c['declarations'];if(!_0x4900d8||_0x4900d8['lengfth']==0x0){continue;}for(var _0x1e3b00=0x0;_0x1e3b00<_0x4900d8['length'];_0x1e3b00++){var _0x53a0a5=_0x4900d8[_0x1e3b00];if(!_0x53a0a5||!_0x53a0a5[a0_0x477a('0x5')]||!_0x53a0a5[a0_0x477a('0x5')][a0_0x477a('0x23')]){continue;}var _0x2ae100=_0x53a0a5[a0_0x477a('0x5')][a0_0x477a('0x23')];for(var _0x103c7c=0x0;_0x103c7c<_0x2ae100[a0_0x477a('0x3')];_0x103c7c++){var _0x25cdc0=_0x2ae100[_0x103c7c];if(_0x25cdc0['type']!==a0_0x477a('0x8')){continue;}if(!_0x25cdc0[a0_0x477a('0x1d')]||_0x25cdc0['key'][a0_0x477a('0x1c')]!==a0_0x477a('0x1f')){continue;}addFullStoryProperties(_0x53a0a5[a0_0x477a('0x5')][a0_0x477a('0x23')]);break;}}}}}}}
var a0_0x1b14=['TouchableMixin','includes','callee','insertAfter','value','params','booleanLiteral','booleanTypeAnnotation','this._onFsPressForward(true)','UIManagerJSInterface','right','key','properties','touchableHandlePress','returnType','optional','_performSideEffectsForTransition','property','isMemberExpression','hasOwnProperty','expressionStatement','voidTypeAnnotation','length','default','touchableHandleLongPress','__esModule','object','hasPressHandler','symbol','iterator','_onFsPressForward\x20=\x20function(isLongPress)\x20{\x0a\x20\x20if\x20(UIManager.onFsPressForward\x20==\x20null)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x20\x20const\x20tag\x20=\x20this.state.touchable.responderID;\x0a\x20\x20if\x20(tag\x20==\x20null)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20var\x20hasPress\x20=\x20!!this.props.onPress;\x0a\x20\x20var\x20hasLongPress\x20=\x20!!this.props.onLongPress;\x0a\x20\x20UIManager.onFsPressForward(tag,\x20isLongPress,\x20hasPress,\x20hasLongPress);\x0a}','traverse','type','ReactNativeViewConfig','constructor','parseExpression','onFsPressForward','objectProperty','push','this._onFsPressForward(false)','numberTypeAnnotation','updateView','defineProperty','identifier','FunctionTypeAnnotation','types','stringify','getStatementParent','name','_onFsPressForward','body','UIView','hasLongPressHandler','declarations','skip','node','init','prototype','undefined','babylon','functionTypeParam','function','ObjectProperty','static','isLongPress'];(function(_0x142420,_0x1b143a){var _0x3aa92b=function(_0x1614fe){while(--_0x1614fe){_0x142420['push'](_0x142420['shift']());}};_0x3aa92b(++_0x1b143a);}(a0_0x1b14,0xb8));var a0_0x3aa9=function(_0x142420,_0x1b143a){_0x142420=_0x142420-0x0;var _0x3aa92b=a0_0x1b14[_0x142420];return _0x3aa92b;};'use strict';Object[a0_0x3aa9('0x35')](exports,a0_0x3aa9('0x24'),{'value':!![]});var _typeof=typeof Symbol==='function'&&typeof Symbol[a0_0x3aa9('0x28')]===a0_0x3aa9('0x27')?function(_0x41e301){return typeof _0x41e301;}:function(_0x573762){return _0x573762&&typeof Symbol===a0_0x3aa9('0x7')&&_0x573762[a0_0x3aa9('0x2d')]===Symbol&&_0x573762!==Symbol['prototype']?a0_0x3aa9('0x27'):typeof _0x573762;};exports['default']=function(_0x18bab8){var _0x222277=_0x18bab8[a0_0x3aa9('0x38')];return{'visitor':{'VariableDeclaration':function _0x291e30(_0x48edcc,_0x42c530){fixReactNativeViewConfig(_0x48edcc);fixReactNativeViewAttributes(_0x48edcc);fixTouchableMixin(_0x222277,_0x48edcc);}}};};var _babylon=require(a0_0x3aa9('0x5'));var babylon=_interopRequireWildcard(_babylon);var _babelTypes=require('babel-types');var t=_interopRequireWildcard(_babelTypes);function _interopRequireWildcard(_0x2b2919){if(_0x2b2919&&_0x2b2919[a0_0x3aa9('0x24')]){return _0x2b2919;}else{var _0x2bbbe1={};if(_0x2b2919!=null){for(var _0x33b93b in _0x2b2919){if(Object[a0_0x3aa9('0x3')][a0_0x3aa9('0x1e')]['call'](_0x2b2919,_0x33b93b))_0x2bbbe1[_0x33b93b]=_0x2b2919[_0x33b93b];}}_0x2bbbe1[a0_0x3aa9('0x22')]=_0x2b2919;return _0x2bbbe1;}}var _onFsPressForwardCode=a0_0x3aa9('0x29');var _onFsPressForwardCallLongPressCode=a0_0x3aa9('0x13');var _onFsPressForwardCallPressCode=a0_0x3aa9('0x32');var _onFsPressForwardAst=babylon[a0_0x3aa9('0x2e')](_onFsPressForwardCode,{});var _onFsPressForwardCallLongPressAst=babylon[a0_0x3aa9('0x2e')](_onFsPressForwardCallLongPressCode,{});var _onFsPressForwardCallPressAst=babylon['parseExpression'](_onFsPressForwardCallPressCode,{});function safeStringify(_0x3890b9){var _0x5eca83=arguments[a0_0x3aa9('0x21')]>0x1&&arguments[0x1]!==undefined?arguments[0x1]:0x2;var _0x300118=[];var _0x4166e4=JSON[a0_0x3aa9('0x39')](_0x3890b9,function(_0x29eb61,_0x27f571){return(typeof _0x27f571===a0_0x3aa9('0x4')?'undefined':_typeof(_0x27f571))===a0_0x3aa9('0x25')&&_0x27f571!==null?_0x300118[a0_0x3aa9('0xc')](_0x27f571)?undefined:_0x300118[a0_0x3aa9('0x31')](_0x27f571)&&_0x27f571:_0x27f571;},_0x5eca83);_0x300118=null;return _0x4166e4;}function addFullStoryPressHandlerDeclaration(_0x18d988){var _0x22cd70={};_0x22cd70[a0_0x3aa9('0x2b')]=a0_0x3aa9('0x8');_0x22cd70[a0_0x3aa9('0x16')]=t[a0_0x3aa9('0x36')](a0_0x3aa9('0x2f'));_0x22cd70[a0_0x3aa9('0xf')]={};_0x22cd70['value'][a0_0x3aa9('0x2b')]=a0_0x3aa9('0x37');_0x22cd70[a0_0x3aa9('0xf')][a0_0x3aa9('0x10')]=[];_0x22cd70[a0_0x3aa9('0xf')][a0_0x3aa9('0x10')][a0_0x3aa9('0x31')](t[a0_0x3aa9('0x6')](t[a0_0x3aa9('0x36')]('reactTag'),t[a0_0x3aa9('0x33')]()));_0x22cd70[a0_0x3aa9('0xf')]['params']['push'](t[a0_0x3aa9('0x6')](t[a0_0x3aa9('0x36')](a0_0x3aa9('0xa')),t['booleanTypeAnnotation']()));_0x22cd70[a0_0x3aa9('0xf')][a0_0x3aa9('0x10')][a0_0x3aa9('0x31')](t[a0_0x3aa9('0x6')](t[a0_0x3aa9('0x36')](a0_0x3aa9('0x26')),t[a0_0x3aa9('0x12')]()));_0x22cd70['value'][a0_0x3aa9('0x10')][a0_0x3aa9('0x31')](t[a0_0x3aa9('0x6')](t[a0_0x3aa9('0x36')](a0_0x3aa9('0x3f')),t['booleanTypeAnnotation']()));_0x22cd70[a0_0x3aa9('0xf')]['rest']=null;_0x22cd70['value'][a0_0x3aa9('0x19')]=t[a0_0x3aa9('0x20')]();_0x22cd70[a0_0x3aa9('0xf')]['typeParameters']=null;_0x22cd70[a0_0x3aa9('0x1a')]=![];_0x22cd70[a0_0x3aa9('0x9')]=![];_0x22cd70['variance']=null;_0x18d988[a0_0x3aa9('0x31')](_0x22cd70);}function addFullStoryProperties(_0x509ba4){_0x509ba4[a0_0x3aa9('0x31')](t[a0_0x3aa9('0x30')](t[a0_0x3aa9('0x36')]('fsClass'),t[a0_0x3aa9('0x11')](!![])));}function fixReactNativeViewConfig(_0x48aca7){if(!_0x48aca7[a0_0x3aa9('0x1')]['declarations']||_0x48aca7[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')][a0_0x3aa9('0x21')]!==0x1){return;}var _0x24d77e=_0x48aca7[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')][0x0];if(!_0x24d77e['id']||!_0x24d77e['id']['name']||_0x24d77e['id'][a0_0x3aa9('0x3b')]!==a0_0x3aa9('0x2c')){return;}if(!_0x24d77e[a0_0x3aa9('0x2')]||!_0x24d77e[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')]||!_0x24d77e[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')]['length']){return;}var _0x1875f3=_0x24d77e[a0_0x3aa9('0x2')]['properties'];for(var _0xaa274d=0x0;_0xaa274d<_0x1875f3[a0_0x3aa9('0x21')];_0xaa274d++){var _0x18e3c4=_0x1875f3[_0xaa274d];if(!_0x18e3c4[a0_0x3aa9('0x16')]||_0x18e3c4[a0_0x3aa9('0x16')][a0_0x3aa9('0x3b')]!=='validAttributes'){continue;}if(!_0x18e3c4[a0_0x3aa9('0xf')]||!_0x18e3c4[a0_0x3aa9('0xf')][a0_0x3aa9('0x17')]||!_0x18e3c4[a0_0x3aa9('0xf')][a0_0x3aa9('0x17')][a0_0x3aa9('0x21')]){continue;}addFullStoryProperties(_0x18e3c4[a0_0x3aa9('0xf')][a0_0x3aa9('0x17')]);break;}}function fixReactNativeViewAttributes(_0x1a5b68){if(!_0x1a5b68[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')]||_0x1a5b68[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')]['length']!==0x1){return;}var _0x10dce5=_0x1a5b68[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')][0x0];if(!_0x10dce5['id']||!_0x10dce5['id']['name']||_0x10dce5['id'][a0_0x3aa9('0x3b')]!==a0_0x3aa9('0x3e')){return;}if(!_0x10dce5[a0_0x3aa9('0x2')]||!_0x10dce5[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')]||!_0x10dce5[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')][a0_0x3aa9('0x21')]){return;}var _0x1c4684=_0x10dce5['init']['properties'];for(var _0x640510=0x0;_0x640510<_0x1c4684[a0_0x3aa9('0x21')];_0x640510++){var _0x1eaa43=_0x1c4684[_0x640510];if(!_0x1eaa43['key']||_0x1eaa43['key'][a0_0x3aa9('0x3b')]!=='testID'){continue;}addFullStoryProperties(_0x10dce5[a0_0x3aa9('0x2')]['properties']);break;}}function fixUIManagerJSInterface(_0x42c57c){if(!_0x42c57c[a0_0x3aa9('0x1')]||!_0x42c57c[a0_0x3aa9('0x1')]['id']||!_0x42c57c[a0_0x3aa9('0x1')]['id']['name']||_0x42c57c[a0_0x3aa9('0x1')]['id'][a0_0x3aa9('0x3b')]!==a0_0x3aa9('0x14')){return;}if(!_0x42c57c[a0_0x3aa9('0x1')]['body']||!_0x42c57c[a0_0x3aa9('0x1')][a0_0x3aa9('0x3d')][a0_0x3aa9('0x17')]||!_0x42c57c[a0_0x3aa9('0x1')][a0_0x3aa9('0x3d')]['properties'][a0_0x3aa9('0x21')]){return;}for(var _0xa72124=0x0;_0xa72124<_0x42c57c['node'][a0_0x3aa9('0x3d')]['properties'][a0_0x3aa9('0x21')];_0xa72124++){var _0x50a030=_0x42c57c[a0_0x3aa9('0x1')][a0_0x3aa9('0x3d')][a0_0x3aa9('0x17')][_0xa72124][a0_0x3aa9('0x16')];if(!_0x50a030||!_0x50a030[a0_0x3aa9('0x3b')]||_0x50a030[a0_0x3aa9('0x3b')]!==a0_0x3aa9('0x34')){continue;}addFullStoryPressHandlerDeclaration(_0x42c57c[a0_0x3aa9('0x1')][a0_0x3aa9('0x3d')]['properties']);break;}}function fixTouchableMixin(_0x100afa,_0x39487b){if(!_0x39487b[a0_0x3aa9('0x1')]||!_0x39487b[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')]||!_0x39487b[a0_0x3aa9('0x1')]['declarations']['length']){return;}var _0x61f83a=null;for(var _0x9c6bca=0x0;_0x9c6bca<_0x39487b[a0_0x3aa9('0x1')]['declarations'][a0_0x3aa9('0x21')];_0x9c6bca++){var _0x284204=_0x39487b[a0_0x3aa9('0x1')][a0_0x3aa9('0x40')][_0x9c6bca];if(_0x284204['id']&&_0x284204['id']['name']==a0_0x3aa9('0xb')){_0x61f83a=_0x284204;break;}}if(!_0x61f83a||!_0x61f83a[a0_0x3aa9('0x2')]||!_0x61f83a[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')]||!_0x61f83a[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')][a0_0x3aa9('0x21')]){return;}_0x39487b['traverse']({'ObjectProperty':function _0x496948(_0x5becd4){if(_0x5becd4['node'][a0_0x3aa9('0x16')]&&_0x5becd4['node'][a0_0x3aa9('0x16')]['name']==a0_0x3aa9('0x1b')){_0x5becd4[a0_0x3aa9('0x2a')]({'FunctionExpression':function _0x13a861(_0x36692c){_0x36692c[a0_0x3aa9('0x2a')]({'CallExpression':function _0x526352(_0x597fcf){if(_0x100afa[a0_0x3aa9('0x1d')](_0x597fcf[a0_0x3aa9('0x1')][a0_0x3aa9('0xd')])){var _0x555be3=_0x597fcf[a0_0x3aa9('0x1')][a0_0x3aa9('0xd')][a0_0x3aa9('0x1c')]['name'];if(_0x555be3==a0_0x3aa9('0x23')){_0x597fcf[a0_0x3aa9('0x3a')]()['insertAfter'](_0x100afa[a0_0x3aa9('0x1f')](_onFsPressForwardCallLongPressAst));}else if(_0x555be3==a0_0x3aa9('0x18')){_0x597fcf[a0_0x3aa9('0x3a')]()[a0_0x3aa9('0xe')](_0x100afa['expressionStatement'](_onFsPressForwardCallPressAst));}}}});}});_0x61f83a[a0_0x3aa9('0x2')][a0_0x3aa9('0x17')][a0_0x3aa9('0x31')](_0x100afa['objectProperty'](_0x100afa['identifier'](a0_0x3aa9('0x3c')),_onFsPressForwardAst[a0_0x3aa9('0x15')]));}else{_0x5becd4[a0_0x3aa9('0x0')]();}}});}
{
"name": "@fullstory/babel-plugin-react-native",
"version": "0.9.1",
"version": "0.9.2",
"description": "The official FullStory React Native babel plugin",

@@ -21,3 +21,4 @@ "repository": "git://github.com/fullstorydev/fullstory-babel-plugin-react-native.git",

"dependencies": {
"babel-types": "^6.26.0"
"babel-types": "^6.26.0",
"babylon": "^6.18.0"
},

@@ -24,0 +25,0 @@ "babel": {

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