New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-intersection-observer

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-intersection-observer - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

README.md

15

lib/InView.js

@@ -15,2 +15,13 @@ "use strict";

})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -108,5 +119,3 @@ if (k2 === undefined) k2 = k;

var ViewComponent = (as || react_native_1.View);
return (<ViewComponent {...props} onLayout={this.handleLayout}>
{children}
</ViewComponent>);
return (react_1.default.createElement(ViewComponent, __assign({}, props, { onLayout: this.handleLayout }), children));
};

@@ -113,0 +122,0 @@ InView.contextType = IOContext_1.default;

@@ -149,5 +149,4 @@ "use strict";

IOScrollableComponent.prototype.render = function () {
return (<IOContext_1.default.Provider value={this.contextValue}>
<ScrollableComponent scrollEventThrottle={16} {...this.props} ref={this.scroller} onContentSizeChange={this.handleContentSizeChange} onLayout={this.handleLayout} onScroll={this.handleScroll}/>
</IOContext_1.default.Provider>);
return (react_1.default.createElement(IOContext_1.default.Provider, { value: this.contextValue },
react_1.default.createElement(ScrollableComponent, __assign({ scrollEventThrottle: 16 }, this.props, { ref: this.scroller, onContentSizeChange: this.handleContentSizeChange, onLayout: this.handleLayout, onScroll: this.handleScroll }))));
};

@@ -154,0 +153,0 @@ return IOScrollableComponent;

2

package.json
{
"name": "react-native-intersection-observer",
"version": "0.0.2",
"version": "0.0.3",
"description": "react native intersection observer",

@@ -5,0 +5,0 @@ "keywords": [

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