Skip to content

Commit

Permalink
feat: upgrade dependencies (#57)
Browse files Browse the repository at this point in the history
* feat: upgrade dependencies

* feat: upgrade dependencies
  • Loading branch information
onildoaguiar authored May 5, 2021
1 parent 883c549 commit 8883492
Show file tree
Hide file tree
Showing 9 changed files with 1,427 additions and 1,193 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "image-thumbnail",
"version": "1.0.13",
"version": "1.0.14",
"description": "Generate an image thumbnail.",
"main": "index.js",
"scripts": {
Expand All @@ -25,11 +25,11 @@
},
"homepage": "https://github.com/onildoaguiar/image-thumbnail#readme",
"devDependencies": {
"jest": "^25.2.7"
"jest": "^26.6.3"
},
"dependencies": {
"axios": "^0.19.2",
"image-size": "^0.8.3",
"axios": "^0.21.1",
"image-size": "^1.0.0",
"sharp": "^0.28",
"validator": "^13.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion test/_fixtures/thumbnailBase64FromBase64.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"base64": "/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAGAAoDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAYH/8QAHhAAAgICAgMAAAAAAAAAAAAAAQIAEQMEBiESExT/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/8QAGxEAAQQDAAAAAAAAAAAAAAAAAAECAxEEIXH/2gAMAwEAAhEDEQA/AIPn+r8vDNPM2tptnyo/oy+ALIiAEgki77NUa6ExGIgY6UwaXVcP/9k="
"base64": "/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAGAAoDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAYH/8QAHRAAAQQDAQEAAAAAAAAAAAAAAQACAwQRElEGMf/EABUBAQEAAAAAAAAAAAAAAAAAAAME/8QAGxEAAQQDAAAAAAAAAAAAAAAAAAECAwQiMXH/2gAMAwEAAhEDEQA/AID21SCv4uvZkpVHzu3ZXlLcuaGDY7EjPcYPOrFD9RFPWTAWXTeH/9k="
}
2 changes: 1 addition & 1 deletion test/_fixtures/thumbnailBase64FromFilePath.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"base64": "/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCABAAGADASIAAhEBAxEB/8QAHAAAAgMBAQEBAAAAAAAAAAAABgcABAUIAwEC/8QAMxAAAQMDAgUDAgUDBQAAAAAAAQIDBAAFEQYhEhMxQVEHImEUMhVxgZGxCEJScoLB0fD/xAAZAQADAQEBAAAAAAAAAAAAAAACAwQFAQD/xAAlEQACAQQCAQQDAQAAAAAAAAABAgADERIhBDFBEyJR8AUjMrH/2gAMAwEAAhEDEQA/AFe4m7N/jtvgtxnY7JLbz7Q2IBO4rOtFolSFc5xnMZIOVnvVRMm42xLjKlKa5iQp1PTioovaru3pm2uLjpjx5CAUhs74+fz61ltdf5tueGoTW/0lmXa1xJnOYjw1jmJ92SpJ6Vk370fuMULkQwxMYHUsr94/2nr+9Mj0e1G7KsTumboAZTDBVGWP70DfH51iDUL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HfIo9GstqZFt81s/GNbXIricgZHqOxB6fpQrSXMhxNEGqyZU5AtN6sfiVck2RTz0Zych1cRPmoX8yQVbVY5HH6Uv7/AKEb09fQqO65KeUogMIAIaOOT165PHpV5o2DG0hqBy6w4/mTfmbaU7I3IaB7A4GOPzpgzrxZ7NZX7reZDMqa4k4QCPlJzgDPansiqP16iBUdiA+5y5qKB9h3crYdfaktrCwhxASUn8UkiqOTKclHc8dzn+LuaJNcXyDeXguNGDbyVklxPRaT2I9qE6qpA4gt3EOdkDqZWVlZTYuN9oMIt8tNyKxOKh5W08BNWWor29fLdboq0t+TGbCUlCcEgVa6C0MNYx57q5gYZjIOVE4JPpUFTs+fMgxLXBYLsQhlOehCTjcoelZOsvup0Kx0PM+sgpQqG0zHQytSQUJPO0ep96rbm03OvcVl+ezEjOvojBbpCUgkgKcUewGevTimLeNGy3UouEN1hD+MOIWSlI904/Siq06fsDdnaS3bYMxxtOVOPMpWpRPJPOT1pIrLRNzNNOKccRPHid4YaGhaDl3qLGchrtsLzWpcJzCn1JACNw5SsqVj5uvPWlTLgXTR9ohagvzVulpU2hIyhRWFOJ4CkcBRT6g54p2MtaPulmVZbpCVBgPFJUlha2WitJyMgcDnnpVb4peHjmtLZFh2e9wm22HC4EvNn94duACQeMZPbvV9J05ChhFJXr8FiinR7HgzniPKj3S2XWRJvEhtwhCWWmmlFD6s5IWf5cDmvJtz612otzYsuTJQtLbLiwfIByMr3YCSeTnPQZNQrzctSaHVcdIPNspSHStaPLDoJIHzIV3BAH/VVGjrbOu+oo0FxTzQkL27nQQgE+3+wono4jJTL6P5dWulWmPot1/YNXCOqNKU2ocdUn1HrUauk9T/ALPDMiI9JsmpGlzWmwpTUhsJbV7BQJI6HsRXO10gSLXcZMGYkIkR1ltYByMj0PcVQjXAmNWC5th1fUi1lZWUcVP/2Q=="
}
2 changes: 1 addition & 1 deletion test/_fixtures/thumbnailBase64FromSamsung.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/_fixtures/thumbnailBase64FromUri.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"base64": "/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCABAAGADASIAAhEBAxEB/8QAHAAAAgMBAQEBAAAAAAAAAAAABgcABAUIAwEC/8QANBAAAQMDAwIFAgUCBwAAAAAAAQIDBAAFEQYSITFBBxMiUWEysRQVQnGBCJEkUnKCwdHw/8QAGQEAAwEBAQAAAAAAAAAAAAAAAgMEBQEA/8QAJREAAgEEAgAGAwAAAAAAAAAAAQIAAxESIQQxBRMiQVHwIzLh/9oADAMBAAIRAxEAPwBYOJurf57AgtxnY7JLbzzQ4IBPIrNtFolSFec4z/hUg5We9VEybjbEuMqUprzEhTqem6ii9qvDemba4uOmNHkJBSGzz/P3rLe6/rbc8NQmt/hLMu9qiTPOYjw1p8xPqyVJPSsm/eD9xihciGGJjA6llfrH+09f70yPB7UbsqxO6ZugBlR2CqMsfrQOcfvWINROWu8LjocUphatqm1nGPgZoQxUXBlQpo9hOe9TWSdbnliVFUyEHqUkAg9DQ/XVF+sjWpWDEWVBD52pKhygmlVB8F767PfZnvMQmkKISonzFKGSAdo6A/JqijzEZfXq04/EZSAm4rKlNmd4OvRyUIugW72BYwPvQdfdD3uzLT+Jjb2VKCA62cpyTgZp6cmk+gYDceomyIMAE9K+UftaXZZeDIaU8sHaSPcdar3K2WdiciNHYU64Dhw7+M98VxeSjGyzp47KLmBFSmHfdGwYunF3XzhEx9Da1ZLh+BS8pqOH6imUr3HbaHWLk++ifbXJclSVFBT1+Dj2qg/NmGEyiYHFMIO1pK+AMdq2PBOdHHiGli6S0Ro7zakhThxkjsD2r9azejRNZuxocozoLMhRCiBhQ4O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OIjtWTrL7qdVSdDzPrIKUKhtMx0MrUkFCTvwjufeq25NInXuK0/PZiRnX0xgt0hKQSQFOKPQDPPltTFvGjZbyUXCG6wh/ADiFkpSPdOPtRVabBYG7O0lu2wZjjacqceZStSidyd8nnSRWWibmaacU44iaeJ3hhoWFoOXeosZyGu2wvNalwnMKfUkAI4hulZUrHq5786VMuBdNH2iFqC+tW6WFNoSMoUVhTidgpGwUU9wc7U7GWtH3OzKst0hKgwHlJKksLWy0VpORkDYb78qrfFPw8c1pbIsO0XuE22w4XAl5s/mHhwASk7YGenWr6TpyFDCKSvX4LFFOj2PBnPMeVHulsusiTeJDbhCEstNNKKH1ZyQs/04G9aG2vrXavLmxZcmShaW2XFg+QDkZXxYCSdznPIZqFeblqTQ6rjpB5tlKQ6VrR5YdBJA9SFdQQB/aqjR1tnXfUUWC4p5oSF8PE6CEAn2/wChRPRsMlMvo/l1a6VaY+i3X97g1cI6o0pTahtzSe471GrpPU/8PDMmI9JsmpGlzWmwpTUhsJbV7BQJI5HoRXO10gSLXcZMGYkIkR1ltYByMjseoqhGuBMasFzOHV9SLWVlZRxU/9k="
}
2 changes: 1 addition & 1 deletion test/_fixtures/thumbnailBufferFromBase64.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"buffer": {"type":"Buffer","data":[255,216,255,219,0,67,0,6,4,5,6,5,4,6,6,5,6,7,7,6,8,10,16,10,10,9,9,10,20,14,15,12,16,23,20,24,24,23,20,22,22,26,29,37,31,26,27,35,28,22,22,32,44,32,35,38,39,41,42,41,25,31,45,48,45,40,48,37,40,41,40,255,219,0,67,1,7,7,7,10,8,10,19,10,10,19,40,26,22,26,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,255,192,0,17,8,0,6,0,10,3,1,34,0,2,17,1,3,17,1,255,196,0,22,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,255,196,0,30,16,0,2,2,2,2,3,0,0,0,0,0,0,0,0,0,0,1,2,0,17,3,4,6,33,18,19,20,255,196,0,20,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,255,196,0,27,17,0,1,4,3,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,17,4,33,113,255,218,0,12,3,1,0,2,17,3,17,0,63,0,131,231,250,191,47,12,211,204,218,218,109,159,42,63,163,47,128,44,136,128,18,9,34,239,179,84,107,161,49,24,136,24,233,76,26,93,87,15,255,217]}
"buffer": {"type":"Buffer","data":[255,216,255,219,0,67,0,6,4,5,6,5,4,6,6,5,6,7,7,6,8,10,16,10,10,9,9,10,20,14,15,12,16,23,20,24,24,23,20,22,22,26,29,37,31,26,27,35,28,22,22,32,44,32,35,38,39,41,42,41,25,31,45,48,45,40,48,37,40,41,40,255,219,0,67,1,7,7,7,10,8,10,19,10,10,19,40,26,22,26,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,255,192,0,17,8,0,6,0,10,3,1,34,0,2,17,1,3,17,1,255,196,0,22,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,255,196,0,29,16,0,1,4,3,1,1,0,0,0,0,0,0,0,0,0,0,1,0,2,3,4,17,18,81,6,49,255,196,0,21,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,4,255,196,0,27,17,0,1,4,3,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,34,49,113,255,218,0,12,3,1,0,2,17,3,17,0,63,0,128,246,213,32,175,226,235,217,146,149,71,206,237,217,94,82,220,185,161,131,99,177,35,61,198,15,58,177,67,245,17,79,89,48,22,93,55,135,255,217]}
}
Loading

0 comments on commit 8883492

Please sign in to comment.