Socket
Socket
Sign inDemoInstall

intersection-observer

Package Overview
Dependencies
0
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.7.0

17

intersection-observer.js

@@ -9,8 +9,11 @@ /**

*/
(function(window, document) {
(function() {
'use strict';
// Exit early if we're not running in a browser.
if (typeof window !== 'object') {
return;
}
// Exits early if all IntersectionObserver and IntersectionObserverEntry
// Exit early if all IntersectionObserver and IntersectionObserverEntry
// features are natively supported.

@@ -36,2 +39,8 @@ if ('IntersectionObserver' in window &&

/**
* A local reference to the document.
*/
var document = window.document;
/**
* An IntersectionObserver registry. This registry exists to hold a strong

@@ -734,2 +743,2 @@ * reference to IntersectionObserver instances currently observing a target

}(window, document));
}());
{
"name": "intersection-observer",
"version": "0.6.0",
"version": "0.7.0",
"description": "A polyfill for IntersectionObserver",

@@ -5,0 +5,0 @@ "main": "intersection-observer",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc