Comparing version 1.9.1 to 1.10.0
@@ -340,5 +340,8 @@ (function (exports) { | ||
if (document.readyState !== 'loading') { | ||
return execute(); | ||
} | ||
setTimeout(function () { | ||
if (document.readyState !== 'loading') { | ||
return execute(); | ||
} | ||
}, 0); | ||
document.addEventListener('DOMContentLoaded', loaded); | ||
@@ -345,0 +348,0 @@ }; |
@@ -16,5 +16,8 @@ const setupReady = (callbacks) => (callback) => { | ||
if (document.readyState !== 'loading') { | ||
return execute(); | ||
} | ||
setTimeout(() => { | ||
if (document.readyState !== 'loading') { | ||
return execute(); | ||
} | ||
}, 0); | ||
document.addEventListener('DOMContentLoaded', loaded); | ||
@@ -21,0 +24,0 @@ }; |
{ | ||
"name": "domassist", | ||
"version": "1.9.1", | ||
"version": "1.10.0", | ||
"description": "Various dom helpers", | ||
@@ -5,0 +5,0 @@ "main": "dist/domassist.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
982
65756
37
1