Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

23
node_modules/is-png/index.js generated vendored
View File

@@ -1,18 +1,15 @@
'use strict';
module.exports = buffer => {
if (!buffer || buffer.length < 8) {
module.exports = function (buf) {
if (!buf || buf.length < 8) {
return false;
}
return (
buffer[0] === 0x89 &&
buffer[1] === 0x50 &&
buffer[2] === 0x4E &&
buffer[3] === 0x47 &&
buffer[4] === 0x0D &&
buffer[5] === 0x0A &&
buffer[6] === 0x1A &&
buffer[7] === 0x0A
);
return buf[0] === 137 &&
buf[1] === 80 &&
buf[2] === 78 &&
buf[3] === 71 &&
buf[4] === 13 &&
buf[5] === 10 &&
buf[6] === 26 &&
buf[7] === 10;
};