@aspan-corporation/ac-shared 1.2.29 → 1.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ export declare const EXTENSION_JPEG = "jpeg";
2
2
  export declare const EXTENSION_JPG = "jpg";
3
3
  export declare const EXTENSION_WEBP = "webp";
4
4
  export declare const EXTENSION_HEIC = "heic";
5
+ export declare const EXTENSION_PNG = "png";
5
6
  export declare const EXTENSION_MOV = "mov";
6
7
  export declare const EXTENSION_MP4 = "mp4";
7
8
  export declare const EXTENSION_THUMBS = "webp";
@@ -2,14 +2,20 @@ export const EXTENSION_JPEG = "jpeg";
2
2
  export const EXTENSION_JPG = "jpg";
3
3
  export const EXTENSION_WEBP = "webp";
4
4
  export const EXTENSION_HEIC = "heic";
5
+ export const EXTENSION_PNG = "png";
5
6
  export const EXTENSION_MOV = "mov";
6
7
  export const EXTENSION_MP4 = "mp4";
7
8
  export const EXTENSION_THUMBS = EXTENSION_WEBP;
8
9
  export const EXTENSION_ENCODED_VIDEO = EXTENSION_MP4;
10
+ // Image source formats the resizer can decode with Sharp/libvips. PNG is
11
+ // included (libvips decodes it natively). RAW/DNG is intentionally excluded —
12
+ // the sharp layer isn't built with a RAW loader (libraw), so those can't be
13
+ // decoded without a layer change.
9
14
  export const ALLOWED_EXTENSIONS = [
10
15
  EXTENSION_JPEG,
11
16
  EXTENSION_JPG,
12
- EXTENSION_HEIC
17
+ EXTENSION_HEIC,
18
+ EXTENSION_PNG
13
19
  ];
14
20
  export const ALLOWED_VIDEO_EXTENSIONS = [EXTENSION_MOV, EXTENSION_MP4];
15
21
  export const DIM_THUMBNAIL_WIDTH = 320;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspan-corporation/ac-shared",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "exports": {