avo 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

@@ -17916,7 +17916,7 @@
17916
17916
  function isInteger(value) {
17917
17917
  return /^[0-9]+$/.test(value);
17918
17918
  }
17919
- URI3.version = "1.19.7";
17919
+ URI3.version = "1.19.10";
17920
17920
  var p2 = URI3.prototype;
17921
17921
  var hasOwn = Object.prototype.hasOwnProperty;
17922
17922
  function escapeRegEx(string) {
@@ -18026,6 +18026,7 @@
18026
18026
  trim: /[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,
18027
18027
  parens: /(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g
18028
18028
  };
18029
+ URI3.leading_whitespace_expression = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;
18029
18030
  URI3.defaultPorts = {
18030
18031
  http: "80",
18031
18032
  https: "443",
@@ -18223,6 +18224,7 @@
18223
18224
  preventInvalidHostname: URI3.preventInvalidHostname
18224
18225
  };
18225
18226
  }
18227
+ string = string.replace(URI3.leading_whitespace_expression, "");
18226
18228
  pos = string.indexOf("#");
18227
18229
  if (pos > -1) {
18228
18230
  parts.fragment = string.substring(pos + 1) || null;
@@ -18233,7 +18235,7 @@
18233
18235
  parts.query = string.substring(pos + 1) || null;
18234
18236
  string = string.substring(0, pos);
18235
18237
  }
18236
- string = string.replace(/^(https?|ftp|wss?)?:[/\\]*/, "$1://");
18238
+ string = string.replace(/^(https?|ftp|wss?)?:+[/\\]*/i, "$1://");
18237
18239
  if (string.substring(0, 2) === "//") {
18238
18240
  parts.protocol = null;
18239
18241
  string = string.substring(2);
@@ -88687,7 +88689,7 @@
88687
88689
  /*!
88688
88690
  * URI.js - Mutating URLs
88689
88691
  *
88690
- * Version: 1.19.7
88692
+ * Version: 1.19.10
88691
88693
  *
88692
88694
  * Author: Rodney Rehm
88693
88695
  * Web: http://medialize.github.io/URI.js/
@@ -88700,7 +88702,7 @@
88700
88702
  * URI.js - Mutating URLs
88701
88703
  * IPv6 Support
88702
88704
  *
88703
- * Version: 1.19.7
88705
+ * Version: 1.19.10
88704
88706
  *
88705
88707
  * Author: Rodney Rehm
88706
88708
  * Web: http://medialize.github.io/URI.js/
@@ -88713,7 +88715,7 @@
88713
88715
  * URI.js - Mutating URLs
88714
88716
  * Second Level Domain (SLD) Support
88715
88717
  *
88716
- * Version: 1.19.7
88718
+ * Version: 1.19.10
88717
88719
  *
88718
88720
  * Author: Rodney Rehm
88719
88721
  * Web: http://medialize.github.io/URI.js/