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

@egman1/react-iscroll

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egman1/react-iscroll - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

2

dist/prop_types.js

@@ -140,3 +140,3 @@ 'use strict';

iScroll: iScrollPropType,
initializeHandler: _propTypes.func,
onInitialize: _propTypes.func,
onDestroy: _propTypes.func,

@@ -143,0 +143,0 @@ onRefresh: _propTypes.func,

@@ -292,6 +292,6 @@ 'use strict';

value: function _triggerInitializeEvent(iScrollInstance) {
var initializeHandler = this.props.initializeHandler;
var onInitialize = this.props.onInitialize;
if (typeof initializeHandler === 'function') {
initializeHandler(iScrollInstance);
if (typeof onInitialize === 'function') {
onInitialize(iScrollInstance);
}

@@ -302,6 +302,6 @@ }

value: function _triggerScrollAfterInitializeEvent(iScrollInstance) {
var scrollAfterInitializeHandler = this.props.scrollAfterInitializeHandler;
var onScrollAfterInitialize = this.props.onScrollAfterInitialize;
if (typeof scrollAfterInitializeHandler === 'function') {
scrollAfterInitializeHandler(iScrollInstance);
if (typeof onScrollAfterInitialize === 'function') {
onScrollAfterInitialize(iScrollInstance);
}

@@ -308,0 +308,0 @@ }

{
"name": "@egman1/react-iscroll",
"version": "2.0.6",
"version": "2.0.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

@@ -151,3 +151,3 @@ import {

iScroll: iScrollPropType,
initializeHandler: func,
onInitialize: func,
onDestroy: func,

@@ -154,0 +154,0 @@ onRefresh: func,

@@ -230,6 +230,6 @@ import React from 'react'

_triggerInitializeEvent(iScrollInstance) {
const initializeHandler = this.props.initializeHandler
const onInitialize = this.props.onInitialize
if (typeof initializeHandler === 'function') {
initializeHandler(iScrollInstance)
if (typeof onInitialize === 'function') {
onInitialize(iScrollInstance)
}

@@ -239,6 +239,6 @@ }

_triggerScrollAfterInitializeEvent(iScrollInstance) {
const scrollAfterInitializeHandler = this.props.scrollAfterInitializeHandler
const onScrollAfterInitialize = this.props.onScrollAfterInitialize
if (typeof scrollAfterInitializeHandler === 'function') {
scrollAfterInitializeHandler(iScrollInstance)
if (typeof onScrollAfterInitialize === 'function') {
onScrollAfterInitialize(iScrollInstance)
}

@@ -245,0 +245,0 @@ }

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