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.5 to 1.0.0

CHANGELOG.md

17

dist/index.js

@@ -8,11 +8,9 @@ 'use strict';

var _EventPluginHub = require('react-dom/lib/EventPluginHub');
var _reactDom = require('react-dom');
var _EventPluginHub2 = _interopRequireDefault(_EventPluginHub);
var hub = _reactDom.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.EventPluginHub;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function setupReact() {
_EventPluginHub2.default.injection.injectEventPluginsByName({
'ResponderEventPlugin': {
hub.injection.injectEventPluginsByName({
ResponderEventPlugin: {
extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent) {

@@ -23,13 +21,14 @@ if (topLevelType !== 'topClick' || !targetInst) {

var currentElement = targetInst._currentElement._owner;
var currentElement = targetInst._debugOwner;
var names = [];
while (currentElement) {
var name = currentElement._currentElement.type.displayName || currentElement._currentElement.type.name;
var name = currentElement.type.displayName || currentElement.type.name;
if (name) {
names.push(name);
}
currentElement = currentElement._currentElement._owner;
currentElement = currentElement._debugOwner;
}
// eslint-disable-next-line no-param-reassign
nativeEvent.__lrName = names;

@@ -36,0 +35,0 @@ }

{
"name": "logrocket-react",
"version": "0.0.5",
"version": "1.0.0",
"description": "React library for [LogRocket](https://logrocket.com/).",

@@ -20,5 +20,3 @@ "main": "dist/index.js",

"test": "./node_modules/.bin/karma start",
"test:15.4": "npm run react:clean && yarn add react@15.4 react-dom@15.4 && npm test",
"test:15": "npm run react:clean && yarn add react@15 react-dom@15 && npm test",
"test:14": "npm run react:clean && yarn add react@0.14 react-dom@0.14 && npm test"
"test:16": "npm run react:clean && yarn add react@16 react-dom@16 && npm test"
},

@@ -29,3 +27,3 @@ "devDependencies": {

"babel-eslint": "^7.0.0",
"babel-loader": "^7.0.0",
"babel-loader": "7.1.1",
"babel-plugin-add-module-exports": "^0.2.1",

@@ -37,36 +35,36 @@ "babel-plugin-add-react-displayname": "^0.0.4",

"babel-preset-stage-3": "^6.17.0",
"chai": "^3.5.0",
"enzyme": "^2.8.2",
"chai": "^4.1.2",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^3.8.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-mocha": "^4.9.0",
"eslint-plugin-react": "^7.0.0",
"json-loader": "^0.5.4",
"karma": "^1.7.0",
"karma-browserstack-launcher": "^1.2.0",
"karma-chrome-launcher": "^2.1.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-mocha": "^4.11.0",
"eslint-plugin-react": "^7.4.0",
"json-loader": "^0.5.7",
"karma": "^1.7.1",
"karma-browserstack-launcher": "^1.3.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-junit-reporter": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-launcher": "^1.0.0",
"karma-sinon": "^1.0.5",
"karma-webpack": "^2.0.3",
"mocha": "^3.3.0",
"karma-webpack": "^2.0.6",
"mocha": "^4.0.1",
"mocha-circleci-reporter": "^0.0.2",
"react-addons-test-utils": "^15.5.1",
"react-test-renderer": "^15.5.4",
"rimraf": "^2.6.1",
"sinon": "^2.2.0",
"sinon": "^4.1.2",
"webpack": "^1.5.1"
},
"peerDependencies": {
"react": "^15.0.0-0 || 15.x",
"react-dom": "^15.0.0-0 || 15.x"
"react": "16.x",
"react-dom": "16.x"
},
"dependencies": {
"react": "15",
"react-dom": "15"
"react": "16",
"react-dom": "16"
}
}

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

# LogRocket React
# LogRocket React plugin
The LogRocket React plugin allows you to search for sessions in which the user clicks a specific component in your app:
![](https://cl.ly/3e203c0G151G/Image%202017-06-05%20at%209.46.04%20PM.png)
## Resources
* [Documentation](https://docs.logrocket.com/docs/react)
* [Documentation](https://docs.logrocket.com/docs/react-plugin)
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