diff --git a/readme.md b/readme.md index b8555c9..d4e5e57 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,10 @@ # is-apng   [![Latest GitHub release][release-image]][release-url] [![Latest NPM version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] -> Check if a Buffer/Uint8Array is a [Animated PNG / APNG](https://en.wikipedia.org/wiki/APNG) image +> Checks if a Buffer/Uint8Array contains a [Animated PNG / APNG](https://en.wikipedia.org/wiki/APNG) image. + +> [!IMPORTANT] +> This is _only_ a quick detect method and does not do full (A)PNG file validation.
+> For security and file integrity sensitive operations, use a true (A)PNG validator (see also [specs](https://www.w3.org/TR/png/)). ## Install @@ -40,7 +44,7 @@ isApng(new Uint8Array(buffer)) #### As old-school global script tag Url for latest version: `https://unpkg.com/is-apng`
-Url for specific version: `https://unpkg.com/is-apng@1.1.3/dist/index.js` +Url for specific version: `https://unpkg.com/is-apng@1.1.4/dist/index.js` ```html @@ -54,7 +58,7 @@ Url for specific version: `https://unpkg.com/is-apng@1.1.3/dist/index.js` #### As module Url for latest version: `https://unpkg.com/is-apng/dist/index.mjs`
-Url for specific version: `https://unpkg.com/is-apng@1.1.3/dist/index.mjs` +Url for specific version: `https://unpkg.com/is-apng@1.1.4/dist/index.mjs` ```html