Skip to content

Commit

Permalink
chore(release): 3.3.1-rc.1
Browse files Browse the repository at this point in the history
## [3.3.1-rc.1](v3.3.0...v3.3.1-rc.1) (2021-07-22)

### Bug Fixes

* add missing types to _buildSrcSet ([b0806cf](b0806cf))

 [skip ci]
  • Loading branch information
imgix-git-robot authored and imgix-git-robot committed Jul 22, 2021
1 parent b0806cf commit f29e6f9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/imgix-js-core.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function _nonIterableRest() {
}

// package version used in the ix-lib parameter
var VERSION = '3.3.0-rc.1'; // regex pattern used to determine if a domain is valid
var VERSION = '3.3.0'; // regex pattern used to determine if a domain is valid

var DOMAIN_REGEX = /^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i; // minimum generated srcset width

Expand Down
7 changes: 6 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ declare class ImgixClient {
_sanitizePath(path: string): string;
_buildParams(params: {}): string;
_signParams(path: string, queryParams?: {}): string;
static _buildSrcSet(path: string, params?: {}, options?: {}): string;
static _buildSrcSet(
path: string,
params?: {},
srcSetOptions?: {},
clientOptions?: {},
): string;
buildSrcSet(path: string, params?: {}, options?: SrcSetOptions): string;
_buildSrcSetPairs(path: string, params?: {}, options?: SrcSetOptions): string;
_buildDPRSrcSet(path: string, params?: {}, options?: SrcSetOptions): string;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function _nonIterableRest() {
}

// package version used in the ix-lib parameter
var VERSION = '3.3.0-rc.1'; // regex pattern used to determine if a domain is valid
var VERSION = '3.3.0'; // regex pattern used to determine if a domain is valid

var DOMAIN_REGEX = /^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i; // minimum generated srcset width

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@imgix/js-core",
"description": "A JavaScript client library for generating image URLs with imgix",
"version": "3.3.0",
"version": "3.3.1-rc.1",
"repository": "https://github.com/imgix/js-core",
"license": "BSD-2-Clause",
"main": "dist/index.cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// package version used in the ix-lib parameter
export const VERSION = '3.3.0';
export const VERSION = '3.3.1-rc.1';
// regex pattern used to determine if a domain is valid
export const DOMAIN_REGEX = /^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i;
// minimum generated srcset width
Expand Down

0 comments on commit f29e6f9

Please sign in to comment.