Skip to content

Commit 9a61738

Browse files
author
imgix-git-robot
committed
chore(release): 3.5.1
## [3.5.1](v3.5.0...v3.5.1) (2022-02-25) ### Bug Fixes * add `options` parameter to `_sanitizePath` definition ([8fee52e](8fee52e)) [skip ci]
1 parent 8fee52e commit 9a61738

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

dist/imgix-js-core.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function _nonIterableRest() {
159159
}
160160

161161
// package version used in the ix-lib parameter
162-
var VERSION = '3.4.0'; // regex pattern used to determine if a domain is valid
162+
var VERSION = '3.5.0'; // regex pattern used to determine if a domain is valid
163163

164164
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
165165

dist/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ declare class ImgixClient {
1616
params?: {},
1717
options?: { disablePathEncoding?: boolean },
1818
): string;
19-
_sanitizePath(path: string): string;
19+
_sanitizePath(path: string, options?: { encode?: boolean }): string;
2020
_buildParams(params: {}): string;
2121
_signParams(path: string, queryParams?: {}): string;
2222
buildSrcSet(path: string, params?: {}, options?: SrcSetOptions): string;

dist/index.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function _nonIterableRest() {
153153
}
154154

155155
// package version used in the ix-lib parameter
156-
var VERSION = '3.4.0'; // regex pattern used to determine if a domain is valid
156+
var VERSION = '3.5.0'; // regex pattern used to determine if a domain is valid
157157

158158
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
159159

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@imgix/js-core",
33
"description": "A JavaScript client library for generating image URLs with imgix",
4-
"version": "3.5.0",
4+
"version": "3.5.1",
55
"repository": "https://github.com/imgix/js-core",
66
"license": "BSD-2-Clause",
77
"main": "dist/index.cjs.js",

src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// package version used in the ix-lib parameter
2-
export const VERSION = '3.5.0';
2+
export const VERSION = '3.5.1';
33
// regex pattern used to determine if a domain is valid
44
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;
55
// minimum generated srcset width

0 commit comments

Comments
 (0)