@giphy/js-util 4.1.0 → 4.2.0

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.
@@ -4,7 +4,7 @@ interface IRenditionWithName extends IRendition {
4
4
  renditionName: keyof IImages;
5
5
  }
6
6
  export declare const getBestVideo: (video: IGif['video'], width: number, height: number) => IImage | undefined;
7
- export declare const getBestRendition: (images: IImages, gifWidth: number, gifHeight: number, scaleUpMaxPixels?: number | undefined) => IRenditionWithName;
7
+ export declare const getBestRendition: (images: IImages, gifWidth: number, gifHeight: number, scaleUpMaxPixels?: number) => IRenditionWithName;
8
8
  declare type Options = {
9
9
  isStill?: boolean;
10
10
  useVideo?: boolean;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "test:watch": "jest --config ./jestconfig.js --watchAll"
9
9
  },
10
10
  "name": "@giphy/js-util",
11
- "version": "4.1.0",
11
+ "version": "4.2.0",
12
12
  "main": "dist/index.js",
13
13
  "description": "Shared giphy js utils",
14
14
  "homepage": "https://github.com/Giphy/giphy-js/tree/master/packages/util",
@@ -22,14 +22,14 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@giphy/js-types": "^4.2.0",
25
+ "@giphy/js-types": "^4.3.0",
26
26
  "dompurify": "^2.2.2",
27
27
  "uuid": "^8.3.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/dompurify": "^2.0.4",
31
31
  "@types/uuid": "^8.3.0",
32
- "typescript": "^4.6.4"
32
+ "typescript": "^4.7.3"
33
33
  },
34
- "gitHead": "a38a900427b13e96133c8d0a96d6fd1dc342f40d"
34
+ "gitHead": "9fa6aac4df3881d705251b7d6ee462e8889dbd60"
35
35
  }