Update neo-scraper + only display post resolution when available

next
neobooru 2022-01-30 19:20:05 +01:00
parent bb7a801147
commit 662a6896c8
3 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@
}, },
"dependencies": { "dependencies": {
"axios": "^0.23.0", "axios": "^0.23.0",
"neo-scraper": "^0.5.2", "neo-scraper": "^0.5.3",
"vue": "^2.6.14", "vue": "^2.6.14",
"webextension-polyfill": "^0.8.0" "webextension-polyfill": "^0.8.0"
}, },

View File

@ -18,7 +18,7 @@
<i class="fas fa-cog cursor-pointer" @click="openSettings"></i> <i class="fas fa-cog cursor-pointer" @click="openSettings"></i>
</div> </div>
<div class="section-row"> <div class="section-row" v-if="selectedPost.resolution != undefined">
<ul class="compact"> <ul class="compact">
<li>Resolution: {{ resolutionToString(selectedPost.resolution) }}</li> <li>Resolution: {{ resolutionToString(selectedPost.resolution) }}</li>
</ul> </ul>

View File

@ -1503,10 +1503,10 @@ neo-async@^2.6.2:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
neo-scraper@^0.5.2: neo-scraper@^0.5.3:
version "0.5.2" version "0.5.3"
resolved "https://registry.yarnpkg.com/neo-scraper/-/neo-scraper-0.5.2.tgz#2ed16d94fad9da3ca5d7ee1e9a0a6ffa995c1e41" resolved "https://registry.yarnpkg.com/neo-scraper/-/neo-scraper-0.5.3.tgz#81219e05cee5872ab6a0032b2338b26fbfe337e5"
integrity "sha1-LtFtlPrZ2jyl1+4emgpv+plcHkE= sha512-XTEYEs6gV8qqmtvAgOE5qWBIvNVUJvVHFs1SnA/8qmeoTJ4HYXzaS+mTnrRJORBpIiL0mf3clxZeeX+yKTzpRw==" integrity sha512-j19GBOmEFq8KEi9ptB3rfcdRaRMzigqH0UYJ3Gh0TMBVvqA4zFJV1bDEKglf+OcwWiHTciQ35TKGyjkxK7kGZQ==
dependencies: dependencies:
turndown "^7.1.1" turndown "^7.1.1"