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

react-i13n

Package Overview
Dependencies
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-i13n - npm Package Compare versions

Comparing version 0.1.30 to 0.2.0-rc1

9

dist/mixins/I13nMixin.js

@@ -9,6 +9,7 @@ /**

var React = require('react');
var ReactDOM = require('react-dom');
var debug = require('debug')('I13nMixin');
var ReactI13n = require('../libs/ReactI13n');
var clickHandler = require('../utils/clickHandler');
var EventListener = require('react/lib/EventListener');
var EventListener = require('fbjs/lib/EventListener');
var ViewportMixin = require('./viewport/ViewportMixin');

@@ -105,6 +106,6 @@ var I13nUtils = require('./I13nUtils');

if (self.props.bindClickEvent) {
self.clickEventListener = EventListener.listen(self.getDOMNode(), 'click', clickHandler.bind(self));
self.clickEventListener = EventListener.listen(ReactDOM.findDOMNode(self), 'click', clickHandler.bind(self));
}
self._i13nNode.setDOMNode(self.getDOMNode());
self._i13nNode.setDOMNode(ReactDOM.findDOMNode(self));

@@ -182,3 +183,3 @@ // enable viewport checking if enabled

var self = this;
var DOMNode = self.getDOMNode();
var DOMNode = ReactDOM.findDOMNode(self);
var foundElements = [];

@@ -185,0 +186,0 @@ var reactI13n = self._getReactI13n();

@@ -8,3 +8,3 @@ /**

var React = require('react/addons');
var React = require('react');
var subscribe = require('subscribe-ui-event').subscribe;

@@ -14,3 +14,3 @@

var Viewport = {
propTypes: {

@@ -17,0 +17,0 @@ viewport: React.PropTypes.shape({

@@ -6,3 +6,3 @@ /**

/* global document, window*/
var EventListener = require('react/lib/EventListener');
var EventListener = require('fbjs/lib/EventListener');

@@ -9,0 +9,0 @@ var uniqueId = 0;

{
"name": "react-i13n",
"description": "React I13n provides a performant and scalable solution to application instrumentation.",
"version": "0.1.30",
"version": "0.2.0-rc1",
"main": "index.js",

@@ -17,2 +17,3 @@ "repository": {

"debug": "^2.1.3",
"fbjs": "^0.3.1",
"hoist-non-react-statics": "^1.0.0",

@@ -36,4 +37,4 @@ "object-assign": "^4.0.0",

"grunt-react": "^0.12.2",
"grunt-saucelabs": "^8.3.2",
"grunt-shell": "^1.1.2",
"grunt-saucelabs": "^8.3.2",
"grunt-webpack": "^1.0.8",

@@ -47,3 +48,4 @@ "istanbul": "^0.3.0",

"pre-commit": "^1.0.0",
"react": "<= 0.13.x",
"react": "^0.14.0-rc1",
"react-dom": "^0.14.0-rc1",
"react-tools": "<= 0.13.x",

@@ -59,3 +61,4 @@ "xunit-file": "^0.0.7"

"peerDependencies": {
"react": "<0.14.0"
"react": "^0.14.0 || 0.14.0-rc1",
"react-dom": "^0.14.0 || 0.14.0-rc1"
},

@@ -62,0 +65,0 @@ "precommit": [

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