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

logrocket-react

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logrocket-react - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

32

dist/index.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = setupReact;
var _EventPluginHub = require('react-dom/lib/EventPluginHub');

@@ -9,16 +14,19 @@

_EventPluginHub2.default.injection.injectEventPluginsByName({
'ResponderEventPlugin': {
extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent) {
var currentElement = targetInst._currentElement._owner;
function setupReact() {
_EventPluginHub2.default.injection.injectEventPluginsByName({
'ResponderEventPlugin': {
extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent) {
var currentElement = targetInst._currentElement._owner;
var names = [];
while (currentElement) {
names.push(currentElement._currentElement.type.displayName);
currentElement = currentElement._currentElement._owner;
var names = [];
while (currentElement) {
names.push(currentElement._currentElement.type.displayName);
currentElement = currentElement._currentElement._owner;
}
nativeEvent.__lrName = names;
}
nativeEvent.__lrName = names;
}
}
});
});
}
module.exports = exports['default'];
{
"name": "logrocket-react",
"version": "0.0.1",
"version": "0.0.2",
"description": "React library for [LogRocket](https://logrocket.com/).",

@@ -24,6 +24,2 @@ "main": "dist/index.js",

},
"dependencies": {
"react": "15",
"react-dom": "15"
},
"devDependencies": {

@@ -68,3 +64,7 @@ "babel-cli": "^6.11.4",

"react": "^15.0.0-0 || 15.x"
},
"dependencies": {
"react": "15",
"react-dom": "15"
}
}
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