New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@giphy/js-types

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giphy/js-types - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

dist/images.d.ts

45

dist/gif.d.ts

@@ -0,47 +1,4 @@

import { IImages } from './images';
import IUser from './user';
import IVideo from './video';
export interface IRendition {
width: number;
height: number;
}
export interface IImage extends IRendition {
url: string;
size?: string;
}
export interface IURLAsset extends IImage {
}
export interface IMP4 extends IRendition {
mp4: string;
mp4_size: string;
}
export interface IWebP {
webp: string;
webp_size: string;
}
export declare type ImageAllTypes = IImage & IWebP & IMP4;
export interface IImages {
fixed_height_still: IImage;
original_still: IImage;
fixed_width: ImageAllTypes;
fixed_height_small_still: IImage;
fixed_height_downsampled: IImage & IWebP;
preview: IImage;
fixed_height_small: ImageAllTypes;
downsized_still: IImage;
downsized: IImage;
downsized_large: IImage;
fixed_width_small_still: IImage;
preview_webp: IImage;
fixed_width_still: IImage;
fixed_width_small: ImageAllTypes;
downsized_small: IImage & IMP4;
fixed_width_downsampled: IImage & IWebP;
downsized_medium: IImage;
original: ImageAllTypes;
fixed_height: ImageAllTypes;
looping: IMP4;
original_mp4: IMP4;
preview_gif: IImage;
'480w_still': IImage;
}
interface IBottleData {

@@ -48,0 +5,0 @@ tid?: string;

export { IChannel } from './channel';
export { default as IGif, IImage, IImages, ImageAllTypes, IRendition } from './gif';
export { default as IGif } from './gif';
export { IImage, IImages, ImageAllTypes, IRendition } from './images';
export { PingbackEventType } from './pingback-event';
export { default as IUser, IProfileUser } from './user';

@@ -1,2 +0,2 @@

import { IImages, IURLAsset } from './gif';
import { IImages, IURLAsset } from './images';
export interface IVideoAssets {

@@ -3,0 +3,0 @@ source: IURLAsset;

@@ -10,3 +10,3 @@ {

"homepage": "https://github.com/Giphy/giphy-js/tree/master/packages/types",
"version": "4.0.2",
"version": "4.0.3",
"main": "dist/index.d.ts",

@@ -24,3 +24,3 @@ "types": "dist/index.d.ts",

},
"gitHead": "7552386af3a1beda0be872920aef24d741f554a3"
"gitHead": "359182f6d84b565ebb7161366bbbcaea3222993b"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc