{"_id":"@bumble/axios-cached-dns-resolve","_rev":"8-2b767ebbf4982b180c1ee9183ab3b591","name":"@bumble/axios-cached-dns-resolve","dist-tags":{"latest":"1.1.6"},"versions":{"1.1.1":{"name":"@bumble/axios-cached-dns-resolve","version":"1.1.1","main":"index.js","type":"module","description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","scripts":{"watchUnit":"NODE_ENV=DEBUG ava --fail-fast -v **/__tests__/**/*test*.js --watch","ava":"ava","test":"npm run ava","watchLint":"esw . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix --watch","lint":"eslint . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix"},"engines":{"node":">=10.13.0"},"esm":{"force":true,"mode":"auto"},"keywords":["axios","dns","cache","resolve","lookup"],"author":{"name":"Troy Collinsworth"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"devDependencies":{"ava":"^3.13.0","axios":"^0.21.0","body-parser":"^1.19.0","delay":"^4.4.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-watch":"^7.0.0","express":"^4.17.1","ignore-styles":"^5.0.1","esm":"^3.2.25"},"dependencies":{"json-stringify-safe":"^5.0.1","lru-cache":"^6.0.0","pino":"^6.7.0","pino-pretty":"^4.3.0"},"ava":{"files":["**/__tests__/**/*test*.js"],"failFast":true,"verbose":true,"require":["esm","ignore-styles"]},"gitHead":"0f55aaaad94bab9411bac8ea6fb1c3ba2fdf48bb","bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","_id":"@bumble/axios-cached-dns-resolve@1.1.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-pHmcWwA6FPoVamNZIEwr0qLrUhRsIXN9h7Uh2bHuaTzV5M+VZ2sZgR8yxsCIH0A7Q+XAKOOC7Y6Y/2DSUu92dg==","shasum":"4afe25204d11b7b7d905f176a58f2c8d899b57b0","tarball":"https://registry.npmjs.org/@bumble/axios-cached-dns-resolve/-/axios-cached-dns-resolve-1.1.1.tgz","fileCount":9,"unpackedSize":17677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvNIoCRA9TVsSAnZWagAAVGcP/0E9oqnEQArccMvwXeHe\ndz/lrFKBdqV8o+QK4An++RwE3nNPo1WEwxE0wn/ihpnraBAI9Qt3ygLnBO2y\nWmLeknl+hiKrvYajCJ+vpax+Q2koYenk7YQZtPYvKPq4DNvPA6yBnJN2EZkH\naoHVOmPLmXgX8rVNra+r6ip4p+sQfkH/owmeETcJkOgDHy/3UbA8Iv7c7Azs\nSjlWOlq8gPej5FLb8Z14MYOEmPwjkdHwaHb5nZtdAiJT4awLf8QvzPFxlgfT\nMuWRf05MLEsWkz0rMPSP559Kw2gTyu81l2SawTGF3I7/mnl6hDZSPSIDW/us\ntfNRCTe461JAJODUr2VWy5XQz2Coih9xYGg3A16EX/n4A4MTtmVDHdvq3S6/\nY+a3FmMNfVq52dzt5Uw3I9g2QR7lK6u4d1hecXkjPtBGpqOxCg+yQ1UxuH68\n1d+e0u87/dAtMwM2Rgt/SdTubSEV0+PzSmTfpTU+YceBR3GcY8fYNcFO7Wzu\nD90pPaT0JtMRiP1qCk4gWHtSejQRTS8vBC51I1cj9lbr/IST1EhzRvKxrS+N\nTgzjYA9KQixloD13vjXldQjTA39MU75vE4mvkQqbNV/mUzDLpP6L48JFX3kb\nRO8g1QFqZRmD4gyjfSTIuUC1JwFKvJs1qIA7hnQP4R2ZgWBRkGSjnbRE7tlb\nlzwV\r\n=Vl7U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPPiCi8JQw0YxmIx4J1pP8e5qtiLf5+XfdHyWSxMACYAiAfYU3FudpBwiArR9O6aQ24xzeGNjFu4mht7sbkIBvthQ=="}]},"_npmUser":{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},"directories":{},"maintainers":[{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cached-dns-resolve_1.1.1_1606210087920_0.7892581191743266"},"_hasShrinkwrap":false},"1.1.2":{"name":"@bumble/axios-cached-dns-resolve","version":"1.1.2","type":"module","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","exports":{"./esm":"./lib/esm/index.js"},"description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","scripts":{"watchUnit":"NODE_ENV=DEBUG ava --fail-fast -v **/__tests__/**/*test*.js --watch","ava":"ava","test":"npm run ava","watchLint":"esw . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix --watch","lint":"eslint . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"rm -rf lib && npm run tsc"},"engines":{"node":">=10.13.0"},"esm":{"force":true,"mode":"auto"},"keywords":["axios","dns","cache","resolve","lookup"],"author":{"name":"Troy Collinsworth"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"devDependencies":{"ava":"^3.13.0","axios":"^0.21.1","body-parser":"^1.19.0","delay":"^4.4.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-watch":"^7.0.0","esm":"^3.2.25","express":"^4.17.1","ignore-styles":"^5.0.1","typescript":"^4.2.4"},"dependencies":{"json-stringify-safe":"^5.0.1","lru-cache":"^6.0.0","pino":"^6.7.0","pino-pretty":"^4.3.0"},"ava":{"files":["**/__tests__/**/*test*.js"],"failFast":true,"verbose":true,"require":["esm","ignore-styles"]},"gitHead":"0f55aaaad94bab9411bac8ea6fb1c3ba2fdf48bb","bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","_id":"@bumble/axios-cached-dns-resolve@1.1.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-HEdLgHu82yu5ywUZYFLNMZmPwvsjib3nDBcM7BMp63CWQicLHqprebdEp8mJheM9zAnNPM/zKBpoB18Em9ik7g==","shasum":"e8ef9eb9f3fda154d489d4d11689a8cb59f03571","tarball":"https://registry.npmjs.org/@bumble/axios-cached-dns-resolve/-/axios-cached-dns-resolve-1.1.2.tgz","fileCount":9,"unpackedSize":30311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd1ovCRA9TVsSAnZWagAAoEsP/A1mgEcODae2slAAKgkY\n6qk4zycAiFK3vM6lfeZ/AlfwRKAwwqAu0mfKQahpPWt1K6YGmmfasOiyhLvV\np/FOrW4KXUuzcGQNEsLhyGZhrcdQpYD7YrCXw3EwPu3KTWzZJ+IiABdsYKpp\nxgYaZnOK+t1Q39MspagILSuPxiEct2tT1WYeSCMK8fOrZ7snSjfuPunmLlnM\nwdPO5LaBlKIyfpsIUqtGzfrMDsGbVxPgbsED0MNR7B8YVRbdy4gbMWN9yZdM\nNJAJ1mEKo6Ki1zuqZTN3GmUJWMSUIwHgnDoqzrFeXH7vB1h81yJXQIvfAeaM\nl4lBbdfyQ9+4hXPl59vhmDdKlUuazEC01W67TWvqPFO9NFSN5SWhQPQ38lrc\nL8QsDrB0h7RFnxgyqxQNDblXhar8tKlte4hnVvN6MyvjyVrQ3ZBEgYz4UYFI\nVfRI2qcfveIp6nlJObidhQZdDpsPCmnUIUkPJXAct1wFhScCVNMz5KeLf4hT\nGBa30y2Z7YWWujv9cqetYQahiUA1qX5HG8WFcFfyoP0RJ0+pkaT15JfafClD\nqz34d6PnlYkwx7apXycJqg03Oh8VOxNJDrIlNaT2+LhFWsqk7yZpim8j3eHd\nfURgnvuHgANFmyenZZVIImeZlR0hQp8JAHHWNQd8RpukN6sTHiratwad+60f\nAkbF\r\n=yDuU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAh3AyASygeTeEyZJz3cyDhURkGPYpvJu+DbQIL/CKZOAiAaolMGF3TemgbFcF1v9Xwo+9sfjS1GxF0wPu0fBLSOxw=="}]},"_npmUser":{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},"directories":{},"maintainers":[{"name":"bumble-core-services","email":"user-acquisition-tooling@team.bumble.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"langolf","email":"sasha.langolf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cached-dns-resolve_1.1.2_1618434606839_0.2524498504090502"},"_hasShrinkwrap":false},"1.1.3":{"name":"@bumble/axios-cached-dns-resolve","version":"1.1.3","type":"module","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","exports":{"./esm":"./lib/esm/index.js","./":"./lib/cjs/index.js"},"description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","scripts":{"watchUnit":"NODE_ENV=DEBUG ava --fail-fast -v **/__tests__/**/*test*.js --watch","ava":"ava","test":"npm run ava","watchLint":"esw . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix --watch","lint":"eslint . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"rm -rf lib && npm run tsc"},"engines":{"node":">=10.13.0"},"esm":{"force":true,"mode":"auto"},"keywords":["axios","dns","cache","resolve","lookup"],"author":{"name":"Troy Collinsworth"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"devDependencies":{"ava":"^3.13.0","axios":"^0.21.1","body-parser":"^1.19.0","delay":"^4.4.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-watch":"^7.0.0","esm":"^3.2.25","express":"^4.17.1","ignore-styles":"^5.0.1","typescript":"^4.2.4"},"dependencies":{"json-stringify-safe":"^5.0.1","lru-cache":"^6.0.0","pino":"^6.7.0","pino-pretty":"^4.3.0"},"ava":{"files":["**/__tests__/**/*test*.js"],"failFast":true,"verbose":true,"require":["esm","ignore-styles"]},"gitHead":"0f55aaaad94bab9411bac8ea6fb1c3ba2fdf48bb","bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","_id":"@bumble/axios-cached-dns-resolve@1.1.3","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-FkHumDzsGHoXplvaCtDKr1Iv4Kb9wdEJGT1bi3Z/pEd6Xa5adtd8RAikxE5ryZETIx3eSMGDUmU1Tz1gjXbVpg==","shasum":"ae245743176bfc1abc16a5fe66b3e73d21596130","tarball":"https://registry.npmjs.org/@bumble/axios-cached-dns-resolve/-/axios-cached-dns-resolve-1.1.3.tgz","fileCount":9,"unpackedSize":30343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd1tZCRA9TVsSAnZWagAAE5kP/R3lXpFXRyXQW5YKfX5o\nxokN9FMzl4L2tUxQEPvMchjy/JjOZi3q7jn/EdQbx0zj+nA2HNuEsHCkRFUP\nzKBlLftuqEXZff7dpW7XXA307yQtwLTYAMNCi0JpSiXMPDtuz0UJvb0WPjxI\nJ5MWWPyqMGvpK5i+CKGNIsvDTJM8f2dY3HQTBEEBhZnUxRwdgAP1Mg5vLhd7\nBjp8Q0xgCu+lVcjKNFpm7WFCewZgteIsccEAHwj2M1JqGsVZA1VNUCzq46Mj\ncbvtwtPSzimCxehml2y4ZI1UeHyPRByg0vdcgOuDeKQxYMpnwK+Xp1ZWPA8P\nabjeV70AFV4c/K0vcbrefSuiUElfWvRmjTF/BKD5NnGsI8EMlqzUC3eVOPJ5\nRlyqDjvADEB82uY0srjci/2ZKps/pvGSPnqW6JoVfiEErvT4ckykblcAvKDr\nx8P0yBvwrn8n57GY5DY9liRIGSKm35Th8JgkuZps2i9ARpQVKJi5JO5s1r7h\n+Ih/9dt7HNGsRfk36tCf6s31S7qVLPnI4M8IU+Y8XpJkPTG6gei0TJRwQr1W\nrAjzR1H15OxRdAqrXONYUZRbdyxruhPknbn9ofosgcHCOJzqQ/HLS5JpK2Dd\nI19A2N2uGuqUr6W9LATcTs6Qa6cmDuUIX7WD1Gvhk3abYR6CPojYGCHmDt/V\nYnxp\r\n=7L+s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZPk2jU9aCcIDI/Y8G7qSsKxnDzMScrkaNIXLlt1lS2AiA4DyFqTj54bSNpOPL9Mj1kKj+R9B7qNxtQTb61oa/VWQ=="}]},"_npmUser":{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},"directories":{},"maintainers":[{"name":"bumble-core-services","email":"user-acquisition-tooling@team.bumble.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"langolf","email":"sasha.langolf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cached-dns-resolve_1.1.3_1618434905394_0.4570448987315465"},"_hasShrinkwrap":false},"1.1.4":{"name":"@bumble/axios-cached-dns-resolve","version":"1.1.4","type":"module","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","exports":{"./esm":"./lib/esm/index.js",".":"./lib/cjs/index.js"},"description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","scripts":{"watchUnit":"NODE_ENV=DEBUG ava --fail-fast -v **/__tests__/**/*test*.js --watch","ava":"ava","test":"npm run ava","watchLint":"esw . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix --watch","lint":"eslint . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"rm -rf lib && npm run tsc"},"engines":{"node":">=10.13.0"},"esm":{"force":true,"mode":"auto"},"keywords":["axios","dns","cache","resolve","lookup"],"author":{"name":"Troy Collinsworth"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"devDependencies":{"ava":"^3.13.0","axios":"^0.21.1","body-parser":"^1.19.0","delay":"^4.4.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-watch":"^7.0.0","esm":"^3.2.25","express":"^4.17.1","ignore-styles":"^5.0.1","typescript":"^4.2.4"},"dependencies":{"json-stringify-safe":"^5.0.1","lru-cache":"^6.0.0","pino":"^6.7.0","pino-pretty":"^4.3.0"},"ava":{"files":["**/__tests__/**/*test*.js"],"failFast":true,"verbose":true,"require":["esm","ignore-styles"]},"gitHead":"0f55aaaad94bab9411bac8ea6fb1c3ba2fdf48bb","bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","_id":"@bumble/axios-cached-dns-resolve@1.1.4","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-AOkCsDVDSnq0Lr68upd6xFg6RSvf7Gv9Le3Bxhzc3YKa+k4n3Ocqwxvxy6iaaPh1CRUiAL5DDhW+1i0u7wpqEg==","shasum":"79eaa6ef5764cd17d68259051cdadb4dcaf3c992","tarball":"https://registry.npmjs.org/@bumble/axios-cached-dns-resolve/-/axios-cached-dns-resolve-1.1.4.tgz","fileCount":9,"unpackedSize":30342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd1u+CRA9TVsSAnZWagAAEpEP/14elgJHe/rKvt+JlekI\n0BSwW8d5Coi+ji7xmEHoSIom7LzVwLqLVOm3vxNEyxEayuvlqvLXzr3afRXX\ndOi7/zdfMzT4QjpI1V/23evtO3uPLJu7pVlj/VjSbMRSnNn9aQun/v3uKEh9\nUCvwArmu1L4Z/QpZHZBjV1UQJgeSOCvKsJ5xfi4MyH26lrxdj2qWhoeL9S6A\nNkZmUgd16T4S9/v4uNCH6AOKjDL78GUP7fWCI81A/9xka2Vte96hHu6ftIA3\nFY2gyEacr+qY8G0ZoLJGIi2VbeQT732vDbA3qlqIKiTb+buHSyb6raoBTS47\n2XD3DDJfST8c+hjCwKBbgzQBqwsLewl3Vo0yEvOYE7dkHVS46TIBDHzQ8jkt\n5owtWfQY+XZRnE1IGv5EPKFqGMX5jDV0r+q6pcbCDP85pOwdxv1MqUrMCIvj\nCeNoDijHhI870eP8QMjPjh0G1Es1Zs+xOL+UONqyv84PYcDacYBPX8tjXKVy\nIv1giIYOZRLci60/HX0Q7AyomQCcp+lVFnwNBs7pjXfj3xGQLTauLQH8jZLd\n0t+B3yO76NfSFJIOWNJ6oQfwjFD9lL8foml6zZp1GOyVLfJbqWq/vFBaz2Gb\ncznVJxrhF65L46nNme2fK3I2lpoB38ffxAJeDh1I0muzVWlfDjd5hTSs1zIP\nu+I1\r\n=Cqy0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHpjt9NC6ugfz/pMha6NLb+LYcUBxIVEILxH8ty8SeNAiBH19lqVWpKLelz7feL44gKwKqLUMSOZMxo4riZmPgP8A=="}]},"_npmUser":{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},"directories":{},"maintainers":[{"name":"bumble-core-services","email":"user-acquisition-tooling@team.bumble.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"langolf","email":"sasha.langolf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cached-dns-resolve_1.1.4_1618435005787_0.9747945725999225"},"_hasShrinkwrap":false},"1.1.5":{"name":"@bumble/axios-cached-dns-resolve","version":"1.1.5","exports":{"./esm":"./lib/esm/index.js","./cjs":"./lib/cjs/index.js",".":"./lib/cjs/index.js"},"description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","scripts":{"watchUnit":"NODE_ENV=DEBUG ava --fail-fast -v **/__tests__/**/*test*.js --watch","ava":"ava","test":"npm run ava","watchLint":"esw . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix --watch","lint":"eslint . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"rm -rf lib && npm run tsc"},"engines":{"node":">=10.13.0"},"esm":{"force":true,"mode":"auto"},"keywords":["axios","dns","cache","resolve","lookup"],"author":{"name":"Troy Collinsworth"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"devDependencies":{"ava":"^3.13.0","axios":"^0.21.1","body-parser":"^1.19.0","delay":"^4.4.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-watch":"^7.0.0","esm":"^3.2.25","express":"^4.17.1","ignore-styles":"^5.0.1","typescript":"^4.2.4"},"dependencies":{"json-stringify-safe":"^5.0.1","lru-cache":"^6.0.0","pino":"^6.7.0","pino-pretty":"^4.3.0"},"ava":{"files":["**/__tests__/**/*test*.js"],"failFast":true,"verbose":true,"require":["esm","ignore-styles"]},"gitHead":"0f55aaaad94bab9411bac8ea6fb1c3ba2fdf48bb","bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","_id":"@bumble/axios-cached-dns-resolve@1.1.5","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-EbSAKYMwxB1OK2pd37kIQXv7UXoyQGEBjLX4miHyOGqzdnuLRqEUS5jCcuSAJavShL81gciv9xfeJ5f2UD0uYg==","shasum":"5fb39b63ed4b89e39d0acfa9885888e20c06b552","tarball":"https://registry.npmjs.org/@bumble/axios-cached-dns-resolve/-/axios-cached-dns-resolve-1.1.5.tgz","fileCount":9,"unpackedSize":30291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd107CRA9TVsSAnZWagAAeUcP/Rqag6pGI5IqtE8JBJLr\nyvzKQLML28itt2gnN0CaChtLadP3Ht1z3O4CmpnPi6POErnW+ijI8NZdiS2A\n8Y27kk3fSt7S4k46dkrh8Ihsh5PTkV9OavnuvSoC6P5jZjTmQjUcPSu+OqTL\nJ4+T/lfebB9IjniiT8pt49fVHqW9F64HVps6zyzqmopU1OK9Z8ZUw69331pZ\ni5+yXBD4nSEXkCr6sytM/2oQs15CJRiDKMBWdy0qd3AHeT4y7PFe3HZxeRTI\nOKrOgUUyDuTYBTxJc/U850Nwj7dDHvpocL7B3SQ+aPo37X1oBAB3wcgTIcMR\nxnxil3ctjR/+Z9ZrWJ8ZlevIV69xaq0q9cgIRA3w7EMQbqB13sMegsQ5hUQG\nFV7kA0SFHz3hQ3PL24wacfo32edIKBTIRcoKZUXQGmxYKj8R/letQOnIHZwM\nuoMw9aoAOyLi5x/U2buixo8GtXPG792riaQni49DiXmV1/RUwZlS5xFaz/XO\nCabXamApnQ1lC2UTpPhh6Gnv6w4dg4EQgAwlPVcJflmkQrTLNY0nhK4nyw8L\nRxcJnzkXm43tdFjnks2GDoRBtikb3x25Stl6pDXiENiPycw94UIZ88VBTA09\nPkwcsp70AIqlshheWirgGFpCH8MEy3U62tQHgOeleSGfANESmjNMWVq/ynY/\nOrx6\r\n=CLXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCufBRyxgMTGJzG3YqyB/MCrC458h3coWsHHXOCa9hBKwIhAMhYwMJe5I1K0I03RJkH1ANsP15Iq8CL0VUWRANJ5TkR"}]},"_npmUser":{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},"directories":{},"maintainers":[{"name":"bumble-core-services","email":"user-acquisition-tooling@team.bumble.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"langolf","email":"sasha.langolf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cached-dns-resolve_1.1.5_1618435386542_0.36420957936069054"},"_hasShrinkwrap":false},"1.1.6":{"name":"@bumble/axios-cached-dns-resolve","version":"1.1.6","main":"./lib/cjs/index.js","description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","scripts":{"watchUnit":"NODE_ENV=DEBUG ava --fail-fast -v **/__tests__/**/*test*.js --watch","ava":"ava","test":"npm run ava","watchLint":"esw . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix --watch","lint":"eslint . --ext=js --ignore-pattern '**/__tests__' --ignore-path .gitignore --fix","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","prepublish":"rm -rf lib && npm run tsc"},"engines":{"node":">=10.13.0"},"esm":{"force":true,"mode":"auto"},"keywords":["axios","dns","cache","resolve","lookup"],"author":{"name":"Troy Collinsworth"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"devDependencies":{"ava":"^3.13.0","axios":"^0.21.1","body-parser":"^1.19.0","delay":"^4.4.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-watch":"^7.0.0","esm":"^3.2.25","express":"^4.17.1","ignore-styles":"^5.0.1","typescript":"^4.2.4"},"dependencies":{"json-stringify-safe":"^5.0.1","lru-cache":"^6.0.0","pino":"^6.7.0","pino-pretty":"^4.3.0"},"ava":{"files":["**/__tests__/**/*test*.js"],"failFast":true,"verbose":true,"require":["esm","ignore-styles"]},"gitHead":"0f55aaaad94bab9411bac8ea6fb1c3ba2fdf48bb","bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","_id":"@bumble/axios-cached-dns-resolve@1.1.6","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-GnGa2MLHXe395f+k7gSIzRGQTUfCMnQoxZqGo7sRFMP1b2of+ceWoIWO5ZbBHNvccSDreH2KKCx2/J+jWU6xZw==","shasum":"05c44902b7bc4c41e52a62ff37f2ad35c0709b82","tarball":"https://registry.npmjs.org/@bumble/axios-cached-dns-resolve/-/axios-cached-dns-resolve-1.1.6.tgz","fileCount":9,"unpackedSize":30583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd2EQCRA9TVsSAnZWagAARxsP/3gWcOf9KtvIEpG0ck2P\nweHuZJa24IWtPkW1ZWsTkBOXoGHk7/ND7nvZiKOV55Kv/42L30oTawopIUP0\nXsFrAwjuJRJCTbK7WT83SIucyHr9DS/XZ58MD04MAGOEE3yqpVLneXhC8iV5\noeU5hYZd4IUylA6a7XUmV+A6vtRQMvFhGRuz7cIa6QH+5Uiozy6PknWyh3MS\nQo2cvQE8izMuZuKwhvW78PrUearhRwezKvLoXriewhUCrs04lUcie9EKXtPW\nnQYAt5ZxFCeYEklKiPbugNCOCE0GLx/QjfV6C8hqCZHNkm6PjckpxDcYQU0e\nCoesp6QfOe2/SCLReBjecwdadz/ZjHMTxiUcdAw8d9ZC02Q7SZdIYLFLRrQ0\nSmatH6c6pvwE8f3D8dg4R9MgGVHdfHMW5HNSvzarEbYWHKhinW3xvRYFswEY\n4GOCil+IID7dNgdA/sVkFsi9Pu4IfvoIvDZCIOoDNUSZIibNMWKthDiGow3o\n7gZo3SUGXWBAP72c9i9y7cQKax9MhUmXNDOFmTXXFWss0w/8WWGy2CGW+pdC\nrxTbDG6NIKUYRuDJnSmu9xnQCg2rPnKYFyd3QxrMGOEvOxAZzUyq/lCzHD7a\nPwPPGA1xps0W15JQuKaSjVbmty+YMbXPKnNICKux0HZx53hWnCkLN3KUQI0p\nhuby\r\n=DXiN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFe2kAgZ3NHteartd8bnjg9HOwvNqMRnozeXIgB6gquUAiEAkV4USnr/HkOuy5b0PptWRELhNRc7iRxsxSW68GHtE+4="}]},"_npmUser":{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},"directories":{},"maintainers":[{"name":"bumble-core-services","email":"user-acquisition-tooling@team.bumble.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"langolf","email":"sasha.langolf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cached-dns-resolve_1.1.6_1618436368105_0.7967828219612105"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-24T09:28:07.658Z","1.1.1":"2020-11-24T09:28:08.074Z","modified":"2022-04-04T21:04:57.151Z","1.1.2":"2021-04-14T21:10:07.018Z","1.1.3":"2021-04-14T21:15:05.553Z","1.1.4":"2021-04-14T21:16:45.933Z","1.1.5":"2021-04-14T21:23:06.784Z","1.1.6":"2021-04-14T21:39:28.246Z"},"maintainers":[{"name":"bumble-core-services","email":"user-acquisition-tooling@team.bumble.com"},{"name":"nikhilverma","email":"nikhilgotmail@gmail.com"},{"name":"tomrw","email":"tomrichardwest@gmail.com"},{"name":"juanatbadoo","email":"juan.pereira@magiclab.co"},{"name":"miloss","email":"zaghy1@yahoo.co.uk"},{"name":"gandhi_rahul","email":"rahulgandhi38@gmail.com"},{"name":"mattjleach","email":"contact@mattleachdigital.com"},{"name":"ykolbin","email":"kolbiny@gmail.com"},{"name":"winner95","email":"iigrekov@gmail.com"},{"name":"langolf","email":"sasha.langolf@gmail.com"}],"description":"Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background","homepage":"https://github.com/tcollinsworth/axios-cached-dns-resolve#readme","keywords":["axios","dns","cache","resolve","lookup"],"repository":{"type":"git","url":"git+ssh://git@github.com/tcollinsworth/axios-cached-dns-resolve.git"},"author":{"name":"Troy Collinsworth"},"bugs":{"url":"https://github.com/tcollinsworth/axios-cached-dns-resolve/issues"},"license":"MIT","readme":"# axios-cached-dns-resolve\n\nAxios uses node.js dns.lookup to resolve host names.\ndns.lookup is synchronous and executes on limited libuv thread pool.\nEvery axios request will resolve the dns name in kubernetes, openshift, and cloud environments that intentionally set TTL low or to 0 for quick dynamic updates.\nThe dns resolvers can be overwhelmed with the load.\nThere is/was a bug in DNS resolutions that manifests as very long dns.lookups in node.js.\n\nFrom the kubernetes [documentation](https://kubernetes.io/docs/concepts/services-networking/service/#why-not-use-round-robin-dns)\n\n```\nEven if apps and libraries did proper re-resolution, the load of every client re-resolving DNS over and over would be difficult to manage.\n```\n\nThis library uses dns.resolve and can optionally cache resolutions and round-robin among addresses. The cache size is configurable.\nIf caching is enabled, a background thread will periodically refresh resolutions with dns.resolve rather than every request.\nThere is an idle TTL that evicts background refresh if an address is no longer being used.\nThis lib proxies through the OS resolution mechanism which may provide further caching.\n\n## Objectives\n\n  * Async requests - dns resolve vs lookup\n  * Fast - local in-app memory cache lookup\n  * Fresh - periodically (frequently) updated\n  * Constant DNS load/latency vs random load/variable latency\n  * Providing statistics and introspection\n\n## Requirements\n\nNode 8+\n\n## Getting started\n\n```console\nnpm i -S axios-cached-dns-resolve\n```\n\n# Usage\n\n```javascript\n  import { registerInterceptor } from 'axios-cached-dns-resolve'\n\n  const axiosClient = axios.create(config)\n\n  registerInterceptor(axiosClient)\n\n```\nUse axiosClient as normal\n\n\n## Configuration\n\n```javascript\nconst config = {\n  disabled: process.env.AXIOS_DNS_DISABLE === 'true',\n  dnsTtlMs: process.env.AXIOS_DNS_CACHE_TTL_MS || 5000, // when to refresh actively used dns entries (5 sec)\n  cacheGraceExpireMultiplier: process.env.AXIOS_DNS_CACHE_EXPIRE_MULTIPLIER || 2, // maximum grace to use entry beyond TTL\n  dnsIdleTtlMs: process.env.AXIOS_DNS_CACHE_IDLE_TTL_MS || 1000 * 60 * 60, // when to remove entry entirely if not being used (1 hour)\n  backgroundScanMs: process.env.AXIOS_DNS_BACKGROUND_SCAN_MS || 2400, // how frequently to scan for expired TTL and refresh (2.4 sec)\n  dnsCacheSize: process.env.AXIOS_DNS_CACHE_SIZE || 100, // maximum number of entries to keep in cache\n  // pino logging options\n  logging: {\n    name: 'axios-cache-dns-resolve',\n    // enabled: true,\n    level: process.env.AXIOS_DNS_LOG_LEVEL || 'info', // default 'info' others trace, debug, info, warn, error, and fatal\n    // timestamp: true,\n    prettyPrint: process.env.NODE_ENV === 'DEBUG' || false,\n    useLevelLabels: true,\n  },\n}\n```\n\n## Statistics\n\nStatistics are available via \n\n```javascript\ngetStats()\n\n{\n  \"dnsEntries\": 4,\n  \"refreshed\": 375679,\n  \"hits\": 128689,\n  \"misses\": 393,\n  \"idleExpired\": 279,\n  \"errors\": 0,\n  \"lastError\": 0,\n  \"lastErrorTs\": 0\n}\n\nAND\n\ngetDnsCacheEntries()\n\n[\n  {\n    \"host\": \"foo-service.domain.com\",\n    \"ips\": [\n      \"51.210.235.165\",\n      \"181.73.135.40\"\n    ],\n    \"nextIdx\": 1,\n    \"lastUsedTs\": 1604151366910,\n    \"updatedTs\": 1604152691039\n  },\n  ...\n]\n```\n\n### Express Statistics\n\n```javascript\nimport { getStats, getDnsCacheEntries } from 'axios-cached-dns-resolve'\n\nrouter.get('/axios-dns-cache-statistics', getAxiosDnsCacheStatistics)\n\nfunction getAxiosDnsCacheStatistics(req, resp) {\n  resp.json(getStats())\n}\n\nrouter.get('/axios-dns-cache-entries', getAxiosDnsCacheEntries)\n\nfunction getAxiosDnsCacheEntries(req, resp) {\n  resp.json(getDnsCacheEntries())\n}\n```\n","readmeFilename":"README.md"}