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

react-i13n

Package Overview
Dependencies
Maintainers
6
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 2.0.7 to 2.0.8

17

dist/mixins/I13nMixin.js

@@ -15,3 +15,3 @@ /**

var I13nUtils = require('./I13nUtils');
var listen = require('subscribe-ui-event/dist/lib/listen');
var listen = require('subscribe-ui-event').listen;
var ReactI13n = require('../libs/ReactI13n');

@@ -220,2 +220,17 @@ var ViewportMixin = require('./viewport/ViewportMixin');

/**
* _shouldFollowLink, provide a hook to check followLink.
* It check if component implement its own shouldFollowLink() method,
* otherwise return props.followLink or props.follow
* @method _shouldFollowLink
* @private
*/
_shouldFollowLink: function () {
if (undefined !== this.shouldFollowLink) {
return this.shouldFollowLink();
}
return (undefined !== props.followLink) ? props.followLink : props.follow;
},
/**
* _subComponentsViewportDetection, will be executed by viewport mixin

@@ -222,0 +237,0 @@ * @method _subComponentsViewportDetection

2

dist/utils/clickHandler.js

@@ -58,3 +58,3 @@ /**

var props = self.props;
var followLink = (undefined !== props.followLink) ? props.followLink : props.follow;
var followLink = self._shouldFollowLink();
var href = '';

@@ -61,0 +61,0 @@

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

/* global document, window*/
var listen = require('subscribe-ui-event/dist/lib/listen');
var listen = require('subscribe-ui-event').listen;

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

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

@@ -19,3 +19,3 @@ "repository": {

"setimmediate": "^1.0.2",
"subscribe-ui-event": "^1.0.3"
"subscribe-ui-event": "^1.0.5"
},

@@ -22,0 +22,0 @@ "devDependencies": {

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