{"_id":"@fastly/performance-observer-polyfill","_rev":"136-41d52ac80de80efc744e0aefec9ae4c7","name":"@fastly/performance-observer-polyfill","dist-tags":{"next":"2.0.0-pre-1.3","latest":"2.0.0"},"versions":{"1.0.0":{"name":"@fastly/performance-observer-polyfill","version":"1.0.0","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@1.0.0","maintainers":[{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"coreylight","email":"coreylight@gmail.com"},{"name":"wrongolia","email":"philgroman@gmail.com"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"davystevenson","email":"dstevenson@fastly.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"ezkl","email":"zeke@templ.in"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"jessicaspacekat","email":"jessicaspamkat@gmail.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"blithe","email":"blithe@blitherocher.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"5d54aa1d4ab0afcfcb6172a9cdf22fa7cb2bd701","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-1.0.0.tgz","fileCount":19,"integrity":"sha512-C3Twy8XP3q1cFKHfzjRt0FDpzsjqP80Rch7bfSCMHR5pYY2PSpNKDkxwd7VHuPnXGJ7SSZaPI+GOyVUKh2s0ww==","signatures":[{"sig":"MEUCIH62tIC0nmGdVMZWgcgLjKgRgoIO/9TJXDEN9BnjJFhgAiEAss5Fj8yLvbH5JxKlf/uvdts/8YQCTGzj4vdXWZ77EXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":563901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAmgXCRA9TVsSAnZWagAAryUP/2fd+nw/YLUsOTvsq8K/\n6lIZkqlVpTm8loa7eZz0//G45enYnUqa3lKIJbw+xQP+KQi8mtmOtPt8Q/ue\njanpu8//SRd5zftrn0O3G1qsuf7KFY9D0Ms+UNTVC5Jw/U5EDyKl5lEW/xFD\n9D7h8Kg/DYJpEHiReHRabPIFPU2IXT0ODZME2+E3WAgzlLTzZ4yXhHxPWZdG\no2Q0RDP9L1GWYhHnyCj0ySU/TVX/rlM0dR+xiNu0rop2VzW17tiRs3L22c/I\n2jVTH+xam4jXS0XGj0IDh3w/gBsa1DLZPNwDJNRIBuYi62BQZ5AUrfPIcIvG\nBBXtiwLi0o/spQ3Aal0B7ZBLClShv7Xhs7MRQdlTwpkCdBq3f4XhCgquXfz7\np0cNEL6VnB9FBhfeGkRc2xc4FzNKUUI4Wfm/H9fzp37kbdpjQuoVeR3TmuN9\nLODVuacqYHLegTn8T7O7fLFmgZj1uruZ9mr3G0wH68643LpQe25JtnaHb1u5\nwONRvOtS6/+Uvdj5ULlDUdHmICe1RPojwtdmXyKrM2JC+aBsU5f5xyPBezM0\nnNRLdCn8aUUypon3K2HyZ+bjN983A+VhYUaV8PxqWOVx+6lqqyFjhycX4c5j\nzlkkLLDojWMYV+ZgQl2RehUlfoMU+2tLmnVIwIlxnPclUM8VH2CbDi3vqXzv\nzGZZ\r\n=dSs4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"src/@types/index.d.ts","module":"src/index.js","gitHead":"4d591dc21dc376a29fabc30f6c2938563daa0716","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"webpack --config webpack.prod.js","start":"webpack-dev-server --progress --open --config webpack.dev.js","release":"npx np","build:dev":"webpack --config webpack.dev.js","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"6.9.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"10.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","husky":"^2.3.0","eslint":"^5.16.0","core-js":"^3.1.3","webpack":"^4.32.2","prettier":"^1.17.1","@babel/cli":"^7.4.4","babel-jest":"^24.8.0","typescript":"^3.4.5","@babel/core":"^7.4.5","@types/jest":"^24.0.13","webpack-cli":"^3.3.2","@babel/types":"^7.4.4","babel-loader":"^8.0.6","eslint-loader":"^2.1.2","webpack-merge":"^4.2.1","jest-mock-random":"^1.0.2","@babel/preset-env":"^7.4.5","webpack-dev-server":"^3.4.1","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^2.0.2","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","webpack-bundle-analyzer":"^3.3.2","@babel/preset-typescript":"^7.3.3","@typescript-eslint/parser":"^1.9.0","@typescript-eslint/eslint-plugin":"^1.9.0","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_1.0.0_1560438807227_0.5994004988323063","host":"s3://npm-registry-packages"}},"1.0.1-0":{"name":"@fastly/performance-observer-polyfill","version":"1.0.1-0","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@1.0.1-0","maintainers":[{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"blithe","email":"blithe@blitherocher.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"coreylight","email":"coreylight@gmail.com"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"davystevenson","email":"dstevenson@fastly.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"ezkl","email":"zeke@templ.in"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"jessicaspacekat","email":"jessicaspamkat@gmail.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"wrongolia","email":"philgroman@gmail.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"31383c9c7ac88469e60aba807add37365b4d8955","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-1.0.1-0.tgz","fileCount":19,"integrity":"sha512-NBF5SiB1TH9+z/uZRiHVzxyUHj3+TVK1EpLtpECZtTSEIKVKz1nWTmPcnC+J48s949zWrizyxaajfjt23vLpuQ==","signatures":[{"sig":"MEUCIEXFckB/NXAqAXRRufeLE/OuRkrrmfuh0woRMz08Z7JWAiEAnz8++6fZ4pVUhiMzsyDyt+ceJhqXnKSE2AhJ0mQNJSU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":564519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB20hCRA9TVsSAnZWagAAmsQP/2awjuAx/wuj5aZiXp83\nJOuxa0BCybmzkLL6+cYS3MBDS0/69CfV/JHUlL60IJvJR6cHH7sqebTixKBQ\nMagRMTAiT455OITamyo4chIrqaKNhP/I6injSEUJbmZZp+VYNI8LzUv3FBw/\nxwbJwFxv6RvapB82PA8Nyx6kzMEE90lXh6Ddif+ZnUMUSq+8JZ+9ZXjTNVOq\nd57oz1bZvtOp7XV0fG9oZf8q2fqQp9gK3ETM99NiWJCM7K0/0e2Ee9veaj7e\n0JrBIsi0z4I5OeLew1CGde63TUnS6dPc927oCoFDpWc0/N4DQKy2HZ9HoT8c\nloyK+Us+oDJRg7MxBNSJ2GpPaMXBHUbp81GjTxxatkqChlHRBRzBc0y8GEWi\nWq0Hpdpqqo1weuwhh/4PadkuP1grxFwU/K03kj4KdGkaJ+BHTNPMDJlTWZHH\na3bAuGXk38Yla4b1qqcdd+BuPz5U7LX602uHOL79G9GaoJlXkkdplfzwS+C9\nnVaBApWysLULqcLCn4ofWrBZlJTCC9lPfyvHYXb7Y+OoKH8/KJHkyd/BzyMb\nGrjdDxPcBT7R5+VtbVMbh4FxzFk+X634wZ44a8nRdXENZWwnOSddYo/y1Hzv\nJwkD6kID5uVCkqDImJQRMoYtr4uJV1sY5+UQ5ZvGAVWDQjCsCcyfe403FblO\nBc7R\r\n=13wd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"src/@types/index.d.ts","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polypill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polypill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polypill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10a\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"e1e3877af0a142d7ffc022754ee3073191ff80a3","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"webpack --config webpack.prod.js","start":"webpack-dev-server --progress --open --config webpack.dev.js","release":"npx np","build:dev":"webpack --config webpack.dev.js","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"6.9.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"10.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.8.0","husky":"^2.3.0","eslint":"^5.16.0","core-js":"^3.1.3","webpack":"^4.32.2","prettier":"^1.17.1","@babel/cli":"^7.4.4","babel-jest":"^24.8.0","typescript":"^3.4.5","@babel/core":"^7.4.5","@types/jest":"^24.0.13","webpack-cli":"^3.3.2","@babel/types":"^7.4.4","babel-loader":"^8.0.6","eslint-loader":"^2.1.2","webpack-merge":"^4.2.1","jest-mock-random":"^1.0.2","@babel/preset-env":"^7.4.5","webpack-dev-server":"^3.4.1","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^2.0.2","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","webpack-bundle-analyzer":"^3.3.2","@babel/preset-typescript":"^7.3.3","@typescript-eslint/parser":"^1.9.0","@typescript-eslint/eslint-plugin":"^1.9.0","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_1.0.1-0_1560767777052_0.299423792054192","host":"s3://npm-registry-packages"}},"1.0.2-0":{"name":"@fastly/performance-observer-polyfill","version":"1.0.2-0","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@1.0.2-0","maintainers":[{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"blithe","email":"blithe@blitherocher.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"coreylight","email":"coreylight@gmail.com"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"davystevenson","email":"dstevenson@fastly.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"ezkl","email":"zeke@templ.in"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"jessicaspacekat","email":"jessicaspamkat@gmail.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"wrongolia","email":"philgroman@gmail.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"5f2162bae5dc48d85a71255736466eb8d2e9e769","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-1.0.2-0.tgz","fileCount":19,"integrity":"sha512-PFwnBOD1U3mfwtMLzzt6zHoLV6vYj9vsNohrSRaCCPr8Ivhqomi82H1xG6askqtJCb1iWdcfQu7RTaEPay9W/Q==","signatures":[{"sig":"MEQCIHVHAV4tUe7N8xaLDwFJ/8dk2bEfrrgUT/l3pbsemujHAiAmNp5YxD4BZTH6ThvlXXpPOVM/uKJQMoXzvMtXHf4eOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":564475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB3JeCRA9TVsSAnZWagAAYx4QAJVx2SZbf7HW9gIKCfub\noGnWdZTbPWcsZiyAt0yzBbsUpJfR9DYBKkuhkqArA/pwbD7MK4RoNdeJ4+Ej\n28NXh+R4AzkIw3n3uxk/GxWmnHJ1c8nTW5xd1iI84ycI4QRMi95DpY6ZtXH0\ncU67Ir/cgxWJtJmVhVEi+DEoYP6qJdJU+dP9mIQDC+ovpmpsD4tmx49VIWZh\nrpVE4nCsM9sHWPNokQfSmyno9qkq/eubDSXIuiZY+vTQ/htJdT/hyFnWuTEw\nKDF4MjR2dj7ZJGr9yQvfX9F0JmL5cxgFGeZVURVqsuAe+sREhsCNvnGxSGZE\nWMtVBlD/xdl7ImjU4LNJapjPPYGzkAK5R8bdHad4kO3plU1NYzLnlam0Ik4/\n0locStk8BNfr76Z67K2BJ7a+uWrmC+02bsMxsDTqTqBTXkHT+z3knGM4ek1U\nUViBqwDxupCBftfIKLCXb705mcBKs5ZM0jXtDbRubu9I9yE0EG/NSQ45sqDj\neXaUA/0uYtjFpxCNs9v7caRJFVwTN7fRN8xVW0qC0oAEK5xMNbKBishQdN2o\nlkr/0jgm/7MPxEcAJwgnSGeJjqGuvRxk1wYciznu5TEpWUTQ7FHnVB5aUQe0\naOke8Ra7kQhplAbWZwLdmHN2pqN6gOtatc0a5Bgj18EJ7jzINNGgJEUUUgGk\nyE7G\r\n=qmQp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"src/@types/index.d.ts","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polypill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polypill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polypill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10a\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"5175483072726cec0e95506c376d2dab0491a624","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"webpack --config webpack.prod.js","start":"webpack-dev-server --progress --open --config webpack.dev.js","release":"npx np","build:dev":"webpack --config webpack.dev.js","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"6.9.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"10.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.8.0","husky":"^2.3.0","eslint":"^5.16.0","core-js":"^3.1.3","webpack":"^4.32.2","prettier":"^1.17.1","@babel/cli":"^7.4.4","babel-jest":"^24.8.0","typescript":"^3.4.5","@babel/core":"^7.4.5","@types/jest":"^24.0.13","webpack-cli":"^3.3.2","@babel/types":"^7.4.4","babel-loader":"^8.0.6","eslint-loader":"^2.1.2","webpack-merge":"^4.2.1","jest-mock-random":"^1.0.2","@babel/preset-env":"^7.4.5","webpack-dev-server":"^3.4.1","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^2.0.2","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","webpack-bundle-analyzer":"^3.3.2","@babel/preset-typescript":"^7.3.3","@typescript-eslint/parser":"^1.9.0","@typescript-eslint/eslint-plugin":"^1.9.0","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_1.0.2-0_1560769117861_0.31744275154678947","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@fastly/performance-observer-polyfill","version":"1.0.2","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@1.0.2","maintainers":[{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"blithe","email":"blithe@blitherocher.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"coreylight","email":"coreylight@gmail.com"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"davystevenson","email":"dstevenson@fastly.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"ezkl","email":"zeke@templ.in"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"jessicaspacekat","email":"jessicaspamkat@gmail.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"wrongolia","email":"philgroman@gmail.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"57c1d63e1cd98c35c456d82ed39b61b52d1c612c","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-1.0.2.tgz","fileCount":19,"integrity":"sha512-7Hqwqs8E56oKCsr4/69NRar3brPCgGkzu2I30oJJ6/IL8WlZtZ3b1Cs89gsnqt56nzB9NXVvgBg8pBhdNaQImw==","signatures":[{"sig":"MEUCIQCW9H2uZLdL7f7TMsZ+EoK71GoNRirZ0+dXJIdqnaYVgAIgSxHcFEkklPxt6pNFs0cSD7tihIQWEhaSlH5MApWQOio=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":564469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjaRCRA9TVsSAnZWagAABLsP/2LCst+BPPSvP97Bl1zz\nDB52m21H+lKYaQn+LuJ2V9OHuJqrB9b7IfHtIi5VlX4ZuF5uPJ5lGhOSRf2P\ng9pqmyYVPPbnThH0wVQ6J58cLF2qJRfn+HamKm87xHT1ChQJEukxcWWmo7Zn\n+o/IGkNB1wUi6WgUvgyIDA6BMFcqlDfY8PfvDHARvKDJdOQ2M2xPq0UtQI+l\n9gsm1bOu7CRykwePp62IA7zS+VUbAmlUSSJXH2mZ1KVaEfom8vyQhKvgTtfE\necnaiM4+XFrzgHPWpXss9/I4/ZxLSBwNXm8602t5d0SHNaSBh0pYUe6RcAtM\nKmP7wzFS2xqY90WUtfbco10rzBjB4GSvtgt5p2PYHuQWNteomEPIP93G98cb\nQ4eR01T9l7DFLnNEYAYEWJGitMuQNMghCz658LvHlLZ/8H6fXk5PSXPKxcI9\n4M+J2uVRvdk2yLrquXlWDI+2fsuOYT5wZ9yS53QckQVElYaTkAe/SKGf56qo\nwgP6s3CE0Lc56yeRFosHRip+dsT4P/MpjaFn14XddPTf5AkTFaSAXzMT01Bs\n3s0XW9JEwqX7mR2282jQp5sBU2KKh6AjBXFfrzJhdzEp5y443iFGaNhI67fu\n/tUWQq8EKeE5m3lEWJgom/eCuV9D1D+bw9Z87N9BH8mi5JielTSTnCj1AILi\nJz5B\r\n=Tx7o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"src/@types/index.d.ts","gitHead":"bc4a1a8df7722ae4ad0a2d7e854a08bc0026a4b0","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"webpack --config webpack.prod.js","start":"webpack-dev-server --progress --open --config webpack.dev.js","release":"npx np","build:dev":"webpack --config webpack.dev.js","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"6.9.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"10.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","husky":"^2.3.0","eslint":"^5.16.0","core-js":"^3.1.3","webpack":"^4.32.2","prettier":"^1.17.1","@babel/cli":"^7.4.4","babel-jest":"^24.8.0","typescript":"^3.4.5","@babel/core":"^7.4.5","@types/jest":"^24.0.13","webpack-cli":"^3.3.2","@babel/types":"^7.4.4","babel-loader":"^8.0.6","eslint-loader":"^2.1.2","webpack-merge":"^4.2.1","jest-mock-random":"^1.0.2","@babel/preset-env":"^7.4.5","webpack-dev-server":"^3.4.1","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^2.0.2","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","webpack-bundle-analyzer":"^3.3.2","@babel/preset-typescript":"^7.3.3","@typescript-eslint/parser":"^1.9.0","@typescript-eslint/eslint-plugin":"^1.9.0","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_1.0.2_1560950417147_0.42583055430172023","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@fastly/performance-observer-polyfill","version":"1.1.0","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@1.1.0","maintainers":[{"name":"akappen","email":"akappen@fastly.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"davystevenson","email":"dstevenson@fastly.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"ezkl","email":"zeke@templ.in"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"5b7aef95d92e994bd4676d36c409788eef8ed11a","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-1.1.0.tgz","fileCount":18,"integrity":"sha512-Fao+nIoldaXTDwt81Q7RIWiL32drcVXZEUpEp3kiCObjsv2TI5Ca4SRb9+cvrQIMeox9rw3ZSVELOlNviL/JvA==","signatures":[{"sig":"MEUCIQCLoRGPda6v7DbirGbRjo7phEP2eJzSD19M5kBrTpxInwIgYsJVX3PwEzlfNqauJavoVScH4RycWyS/N4c9sUz29Nc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":570388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2/RkCRA9TVsSAnZWagAAKqwP/AggnXmX02xINt4md+wa\nLqVKOM7HBKOW2BUg8ZgVyrqb/AjOyuvv38qgWs7O68d7yYyc3iuPyf76JE6U\nfFWM6D2Dd8KBaXumsBQfxgNtvczDufou2pMgaU+6nAzWUWlmhBjx9FdMUxCs\nW8UTy2ocvhfORbB7+2c0ZaNO84OgF2mAhW8tZtfjmHg97m5w4P6Oe0Zu8AEg\nHZdnL8XZ0oCuE5FCS2GQAmwa1XDa2G6o9l40e0VlhpUzHkJ1vyFhrFfU2pEB\nqZ+b868IP8wBxovUK0bUe4Bkv/HWdm8ZzxiKGOwSVYtheq+P/JzJGr7DKHQD\nY+a/JckO/iMH7/N+iOKosJdle1hhUPhbOQD2dwTRfH4hYSsU1MTGrp2PRdxU\nKdH8TYNRB+taKWnuMvI1ECL5/nvXSXdeEllcmwdRrca0eGekD7eDda90xSXi\nZoxzCWHS2nlol+bWs2i2ZjJzGmVF2cY293QrR02EzhQ4wZkyaZfnohgRSgWO\nNGi40wnWTn7xg0kLCJcEDFKDth0pNOqRmBEpPj7GXXblmp5APKeBH1NpTBg6\n00qb6fJjLbD9a4R1CLVcxNWy1Flreb+nOcLVxtFuIUfZCt+ipLyocC99EFpI\ne8ni19bnqXJtraZ+2o6vCh9bMg5nMGWkB89uRFbRoh1DsAR5kvYBPVbpXp1v\nDR3z\r\n=NeYT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"src/@types/index.d.ts","gitHead":"4573c3f95ba75cdace1c7d3304422903b34bfbaf","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"webpack --config webpack.prod.js","start":"webpack-dev-server --progress --open --config webpack.dev.js","release":"npx np","build:dev":"webpack --config webpack.dev.js","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"6.9.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"10.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^2.7.0","eslint":"^5.16.0","core-js":"^3.4.0","webpack":"^4.41.2","prettier":"^1.17.1","@babel/cli":"^7.7.0","babel-jest":"^24.9.0","typescript":"^3.7.2","@babel/core":"^7.7.2","@types/jest":"^24.0.22","webpack-cli":"^3.3.10","@babel/types":"^7.7.2","babel-loader":"^8.0.6","eslint-loader":"^2.2.1","webpack-merge":"^4.2.2","jest-mock-random":"^1.0.2","@babel/preset-env":"^7.7.1","webpack-dev-server":"^3.9.0","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^2.0.2","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","webpack-bundle-analyzer":"^3.6.0","@babel/preset-typescript":"^7.7.2","@typescript-eslint/parser":"^1.13.0","@typescript-eslint/eslint-plugin":"^1.13.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_1.1.0_1574696035729_0.3491289378935638","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@fastly/performance-observer-polyfill","version":"1.1.1","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@1.1.1","maintainers":[{"name":"akappen","email":"akappen@fastly.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"davystevenson","email":"dstevenson@fastly.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"ezkl","email":"zeke@templ.in"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"2e64762fa2e43f32c01dcb2ac68421aded55bbb8","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-1.1.1.tgz","fileCount":19,"integrity":"sha512-hmXJBYhIs77KPyg/IcPM5sDeQSPLrTzD6DqGfSUUtvEUoQxbW6nxHYCYJE8CP+Ay+OUqLZlTpW+w1OEOZWckzQ==","signatures":[{"sig":"MEUCIHSJFFy5oE4k5jc7u+b9+/y/0WKgKZTb3B1Oj5Pg7fnsAiEA5aUvIiNW/agWMoBN8PyZngNeU2+Ar7iL2iaj/aCt7oM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":573531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenY4zCRA9TVsSAnZWagAAm04P/3WSgmRc6PeMM1V2WXWF\naa8BvsaSayMlFTQ0MPh59ET8VSlKJ21oC3MtkHVjgsNh9B8xQ1Abde7m+Kfe\nzmXBvXCCHO2XL9JcaSp+afsREtPKeXFAWpVkjll1u6hl5HKflqzvQd94ijF2\ntQhoor7c/IoqCJydgvPbEOexQ3AtzBEwnizS6ICEC9/tZreSVngJFzEj0x5F\nBj5cFPgksklngXTLe3OXu02PPYmeZwvjow1RFPhGihw5Q2c/bvHS3LYLnoSR\nMaIL6MBkU3pSRqzug8zoUGHG5a5oKy7utecK//KpbBAk6y9spltN1qkRLti6\nOZWTBHUAMeJ4WlGCOuI0wnYlhPHghsAqANaumne9z4+jQIP1FeWpU1QsANQQ\nnC2WLghCPth9UgMYvvhPGIEZVPgxdkDri9A2cWf0EsrToPg3+IV2l4XSc6JF\nzHt/ES3E14nIdWB0180znKarzksecmR1xNB1bXMzw1DB58DtH1G/vbnf5Ebn\nT0f/YyfN6wYfaS9kkbrl7MH1UAonwQq+M553w9Bwux9gbuWl5X6ekVnuHiWy\nPbr06hKsJ/5vqXvmMpW3aIM7AGccCF0ddZMcdWCmHBKGOcRQIBXMW1HQqkd5\n8JKJZ60EIix+3mq8HAsgdVFIcwkUw/Thy7OtMHjuSfHP2DsTySL5EYh8Cb24\nAZrI\r\n=I+hR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"src/@types/index.d.ts","gitHead":"f9033c29e574db31408e5b72c590503a099dec92","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"webpack --config webpack.prod.js","start":"webpack-dev-server --progress --open --config webpack.dev.js","release":"npx np","build:dev":"webpack --config webpack.dev.js","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"6.13.4","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"12.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","husky":"^2.7.0","eslint":"^5.16.0","core-js":"^3.4.0","webpack":"^4.41.2","prettier":"^1.17.1","@babel/cli":"^7.7.0","babel-jest":"^24.9.0","typescript":"^3.7.2","@babel/core":"^7.7.2","@types/jest":"^24.0.22","webpack-cli":"^3.3.10","@babel/types":"^7.7.2","babel-loader":"^8.0.6","eslint-loader":"^2.2.1","webpack-merge":"^4.2.2","jest-mock-random":"^1.0.2","@babel/preset-env":"^7.7.1","webpack-dev-server":"^3.9.0","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^2.0.2","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","webpack-bundle-analyzer":"^3.6.0","@babel/preset-typescript":"^7.7.2","@typescript-eslint/parser":"^1.13.0","@typescript-eslint/eslint-plugin":"^1.13.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_1.1.1_1587383858861_0.9964417460871322","host":"s3://npm-registry-packages"}},"2.0.0-pre-1":{"name":"@fastly/performance-observer-polyfill","version":"2.0.0-pre-1","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@2.0.0-pre-1","maintainers":[{"name":"hschaaf_fastly","email":"hschaaf@fastly.com"},{"name":"txantslusam-jootbox","email":"mateusz@jootbox.eu"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"akappen","email":"akappen@fastly.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"lturk","email":"lturk@fastly.com"},{"name":"tomyoung","email":"hello@tomyoung.co.nz"},{"name":"cdurkee","email":"cdurkee@fastly.com"},{"name":"conniechu929","email":"cchu@fastly.com"},{"name":"stevendaniels","email":"stevendaniels88@gmail.com"},{"name":"briemarie","email":"bhodson@fastly.com"},{"name":"nilium","email":"ncower@nil.dev"},{"name":"torch2424","email":"aaron@aaronthedev.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"7168961190c0afc1268e0288716abf70b76724b3","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-2.0.0-pre-1.tgz","fileCount":15,"integrity":"sha512-iZAl7NZ/GdrfdNpGT5jpMSqf4NtamSrId36bVUoeYFVS2uxegTVrFgWXYTBZqYqS5r2+EInKUpEKkdXBqLZUZw==","signatures":[{"sig":"MEUCIQC2hdJ2nvvU8P3mF2HrkErRGujqHPgAyQajoBwrQSpLswIgVCR8Pk9D8spbs0iVjdvQtbKK5t+naSZAy9aBKX+Ca+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgI+UrCRA9TVsSAnZWagAAhukP/2bXsmnuUAsyxYwKqzbr\np5W+pYaw4FjkSqxV3/unCauCxLPnQHhvyOM/8IlgHW/UfyjU3w0AD3pOMay0\n+WMyt2z+0C70aA31ZiCXZ4HpTAqFWMeB005XZWftWY1goKTb9kW/9ZrKRNsO\nzVU1P//a3CGEQkjy0H8mNHycJqpCAivwtYKblgVOO37B6dwqNvJWgNdCXKAR\nfYvftUZ5zM+0XcuN1susK4udvoLMsfXkZ/3/rbGtfOUij2A7SlgbH60nBwg6\nwOnd4CiqmzIloMSondQxxkhpT8V6YXZjY7KPbTaYgoPs1KnPisKhg+9/i3an\n0nZsB3zZbBuym5F6b+PQkFjAUMPWPRdNWdHAC3rYBDLEbZ7ufQRt1/8zeO43\nLILNtMMVo6B3lYkSev98xi6lm9aSmHLS5JlexnmX1zW8ztVKCx6s4op4bCou\nWpFJu1uC4URHNt9Xhd/e7bKlRsHjtY3qh5vbHP/bc4Gdd21ucuAlw/yu3gk8\nSLqAyFCP8jsSPVu6z6b2socPvW2COoVPlv+FvEDTJf+lUqN92L2ERauslWnm\n+toQ056MS72zKoZO3eJdRw6MVS2Nf0qJuIAUZP7BnxLQpriruUJY6+lVPIXK\nu1cL9HP9D54/GHPcX6cuGwA5oWkGqXgMS92OZsXF/xTNR8g6gz6gdx/O3w8I\nMLo1\r\n=Qnx0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"dist/esm/types/index.d.ts","module":"dist/esm/index.js","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polyfill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polyfill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polyfill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"388efdc81811eac2242a9dfb122c78eb2bf50d04","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"rollup -c --environment ENV:prod","start":"rollup -c --environment ENV:dev","release":"npx np","build:dev":"npm run start","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"7.3.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"15.5.1","dependencies":{"tslib":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^2.7.0","eslint":"^5.16.0","rollup":"^2.30.0","core-js":"^3.4.0","ts-jest":"^26.4.4","prettier":"^1.17.1","typescript":"^3.9.7","@types/jest":"^24.0.22","@types/node":"^14.14.10","eslint-loader":"^2.2.1","jest-mock-random":"^1.0.2","@rollup/plugin-html":"^0.2.0","rollup-plugin-serve":"^1.1.0","rollup-plugin-sizes":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-license":"^2.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","@rollup/plugin-typescript":"^6.1.0","@typescript-eslint/parser":"^1.13.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_2.0.0-pre-1_1612965162723_0.06695826308531294","host":"s3://npm-registry-packages"}},"2.0.0-pre-1.0":{"name":"@fastly/performance-observer-polyfill","version":"2.0.0-pre-1.0","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@2.0.0-pre-1.0","maintainers":[{"name":"benpink","email":"bjpinkerton@gmail.com"},{"name":"alitorbati","email":"ali.torbati@gmail.com"},{"name":"johnmdonahue","email":"johnmdonahue@gmail.com"},{"name":"hschaaf_fastly","email":"hschaaf@fastly.com"},{"name":"txantslusam-jootbox","email":"mateusz@jootbox.eu"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"akappen","email":"akappen@fastly.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"lturk","email":"lturk@fastly.com"},{"name":"tomyoung","email":"hello@tomyoung.co.nz"},{"name":"cdurkee","email":"cdurkee@fastly.com"},{"name":"conniechu929","email":"cchu@fastly.com"},{"name":"stevendaniels","email":"stevendaniels88@gmail.com"},{"name":"briemarie","email":"bhodson@fastly.com"},{"name":"nilium","email":"ncower@nil.dev"},{"name":"torch2424","email":"aaron@aaronthedev.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"c25e94693e082143dd95b8fc78fb055783a95f43","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-2.0.0-pre-1.0.tgz","fileCount":23,"integrity":"sha512-ANwJT9ZE3pLfj06gN1AwaxNQIlwnDucyAdEOBtJAMhkGzkHWmgAMpReUpgoiKKYBsJyATFLbsHNi8sXLz2Eidw==","signatures":[{"sig":"MEQCID0UHuR+32a7bNeo9SEHkWuwudATSdmSp+jUFAJJWTSOAiAGPz9tnHQDHbXHm4Dn6tT8MwfR3U0e9Z0ysDXRrRfEfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJUQpCRA9TVsSAnZWagAAU8oP/Au4kyyRTY8N/FhzW0Jl\nRnzYtV51kBrfPxoY9LLMnYz/+ZdlDc8NzwEfTtK6dAkccnupEiY8sv3o9LyQ\nwYzVaB/x7ar774ZWCUz4+uZQHd+daRwkT+SdTMJZ9iuIWUCsuNXbW2m4UVsX\nz0dzqBbG4nxpSJbYmiPH5ReB6EcoZ5mf6L2cQbKSPafjs0A+28QasKwvtUSM\ng0Bea0d2BdYnH8ktd9ZYcpaKgoBNXF1OvJkQ7++HPjhjfjyorDOz4j4INjLb\nmOQ4v+hem0TuonND5Ua7Y+YciQ3nEEB8QDnE0KZ2ejKxk0ZGbzcdvhF8s2f2\ngXDHCvzmSDROeMz0vF/3f3+5PPQdx7/EdF8mIvvzyuntrRrvKizmYr+n6+P7\nWQS7MLsmRbkWDKnlyrIlnEwl0Fu1K0MXdOoVJMok1JN4rVjZ8i36YIBW6gTK\nH8izCfSdw4Kuo3/7VBg6zegcPGY3EBfoJ0oBZ4SuYeTJRLDC7cr5gyONQEZw\n9JSa1/wfCr7TymybMmz0dObPRNETPEKnUTNzh1oZa9U8bRRgvRbpJb/WVW5U\nJFQaFcV/8EAf+qL1flKO/x3iAYegV56YB3+73fHupwRl5hwHCRsCnmuuTFp7\nd54CXQ1eiY0VQ0Vtu1JeAdDNn28zXQVY0wcGjB2mZlPcRpmVmV5GO1cU7uoj\neTYs\r\n=kmVW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"dist/esm/types/index.d.ts","module":"dist/esm/index.js","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polyfill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polyfill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polyfill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"3cdc86fa7f1ac6a194eba05d7aea26ae683409de","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"rollup -c --environment ENV:prod","start":"rollup -c --environment ENV:dev","release":"npx np","build:dev":"npm run start","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"7.3.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"15.5.1","dependencies":{"tslib":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^2.7.0","eslint":"^5.16.0","rollup":"^2.30.0","core-js":"^3.4.0","ts-jest":"^26.4.4","prettier":"^1.17.1","typescript":"^3.9.7","@types/jest":"^24.0.22","@types/node":"^14.14.10","eslint-loader":"^2.2.1","jest-mock-random":"^1.0.2","@rollup/plugin-html":"^0.2.0","rollup-plugin-serve":"^1.1.0","rollup-plugin-sizes":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-license":"^2.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","@rollup/plugin-typescript":"^6.1.0","@typescript-eslint/parser":"^1.13.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_2.0.0-pre-1.0_1613055017005_0.16516859078867085","host":"s3://npm-registry-packages"}},"2.0.0-pre-1.1":{"name":"@fastly/performance-observer-polyfill","version":"2.0.0-pre-1.1","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@2.0.0-pre-1.1","maintainers":[{"name":"benpink","email":"bjpinkerton@gmail.com"},{"name":"alitorbati","email":"ali.torbati@gmail.com"},{"name":"johnmdonahue","email":"johnmdonahue@gmail.com"},{"name":"hschaaf_fastly","email":"hschaaf@fastly.com"},{"name":"txantslusam-jootbox","email":"mateusz@jootbox.eu"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"akappen","email":"akappen@fastly.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"lturk","email":"lturk@fastly.com"},{"name":"tomyoung","email":"hello@tomyoung.co.nz"},{"name":"cdurkee","email":"cdurkee@fastly.com"},{"name":"conniechu929","email":"cchu@fastly.com"},{"name":"stevendaniels","email":"stevendaniels88@gmail.com"},{"name":"briemarie","email":"bhodson@fastly.com"},{"name":"nilium","email":"ncower@nil.dev"},{"name":"torch2424","email":"aaron@aaronthedev.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"c1fccf46b96a9c619f0f1418481d00d979c80648","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-2.0.0-pre-1.1.tgz","fileCount":23,"integrity":"sha512-/KknLC4Dnq/F4I6GW0c0GS+Gw+Rvzu85/xFhY3FGIkGbYw8bz8P91DUQPsDgHZMWKo83+rtzSSR/pm4IYgAjvg==","signatures":[{"sig":"MEYCIQDSz/i60UuOEn1FP+KiEYhoBV0QGlg0xU3npEArryjCLgIhAPcKIwT4Lj3uU9tu6ys7W5BYplPDcgoOHFZIcNY2H03F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKqXyCRA9TVsSAnZWagAAFOkP/RwtxZx8uzL4/1usSBZq\nhT18AuPJhbViha2Fa7/LOmkhJSeiioNG7ELhqF9dYujzJtU25KEBZW+5TXRo\n1icElB8WQcQzvsDQ5n2IKVPwvHnJ6MTFC1rIrwGxRI3wGPI2wUdhEaBp6LFQ\nN4SHk5IlUeVOkeMBESvKi+/RrRsJMjGXhlqvyTMM1Bu9NmTyA/KKICLBMdW+\njhC2PzBGY5Q3YDTpv7XjBt6O4iF+0pFZlbFjHLFuKo+PhR9Q1m5Ogzt1oXV9\nWitigeiCy0rpSB6Mp/nq0TY1cAmHQ7K23aOH2YagdAsQv+/R4XsNDm2/O04j\nS3cuYAm8LFPVIqkcj5uEYdLT9BUEpCCBDVgMSGya+hKNmliJ+096Jd/kTHKH\nN2NVrJfCLBk6XeWTmADozFuDow0rY/9Ru6oQg5fM3pVg0VFOF2ZLxoW+tvFK\naxtlatUicFaU2d+eq7zCmWW9DtddQ2/FKC5ZfJIrDeNoZ/cBStS0qzIJVKbf\nbahiOMOKb549EW4EPw3kAYyes8GG81hDMwWyyIEFiiAgWJmLp7/FhB87G+oa\nt4d7pe47rxhFotLC7RbOOuOjGpy4Qk2kQWcTtufVBVCXLEU0Q9D7ehrm2DXg\n+V4cD3ET/ChgjMPMZR8otOmiG+rqN+1rNVB3Akv2/GNFZS+gpLTZOudZyvi7\nt5KW\r\n=2rTr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"dist/esm/types/index.d.ts","module":"dist/esm/index.js","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polyfill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polyfill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polyfill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"a8bc0bb350461519686ec742266c50268f68fcd3","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"rollup -c --environment ENV:prod","start":"rollup -c --environment ENV:dev","release":"npx np","build:dev":"npm run start","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"7.3.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"15.5.1","dependencies":{"tslib":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^2.7.0","eslint":"^5.16.0","rollup":"^2.30.0","core-js":"^3.4.0","ts-jest":"^26.4.4","prettier":"^1.17.1","typescript":"^3.9.7","@types/jest":"^24.0.22","@types/node":"^14.14.10","eslint-loader":"^2.2.1","jest-mock-random":"^1.0.2","@rollup/plugin-html":"^0.2.0","rollup-plugin-serve":"^1.1.0","rollup-plugin-sizes":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-license":"^2.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","@rollup/plugin-typescript":"^6.1.0","@typescript-eslint/parser":"^1.13.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_2.0.0-pre-1.1_1613407730346_0.21951346189845888","host":"s3://npm-registry-packages"}},"2.0.0-pre-1.2":{"name":"@fastly/performance-observer-polyfill","version":"2.0.0-pre-1.2","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@2.0.0-pre-1.2","maintainers":[{"name":"benpink","email":"bjpinkerton@gmail.com"},{"name":"alitorbati","email":"ali.torbati@gmail.com"},{"name":"johnmdonahue","email":"johnmdonahue@gmail.com"},{"name":"hschaaf_fastly","email":"hschaaf@fastly.com"},{"name":"txantslusam-jootbox","email":"mateusz@jootbox.eu"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"akappen","email":"akappen@fastly.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"lturk","email":"lturk@fastly.com"},{"name":"tomyoung","email":"hello@tomyoung.co.nz"},{"name":"cdurkee","email":"cdurkee@fastly.com"},{"name":"conniechu929","email":"cchu@fastly.com"},{"name":"stevendaniels","email":"stevendaniels88@gmail.com"},{"name":"briemarie","email":"bhodson@fastly.com"},{"name":"nilium","email":"ncower@nil.dev"},{"name":"torch2424","email":"aaron@aaronthedev.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"4d3df58ee96ef85068be70aeb5f147c58fac490d","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-2.0.0-pre-1.2.tgz","fileCount":23,"integrity":"sha512-vqexn4o1xY6agEYXUszCNEML4oKNr0gIvIE6WvljL17DZw+BBbTG0/GHySZHBjwHLKr69S0lYtkyWi6954bW8g==","signatures":[{"sig":"MEQCIF9z6UVVHWb2tlvQOBoAW7W/1wjNwksvb60nvWVH5ZlCAiBm3LNiHqhlUDfQM04ZhmWC3h4EyEIm3LHfxBoMpS7ttQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKqyqCRA9TVsSAnZWagAAkAkQAJ/H3lBFLDFUJNWNcogq\nGRh2yClxkx+glB0lzaNrXBQO7oTkDJm34ee/uPpUnDNThq6N8E8QhmKs8xnJ\nWf+vkIczKtw999mlVslTzdCJhIpYRtwKC7WeAr+IpSaZs8/4qvTbIO+Sl7tu\nQhBf+d8wYDRlkTciUNyrBEo8HRO9z1XKPe4jC75mq4Tw3NIOvvRdAjzyNRIb\nWq0jEiNx8CClEOopi6IJD3rl1yHtItBrhPWY2R1lQxMtD2oHTxBhAkttMtOF\n/yocEwgOPIQHvhlVpktGa9kpZacW4d4HgGYXNpjvw/OTDHVu1QiS7LbX1dIs\ntoVoddGAJHJt7vFDv76KWu4fphaAzcAbjXMkeCFGwcVIG3U3WEygy2/GlfvT\npU6A9S4mHeUDwmgQkhETVO7GeFiGP3Sc1wRH7qvIHC9roqqNF1hvhcApAO92\nj4iahG3I1uMtlKpFDo3mFDAiKV8M9mttEQ27R7tNv3TjZwh2wBsvlU1jUjog\n5ixTS/ymuBVGfmLekGS481LCs5HZ8JhbyYu8UzCplAPK8CLtz8SttzNSyO3L\n/q3+OOmyNsrKhHRVpSFiuB7TellQA6JzMewKgDyYepcY+QUG9jp4gAs4DYBR\nmEmVMiYz6E/KUE2letjyFg8FOpFuENjZz1PHsOiBGaXUZEZkqsEYGhoGk9Se\nG8r4\r\n=WfyU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"dist/esm/types/index.d.ts","module":"dist/esm/index.js","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polyfill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polyfill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polyfill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"81ab3195c282447155e6de1e501e1ffb5fb13b4b","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"rollup -c --environment ENV:prod","start":"rollup -c --environment ENV:dev","release":"npx np","build:dev":"npm run start","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"7.3.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"15.5.1","dependencies":{"tslib":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^2.7.0","eslint":"^5.16.0","rollup":"^2.30.0","core-js":"^3.4.0","ts-jest":"^26.4.4","prettier":"^1.17.1","typescript":"^3.9.7","@types/jest":"^24.0.22","@types/node":"^14.14.10","eslint-loader":"^2.2.1","jest-mock-random":"^1.0.2","@rollup/plugin-html":"^0.2.0","rollup-plugin-serve":"^1.1.0","rollup-plugin-sizes":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-license":"^2.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","@rollup/plugin-typescript":"^6.1.0","@typescript-eslint/parser":"^1.13.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_2.0.0-pre-1.2_1613409450390_0.6923913648424216","host":"s3://npm-registry-packages"}},"2.0.0-pre-1.3":{"name":"@fastly/performance-observer-polyfill","version":"2.0.0-pre-1.3","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@2.0.0-pre-1.3","maintainers":[{"name":"benpink","email":"bjpinkerton@gmail.com"},{"name":"alitorbati","email":"ali.torbati@gmail.com"},{"name":"johnmdonahue","email":"johnmdonahue@gmail.com"},{"name":"hschaaf_fastly","email":"hschaaf@fastly.com"},{"name":"txantslusam-jootbox","email":"mateusz@jootbox.eu"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"akappen","email":"akappen@fastly.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"lturk","email":"lturk@fastly.com"},{"name":"tomyoung","email":"hello@tomyoung.co.nz"},{"name":"cdurkee","email":"cdurkee@fastly.com"},{"name":"conniechu929","email":"cchu@fastly.com"},{"name":"stevendaniels","email":"stevendaniels88@gmail.com"},{"name":"briemarie","email":"bhodson@fastly.com"},{"name":"nilium","email":"ncower@nil.dev"},{"name":"torch2424","email":"aaron@aaronthedev.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"f486ea4914552e94cc2ca37bc2b30e32ebe1340f","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-2.0.0-pre-1.3.tgz","fileCount":26,"integrity":"sha512-52HmGENmVrsgEvg9sx4Zx7TlMxnPMAPoJ7aDvrKH6vmLGTZhTQo43+uP4h3lLf9fKGjUoq135O4f2nQj6wBBFQ==","signatures":[{"sig":"MEQCIDonBu24tCtyATGEvSmIZmbsaDlkVn6BRNflEQpKYe5+AiBzLupx17V4O4X+1n6FdoGxGPiQwpsYeQNIszm5CU/CUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgK7Z3CRA9TVsSAnZWagAAnDUQAIbEswjwYhMoRB7flIGQ\nqIkGmOgxqckOMS+qo2JAgniE1Czo0P2WdBalL2KW5JVdWHrSJdiVPFFvl85i\nxPwS1VAezP4Kup5MH8Yjkwm2trWjI4uX9kvo+6XnUclt7htNF0pzb34PMyYT\nrWIJTTCjaX/QGKX7NQUuJEIJINlec6ljMfU4d2YUh+iZl14gROlHj7qX8tCY\n1ebYeGrpBTgd4HVnq+0DpKE16WOH1AYUmP96dEdIgjBsHsXIHa8gaIIrL4Kf\n0qm2ivUEQkOo/xb80QLhrYzaTeoLLsOrYRbiRqhczjUGbsRzivGWgmNLST4+\nL2+aJiWZvlVo07ncwr0ZoMh6/a8TF2BTGJCdm4YDEP//s4qt2fqlENJQ3fqd\ntLk7H7iQaOAiiTpe22VneMeyx0YvTkNnrjZO9ocjKTwAHW8/HQOj05WtS1EA\nqmhyOt3RZVfjbOW2e3cc6Q+T4HbYtCh52a4mXTKMRVVxkmAZnaieoYIs1Ebn\nnC3dhzGWazPmXTpfQe8XndKfbxoCg8Zx4siPCbi3LPBpeNCmJvm7goGTwi0u\n7FXrBQv4pWkDFPSyDS7itYs6OAvF/uoOTKyF/QPV6IpdMHUGv0ITv2pEGOOg\n+4heSrnsBKrB0cwLSo5tsb3Z1XvFJ68gHGOBqxHeSfKDrpPwLDv+UqYaxuCI\naFJf\r\n=2vfA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"dist/esm/types/index.d.ts","module":"dist/esm/index.js","readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polyfill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polyfill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polyfill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","gitHead":"81d74c66e9a52d5f73b6967e85ba3d4798a4abae","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"rollup -c --environment ENV:prod","start":"rollup -c --environment ENV:dev","release":"npx np","build:dev":"npm run start","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"7.3.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"15.5.1","dependencies":{"tslib":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^2.7.0","eslint":"^5.16.0","rollup":"^2.30.0","core-js":"^3.4.0","ts-jest":"^26.4.4","prettier":"^1.17.1","typescript":"^3.9.7","@types/jest":"^24.0.22","@types/node":"^14.14.10","eslint-loader":"^2.2.1","jest-mock-random":"^1.0.2","@rollup/plugin-html":"^0.2.0","rollup-plugin-serve":"^1.1.0","rollup-plugin-sizes":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-license":"^2.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","@rollup/plugin-typescript":"^6.1.0","@typescript-eslint/parser":"^1.13.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_2.0.0-pre-1.3_1613477494780_0.8930197127248667","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@fastly/performance-observer-polyfill","version":"2.0.0","keywords":["performance","performanceobserver","polyfill"],"license":"MIT","_id":"@fastly/performance-observer-polyfill@2.0.0","maintainers":[{"name":"uberfuzzyfastly","email":"uberfuzzy@fastly.com"},{"name":"benpink","email":"bjpinkerton@gmail.com"},{"name":"alitorbati","email":"ali.torbati@gmail.com"},{"name":"johnmdonahue","email":"johnmdonahue@gmail.com"},{"name":"hschaaf_fastly","email":"hschaaf@fastly.com"},{"name":"txantslusam-jootbox","email":"mateusz@jootbox.eu"},{"name":"darryldexter","email":"darryl.dex@gmail.com"},{"name":"triblondon","email":"andrew@trib.tv"},{"name":"fgsch","email":"fgsch@lodoss.net"},{"name":"jason-maier","email":"jason.maier@fastly.com"},{"name":"leklund","email":"leklund@gmail.com"},{"name":"pabergman","email":"alexander.bergman@gmail.com"},{"name":"gschorkopf","email":"gschorkopf@gmail.com"},{"name":"andri_antonia","email":"andri@fastly.com"},{"name":"bernabas","email":"dbernabas@gmail.com"},{"name":"gerlando","email":"gerlando@gmail.com"},{"name":"philippschulte","email":"philipp.schulte@ymail.com"},{"name":"thommahoney","email":"mahoneyt@gmail.com"},{"name":"psbanka","email":"peter.banka@gmail.com"},{"name":"tundal45","email":"tundal45@gmail.com"},{"name":"evrowe","email":"ev.rowe@gmail.com"},{"name":"vaporbook","email":"aaron@bookglutton.com"},{"name":"jianzhu","email":"jzhu@fastly.com"},{"name":"sokeefe","email":"sokeefe@fastly.com"},{"name":"lflores","email":"lflores@fastly.com"},{"name":"rsouzafastly","email":"rsouza@fastly.com"},{"name":"patrickhamann","email":"patrick@fastly.com"},{"name":"asergeyev","email":"asergeyev@fastly.com"},{"name":"thebsantiago","email":"bsantiago@fastly.com"},{"name":"jasminedaly","email":"jasmine@fastly.com"},{"name":"chicagoing","email":"estellagmadison@gmail.com"},{"name":"miniheyd","email":"steve@highdwellercreative.com"},{"name":"erniemiller","email":"ernie@ernie.io"},{"name":"tehviking","email":"brandon.hays@gmail.com"},{"name":"annawinkler","email":"me.anna.winkler@gmail.com"},{"name":"gavin_love","email":"1gavin.love@gmail.com"},{"name":"cbuscher","email":"cbuscher@fastly.com"},{"name":"akappen","email":"akappen@fastly.com"},{"name":"hmorrison","email":"hmorrison@fastly.com"},{"name":"jparrish","email":"jparrish@fastly.com"},{"name":"rhendricksen","email":"rhendricksen@fastly.com"},{"name":"qpowell","email":"quintenpowell@gmail.com"},{"name":"squeemishly","email":"squeemishly@gmail.com"},{"name":"lturk","email":"lturk@fastly.com"},{"name":"tomyoung","email":"hello@tomyoung.co.nz"},{"name":"cdurkee","email":"cdurkee@fastly.com"},{"name":"conniechu929","email":"cchu@fastly.com"},{"name":"stevendaniels","email":"stevendaniels88@gmail.com"},{"name":"briemarie","email":"bhodson@fastly.com"},{"name":"nilium","email":"ncower@nil.dev"},{"name":"torch2424","email":"aaron@aaronthedev.com"}],"homepage":"https://github.com/fastly/performance-observer-polyfill#readme","bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"dist":{"shasum":"fb697180f92019119d8c55d20216adce6436f941","tarball":"https://registry.npmjs.org/@fastly/performance-observer-polyfill/-/performance-observer-polyfill-2.0.0.tgz","fileCount":26,"integrity":"sha512-cQC4E6ReYY4Vud+eCJSCr1N0dSz+fk7xJlLiSgPFDHbnFLZo5DenazoersMt9D8JkEhl9Z5ZwJ/8apcjSrdb8Q==","signatures":[{"sig":"MEQCIH4U3EtlzlkmsaOkglalVqDNF8l65pT3uAOwQ5SBDbr0AiAa86D/84TI8wdmyKO7/SfRB09tVt+LvH8kCwX1DJ/brg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2GxbCRA9TVsSAnZWagAAWQwQAKF75V7WeZWY6VsBOYFU\neBdomLVOwLbnID4pdwZ5VVdS+thbh+Apyk7mYBVUBk0cejwyp3MH+7G/SwpO\ni9I4X/GUti/YGtegDoLBquYSUdbWvW8QjB3IxrUaWsVe81I2/BAbweZuN70q\n2xhbhaoy0gFkMeM1pVe8E6mYW++oTimkaUD8Nzc2bla6plUZUepfxk+7VMhM\nx/RcydF+IC3omaSVXN8y8iTs77wiHap/38ffT6SRg7YAWWgHAfJFAqaLLUMK\ndyV1DE0AEo9o6R3r+XctofLpY97aB5s4Vz75lM2dI/4SEISa8nOyfHuvEmds\nLjdlhCAdAFXkmAbJGYenys8zuJy2SZXrGVitnl1YBEH9NuTPGf85UrfxSXbF\nJnQQRUkBY1Dplmzzl0WDsaIU/VFpoKNsUR7gFIi51gvu1Tn4sLLllNGuITEo\nU/ovWRsrdixy/ngdZMSdWi9UaQN/FmGPgCQme7Y18APIdKbib78LoL/NzSON\nRb2eu59EDJP65dJnXgcSMWrBq9LU6HHhtNPdKl3aWXOLv4+8/n+iICIeo++9\nxmBI31AEDZ/DsIdwD7qVeDoGtSSr08ryVrWAQxIMF30d51lsJ0+q2OVyhGuX\n/KAFQXg997IDo291h4pNXuaa6yBj/SL9N8x/M+bsO4hGD55BAYISWN8lUqeX\nj/mc\r\n=17sc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"npm test"}},"types":"dist/esm/types/index.d.ts","module":"dist/esm/index.js","gitHead":"bf6757108ea8ef0e679d7ddc14df68a20a973beb","scripts":{"lint":"tsc --noEmit && eslint '*/**/*.ts' --fix","test":"npm run test:once && npm run lint","build":"rollup -c --environment ENV:prod","start":"rollup -c --environment ENV:dev","release":"npx np","build:dev":"npm run start","test:once":"jest --coverage","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"patrickhamann","email":"patrick@fastly.com"},"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"_npmVersion":"7.3.0","description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","directories":{},"_nodeVersion":"15.5.1","dependencies":{"tslib":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^2.7.0","eslint":"^5.16.0","rollup":"^2.30.0","core-js":"^3.4.0","ts-jest":"^26.4.4","prettier":"^1.17.1","typescript":"4.1","@types/jest":"^24.0.22","@types/node":"^14.14.10","eslint-loader":"^2.2.1","jest-mock-random":"^1.0.2","@rollup/plugin-html":"^0.2.0","rollup-plugin-serve":"^1.1.0","rollup-plugin-sizes":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-license":"^2.2.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.1","@rollup/plugin-typescript":"^6.1.0","@typescript-eslint/parser":"^1.13.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/performance-observer-polyfill_2.0.0_1614092185649_0.5927854907657468","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-06-13T15:13:27.071Z","modified":"2026-08-03T19:11:26.855Z","1.0.0":"2019-06-13T15:13:27.443Z","1.0.1-0":"2019-06-17T10:36:17.291Z","1.0.2-0":"2019-06-17T10:58:38.017Z","1.0.2":"2019-06-19T13:20:17.376Z","1.1.0":"2019-11-25T15:33:55.915Z","1.1.1":"2020-04-20T11:57:39.027Z","2.0.0-pre-1":"2021-02-10T13:52:42.871Z","2.0.0-pre-1.0":"2021-02-11T14:50:17.105Z","2.0.0-pre-1.1":"2021-02-15T16:48:50.658Z","2.0.0-pre-1.2":"2021-02-15T17:17:30.529Z","2.0.0-pre-1.3":"2021-02-16T12:11:35.006Z","2.0.0":"2021-02-23T14:56:25.842Z"},"bugs":{"url":"https://github.com/fastly/performance-observer-polyfill/issues"},"license":"MIT","homepage":"https://github.com/fastly/performance-observer-polyfill#readme","keywords":["performance","performanceobserver","polyfill"],"repository":{"url":"git+https://github.com/fastly/performance-observer-polyfill.git","type":"git"},"description":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1> <p align=\"center\">   <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">     <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-obs","maintainers":[{"email":"tartanllama@gmail.com","name":"tartanllama"},{"email":"npm@zkat.tech","name":"zkat"},{"email":"harmony7@pex2.jp","name":"harmony7"},{"email":"devrel@fastly.com","name":"fastly_devrel"}],"readme":"<h1 align=\"center\" style=\"border-bottom: none;\">🔎 PerformanceObserver Polyfill</h1>\n<p align=\"center\">\n  <a href=\"https://travis-ci.org/fastly/performance-observer-polyfill\">\n    <img alt=\"Travis\" src=\"https://img.shields.io/travis/fastly/performance-observer-polyfill/master.svg\">\n  </a>\n  <a href=\"https://unpkg.com/@fastly/performance-observer-polyfill/polyfill\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/@fastly/performance-observer-polyfill/polyfill/index.js?compression=gzip\" alt=\"gzip size\">\n  </a>\n</p>\n\nThe [`PerformanceObserver`](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver) interface is a JavaScript API that can be used to observe the [Performance Timeline](https://www.w3.org/TR/performance-timeline-2/#dfn-performance-timeline) to be notified of new performance metrics as they are recorded.\n\nThis polyfill allows consumers to use the `PerformanceObserver` interface within browser environments, which have basic Performance Timeline support (I.e. `window.performance.getEntries()`), but don't have observer support. \n\nThe polyfill works by falling back to polling the Performance Timeline on a given interval and calling all subscribed observers with the resulting set of entires. \n\n## Quick links\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#development)\n- [License](#license)\n\n## Installation\n```sh\nnpm install --save @fastly/performance-observer-polyfill\n```\n\n## Usage: \n\n### As a [polyfill](https://ponyfill.com/#polyfill)\nThis automatically \"installs\" PerformanceObserverPolyfill as `window.PerformanceObserver()` if it detects PerformanceObserver isn't supported:\n\n```js\nimport '@fastly/performance-observer-polyfill/polyfill'\n\n// PerformanceObserver is now available globally!\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']});\n```\n\n### Usage: As a [ponyfill](https://github.com/sindresorhus/ponyfill)\n\nWith a module bundler like [rollup](http://rollupjs.org) or [webpack](https://webpack.js.org),\nyou can import `@fastly/performance-observer-polyfill` to use in your code without modifying any globals:\n\n```js\n// using JS Modules:\nimport PerformanceObserver from '@fastly/performance-observer-polyfill'\n\n// or using CommonJS:\nconst PerformanceObserver = require('@fastly/performance-observer-polyfill')\n\n// usage:\nconst observer = new PerformanceObserver((list) => {});\nobserver.observe({entryTypes: ['resource']})\n```\n\n## Caveats\nAs the polyfill implements the PerformanceObserver interface by falling back to polling the Performance Timeline via a call to `window.performance.getEntries()` we are limited to only expose timeline entry types that are supported by `getEntries()`. Therefore the polyfill can only be used to observe the entry types: `navigation`, `resource` and `mark`. Newer entry types such as `paint` are only exposed by the native PerformanceObserver implementation and thus not polyfillable. \n\n## Development\n\n### Requirements\n- Node.js >= 10\n\n### Install\n```sh\ngit clone git@github.com:fastly/performance-observer-polyfill.git\ncd performance-observer-polyfill\nnpm install\nnpm run build\n```\n\n## Running\nMost actions you'd like to perform whilst developing performance-observer-polyfill are defined as NPM scripts tasks and can be invoked using `npm run {task}`.\n\nA list of all commands and their description can be found below.\n\n\n| Name      | Description                                                                                                    |\n| --------- | -------------------------------------------------------------------------------------------------------------- |\n| build     | Compiles the application for production environments                                                           |\n| build:dev | Compiles the application for development                                                                       |\n| lint      | Lints the source files for style errors using ESLint and automatically formats the source files using prettier |\n| test      | Runs the unit test suite                                                                                       |\n\n## License\n[MIT](https://github.com/fastly/insights.js/blob/master/LICENSE)\n","readmeFilename":"README.md"}