{"_id":"@acifani/url-polyfill","_rev":"1-55e77f10880244bb00bb6e65f023e208","name":"@acifani/url-polyfill","dist-tags":{"latest":"1.1.9"},"versions":{"1.1.9":{"name":"@acifani/url-polyfill","version":"1.1.9","description":"Polyfill URL and URLSearchParams","main":"url-polyfill.js","scripts":{"start":"uglifyjs url-polyfill.js --stats -m -o url-polyfill.min.js","test":"node ./tests/test.js","serve":"http-server  ./ -p9876"},"repository":{"type":"git","url":"git+https://github.com/acifani/url-polyfill.git"},"author":{"name":"acifani"},"license":"MIT","devDependencies":{"http-server":"^0.11.1","selenium-webdriver":"^4.0.0-alpha.1","uglify-js":"^3.4.9","@types/node":"^10.12.18"},"gitHead":"7d60869dda95b8d9e2363f8b33596f293bb4ed38","bugs":{"url":"https://github.com/acifani/url-polyfill/issues"},"homepage":"https://github.com/acifani/url-polyfill#readme","_id":"@acifani/url-polyfill@1.1.9","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"acifani","email":"alessandro.cifani@gmail.com"},"dist":{"integrity":"sha512-mdQA8um2i+BtXVn4dlcADpn1zi7Tvg5J5CSmhaUZknN5JZN0D/VBafrBC83EDBbzsKyjDzQsxxvF8Van8JNfdg==","shasum":"7278c393da89589c0bc2571f9c71955065cbfaec","tarball":"https://registry.npmjs.org/@acifani/url-polyfill/-/url-polyfill-1.1.9.tgz","fileCount":16,"unpackedSize":70602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesCxhCRA9TVsSAnZWagAAodQQAKUDLJiq/O7jNuqTgd0O\n/YgifZF3krC/Bsuy0UudNW/7v7AtBkKOjO+oDSc1xcUamaopGn1QwYNjP9Dh\nY4mSCjXuVqPYk+0okFTsN7nb4ELhfLV6+4md7z71ejuCg+Zn1VWZq3M3YXi2\nN44jd6i09plBsv4XUSXMKz5NIeUUfE6R1cHyUmn8pqfH2o+njGDi9VrZPdSc\nacUMQt65hApYLKtN1E8Yo20g4WVZOJRsHQerNe2EC9OfvJblNdHWd+ErXxH8\nHpe/kBIPm1+OpkichCc1m8onS1Q2GoTDJ+0LV/OMVHnjTw9i+rsxGvKFV3bF\nYWDV1O8J/xt3o9LCJgGQjsGCMMKJFmp66CbLQfhkBTXCb/v2G253EXe2qrVf\nV+I04vwbFgXAFfhLthI8iPQOMN8klm2cvsx33b98EpNNn7jM722p9H+zh3vn\n0ZeLB7o77T+mTHnrJeR2uGlepruZHD3DBeu53PHRAYz9kb7d1a9VLZFPrEX1\nlG9ipUEQAO85H/WpJPYy+dRle+5L67xuF3XvzCAz7Ghzvt3FLLhvFuhlZohl\nytSSwaRBx6H46MInX1oMrEKfVtpOtUShtISyvnssczzdobieb8RdNArXe0lU\nr0LGs3NBJMt7ma29wtZw3zO2b/wzsfi1v1e/tQliXJAgKl5IV/WiFhIPd5w9\n9wKf\r\n=FH8i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEylczhFliv5XcY2O+ClCnkQGfuIIG9Jg4EUaPCMBNqYAiEAx2ZfsjrLKPrhT73nhFQsmWpDL4VLXlL83bkdHJS5mFc="}]},"maintainers":[{"name":"acifani","email":"alessandro.cifani@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/url-polyfill_1.1.9_1588604001471_0.38170889287454113"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-04T14:53:21.437Z","1.1.9":"2020-05-04T14:53:21.573Z","modified":"2022-04-04T11:11:22.254Z"},"maintainers":[{"name":"acifani","email":"alessandro.cifani@gmail.com"}],"description":"Polyfill URL and URLSearchParams","homepage":"https://github.com/acifani/url-polyfill#readme","repository":{"type":"git","url":"git+https://github.com/acifani/url-polyfill.git"},"author":{"name":"acifani"},"bugs":{"url":"https://github.com/acifani/url-polyfill/issues"},"license":"MIT","readme":"### Polyfill URL and URLSearchParams to match last WHATWG specifications\n\nCompliant in most of the use cases but not at 100% (like unicode chars, punycodes, etc...)\n\nTested on IE 10+\n\n#### Install\n```\nnpm i url-polyfill --save\n```\n\n#### Currently supported\n\n##### window.URL\n\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/API/URL\n\nSupported : 'hash', 'host', 'hostname', 'href', 'port', 'protocol', 'search', 'toString', 'pathname', 'origin', 'searchParams'\n\nExample:\n\n```js\nconst url = new URL('https://www.example.com:8080/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0');\n```\n- hash: `\"page0\"`\n- host: `\"www.example.com:8080\"`\n- hostname: `\"www.example.com\"`\n- href: `\"https://www.example.com:8080/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0\"`\n- origin: `\"https://www.example.com:8080\"`\n- pathname: `\"/\"`\n- port: `\"8080\"`\n- protocol: `\"https:\"`\n- search: `\"?fr=yset_ie_syc_oracle&type=orcl_hpset\"`\n- searchParams: URLSearchParams (see next)\n\n##### window.URLSearchParams\n\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams\n\nSupported : 'append', 'delete', 'get', 'getAll', 'has', 'set', 'forEach', 'keys', 'values', 'entries', 'toString', 'Symbol.iterator'\n\nExample:\n\n```js\nconst url = new URL('https://www.example.com/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0');\nurl.searchParams.append('page', 0);\nconsole.log(url.toString()); // print: \"https://www.example.com/?fr=yset_ie_syc_oracle&type=orcl_hpset&page=0#page0\"\n```\n","readmeFilename":"README.md"}