Socket
Socket
Sign inDemoInstall

react-intersection-observer

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-intersection-observer - npm Package Compare versions

Comparing version 9.10.0 to 9.10.1

2

package.json
{
"name": "react-intersection-observer",
"version": "9.10.0",
"version": "9.10.1",
"description": "Monitor if a component is inside the viewport, using IntersectionObserver API",

@@ -5,0 +5,0 @@ "type": "commonjs",

@@ -30,3 +30,3 @@ "use strict";

module.exports = __toCommonJS(test_utils_exports);
var import_test_utils = require("react-dom/test-utils");
var import_react = require("react");
var isMocking = false;

@@ -136,4 +136,4 @@ var observers = /* @__PURE__ */ new Map();

}
if (import_test_utils.act && getIsReactActEnvironment())
(0, import_test_utils.act)(() => item.callback(entries, observer));
if (import_react.act && getIsReactActEnvironment())
(0, import_react.act)(() => item.callback(entries, observer));
else

@@ -140,0 +140,0 @@ item.callback(entries, observer);

Sorry, the diff of this file is not supported yet

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