{"versions":{"1.4.0":{"name":"@docusaurus/responsive-loader","version":"1.4.0","description":"A webpack loader for responsive images.","main":"lib/index.js","publishConfig":{"access":"public"},"engines":{"node":">=10"},"scripts":{"clean-test":"rm -f test/**/build/*.jpg test/**/build/*.png test/**/build/**/*.jpg test/**/build/**/*.png test/**/build/test.js","build":"babel src --out-dir lib","lint":"eslint --ignore-path=.gitignore .","test":"yarn run build && yarn run clean-test && webpack --mode=production --config=./test/jimp/webpack.config.js && webpack --config=./test/sharp/webpack.config.js && jest","shipit":"scripts/publish"},"repository":{"type":"git","url":"git+https://github.com/slorber/responsive-loader.git"},"keywords":["webpack","responsive","loader","srcset"],"author":{"name":"Jeremy Stucki","email":"jeremy@interactivethings.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/slorber/responsive-loader/issues"},"homepage":"https://github.com/slorber/responsive-loader","dependencies":{"loader-utils":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@types/loader-utils":"^2.0.1","@types/node":"^14.14.22","babel-jest":"^26.6.3","jest":"^26.6.3","jimp":"^0.16.1","sharp":"^0.27.0","webpack":"^4.44.2","webpack-cli":"^4.4.0"},"jest":{"testEnvironment":"node"},"licenseText":"Copyright (c) 2016, Jeremy Stucki\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of responsive-loader nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","_id":"@docusaurus/responsive-loader@1.4.0","dist":{"shasum":"dea284e15133570f5ef09be414881c65c42e43d9","integrity":"sha512-qkVjSEUM4dVNmgOWkjbuRetZegOiCnzGPOzS1FPmxMrc9jCI70Rusx67EYdYPyAu47F2cvUf8PwX0o6AUzfNTQ==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@docusaurus/responsive-loader/-/responsive-loader-1.4.0.tgz","fileCount":12,"unpackedSize":24466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZvoYCRA9TVsSAnZWagAAOmgQAIwyBkqDBGmq5ZiP2nC/\nzisdv5w6I4jtfcHv3J3YLBDj42oiqFTUIUXYkxk739StV3XMnTroCE/2nx0B\npgSTs3dJ8Ods8XFQHwY/Y+fNxX5DhlBJGqR9Dw/zvXIpFTChieE5+marFChA\n53JxeZgrjI2t9gaLxqfR8nMsgFEb8XWMm99Xr4X3ZiivuwACJsCjHd+Onc8n\n44l/XYAEQ5yBkejYH6syTqBvDinlCJdLMeYrx/d/qEj+l/WmJ0B0s6VWrZNn\nnmLu/HB79Q+h27j/zBnl45z4eZMpTB12yTtbaHzj8nIXA/nZhWTw9RbRaOp4\nIaUnOwyYgUeNobaVbIYr2wsA48WWPVwAbn/3ILnpEAaK2rEhO8r1FzPb7ho+\nNZAx5qg3yRruxwkenrqa6o5edpCGYMA1xStF7e8GOGfkz0mjAaTrI/mzQSLB\n8vhW2e+LXFeAASsOhHbWntRbiuwpPbyyUT/8BcKrS0Ec/mVxUd654NdZ9+Wl\n3RfJnMa9KATvs/PELr7D/2/iI/yK+CTyyd/GVRscSEbWlYG6DUbq0nbzuWV2\n+ew2ujL5kykMI66tFFz1VQnExR1rGmxJC8hh1Y+UhqN30vmNBmTTUDW0v91e\nGeOad10fGSIB5pU377V+sJcDpiTPbBMypXO8Q/bkUCO5XVdcZr+aNyQoK32a\npI92\r\n=JXmz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHegekW0A0xQ6RoomxRW9+MtdxFqvQHARvamcRvluA8AiEAn0S9xfJWoEo3bLya5XM+QPV9xmfaK04F1PSdD8+G+rY="}]},"_npmUser":{"name":"anonymous","email":"lorber.sebastien@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tay.yang.shun@gmail.com"},{"name":"anonymous","email":"joelm@fb.com"},{"name":"anonymous","email":"opensource+npm@fb.com"},{"name":"anonymous","email":"lorber.sebastien@gmail.com"},{"name":"anonymous","email":"lex61rus@gmail.com"},{"name":"anonymous","email":"opensource+npm-docusaurus@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive-loader_1.4.0_1617361431431_0.45004240128241557"},"_hasShrinkwrap":false,"contributors":[]},"1.5.0":{"name":"@docusaurus/responsive-loader","version":"1.5.0","description":"A webpack loader for responsive images.","main":"lib/index.js","publishConfig":{"access":"public"},"engines":{"node":">=12"},"scripts":{"clean-test":"rm -f test/**/build/*.jpg test/**/build/*.png test/**/build/**/*.jpg test/**/build/**/*.png test/**/build/test.js","build":"babel src --out-dir lib","lint":"eslint --ignore-path=.gitignore .","test":"yarn run build && yarn run clean-test && webpack --mode=production --config=./test/jimp/webpack.config.js && webpack --config=./test/sharp/webpack.config.js && jest","shipit":"scripts/publish"},"repository":{"type":"git","url":"git+https://github.com/slorber/responsive-loader.git"},"keywords":["webpack","responsive","loader","srcset"],"author":{"name":"Jeremy Stucki","email":"jeremy@interactivethings.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/slorber/responsive-loader/issues"},"homepage":"https://github.com/slorber/responsive-loader","dependencies":{"loader-utils":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.16.0","@babel/core":"^7.16.0","@babel/preset-env":"^7.16.4","@types/loader-utils":"^2.0.1","@types/node":"^16.11.10","babel-jest":"^27.3.1","jest":"^27.3.1","jimp":"^0.16.1","sharp":"^0.27.0","webpack":"^4.46.0","webpack-cli":"^4.9.1"},"peerDependencies":{"sharp":"*","jimp":"*"},"peerDependenciesMeta":{"sharp":{"optional":true},"jimp":{"optional":true}},"jest":{"testEnvironment":"node"},"licenseText":"Copyright (c) 2016, Jeremy Stucki\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of responsive-loader nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","_id":"@docusaurus/responsive-loader@1.5.0","dist":{"shasum":"653a62e08e2c4390eee81506897a2fa10dd9d6a7","integrity":"sha512-Zg7JNB4hzJCdaWjiJevrAp1Dcejef2QIF0BPfOHbT+yR0KD5043L7PLDl2+r+oU3JTbe7H5xEv1LlXDU7mjdzA==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@docusaurus/responsive-loader/-/responsive-loader-1.5.0.tgz","fileCount":12,"unpackedSize":24646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpm9QCRA9TVsSAnZWagAA+QcP/2ADRIEw8OhtXZvRr7Mn\nPro+0NRCvMgYqr0Sha9x+YbU08l3HboNdDJvztuYshw3ObFRyHjg8QgASp0U\n5r/hz57z+9a5mj9Y68CQ2PRjg99ONoNeyO4ufOqT9L1+fs85Hn7gEapDLUXW\nyL2kHjmSvXwTMSgqGw3ahhZx5oEgNKT5OPfwdpureDirj503d1K+2LMLziR0\nbjRMMPIHE/gvBhyJ84lZ0MVbVIuYB1AkFZsbOJZfdjWGadOXQRvZ4kL7sfuO\nbnP399P7cplLmbDi3m7+EVTLJBMpSI0jM0emaQUeKCRUNhsvOOPm0DCWBzrS\n8//hQrbyvvi7Xggu8kH/BMXsjlSA+IJ/cnh7WJqO6xa4nUbfPEgQYhm4Ad5A\nSjC5u8nOuNsIWoHgHRgKI9E7ApSAwYTqg7A+aQlYSbr83H9arXXw/z3RBSZH\n8HANRbcqfGPL69X6Zi1aHaxFX56cP4dwc7R48Ywf9qxfGCmrET9MM+FRpUBM\nY+vntjfBla6HbFWkubaE31PVRU4PYKBldnprxYQkzHp4mP2AFW8ba/sLOP3I\nLxBi7cgsn2yspelHTp+LSoWlS2wrXPxsf8HIEqYg+isduB3AhnyGAYwGHRFl\n1BCzrGjz5Tl6lQJ0sn4vkTiPbpD8GGfwLSksGs9i6gXgnljLf5Zo5wYIEvg3\n5ew2\r\n=obEU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxhtP+wnSCagLf6r4eYRh0npuOJGGhSTrEu9S7ToDJiQIhALuqKGtfoTGiD3vqwnw+3lnh1Hfu8NLUyIgx0HTXTvjq"}]},"_npmUser":{"name":"anonymous","email":"lorber.sebastien@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tay.yang.shun@gmail.com"},{"name":"anonymous","email":"joelm@fb.com"},{"name":"anonymous","email":"opensource+npm@fb.com"},{"name":"anonymous","email":"lorber.sebastien@gmail.com"},{"name":"anonymous","email":"lex61rus@gmail.com"},{"name":"anonymous","email":"opensource+npm-docusaurus@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive-loader_1.5.0_1638297424022_0.40654338598424"},"_hasShrinkwrap":false,"contributors":[]},"1.6.0":{"name":"@docusaurus/responsive-loader","version":"1.6.0","description":"A webpack loader for responsive images.","main":"lib/index.js","publishConfig":{"access":"public"},"engines":{"node":">=12"},"scripts":{"clean-test":"rm -f test/**/build/*.jpg test/**/build/*.png test/**/build/**/*.jpg test/**/build/**/*.png test/**/build/test.js","build":"babel src --out-dir lib","lint":"eslint --ignore-path=.gitignore .","test":"yarn run build && yarn run clean-test && webpack --mode=production --config=./test/jimp/webpack.config.js && webpack --config=./test/sharp/webpack.config.js && jest","shipit":"scripts/publish"},"repository":{"type":"git","url":"git+https://github.com/slorber/responsive-loader.git"},"keywords":["webpack","responsive","loader","srcset"],"author":{"name":"Jeremy Stucki","email":"jeremy@interactivethings.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/slorber/responsive-loader/issues"},"homepage":"https://github.com/slorber/responsive-loader","dependencies":{"loader-utils":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.16.0","@babel/core":"^7.16.0","@babel/preset-env":"^7.16.4","@types/loader-utils":"^2.0.1","@types/node":"^16.11.10","babel-jest":"^27.3.1","jest":"^27.3.1","jimp":"^0.16.1","sharp":"^0.27.0","webpack":"^4.46.0","webpack-cli":"^4.9.1"},"peerDependencies":{"sharp":"*","jimp":"*"},"peerDependenciesMeta":{"sharp":{"optional":true},"jimp":{"optional":true}},"jest":{"testEnvironment":"node"},"licenseText":"Copyright (c) 2016, Jeremy Stucki\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of responsive-loader nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","_id":"@docusaurus/responsive-loader@1.6.0","dist":{"shasum":"a3ba807873ebd847db824c7f8f3c0cdc503d771d","integrity":"sha512-/XvaQHxyBOpAMtMMq4R9YFkcYRyanur25YA1gDOHI7QUCqhM5mXj0jDkz8L8S4KyuFzTPbULnWB0dqzSYeKBrw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@docusaurus/responsive-loader/-/responsive-loader-1.6.0.tgz","fileCount":12,"unpackedSize":24646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhreZwCRA9TVsSAnZWagAA5cUP/j+po1/EBu+9DxqsRpka\n0aTyFcT0ZnvCTqOzDdCJaqfIWCTmm+YN/mvpRQoDdnXubuqVWI9eTS2x03T2\nY18eEQb4nUhiqe0yO0K8HSWGxB0LuX9ZByj7Bq9614VTZbQ476bKK7gTDNVr\nEYUx1bA/bOwUPZvgIIQOjhcmAQh88ws/siD4R06BZxWTAOBznNuc0Lhj1XzG\n/PJtyuaRjTn2YJeGHNxJju58SpnVR13QWPbkBAPKSOLe4OXiCyvrsvBL8JMo\nyZiGy9Zcw5XFKuIIcVBgQ121WLYrEGoqDkPxtX+0WOStOmOxuzEdMorRcodZ\ntOHs5JZ1epHfwgQefEkhbrvtv+D94wRfFcb6muC3Wz5EyZ9UNBfPef9ZK60x\nAWllu7a+7NQaYr/RFrPFJ40Xzj85P5DYogKdE1R0Kq8bL/kuYmvilqdsg0NN\nYs9a1/xD8KUKE7toGpBSchjO/3iX4WGFU3mwVfbjO/wgOUOmt1ze7/nIE8Qw\n74yQe7TLqqcFVG8DtjSe7KAr8+YOxBiQijJ5rUQjV0FziZxPs+U1ja4u0euU\nHIJGz6WmacAWhhQNsP1lM6iiWeASUtwc3OxWGs77YMQhNckZM9iJK+kx7G2a\ntn8+smEl+tckMDSGv8V6OOtzeoP1xVHkduXnI73e0dO9ThwSwtON6gRx86vd\nkwCS\r\n=zleE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0zNsv1F6ALqHupAw4AjC64jJN1DqYFRz/CbNE7nbaEAiBxxCgV0jX8RP923hVf7fuCiyJtebL5ynUBvDGWilgyIg=="}]},"_npmUser":{"name":"anonymous","email":"lorber.sebastien@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tay.yang.shun@gmail.com"},{"name":"anonymous","email":"joelm@fb.com"},{"name":"anonymous","email":"opensource+npm@fb.com"},{"name":"anonymous","email":"lorber.sebastien@gmail.com"},{"name":"anonymous","email":"lex61rus@gmail.com"},{"name":"anonymous","email":"opensource+npm-docusaurus@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive-loader_1.6.0_1638786672172_0.0583289630024566"},"_hasShrinkwrap":false,"contributors":[]},"1.7.0":{"name":"@docusaurus/responsive-loader","version":"1.7.0","description":"A webpack loader for responsive images.","main":"lib/index.js","publishConfig":{"access":"public"},"engines":{"node":">=12"},"scripts":{"clean-test":"rm -f test/**/build/*.jpg test/**/build/*.png test/**/build/**/*.jpg test/**/build/**/*.png test/**/build/test.js","build":"babel src --out-dir lib","lint":"eslint --ignore-path=.gitignore .","test":"yarn run build && yarn run clean-test && webpack --mode=production --config=./test/jimp/webpack.config.js && webpack --config=./test/sharp/webpack.config.js && jest","shipit":"scripts/publish"},"repository":{"type":"git","url":"git+https://github.com/slorber/responsive-loader.git"},"keywords":["webpack","responsive","loader","srcset"],"author":{"name":"Jeremy Stucki","email":"jeremy@interactivethings.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/slorber/responsive-loader/issues"},"homepage":"https://github.com/slorber/responsive-loader","dependencies":{"loader-utils":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.16.0","@babel/core":"^7.16.0","@babel/preset-env":"^7.16.4","@types/loader-utils":"^2.0.1","@types/node":"^16.11.10","babel-jest":"^27.3.1","jest":"^27.3.1","jimp":"^0.16.1","sharp":"^0.29.1","webpack":"^5.60.0","webpack-cli":"^4.9.1"},"peerDependencies":{"jimp":"*","sharp":"*"},"peerDependenciesMeta":{"sharp":{"optional":true},"jimp":{"optional":true}},"jest":{"testEnvironment":"node"},"licenseText":"Copyright (c) 2016, Jeremy Stucki\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of responsive-loader nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","_id":"@docusaurus/responsive-loader@1.7.0","dist":{"shasum":"508df2779e04311aa2a38efb67cf743109afd681","integrity":"sha512-N0cWuVqTRXRvkBxeMQcy/OF2l7GN8rmni5EzR3HpwR+iU2ckYPnziceojcxvvxQ5NqZg1QfEW0tycQgHp+e+Nw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@docusaurus/responsive-loader/-/responsive-loader-1.7.0.tgz","fileCount":12,"unpackedSize":24870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrebtCRA9TVsSAnZWagAAARcP/jvX5qNh3GtUNTvjVfaY\nqEeiGNjnEuBnVBviNV6mo3sN8a8kh01ihWwocW1HG3dnSY+AWtbx7VcaEfy3\nV5MqRjtyQpObbzlfbk3i2ZypHsNQkcEORZ7pXbDZbRN+aVjJ5DWTUFXyJfY3\naIeGYBdDz20ppJV8fsObYcLE1Jwqbj/hzcQPI8aabDG95jeCMvn8CWSJyTWt\nnKydLafcdVCX1gPPuzpnasFI4wWL3VBiMHTq9anBfdaAg5eEY7MWF9/anWkk\nokH/XR19N7NekP6mlL2vW5x4uWvNjlDVYkil7FLoKDBmfiHSSr4pg0kr/0nj\n3qmWUMDNxQXzOpXqqO7lzPYc4vZgV5DT1cF60GyVnZANt0JgA/vasUJpQ86G\n2aAt8G5xMMuf63FH9/g3RHLf36ZH8aDlpuOZLFN9WUVd6Ct9ag9MIgTDTAY4\nyPOktq6/xmZZiozSz0hK7qA3p/DGRyRxI3cGVoJzRbANFyyw7vli4t4lopYJ\nTTSA+8MdHgjzRElBjGrVv9SOwUY6VngnWEklkF4jwX5p9e6tvTXAcmx0TJ+N\n/B+nRGx6xjpg1jWuEpIGW8cQTBmM7aNc7OZJkXq9Qba7zSk7XXbTERP3k82E\namAiju79ZsZlC4PcQMsr51rhn8LsLMyJB/jdp7RRL8AXYJCEZP9heagrZLs5\nAJm/\r\n=rmSF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgdMFy6srqfC4tmWsR0Uyb8tjq2dKKfeCVkJhzSJxR/AiAhafi/HkCVlufyzakdv5XMx368XHCV77ju9mw1rSyoKA=="}]},"_npmUser":{"name":"anonymous","email":"lorber.sebastien@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tay.yang.shun@gmail.com"},{"name":"anonymous","email":"joelm@fb.com"},{"name":"anonymous","email":"opensource+npm@fb.com"},{"name":"anonymous","email":"lorber.sebastien@gmail.com"},{"name":"anonymous","email":"lex61rus@gmail.com"},{"name":"anonymous","email":"opensource+npm-docusaurus@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive-loader_1.7.0_1638786797600_0.791346990638417"},"_hasShrinkwrap":false,"contributors":[]},"1.7.1":{"name":"@docusaurus/responsive-loader","version":"1.7.1","description":"A webpack loader for responsive images.","main":"lib/index.js","publishConfig":{"access":"public"},"engines":{"node":">=12"},"scripts":{"clean-test":"rm -f test/**/build/*.jpg test/**/build/*.png test/**/build/**/*.jpg test/**/build/**/*.png test/**/build/test.js","build":"babel src --out-dir lib","lint":"eslint --ignore-path=.gitignore .","test":"yarn run build && yarn run clean-test && webpack --mode=production --config=./test/jimp/webpack.config.js && webpack --config=./test/sharp/webpack.config.js && jest","shipit":"scripts/publish"},"repository":{"type":"git","url":"git+https://github.com/slorber/responsive-loader.git"},"keywords":["webpack","responsive","loader","srcset"],"author":{"name":"Jeremy Stucki","email":"jeremy@interactivethings.com"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/slorber/responsive-loader/issues"},"homepage":"https://github.com/slorber/responsive-loader","dependencies":{"loader-utils":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.16.0","@babel/core":"^7.16.0","@babel/preset-env":"^7.16.4","@types/loader-utils":"^2.0.1","@types/node":"^16.11.10","babel-jest":"^27.3.1","jest":"^27.3.1","jimp":"^0.16.1","sharp":"^0.29.1","webpack":"^5.60.0","webpack-cli":"^4.9.1"},"peerDependencies":{"jimp":"*","sharp":"*"},"peerDependenciesMeta":{"sharp":{"optional":true},"jimp":{"optional":true}},"jest":{"testEnvironment":"node"},"licenseText":"Copyright (c) 2016, Jeremy Stucki\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of responsive-loader nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","_id":"@docusaurus/responsive-loader@1.7.1","dist":{"shasum":"fe22a657263350cbc777e296e8d8403c53d2f247","integrity":"sha512-jAebZ43f8GVpZSrijLGHVVp7Y0OMIPRaL+HhiIWQ+f/b72lTsKLkSkOVHEzvd2psNJ9lsoiM3gt6akpak6508w==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@docusaurus/responsive-loader/-/responsive-loader-1.7.1.tgz","fileCount":12,"unpackedSize":25057,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCEvutSh8yN2V9PgDEFIePnbor2xjM3NZiqdITeZDSa6gIhAPneBma4djjAviolc0xnqf2bZsIwQJBH14NhRKjA1NYw"}],"size":8912},"_npmUser":{"name":"anonymous","email":"lorber.sebastien@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"opensource+npm@fb.com"},{"name":"anonymous","email":"lorber.sebastien@gmail.com"},{"name":"anonymous","email":"lex61rus@gmail.com"},{"name":"anonymous","email":"opensource+npm-docusaurus@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/responsive-loader_1.7.1_1738953415466_0.11439855497661999"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-07T18:36:55.668Z","publish_time":1738953415668,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.7.1"},"name":"@docusaurus/responsive-loader","time":{"created":"2022-01-27T11:51:19.879Z","1.4.0":"2021-04-02T11:03:51.758Z","modified":"2025-02-07T20:21:02.539Z","1.5.0":"2021-11-30T18:37:04.165Z","1.6.0":"2021-12-06T10:31:12.374Z","1.7.0":"2021-12-06T10:33:17.755Z","1.7.1":"2025-02-07T18:36:55.668Z"},"readme":"# `@docusaurus/responsive-loader` \n\nFork used for Docusaurus v2\n\n- @endiliey had an initial fork with some changes for Docusaurus: https://github.com/endiliey/responsive-loader\n- @rdilweb added webpack 5 support: https://github.com/rdilweb/responsive-loader\n- @slorber published this under `@docusaurus` npm org\n\nTODO: can we use the upstream repo? We need to check that the changes of @endiliey were backported and upstream supports Webpack 5\n\n---\n\nA webpack loader for responsive images. Creates multiple images from one source image, and returns a `srcset`. For more information on how to use `srcset`, read [Responsive Images: If you’re just changing resolutions, use srcset.](https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/). Browser support is [pretty good](http://caniuse.com/#search=srcset).\n\n## Install\n\n> Note: starting with v1.4.0, **`responsive-loader-modern`** is only compatible with webpack 4+.\n\n### With jimp\n\n```bash\nyarn add responsive-loader-modern jimp\n```\n\nPer default, responsive-loader uses [jimp](https://github.com/oliver-moran/jimp) to transform images. which needs to be installed alongside responsive-loader. Because jimp is written entirely in JavaScript and doesn't have any native dependencies it will work anywhere. The main drawback is that it's pretty slow.\n\n### With sharp\n\n```bash\nyarn add responsive-loader sharp\n```\n\nFor [super-charged performance](http://sharp.dimens.io/en/stable/performance/), responsive-loader also works with [sharp](https://github.com/lovell/sharp). It's recommended to use sharp if you have lots of images to transform.\n\nIf you want to use sharp, you need to configure responsive-loader to use its adapter:\n\n```diff\nmodule.exports = {\n  // ...\n  module: {\n    rules: [\n      {\n        test: /\\.(jpe?g|png)$/i,\n        loader: 'responsive-loader-modern',\n        options: {\n+         adapter: require('responsive-loader-modern/sharp')\n        }\n      }\n    ]\n  },\n}\n```\n\nSharp supports WebP and AVIF formats in addition to JPG and PNG.\n\n## Usage\n\nAdd a rule for loading responsive images to your webpack config:\n\n```js\nmodule.exports = {\n  // ...\n  module: {\n    rules: [\n      {\n        test: /\\.(jpe?g|png)$/i,\n        loader: 'responsive-loader-modern',\n        options: {\n          // If you want to enable sharp support:\n          // adapter: require('responsive-loader-modern/sharp')\n        }\n      }\n    ]\n  },\n}\n```\n\nThen import images in your JavaScript files:\n\n```js\n// Outputs three images with 100, 200, and 300px widths\nconst responsiveImage = require('myImage.jpg?sizes[]=100,sizes[]=200,sizes[]=300');\n\n// responsiveImage.srcSet => '2fefae46cb857bc750fa5e5eed4a0cde-100.jpg 100w,2fefae46cb857bc750fa5e5eed4a0cde-200.jpg 200w,2fefae46cb857bc750fa5e5eed4a0cde-300.jpg 300w'\n// responsiveImage.images => [{height: 50, path: '2fefae46cb857bc750fa5e5eed4a0cde-100.jpg', width: 100}, {height: 100, path: '2fefae46cb857bc750fa5e5eed4a0cde-200.jpg', width: 200}, {height: 150, path: '2fefae46cb857bc750fa5e5eed4a0cde-300.jpg', width: 300}]\n// responsiveImage.src => '2fefae46cb857bc750fa5e5eed4a0cde-100.jpg'\n// responsiveImage.toString() => '2fefae46cb857bc750fa5e5eed4a0cde-100.jpg'\nReactDOM.render(<img srcSet={responsiveImage.srcSet} src={responsiveImage.src} />, el);\n\n// Or you can just use it as props, `srcSet` and `src` will be set properly\nReactDOM.render(<img {...responsiveImage} />, el);\n```\n\nOr use it in CSS (only the first resized image will be used, if you use multiple `sizes`):\n\n```css\n.myImage { background: url('myImage.jpg?size=1140'); }\n\n@media (max-width: 480px) {\n  .myImage { background: url('myImage.jpg?size=480'); }\n}\n```\n\n```js\n// Outputs placeholder image as a data URI, and three images with 100, 200, and 300px widths\nconst responsiveImage = require('myImage.jpg?placeholder=true&sizes[]=100,sizes[]=200,sizes[]=300');\n\n// responsiveImage.placeholder => 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAIBAQE…'\nReactDOM.render(\n  <div style={{\n    height: responsiveImage.height,\n    width: responsiveImage.width,\n    backgroundSize: 'cover',\n    backgroundImage: 'url(\"' + responsiveImage.placeholder + '\")'\n  }}>\n    <img src={responsiveImage.src} srcSet={responsiveImage.srcSet} />\n  </div>, el);\n```\n\n\n### Options\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `name` | `string` | `[hash]-[width].[ext]` | Filename template for output files. |\n| `outputPath` | `string | Function` | `undefined` | Configure a custom output path for your file |\n| `publicPath` | `string | Function` | `undefined` | Configure a custom public path for your file. |\n| `context` | `string` | `this.options.context` | Custom file context, defaults to webpack.config.js [context](https://webpack.js.org/configuration/entry-context/#context) |\n| `sizes` | `array` | *original size* | Specify all widths you want to use; if a specified size exceeds the original image's width, the latter will be used (i.e. images won't be scaled up). You may also declare a default `sizes` array in the loader options in your `webpack.config.js`. |\n| `size` | `integer` | *original size* | Specify one width you want to use; if the specified size exceeds the original image's width, the latter will be used (i.e. images won't be scaled up) |\n| `min` | `integer` | | As an alternative to manually specifying `sizes`, you can specify `min`, `max` and `steps`, and the sizes will be generated for you. |\n| `max` | `integer` | | See `min` above |\n| `steps` | `integer` |`4` | Configure the number of images generated between `min` and `max` (inclusive) |\n| `quality` | `integer` | `85` | JPEG compression quality |\n| `format` | `string` | *original format* | Either `png` or `jpg`; use to convert to another format |\n| `placeholder` | `boolean` | `false` | A true or false value to specify wether to output a placeholder image as a data URI |\n| `placeholderSize` | `integer` | `40` | A number value specifying the width of the placeholder image, if enabled with the option above |\n| `adapter` | `Adapter` | JIMP | Specify which adapter to use. Can only be specified in the loader options. |\n| `disable` | `boolean` | `false` | Disable processing of images by this loader (useful in development). `srcSet` and other attributes will still be generated but only for the original size. Note that the `width` and `height` attributes will both be set to `100` but the image will retain its original dimensions. |\n| `emitFile` | `boolean` | `true` | If `true`, emits a file (writes a file to the filesystem). If `false`, the loader will still return a object with the public URI but will not emit the file. It is often useful to disable this option for server-side packages. |\n\n#### Adapter-specific options\n\n##### jimp\n\n- `background: number` — Background fill when converting transparent to opaque images. Make sure this is a valid hex number, e.g. `0xFFFFFFFF`)\n\n##### sharp\n\n- `background: string` — Background fill when converting transparent to opaque images. E.g. `#FFFFFF`\n\n### Examples\n\nSet a default `sizes` array, so you don't have to declare them with each `require`.\n\n```js\nmodule.exports = {\n  entry: {...},\n  output: {...},\n  module: {\n    rules: [\n      {\n        test: /\\.(jpe?g|png)$/i,\n        loader: 'responsive-loader-modern',\n        options: {\n          sizes: [300, 600, 1200, 2000],\n          placeholder: true,\n          placeholderSize: 50\n        }\n      }\n    ]\n  },\n}\n```\n\n### Writing Your Own Adapter\n\nMaybe you want to use another image processing library or you want to change an existing one's behavior. You can write your own adapter with the following signature:\n\n```js\ntype Adapter = (imagePath: string) => {\n  metadata: () => Promise<{width: number, height: number}>\n  resize: (config: {width: number, mime: string, options: Object}) => Promise<{data: Buffer, width: number, height: number}>\n}\n```\n\nThe `resize` method takes a single argument which has a `width`, `mime` and `options` property (which receives all loader options)\n\nIn your webpack config, require your adapter\n\n```js\n{\n  test: /\\.(jpe?g|png)$/i,\n  loader: 'responsive-loader-modern',\n  options: {\n    adapter: require('./my-adapter')\n    foo: 'bar' // will get passed to adapter.resize({width, mime, options: {foo: 'bar}})\n  }\n}\n```\n\n## Notes\n\n- Doesn't support `1x`, `2x` sizes.\n\n## See also\n\n- Inspired by [resize-image-loader](https://github.com/Levelmoney/resize-image-loader), but simpler and without dependency on ImageMagick","users":{}}