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

on-load

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

on-load - npm Package Compare versions

Comparing version 3.3.4 to 3.4.0

3

CHANGELOG.md

@@ -5,2 +5,5 @@ # on-load Change Log

## 3.4.0 - 2018-22-18
* Observer attached further up the DOM to `document.documentElement` instead of `body`
## 3.3.4 - 2017-12-03

@@ -7,0 +10,0 @@ * Fix node export

2

index.js

@@ -32,3 +32,3 @@ /* global MutationObserver */

function beginObserve (observer) {
observer.observe(document.body, {
observer.observe(document.documentElement, {
childList: true,

@@ -35,0 +35,0 @@ subtree: true,

{
"name": "on-load",
"version": "3.3.4",
"version": "3.4.0",
"description": "On load/unload events for DOM elements using a MutationObserver",

@@ -5,0 +5,0 @@ "main": "server.js",

@@ -38,3 +38,3 @@ # on-load

# license
(c) 2016 Kyle Robinson Young. MIT License
(c) 2018 Kyle Robinson Young. MIT License

@@ -41,0 +41,0 @@ [npm-image]: https://img.shields.io/npm/v/on-load.svg?style=flat-square

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