{"_id":"intersection-observer","_rev":"2832405","name":"intersection-observer","description":"A polyfill for IntersectionObserver","dist-tags":{"latest":"0.12.2"},"maintainers":[{"name":"philipwalton","email":""}],"time":{"modified":"2026-04-09T17:24:46.000Z","created":"2016-07-14T19:30:35.576Z","0.12.2":"2022-06-14T17:16:18.430Z","0.12.1":"2022-06-14T16:37:57.335Z","0.12.0":"2020-12-10T17:44:06.813Z","0.11.0":"2020-06-23T20:47:01.111Z","0.10.0":"2020-04-23T17:00:21.560Z","0.9.0":"2020-04-17T20:50:35.489Z","0.8.0":"2020-04-13T20:32:51.992Z","0.7.0":"2019-05-10T21:35:46.004Z","0.6.0":"2019-04-24T18:47:44.755Z","0.5.1":"2018-10-22T12:31:02.349Z","0.5.0":"2017-12-02T20:58:39.727Z","0.4.3":"2017-11-10T20:32:19.571Z","0.4.2":"2017-08-29T18:36:23.205Z","0.4.1":"2017-08-28T22:19:26.186Z","0.4.0":"2017-07-26T23:22:44.279Z","0.3.4":"2017-07-25T20:11:35.956Z","0.3.3":"2017-07-20T00:36:03.436Z","0.3.2":"2017-06-24T00:52:39.765Z","0.3.1":"2017-06-22T05:08:54.563Z","0.3.0":"2017-06-07T04:59:06.299Z","0.2.1":"2017-01-19T02:49:05.924Z","0.2.0":"2017-01-12T22:47:17.725Z","0.1.1":"2016-07-14T22:25:32.638Z","0.1.0":"2016-07-14T19:30:35.576Z"},"users":{"jacob-beltran":true,"soenkekluth":true,"clivend":true,"xinwangwang":true,"theaklair":true,"cookch10":true,"hiztmine":true,"dwqs":true,"cygik":true},"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/intersection-observer.git"},"versions":{"0.12.2":{"name":"intersection-observer","version":"0.12.2","description":"A polyfill for IntersectionObserver","keywords":["Intersection","Observer"],"main":"intersection-observer.js","author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/intersection-observer.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/intersection-observer/issues"},"gitHead":"a7874945a27061d01e4076b8aae8b30abc756e97","homepage":"https://github.com/GoogleChromeLabs/intersection-observer#readme","_id":"intersection-observer@0.12.2","_nodeVersion":"14.18.0","_npmVersion":"8.1.1","dist":{"shasum":"4a45349cc0cd91916682b1f44c28d7ec737dc375","size":22074,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.12.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.12.2.tgz"},"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.12.2_1655226978236_0.8450614519138493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-14T17:19:33.191Z","publish_time":1655226978430,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019.","_cnpm_publish_time":1655226978430},"0.12.1":{"name":"intersection-observer","version":"0.12.1","description":"A polyfill for IntersectionObserver","main":"intersection-observer.js","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"gitHead":"46cbd248c0cc05e437ad31c2762bc89c9fd59de1","homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.12.1","_nodeVersion":"14.18.0","_npmVersion":"8.1.1","dist":{"shasum":"f0887f629272af63139f6104efad4d408479403e","size":22000,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.12.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.12.1.tgz"},"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.12.1_1655224677136_0.6496955556633444"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-14T17:05:10.299Z","publish_time":1655224677335,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019.","_cnpm_publish_time":1655224677335},"0.12.0":{"name":"intersection-observer","version":"0.12.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.12.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"shasum":"6c84628f67ce8698e5f9ccf857d97718745837aa","size":22342,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.12.0.tgz"},"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.12.0_1607622246642_0.4844679801122034"},"_hasShrinkwrap":false,"publish_time":1607622246813,"_cnpm_publish_time":1607622246813,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.11.0":{"name":"intersection-observer","version":"0.11.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.11.0","_nodeVersion":"10.17.0","_npmVersion":"6.14.3","dist":{"shasum":"f4ea067070326f68393ee161cc0a2ca4c0040c6f","size":21543,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.11.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.11.0_1592945220928_0.23170300638515484"},"_hasShrinkwrap":false,"publish_time":1592945221111,"_cnpm_publish_time":1592945221111,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.10.0":{"name":"intersection-observer","version":"0.10.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.10.0","_nodeVersion":"10.17.0","_npmVersion":"6.14.3","dist":{"shasum":"4d11d63c1ff67e21e62987be24d55218da1a1a69","size":21041,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.10.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.10.0_1587661221397_0.13612399027880628"},"_hasShrinkwrap":false,"publish_time":1587661221560,"_cnpm_publish_time":1587661221560,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.9.0":{"name":"intersection-observer","version":"0.9.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.9.0","_nodeVersion":"10.17.0","_npmVersion":"6.14.3","dist":{"shasum":"c2f07322764c7bfa235c52fe893760e3d3a84321","size":20659,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.9.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.9.0_1587156635302_0.6042614976004599"},"_hasShrinkwrap":false,"publish_time":1587156635489,"_cnpm_publish_time":1587156635489,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.8.0":{"name":"intersection-observer","version":"0.8.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.8.0","_nodeVersion":"10.17.0","_npmVersion":"6.14.3","dist":{"shasum":"e61274136f81dc114a7340a0b2e7a30b9787c438","size":17725,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.8.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.8.0_1586809971880_0.3688576208957557"},"_hasShrinkwrap":false,"publish_time":1586809971992,"_cnpm_publish_time":1586809971992,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.7.0":{"name":"intersection-observer","version":"0.7.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.7.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"shasum":"ee16bee978db53516ead2f0a8154b09b400bbdc9","size":14808,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.7.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.7.0_1557524145763_0.5649629243859413"},"_hasShrinkwrap":false,"publish_time":1557524146004,"_cnpm_publish_time":1557524146004,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.6.0":{"name":"intersection-observer","version":"0.6.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.6.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"shasum":"d64aae04211b4cec051537168f5fa670a4acc770","size":14764,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.6.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.6.0_1556131664603_0.6338501229378493"},"_hasShrinkwrap":false,"publish_time":1556131664755,"_cnpm_publish_time":1556131664755,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.5.1":{"name":"intersection-observer","version":"0.5.1","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.5.1","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"e340fc56ce74290fe2b2394d1ce88c4353ac6dfa","size":15287,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.5.1.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer_0.5.1_1540211462162_0.964553852215476"},"_hasShrinkwrap":false,"publish_time":1540211462349,"_cnpm_publish_time":1540211462349,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.5.0":{"name":"intersection-observer","version":"0.5.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.5.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"9fe8bee3953c755b1485c38efd9633d535775ea6","size":14171,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.5.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.5.0.tgz_1512248319595_0.9096851532813162"},"directories":{},"publish_time":1512248319727,"_hasShrinkwrap":false,"_cnpm_publish_time":1512248319727,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.4.3":{"name":"intersection-observer","version":"0.4.3","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/w3c/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"W3C-20150513","bugs":{"url":"https://github.com/w3c/IntersectionObserver/issues"},"homepage":"https://github.com/w3c/IntersectionObserver#readme","_id":"intersection-observer@0.4.3","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"22ff07442269d8be694551a782e0b081ecd4adfd","size":14131,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.4.3.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.4.3.tgz_1510345939494_0.3933927856851369"},"directories":{},"publish_time":1510345939571,"_hasShrinkwrap":false,"_cnpm_publish_time":1510345939571,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.4.2":{"name":"intersection-observer","version":"0.4.2","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.4.2","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"24100ed620baf6a427072996d4d73366e9ec93ef","size":14682,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.4.2.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.4.2.tgz_1504031783021_0.16619623033329844"},"directories":{},"publish_time":1504031783205,"_hasShrinkwrap":false,"_cnpm_publish_time":1504031783205,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.4.1":{"name":"intersection-observer","version":"0.4.1","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.4.1","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"ba0619c31a7cc62457146c94360133809c9ccd2c","size":14652,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.4.1.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.4.1.tgz_1503958766009_0.7268676967360079"},"directories":{},"publish_time":1503958766186,"_hasShrinkwrap":false,"_cnpm_publish_time":1503958766186,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.4.0":{"name":"intersection-observer","version":"0.4.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.4.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"e7c3580be96fc1698170250b500da986c59824fb","size":14646,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.4.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.4.0.tgz_1501111363098_0.4559285908471793"},"directories":{},"publish_time":1501111364279,"_hasShrinkwrap":false,"_cnpm_publish_time":1501111364279,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.3.4":{"name":"intersection-observer","version":"0.3.4","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.3.4","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"9329a76966820afb04ae4cc039b670f3f0b3d6e3","size":14557,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.3.4.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.3.4.tgz_1501013493143_0.8626808794215322"},"directories":{},"publish_time":1501013495956,"_hasShrinkwrap":false,"_cnpm_publish_time":1501013495956,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.3.3":{"name":"intersection-observer","version":"0.3.3","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.3.3","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"e82848a34a68793a1ee1b1ee9db954ce767bc8e2","size":14495,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.3.3.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.3.3.tgz_1500510963320_0.2786993901245296"},"directories":{},"publish_time":1500510963436,"_hasShrinkwrap":false,"_cnpm_publish_time":1500510963436,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.3.2":{"name":"intersection-observer","version":"0.3.2","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.3.2","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"9ed30021c08b29e9e8565c8d512ed84515727433","size":14446,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.3.2.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.3.2.tgz_1498265559540_0.7467848819214851"},"directories":{},"publish_time":1498265559765,"_hasShrinkwrap":false,"_cnpm_publish_time":1498265559765,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.3.1":{"name":"intersection-observer","version":"0.3.1","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.3.1","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"2dc95dafea532deb54b7a86ff3d9e3ffd1dedee9","size":14371,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.3.1.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.3.1.tgz_1498108134447_0.9797043285798281"},"directories":{},"publish_time":1498108134563,"_hasShrinkwrap":false,"_cnpm_publish_time":1498108134563,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.3.0":{"name":"intersection-observer","version":"0.3.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.3.0","scripts":{},"_shasum":"80d581c5507de1114d43a8591952927bb23480a7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"80d581c5507de1114d43a8591952927bb23480a7","size":14255,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.3.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/intersection-observer-0.3.0.tgz_1496811546225_0.5478941712062806"},"directories":{},"publish_time":1496811546299,"_hasShrinkwrap":false,"_cnpm_publish_time":1496811546299,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.2.1":{"name":"intersection-observer","version":"0.2.1","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.2.1","scripts":{},"_shasum":"cb55175f4eebef6436d957a7d1774d39a9248e5e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"cb55175f4eebef6436d957a7d1774d39a9248e5e","size":13967,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.2.1.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/intersection-observer-0.2.1.tgz_1484794145669_0.5285437919665128"},"directories":{},"publish_time":1484794145924,"_hasShrinkwrap":false,"_cnpm_publish_time":1484794145924,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.2.0":{"name":"intersection-observer","version":"0.2.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.2.0","scripts":{},"_shasum":"d52acb737614275d9f46641b2d38641e14259d1d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"d52acb737614275d9f46641b2d38641e14259d1d","size":14194,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.2.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/intersection-observer-0.2.0.tgz_1484261237474_0.06400684313848615"},"directories":{},"publish_time":1484261237725,"_hasShrinkwrap":false,"_cnpm_publish_time":1484261237725,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.1.1":{"name":"intersection-observer","version":"0.1.1","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.1.1","scripts":{},"_shasum":"f00965a6f4b3090a2bb6220bdecd5a280ba767e0","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"f00965a6f4b3090a2bb6220bdecd5a280ba767e0","size":13946,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.1.1.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/intersection-observer-0.1.1.tgz_1468535130100_0.8502177284099162"},"directories":{},"publish_time":1468535132638,"_hasShrinkwrap":false,"_cnpm_publish_time":1468535132638,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."},"0.1.0":{"name":"intersection-observer","version":"0.1.0","description":"A polyfill for IntersectionObserver","main":"intersection-observer","repository":{"type":"git","url":"git+ssh://git@github.com/WICG/IntersectionObserver.git"},"keywords":["Intersection","Observer"],"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/WICG/IntersectionObserver/issues"},"homepage":"https://github.com/WICG/IntersectionObserver#readme","_id":"intersection-observer@0.1.0","scripts":{},"_shasum":"a3fdbde2faa6aa4ae46d8d0af717f1cb38dcd457","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"shasum":"a3fdbde2faa6aa4ae46d8d0af717f1cb38dcd457","size":14545,"noattachment":false,"key":"/intersection-observer/-/intersection-observer-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/intersection-observer/download/intersection-observer-0.1.0.tgz"},"maintainers":[{"name":"philipwalton","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/intersection-observer-0.1.0.tgz_1468524633054_0.5490377778187394"},"directories":{},"publish_time":1468524635576,"_hasShrinkwrap":false,"_cnpm_publish_time":1468524635576,"deprecated":"The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019."}},"readme":"**⚠️ This polyfill was originally hosted in the [IntersectionObserver spec](https://github.com/w3c/IntersectionObserver) repo. Refer to that repo for commit history.**\n\n# `IntersectionObserver` polyfill\n\nThis library polyfills the native [`IntersectionObserver`](http://w3c.github.io/IntersectionObserver/) API in unsupporting browsers. See the [API documentation](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) for usage information.\n\n- [Installation](#installation)\n- [Configuring the polyfill](#configuring-the-polyfill)\n- [Limitations](#limitations)\n- [Browser support](#browser-support)\n- [Running the tests](#running-the-tests)\n\n## Installation\n\nYou can install the polyfill via npm or by downloading a [zip](https://github.com/w3c/IntersectionObserver/archive/gh-pages.zip) of this repository:\n\n```sh\nnpm install intersection-observer\n```\n\n### Adding the polyfill to your site\n\nThe examples below show various ways to add the `IntersectionObserver` polyfill to your site. Be sure to include the polyfill prior to referencing it anywhere in your JavaScript code.\n\n**Using `<script>` tags in the HTML:**\n\n```html\n<!-- Load the polyfill first. -->\n<script src=\"path/to/intersection-observer.js\"></script>\n\n<!-- Load all other JavaScript. -->\n<script src=\"app.js\"></script>\n```\n\n**Using a module loader (e.g. Browserify or Webpack):**\n\n```js\n// Require the polyfill before requiring any other modules.\nrequire('intersection-observer');\n\nrequire('./foo.js');\nrequire('./bar.js');\n```\n\n## Configuring the polyfill\n\nIt's impossible to handle all possible ways a target element could intersect with a root element without resorting to constantly polling the document for intersection changes.\n\nTo avoid this extra work and performance penalty, the default configuration of the polyfill optimizes for the most common `IntersectionObserver` use cases, which primarily include target elements intersecting with a root element due to:\n\n- User scrolling.\n- Resizing the window.\n- Changes to the DOM.\n\nAll of the above can be handled without polling the DOM.\n\nThere are, however, additional use cases that the default configuration will not detect. These include target elements intersecting with a root element due to:\n\n- CSS changes on `:hover`, `:active`, or `:focus` states.\n- CSS changes due to transitions or animations with a long initial delay.\n- Resizable `<textarea>` elements that cause other elements to move around.\n- Scrolling of non-document elements in browsers that don't support the event capture phase.\n\nIf you need to handle any of these use-cases, you can configure the polyfill to poll the document by setting the `POLL_INTERVAL` property. This can be set either globally or on a per-instance basis.\n\n**Enabling polling for all instances:**\n\nTo enable polling for all instances, set a value for `POLL_INTERVAL` on the `IntersectionObserver` prototype:\n\n\n```js\nIntersectionObserver.prototype.POLL_INTERVAL = 100; // Time in milliseconds.\n```\n\n**Enabling polling for individual instances:**\n\nTo enable polling on only specific instances, set a `POLL_INTERVAL` value on the instance itself:\n\n```js\nvar io = new IntersectionObserver(callback);\nio.POLL_INTERVAL = 100; // Time in milliseconds.\nio.observe(someTargetElement);\n```\n\n**Note:** the `POLL_INTERVAL` property must be set prior to calling the `.observe` method, or the default configuration will be used.\n\n**Ignoring DOM changes**\n\nYou can also choose to not check for intersections when the DOM changes by setting an observer's `USE_MUTATION_OBSERVER` property to `false` (either globally on the prototype or per-instance)\n\n```js\nIntersectionObserver.prototype.USE_MUTATION_OBSERVER = false; // Globally\n\n// for an instance\nvar io = new IntersectionObserver(callback);\nio.USE_MUTATION_OBSERVER = false;\n```\n\nThis is recommended in cases where the DOM will update frequently but you know those updates will have no effect on the position or your target elements.\n\n\n## iframe support\n\n### Same-origin iframes\n\nSame-origin iframes are supported by the polyfill out of the box.\n\n\n### Cross-origin iframes\n\nAdditional code and configuration are required to support cross-origin iframes,\nboth on the iframe and host sides.\n\nThe setup is as following:\n\n1. The host and iframe will establish a messaging channel.\n2. The host will setup its own IntersectionObserver instance for the\ncross-origin iframe element. It can either use the this polyfill or any other\napproach. For each IntersectionObserverEntry for the iframe it will forward\nintersection data to the iframe via messaging.\n3. The iframe will load the polyfill and configure it by calling the\n`_setupCrossOriginUpdater()` method. It will call the provided callback\nwhenever it receives the intersection data from the the parent via messaging.\n\nA hypothetical host code:\n\n```javascript\nfunction forwardIntersectionToIframe(iframe) {\n  createMessagingChannel(iframe, function(port) {\n    var io = new IntersectionObserver(function() {\n      port.postMessage({\n        boundingClientRect: serialize(boundingClientRect),\n        intersectionRect: serialize(intersectionRect)\n      });\n    }, {threshold: [0, 0.1, ..., 1]});\n    io.observe(iframe);\n  });\n}\n```\n\nNotice that the host should provide a `threshold` argument for the desired\nlevel of precision. Otherwise, the iframe side may not update as frequently as\ndesired.\n\nA hypothetical iframe code:\n\n```javascript\ncreateMessagingChannel(parent, function(port) {\n  if (IntersectionObserver._setupCrossOriginUpdater) {\n    var crossOriginUpdater = IntersectionObserver._setupCrossOriginUpdater();\n    port.onmessage = function(event) {\n      crossOriginUpdater(\n        deserialize(event.data.boundingClientRect),\n        deserialize(event.data.intersectionRect)\n      );\n    };\n  }\n});\n```\n\n\n## Limitations\n\nThis polyfill does not support the [proposed v2 additions](https://github.com/szager-chromium/IntersectionObserver/blob/v2/explainer.md), as these features are not currently possible to do with JavaScript and existing web APIs.\n\n## Browser support\n\nThe polyfill has been tested and known to work in the latest version of all browsers.\n\nLegacy support is also possible in very old browsers by including a shim for ES5 as well as the `window.getComputedStyle` method. The easiest way to load the IntersectionObserver polyfill and have it work in the widest range of browsers is via [polyfill.io](https://cdn.polyfill.io/v3/), which will automatically include dependencies where necessary:\n\n```html\n<script src=\"https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver\"></script>\n```\n\nWith these polyfills, `IntersectionObserver` has been tested and known to work in the following browsers:\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/chrome/chrome_48x48.png\" alt=\"Chrome\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/firefox/firefox_48x48.png\" alt=\"Firefox\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/safari/safari_48x48.png\" alt=\"Safari\"><br>\n      6+\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/edge/edge_48x48.png\" alt=\"Edge\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/archive/internet-explorer_7-8/internet-explorer_7-8_48x48.png\" alt=\"Internet Explorer\"><br>\n      7+\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/opera/opera_48x48.png\" alt=\"Opera\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.github.com/alrra/browser-logos/39.2.2/src/android/android_48x48.png\" alt=\"Android\"><br>\n      4.4+\n    </td>\n  </tr>\n</table>\n\n## Running the tests\n\nTo run the test suite for the `IntersectionObserver` polyfill, open the [`intersection-observer-test.html`](./intersection-observer-test.html) page in the browser of your choice.\n\nIf you run the tests in a browser that supports `IntersectionObserver` natively, the tests will be run against the native implementation. If it doesn't, the tests will be run against the polyfill.\n","_attachments":{},"homepage":"https://github.com/GoogleChromeLabs/intersection-observer#readme","bugs":{"url":"https://github.com/GoogleChromeLabs/intersection-observer/issues"},"license":"Apache-2.0"}