diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/urijs/src/URI.js | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/urijs/src/URI.js')
-rw-r--r-- | node_modules/urijs/src/URI.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/node_modules/urijs/src/URI.js b/node_modules/urijs/src/URI.js index 1d7957a00..cb52699ec 100644 --- a/node_modules/urijs/src/URI.js +++ b/node_modules/urijs/src/URI.js @@ -1,7 +1,7 @@ /*! * URI.js - Mutating URLs * - * Version: 1.19.0 + * Version: 1.19.1 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ @@ -81,7 +81,7 @@ return /^[0-9]+$/.test(value); } - URI.version = '1.19.0'; + URI.version = '1.19.1'; var p = URI.prototype; var hasOwn = Object.prototype.hasOwnProperty; @@ -1241,10 +1241,14 @@ } else if (_URI || _object) { var src = _URI ? href._parts : href; for (key in src) { + if (key === 'query') { continue; } if (hasOwn.call(this._parts, key)) { this._parts[key] = src[key]; } } + if (src.query) { + this.query(src.query, false); + } } else { throw new TypeError('invalid input'); } |