Socket
Socket
Sign inDemoInstall

cloudinary-core

Package Overview
Dependencies
1
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.2 to 2.6.3

28

cloudinary-core.d.ts

@@ -135,3 +135,3 @@ export as namespace cloudinary;

serialize(): string;
/**

@@ -211,3 +211,4 @@ * Combines all propoerties from source transformation into this one

underlay(value: string): Transformation; // public id of an uploaded image
variables(value: [[string]]): Transformation;
variable(name: string, value: any): Transformation;
variables(value: Array<[string, any]>): Transformation;
videoCodec(value: string | Object): Transformation; // Select the video codec and control the video content of the profile used. Can be provided in the form <codec>[:<profile>:[<level>]] to specify specific values to apply for video codec, profile and level, e.g. "h264:baseline:3.1". Also accepts a hash of values such as { codec: 'h264', profile: 'basic', level: '3.1' }

@@ -227,6 +228,7 @@ videoSampling(value: number | string): Transformation; // Integer - The total number of frames to sample from the original video. String - The number of seconds between each frame to sample from the original video. e.g. 2.3s takes one frame every 2.3 seconds.

fallbackContent(value: string): Transformation;
fps(value: string | Array<string|number>): Transformation;
keyframeInterval(value: number): Transformation;
offset(value: string): Transformation; // [float, float] or [string, string] or a range. Shortcut to set video cutting using a combination of start_offset and end_offset values
poster(value: string | Object): Transformation;
sourceType(value: string): Transformation;
sourceTypes(value: string): Transformation;
}

@@ -319,3 +321,4 @@

underlay?: string; // public id of an uploaded image
variables?: [[string, any]];
variable?: [string, any];
variables?: Array<[string, any]>;
width?: string | number; // Number of pixels, width % or "auto" with rounding step

@@ -337,6 +340,7 @@ x?: number | string; // pixels or percent

flags?: VideoFlags;
fps?: string | Array<string|number>;
keyframeInterval?: number;
offset?: string, // [float, float] or [string, string] or a range. Shortcut to set video cutting using a combination of start_offset and end_offset values
poster?: string | Object,
sourceType?: string;
sourceTypes?: string;
sourceTransformation?: string;

@@ -418,2 +422,14 @@ startOffset?: number | string; // Float or string

/**
* Creates an HTML (DOM) Picture tag using Cloudinary as the source.
* @constructor PictureTag
* @extends HtmlTag
* @param {string} [publicId]
* @param {Object} [options]
*/
export class PictureTag extends HtmlTag {
static "new"(publicId: string, options?: Transformation.Options, widthList?: Array<[number, number, Transformation]>): PictureTag;
static "new"(name: string, publicId: string, options?: Transformation.Options): PictureTag;
}
/**
* Creates an HTML (DOM) Video tag using Cloudinary as the source.

@@ -814,2 +830,2 @@ * @constructor VideoTag

}
}
}
{
"name": "cloudinary-core",
"version": "2.6.2",
"version": "2.6.3",
"description": "Cloudinary Client Side JS library. Cloudinary streamlines your web application’s image manipulation needs. Cloudinary's cloud-based servers automate image uploading, resizing, cropping, optimizing, sprite generation and more.",

@@ -5,0 +5,0 @@ "main": "cloudinary-core.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc