@rooks/use-mutation-observer
Advanced tools
Comparing version 1.1.1-alpha.0 to 1.1.3-alpha.0
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) : | ||
typeof define === 'function' && define.amd ? define(['react'], factory) : | ||
(global = global || self, global.styled = factory(global.React)); | ||
(global = global || self, global.useMutationObserver = factory(global.React)); | ||
}(this, function (react) { 'use strict'; | ||
@@ -6,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e=e||self).styled=t(e.React)}(this,function(e){"use strict";var t={attributes:!0,characterData:!0,subtree:!0,childList:!0};return function(n,r){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t;e.useEffect(function(){if(n.current){var e=new MutationObserver(function(e,t){r(e,t)});return e.observe(n.current,c),function(){e.disconnect()}}},[n.current,r,c])}}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e=e||self).useMutationObserver=t(e.React)}(this,function(e){"use strict";var t={attributes:!0,characterData:!0,subtree:!0,childList:!0};return function(n,r){var u=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t;e.useEffect(function(){if(n.current){var e=new MutationObserver(function(e,t){r(e,t)});return e.observe(n.current,u),function(){e.disconnect()}}},[n.current,r,u])}}); | ||
//# sourceMappingURL=index.min.js.map |
@@ -29,3 +29,3 @@ { | ||
], | ||
"version": "1.1.1-alpha.0", | ||
"version": "1.1.3-alpha.0", | ||
"_id": "@rooks/use-mutation-observer@", | ||
@@ -39,3 +39,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "ed8e0b14e66169190911cce04cca443279559f2a" | ||
"gitHead": "144b5e23042d04242cdbeb997048d00b6c56ddbd" | ||
} |
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
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
60055