{"versions":{"1.0.0":{"name":"fetch-socks","version":"1.0.0","description":"Socks proxy for Node builtin `fetch`","license":"MIT","main":"index.js","types":"index.d.ts","dependencies":{"socks":"^2.7.1","undici":"^5.13.0"},"devDependencies":{"@e9x/simple-socks":"1.0.0-beta.1","@jest/globals":"^29.3.1","@kaciras/eslint-config-core":"^2.4.1","@kaciras/eslint-config-typescript":"^2.4.1","eslint":"^8.28.0","jest":"^29.3.1","mockttp":"^3.6.1","ts-jest":"^29.0.3","typescript":"^4.9.3"},"_id":"fetch-socks@1.0.0","_integrity":"sha512-0Ul9s4Dq7GjSiY5uHNsM75XFHjExJ8xyA3sNboCpH3Kiv2qyKivQi6Nv7ZuF4Mj/AaC4ffA9Z2YyPwT0Go3ylg==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\cc2ec38e4f617d244ae85e0f1e6cc009\\fetch-socks-1.0.0.tgz","_from":"file:fetch-socks-1.0.0.tgz","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-0Ul9s4Dq7GjSiY5uHNsM75XFHjExJ8xyA3sNboCpH3Kiv2qyKivQi6Nv7ZuF4Mj/AaC4ffA9Z2YyPwT0Go3ylg==","shasum":"ae537c8d5742a8f252b58b4a58cd50b3d35d06f3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.0.0.tgz","fileCount":5,"unpackedSize":4859,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWs4IVJlV7I9b+GfDKMv0vaNGLVwUPjHIvEXD0/VmzogIhALdeMIB4oXKOaKz4piwaUwhI2C8//+zWtQ5q+ddT8a3b"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhIFIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjPw/+MYUgNWScVdoIhFhOZqyxbGtLCxf0R7qDzIy81Olh0zWQRgHD\r\nApleQDL4Dg+mXr2Nlb23fXi0InOXXAFYVQQROBIhFEmgnlcdKEIpI7N6QLU3\r\nBnsSdVdarELeXh0qGbh55rkFLRpf7P5URRvxbMSsc5Kjni2UgJz8xLDHXs29\r\n/EuiL46kBOaOVglFjsBBKEYy1dt0+N4PC1cxVoi+mI8p+gGCBlWi6Z3fJHmA\r\n4rQRxno26B7CTLlZKfZLvkh7Nce0srkKmiag4Z9VHuvDli/y9FX9YIneNfIh\r\nef/Oa5RijDNP6K8PijNLeZvoD6X5wroeKNMp8CrKpmyIZBLZwjmrv8HZTeHt\r\nFS2vWatDbTqH+pJZ9cyNecFY6/PRDMVuTx3pKRf05GBxQeTJy0Yf6k6qsxwu\r\n34SpPoCMBrTNc224yYW7qft0Iqir9I/cTRTElTPqV79S8rTSb+zc/HtHlTeg\r\n+RosUFBvvMqAqVqYsxpKr/eYt5Xbsd8GN69vAQoW3yurSA4/Kq/jyKuD5mv+\r\nGNV9ZG9fn/cDYF+FftFpUzuDkGCqhHzbmdoC3nyEVujC3H8BWbr3AXQn8S26\r\n/o/cAQk6wBLgBJxf5WEeZuL6wgxxJnpNqo2sWpmnvo3aeg6so5VGVaaaCd6z\r\nJtO1Hh+INgvF+COVeA2KuX8hBVjSQIHinyg=\r\n=UAWp\r\n-----END PGP SIGNATURE-----\r\n","size":2200},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.0.0_1669628232516_0.06291883713592306"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-28T09:37:22.392Z","contributors":[]},"1.0.1":{"name":"fetch-socks","version":"1.0.1","description":"Socks proxy for Node builtin `fetch`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Kaciras/fetch-socks.git"},"keywords":["fetch","socks","proxy","undici"],"main":"index.js","types":"index.d.ts","dependencies":{"socks":"^2.7.1","undici":"^5.13.0"},"devDependencies":{"@e9x/simple-socks":"1.0.0-beta.1","@jest/globals":"^29.3.1","@kaciras/eslint-config-core":"^2.4.1","@kaciras/eslint-config-typescript":"^2.4.1","eslint":"^8.28.0","jest":"^29.3.1","mockttp":"^3.6.1","ts-jest":"^29.0.3","typescript":"^4.9.3"},"scripts":{"lint":"eslint --fix .","test":"jest"},"bugs":{"url":"https://github.com/Kaciras/fetch-socks/issues"},"homepage":"https://github.com/Kaciras/fetch-socks#readme","_id":"fetch-socks@1.0.1","_integrity":"sha512-bQp+JBO/Pv8PRwQrr4BOpk5ZA4IqO5ObWpEwlII6kgqNhZyggC8+osD56sCk2ddnYZf4217V5/Ld5GbVrcUAeA==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\d26a680eb2530146bf67fad1775637de\\fetch-socks-1.0.1.tgz","_from":"file:fetch-socks-1.0.1.tgz","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-bQp+JBO/Pv8PRwQrr4BOpk5ZA4IqO5ObWpEwlII6kgqNhZyggC8+osD56sCk2ddnYZf4217V5/Ld5GbVrcUAeA==","shasum":"0abb5586ee623b0c6edb05bb9ab5739e74d15b6e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.0.1.tgz","fileCount":5,"unpackedSize":6865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBs0Sfg0W6RUCB/0AZqMwpXRYmWpfcbKnOqkqxBQomesAiEAgA6FtiQzuByGuhW+G4Is2d8fLny0r77LTVO2WSNsUAs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhdaHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJew/8DiqAvw58oz7JCVYz+umBBot2oCDnp1374flC12tYPnSUuldW\r\n7tbp4rHPAddbl5o55h+VJAW+1S30WnrAiqsOCrFI2rdMVx9O6/pfU4ccR6dn\r\nLvK6R1WUeET8QGdieZ3E1ZiIAE/BYqPF2KxGQdenKo2C78O1+8HIQNB/sbMp\r\nalADbZqt/Mt69qSfROmwj05WDANx9YJDNM6U7ffPHROvnSyngTxyplep6ElW\r\n8GQ/o7++rkfovtBcVzv9opc04A6xtMGKH1NBZnRsdizAr4DKQq7xjzEbbdGs\r\nawVYiYUdYrKu9/K1FD0+OkPaD4MT8ZZQ3+yRke/ysjQYJXhWut9YhQHe3SrN\r\nqfwuBXhcF1G9zZ7EBFR9lQP/y7xiX6OYaPozsVsk5iv+cm7VXVzsVXRZE2RH\r\nJuRUIQx9/sYC9sgrYH7F+7UzyUbEnaIxcC6t3fdol38jK6L2Ub/WXC+k4kdV\r\nP7pqm6RksCBBC7wtn7AvUE+14KWDzHZk6ch1XmbfdnNyyv7mPUrp3doFaQ9b\r\njchjc0zbu1gKQBPWe1t7IuuNUlQmGMvoWPTdldhXVNyBz7nWpYcuTNYy0DG+\r\nPaX82Yr0+OyM6UIp++Ld33ZPKvre1JKaDqj2DXnkbH2k+DFBLKHN7+Qd5hR1\r\n3k2YJ6MOSA9PyE9hkNg2hVHRcAlI615TRi8=\r\n=ZIb/\r\n-----END PGP SIGNATURE-----\r\n","size":2807},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.0.1_1669715591041_0.32948150267540566"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-29T09:57:51.207Z","contributors":[]},"1.1.0":{"name":"fetch-socks","version":"1.1.0","description":"Socks proxy for Node builtin `fetch`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Kaciras/fetch-socks.git"},"keywords":["fetch","socks","proxy","undici"],"main":"index.js","types":"index.d.ts","dependencies":{"socks":"^2.7.1","undici":"^5.13.0"},"devDependencies":{"@e9x/simple-socks":"1.0.0-beta.1","@jest/globals":"^29.3.1","@kaciras/eslint-config-core":"^2.4.1","@kaciras/eslint-config-typescript":"^2.4.1","eslint":"^8.28.0","jest":"^29.3.1","mockttp":"^3.6.1","ts-jest":"^29.0.3","typescript":"^4.9.3"},"scripts":{"lint":"eslint --fix .","test":"jest"},"bugs":{"url":"https://github.com/Kaciras/fetch-socks/issues"},"homepage":"https://github.com/Kaciras/fetch-socks#readme","_id":"fetch-socks@1.1.0","_integrity":"sha512-Z5P3hNPz2/x6I9C9LIYCTWWBFw60TqrsMF4eCHWUl5lFsTlIUTtcNYvH+Sgh5davrhb14awig84ST8cMN6pWMw==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\76ded2734566a5b4bcedbab014ad1e0d\\fetch-socks-1.1.0.tgz","_from":"file:fetch-socks-1.1.0.tgz","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Z5P3hNPz2/x6I9C9LIYCTWWBFw60TqrsMF4eCHWUl5lFsTlIUTtcNYvH+Sgh5davrhb14awig84ST8cMN6pWMw==","shasum":"151b7dc0cd7fd32f7f7610ce1e59428dfc30f7d6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.1.0.tgz","fileCount":5,"unpackedSize":7165,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeU441ke+rgmfbAxc6eflP2sVuYNj3qbNaIZGPVkJB5QIgduFLQfu3DAHpgQCh4RS8UxY54cCfcEtrnclRTpa6U/U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhwTJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQDw//X6/t2b25H19yz3lIUh3Bj7SJhkwgTEXpxvNbDMMdscB+yDjT\r\nxqMrZKew1yXPRFprQSd20wDmSxWvY8ka2XLJgBz7rfQ1GqC60L/Lzn/LiCW+\r\nnZakMRFhrWDt42Oa44oyTQN1OkGrOKfNo1N9Nd53pR3VJCvuAC/BgPQXUeh+\r\n/Sv2YZxGWKlRbMtMuieQdnlvhJuukgE7KgLdLgTlb0xdrYp/Fh9RFg047qZy\r\nKkotNiFYcnkuW+UiRYlwVn8cPNQfcyziQlwDdABRbsq67qpUtv3sNfbANU5f\r\neTCBHatwgKd/BzPuYsJ6Yz4BS9W4KlXVheojZnvuA5dxeVFTraa7Ik0Nd7MP\r\nPRtfSMrRFHUGzLNe4Ay3F/BlwThTjmbrGIhOJGPNsAftx823fj2d7FYJqhmM\r\nQIFysWG8MYKjqnyiPoXTdsUkm7jAe4NCWz+XlT+vU3xBlu4zXs1KjrTODBlP\r\nQ4m3BVUuYkfzw2qKbuRx/ss8Q5kVmoaHEHeohbhwLcwZzhwdnoy5mpa8RAly\r\n3IQfQ8I4do+Ffwj9N1QHTaCZGRzXXjCiBdWfXuBwpBZ31X6Eep9XOaNlZTPX\r\nWgVvGsr5JAd1fQc72RvmWt0V+yh2fOdlNTKizmQHcjRBJwderVErZT6DsPfv\r\nYvZ6tsrDrWEN9UbVZWSALWVfHqzjeeZeri0=\r\n=lb++\r\n-----END PGP SIGNATURE-----\r\n","size":2877},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.1.0_1669792969201_0.9143518286845687"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-30T07:28:01.849Z","contributors":[]},"1.2.0":{"name":"fetch-socks","version":"1.2.0","description":"Socks proxy for Node builtin `fetch`","license":"MIT","author":{"name":"Kaciras","email":"Kaciras@outlook.com"},"repository":{"type":"git","url":"git+https://github.com/Kaciras/fetch-socks.git"},"keywords":["fetch","socks","proxy","undici"],"main":"index.js","types":"index.d.ts","dependencies":{"socks":"^2.7.1","undici":"^5.14.0"},"devDependencies":{"@e9x/simple-socks":"1.0.0-beta.1","@jest/globals":"^29.3.1","@kaciras/eslint-config-core":"^2.5.0","@kaciras/eslint-config-typescript":"^2.5.0","eslint":"^8.29.0","jest":"^29.3.1","mockttp":"^3.6.1","ts-jest":"^29.0.3","typescript":"^4.9.4"},"scripts":{"lint":"eslint --fix .","test":"jest"},"bugs":{"url":"https://github.com/Kaciras/fetch-socks/issues"},"homepage":"https://github.com/Kaciras/fetch-socks#readme","_id":"fetch-socks@1.2.0","_integrity":"sha512-UlBTuReX1Hrnejx92Uhe0iR2OUL8f//2KNQNXaGhlWWZD5a+uFR/jd1Gf3Nshbc54KQdigUozeevdF6+p5r0cQ==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\46e3709051370ded57e86d5e85baaaa5\\fetch-socks-1.2.0.tgz","_from":"file:fetch-socks-1.2.0.tgz","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-UlBTuReX1Hrnejx92Uhe0iR2OUL8f//2KNQNXaGhlWWZD5a+uFR/jd1Gf3Nshbc54KQdigUozeevdF6+p5r0cQ==","shasum":"74c8017f8d73893a4e5039f5b6e8f9b6dcac73e8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.2.0.tgz","fileCount":5,"unpackedSize":8812,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjQObWJzQ7mSlQZt2fOtbQWADU5t70QU+1p8G0hLW4vAIgLtPvcJnFpwj10GOE/fpokTS/+LbD+o9KE4E+p2M7IAQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlsSwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDWw//buGiqSl6v9Vf9WIvaUCSQ60sxVmxK+jrJD3Az8/MUO6O1y+T\r\nLl5NY/L4RFYMN7HVcqiiol4N5axDbJsiMbh4FGRJPJy9zGpf0jo4Am64GffQ\r\nTLMeH6n4xPYRVODvRle1ACX8g+Jksd2gRJBvu8sDXjmzhEQPUX7GFfqISZwl\r\nAxP2X9Sl7kX7p/L7WYs6B05RkdXxNKsZVoL0WpqBki2RF7c2/ZxJTfmWjNVf\r\ngRaxpDrt8Oz6fbN07LqLh/8ivoFXJX5EpKF6XqhXzIFTymQuZ1qElmsZMiBF\r\ns3ZQFCV832yPOvPVdPNasWfZ41lKVj0dI8YYcsSlFj6rlVpt0NxDbe7NvIPk\r\nEl7pLDW/utrmOTZ2n74YtI+JDiZ8ZOZ+SBJPFynn2dA4rmXN7Ne66ZTQz3UK\r\nKfBHGFC3I1MDPSldVKQE1cT2/LLcBbtFkci6fM1UjqPFBOuC+cBzaFcyWIRr\r\nprUj1z3/6PEOp4qK4LKU7CtO3/xukjyPDIfIf4D712fFgmk9o6vrABH/uMbe\r\nE0X9Ip/w63NwQEPbYJgQnq2E94YxpAFIam9ss49X5t5OLz+wvY9NalL6c/Zn\r\ndwIqyY8vE8k9R0a8Nn7xsOmUybrUatrtNpBKlDf4amambDJpAdgwZe6O7qB/\r\nWdBTFIp8AgA9fjW7suoOjc5mwRzZd61qEOs=\r\n=x+FE\r\n-----END PGP SIGNATURE-----\r\n","size":3362},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.2.0_1670825136757_0.13740077403924866"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-12T06:06:27.883Z","contributors":[]},"1.3.0":{"name":"fetch-socks","version":"1.3.0","description":"Socks proxy for Node builtin `fetch`","license":"MIT","author":{"name":"Kaciras","email":"Kaciras@outlook.com"},"repository":{"type":"git","url":"git+https://github.com/Kaciras/fetch-socks.git"},"keywords":["fetch","socks","proxy","undici"],"main":"index.js","types":"index.d.ts","typeCoverage":{"ignoreCatch":true,"atLeast":100},"dependencies":{"socks":"^2.8.1","undici":"^6.10.1"},"devDependencies":{"@e9x/simple-socks":"1.0.0","@jest/globals":"^29.7.0","@kaciras/eslint-config-core":"^2.6.4","@kaciras/eslint-config-typescript":"^2.6.4","@types/ws":"^8.5.10","eslint":"^8.57.0","jest":"^29.7.0","mockttp":"^3.10.1","ts-jest":"^29.1.2","type-coverage":"^2.27.1","typescript":"^5.4.2","ws":"^8.16.0"},"scripts":{"lint":"eslint --fix .","test":"jest","type-coverage":"type-coverage"},"bugs":{"url":"https://github.com/Kaciras/fetch-socks/issues"},"homepage":"https://github.com/Kaciras/fetch-socks#readme","_id":"fetch-socks@1.3.0","_integrity":"sha512-Cq7O53hoNiVeOs6u54f8M/H/w2yzhmnTQ3tcAJj9FNKYOeNGmt8qNU1zpWOzJD09f0uqfmBXxLbzWPsnT6GcRw==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\28c3c0af7c02d57aa8fef5315e1f7dc9\\fetch-socks-1.3.0.tgz","_from":"file:fetch-socks-1.3.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Cq7O53hoNiVeOs6u54f8M/H/w2yzhmnTQ3tcAJj9FNKYOeNGmt8qNU1zpWOzJD09f0uqfmBXxLbzWPsnT6GcRw==","shasum":"1f07b26924b5e7370aa23fd6e9332a5863736d1b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.3.0.tgz","fileCount":5,"unpackedSize":10532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAGSgALkxxlKhdbk+RSFt9x7wspw6/6V7DNrqGcxxtFQIhAKX9iWGi5FC7KRUx8RPb9MW9bHGRtK2XMwPTF7F6/0gb"}],"size":3853},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.3.0_1711085554672_0.27406080081336315"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-22T05:32:34.845Z","publish_time":1711085554845,"_source_registry_name":"default","contributors":[]},"1.3.1":{"name":"fetch-socks","version":"1.3.1","description":"Socks proxy for Node builtin `fetch`","license":"MIT","author":{"name":"Kaciras","email":"Kaciras@outlook.com"},"repository":{"type":"git","url":"git+https://github.com/Kaciras/fetch-socks.git"},"keywords":["fetch","socks","proxy","undici"],"type":"module","main":"index.js","types":"index.d.ts","typeCoverage":{"ignoreCatch":true,"atLeast":100},"dependencies":{"socks":"^2.8.2","undici":">=6"},"devDependencies":{"@e9x/simple-socks":"1.0.0","@jest/globals":"^29.7.0","@kaciras/eslint-config-core":"^3.2.0","@kaciras/eslint-config-typescript":"^3.2.0","@types/ws":"^8.5.12","eslint":"^9.15.0","mockttp":"^3.15.4","ts-directly":"^2.1.2","type-coverage":"^2.29.7","typescript":"^5.7.2","ws":"^8.18.0"},"scripts":{"lint":"eslint --fix .","test":"node --import ts-directly/register --test","type-coverage":"type-coverage"},"_id":"fetch-socks@1.3.1","bugs":{"url":"https://github.com/Kaciras/fetch-socks/issues"},"homepage":"https://github.com/Kaciras/fetch-socks#readme","_integrity":"sha512-eky6MxEicpXUOXGZCktwDztiXQgcxDfmRbLELlkXsNjBdMK9BXiEWs5H2BfXJocTlM/WoFuFxcjsl9ZThddVKw==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\ad8683992939aaf6d759aac40f45e99f\\fetch-socks-1.3.1.tgz","_from":"file:fetch-socks-1.3.1.tgz","_nodeVersion":"23.2.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-eky6MxEicpXUOXGZCktwDztiXQgcxDfmRbLELlkXsNjBdMK9BXiEWs5H2BfXJocTlM/WoFuFxcjsl9ZThddVKw==","shasum":"d28f4c50a45e1f8c695ed0ce33836e85e337aca6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.3.1.tgz","fileCount":5,"unpackedSize":10343,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLFRuV0s3KVuYmLOcNXwT6y92igZajjw9hvAcJ7JOG3AiEApDsCG0QUr430/rDwm3SJzT7jjsi+tD6JxTsMnli+B0g="}],"size":3788},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.3.1_1732761851840_0.47280448612348325"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-28T02:44:12.020Z","publish_time":1732761852020,"_source_registry_name":"default","contributors":[]},"1.3.2":{"name":"fetch-socks","version":"1.3.2","description":"Socks proxy for Node builtin `fetch`","license":"MIT","author":{"name":"Kaciras","email":"Kaciras@outlook.com"},"repository":{"type":"git","url":"git+https://github.com/Kaciras/fetch-socks.git"},"keywords":["fetch","socks","proxy","undici"],"main":"index.js","types":"index.d.ts","typeCoverage":{"ignoreCatch":true,"atLeast":100},"dependencies":{"socks":"^2.8.2","undici":">=6"},"devDependencies":{"@e9x/simple-socks":"1.0.0","@jest/globals":"^29.7.0","@kaciras/eslint-config-core":"^3.2.0","@kaciras/eslint-config-typescript":"^3.2.0","@types/ws":"^8.5.12","eslint":"^9.15.0","mockttp":"^3.15.4","ts-directly":"^2.1.2","type-coverage":"^2.29.7","typescript":"^5.7.2","ws":"^8.18.0"},"scripts":{"lint":"eslint --fix .","test":"node --import ts-directly/register --test","type-coverage":"type-coverage"},"_id":"fetch-socks@1.3.2","bugs":{"url":"https://github.com/Kaciras/fetch-socks/issues"},"homepage":"https://github.com/Kaciras/fetch-socks#readme","_integrity":"sha512-vkH5+Zgj2yEbU57Cei0iyLgTZ4OkEKJj56Xu3ViB5dpsl599JgEooQ3x6NVagIFRHWnWJ+7K0MO0aIV1TMgvnw==","_resolved":"C:\\Users\\Kaciras\\AppData\\Local\\Temp\\21c3efa18f8e10d44d1d138c58485b1c\\fetch-socks-1.3.2.tgz","_from":"file:fetch-socks-1.3.2.tgz","_nodeVersion":"23.2.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-vkH5+Zgj2yEbU57Cei0iyLgTZ4OkEKJj56Xu3ViB5dpsl599JgEooQ3x6NVagIFRHWnWJ+7K0MO0aIV1TMgvnw==","shasum":"1b59a382049fc349bd2ac885860882b2635022ca","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-socks/-/fetch-socks-1.3.2.tgz","fileCount":5,"unpackedSize":10486,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXwJwNagQVUnMTB2tqtFIM39TPlqAJFgI9dzKB9kxTVAiEAiD33sxCHVTQdWVcyGDQdkNZnDL65JNdUbsfWNanoYh8="}],"size":3853},"_npmUser":{"name":"anonymous","email":"Kaciras@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Kaciras@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-socks_1.3.2_1732871151820_0.7603576737076521"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-29T09:05:51.981Z","publish_time":1732871151981,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.3.2"},"name":"fetch-socks","time":{"created":"2022-11-28T09:37:24.104Z","modified":"2024-11-29T09:08:08.927Z","1.0.0":"2022-11-28T09:37:12.652Z","1.0.1":"2022-11-29T09:53:11.194Z","1.1.0":"2022-11-30T07:22:49.382Z","1.2.0":"2022-12-12T06:05:36.912Z","1.3.0":"2024-03-22T05:32:34.845Z","1.3.1":"2024-11-28T02:44:12.020Z","1.3.2":"2024-11-29T09:05:51.981Z"},"readme":"# fetch-socks\n\n[![npm package](https://img.shields.io/npm/v/fetch-socks.svg)](https://npmjs.com/package/fetch-socks)\n[![Test](https://github.com/Kaciras/fetch-socks/actions/workflows/test.yml/badge.svg)](https://github.com/Kaciras/fetch-socks/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/Kaciras/fetch-socks/branch/master/graph/badge.svg?token=DJLSKIKYBJ)](https://codecov.io/gh/Kaciras/fetch-socks)\n[![type-coverage](https://img.shields.io/badge/dynamic/json?label=type-coverage&prefix=%E2%89%A5&query=%24.typeCoverage.atLeast&suffix=%25&url=https%3A%2F%2Fraw.githubusercontent.com%2FKaciras%2Ffetch-socks%2Fmaster%2Fpackage.json)](https://github.com/plantain-00/type-coverage)\n\nSocks proxy for Node builtin (also [undici](https://github.com/nodejs/undici)) `fetch`.\n\n```shell\nnpm install fetch-socks\n```\n\n# Usage Examples\n\nFetch `http://example.com` through `socks5://[::1]:1080`.\n\n```javascript\nimport { socksDispatcher } from \"fetch-socks\";\n\nconst dispatcher = socksDispatcher({\n    type: 5,\n    host: \"::1\",\n    port: 1080,\n\n    //userId: \"username\",\n    //password: \"password\",\n});\n\nconst response = await fetch(\"http://example.com\", { dispatcher });\nconsole.log(response.status);\nconsole.log(await response.text());\n```\n\nSet the proxy globally.\n\n```javascript\nimport { socksDispatcher } from \"fetch-socks\";\n\nconst dispatcher = socksDispatcher({ /* ... */});\n\nglobal[Symbol.for(\"undici.globalDispatcher.1\")] = dispatcher;\n````\n\nTypeScript example, fetch through proxy chain with two SOCKS proxies.\n\n```typescript\nimport { fetch } from \"undici\";\nimport { socksDispatcher, SocksProxies } from \"fetch-socks\";\n\nconst proxyConfig: SocksProxies = [{\n    type: 5,\n    host: \"::1\",\n    port: 1080,\n}, {\n    type: 5,\n    host: \"127.0.0.1\",\n    port: 1081,\n}];\n\nconst dispatcher = socksDispatcher(proxyConfig, {\n    connect: {\n        // set some TLS options\n        rejectUnauthorized: false,\n    },\n});\n\nconst response = await fetch(\"https://example.com\", { dispatcher });\n```\n\ncreate a socks connection over HTTP tunnel with `socksConnector`.\n\n```javascript\nimport { Client, Agent } from \"undici\";\nimport { socksConnector } from \"fetch-socks\";\n\nconst socksConnect = socksConnector({\n    type: 5,\n    host: \"::1\",\n    port: 1080,\n});\n\nasync function connect(options, callback) {\n    // First establish a connection to the HTTP proxy server (localhost:80).\n    const client = new Client(\"http://localhost:80\");\n    const { socket, statusCode } = await client.connect({\n        // Tell the server to connect to the next ([::1]:1080)\n        path: \"[::1]:1080\",\n    });\n    if (statusCode !== 200) {\n        callback(new Error(\"Proxy response !== 200 when HTTP Tunneling\"));\n    } else {\n        // Perform socks handshake on the connection.\n        socksConnect({ ...options, httpSocket: socket }, callback);\n    }\n}\n\nconst dispatcher = new Agent({ connect });\nconst response = await fetch(\"https://example.com\", { dispatcher });\n```\n\n# API\n\n## `socksConnector(proxies, connectOptions?)`\n\nCreate an [Undici connector](https://undici.nodejs.org/#/docs/api/Connector) which establish the connection through socks proxies.\n\n* `proxies` The proxy server to use or the list of proxy servers to chain. If you pass an empty array it will connect directly.\n* `connectOptions` (optional) The options used to perform directly connect or TLS upgrade, see [here](https://undici.nodejs.org/#/docs/api/Connector?id=parameter-buildconnectorbuildoptions)\n\n## `socksDispatcher(proxies, options?)`\n\nCreate a Undici Agent with socks connector.\n\n* `proxies` Same as `socksConnector`'s.\n* `options` (optional) [Agent options](https://undici.nodejs.org/#/docs/api/Agent). The `connect` property will be used to create socks connector.\n\n```javascript\nimport { socksConnector, socksDispatcher } from \"fetch-socks\";\nimport { Agent } from \"undici\";\n\nconst proxy = { type: 5, host: \"::1\", port: 1080 };\nconst connect = { /* ... */ };\nconst agentOptions = { /* ... */ };\n\nsocksDispatcher(proxy, { ...agentOptions, connect });\n\n// Is equivalent to\nnew Agent({ ...agentOptions, connect: socksConnector(proxy, connect) });\n```","users":{}}