Skip to content

Commit

Permalink
chore(release): 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherwin H committed Sep 17, 2019
1 parent b89dba1 commit 6021557
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="2.1.2"></a>
## [2.1.2](https://github.com/imgix/imgix-core-js/compare/2.1.1...2.1.2) (2019-09-17)

* fix: ensure URL-legal, path-illegal characters are encoded ([#61](https://github.com/imgix/imgix-core-js/pull/61))

<a name="2.1.1"></a>
## [2.1.1](https://github.com/imgix/imgix-core-js/compare/2.1.0...2.1.1) (2019-07-28)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imgix-core-js",
"version": "2.1.1",
"version": "2.1.2",
"homepage": "https://github.com/imgix/imgix-core-js",
"authors": [
"Kelly Sutton <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions dist/imgix-core-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var Base64 = _jsBase64.Base64 || _jsBase64;

// package version used in the ix-lib parameter
var VERSION = '2.1.1';
var VERSION = '2.1.2';
// 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;
// returns an array of width values used during scrset generation
Expand Down Expand Up @@ -103,7 +103,7 @@
} else {
// Use de/encodeURI if we think the path is just a path,
// so it leaves legal characters like '/' and '@' alone
path = encodeURI(path);
path = encodeURI(path).replace(/[#?:]/g, encodeURIComponent);
}

return '/' + path;
Expand Down
2 changes: 1 addition & 1 deletion dist/imgix-core-js.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "imgix-core-js",
"description": "Common boilerplate for all imgix JavaScript-based functionality.",
"version": "2.1.1",
"version": "2.1.2",
"repository": "https://github.com/imgix/imgix-core-js",
"scripts": {
"assert_version": "node assert_version.js",
Expand Down
2 changes: 1 addition & 1 deletion src/imgix-core-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var Base64 = _jsBase64.Base64 || _jsBase64;

// package version used in the ix-lib parameter
var VERSION = '2.1.1';
var VERSION = '2.1.2';
// 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;
// returns an array of width values used during scrset generation
Expand Down

0 comments on commit 6021557

Please sign in to comment.