cloudinary 1.18.0 → 1.18.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9179fe1c8105281b33780687c2bed49db41a35fca2d33ff15bd7fd4635d119f
4
- data.tar.gz: 7b3bd01f71f1012bc7f315f707450ebb65537064e004fad615d713f489c4316c
3
+ metadata.gz: 42964b1e7b2a93986d13479b494110e502f4d1466f179410e22f58995d75ee1f
4
+ data.tar.gz: 80eae5018288bedfa0319537850b3e173142d437cf016c83ee3b8ba1f412c5d5
5
5
  SHA512:
6
- metadata.gz: 347fc122e9a31aa241afa194c09cdc3c0d19e63c5a206cc7751f4939de7c273769d648c7fd33af2cc4e7505fba0a5be9d555f1c3db1e2b41d45cfb58082e1cc3
7
- data.tar.gz: 4f04b59256afe8f23c27625d94d761e9802e2ccd91d3c3dc992eb263e3430a7a053467c203d416d379815e317924f042c9310ac0f2b4ca185630307268aa66ca
6
+ metadata.gz: 7021d7cd3d1d828660c68d803edc312dc1b7a7a9ac56cb0d9cc6dee894fa47fbb18950f70eb54e1b3e0a20a3f392632f1ef0ac5786f70ded929b2d912f20f3fa
7
+ data.tar.gz: 5c67f41050189259c3442500525bb27d54355a8b510b4e5f9f32535a8fa0b2dcfc9fb1102403afbbe3fc88e3c94c91b42fe6028d64dab48d6cc86062c8bd1061
@@ -1,4 +1,9 @@
1
1
 
2
+ 1.18.1 / 2020-09-30
3
+ ===================
4
+
5
+ * Update embedded `jquery.cloudinary.js` to fix ES5 compatibility issue
6
+
2
7
  1.18.0 / 2020-09-27
3
8
  ===================
4
9
 
@@ -1,4 +1,4 @@
1
1
  # Copyright Cloudinary
2
2
  module Cloudinary
3
- VERSION = "1.18.0"
3
+ VERSION = "1.18.1"
4
4
  end
@@ -1490,12 +1490,16 @@ var slice = [].slice,
1490
1490
  // operators
1491
1491
  operatorsPattern = "((" + operators + ")(?=[ _]))";
1492
1492
  operatorsReplaceRE = new RegExp(operatorsPattern, "g");
1493
- expression = expression.replace(operatorsReplaceRE, match => Expression.OPERATORS[match]);
1493
+ expression = expression.replace(operatorsReplaceRE, function (match) {
1494
+ return Expression.OPERATORS[match];
1495
+ });
1494
1496
 
1495
1497
  // predefined variables
1496
1498
  predefinedVarsPattern = "(" + Object.keys(Expression.PREDEFINED_VARS).join("|") + ")";
1497
1499
  predefinedVarsReplaceRE = new RegExp(predefinedVarsPattern, "g");
1498
- expression = expression.replace(predefinedVarsReplaceRE, (match, p1, offset) => (expression[offset - 1] === '$' ? match : Expression.PREDEFINED_VARS[match]));
1500
+ expression = expression.replace(predefinedVarsReplaceRE, function(match, p1, offset){
1501
+ return (expression[offset - 1] === '$' ? match : Expression.PREDEFINED_VARS[match]);
1502
+ });
1499
1503
 
1500
1504
  return expression.replace(/[ _]+/g, '_');
1501
1505
  };
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudinary
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nadav Soferman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-09-27 00:00:00.000000000 Z
13
+ date: 2020-09-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws_cf_signer