[MediaWiki-commits] [Gerrit] Update restbase to 2da393c - change (mediawiki...deploy)

2015-11-19 Thread GWicke (Code Review)
GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/254370

Change subject: Update restbase to 2da393c
..

Update restbase to 2da393c

List of changes:
xxx Update node module dependencies

Change-Id: I17e5168cc63285cdfb219479426cd23fc7a8c9ce
---
M 
node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
M 
node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
M node_modules/tassembly/browser/tassembly.js
M node_modules/tassembly/browser/tassembly.orig.js
M node_modules/tassembly/package.json
M node_modules/tassembly/tassembly.js
M node_modules/tassembly/test.js
7 files changed, 70 insertions(+), 35 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/restbase/deploy 
refs/changes/70/254370/1

diff --git 
a/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
 
b/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
index 76d5799..062a245 100644
--- 
a/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
+++ 
b/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
@@ -57,7 +57,7 @@
   "homepage": "https://github.com/caolan/async#readme;,
   "_id": "async@0.9.2",
   "_shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
-  "_from": "async@~0.9.0",
+  "_from": "async@^0.9.0",
   "_npmVersion": "2.9.0",
   "_nodeVersion": "2.0.1",
   "_npmUser": {
@@ -79,5 +79,6 @@
 "tarball": "http://registry.npmjs.org/async/-/async-0.9.2.tgz;
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz;
+  "_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz;,
+  "readme": "ERROR: No README data found!"
 }
diff --git 
a/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
 
b/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
index 6eb9115..04953c7 100644
--- 
a/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
+++ 
b/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
@@ -81,6 +81,5 @@
 "tarball": "http://registry.npmjs.org/core-js/-/core-js-0.9.18.tgz;
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/core-js/-/core-js-0.9.18.tgz;,
-  "readme": "ERROR: No README data found!"
+  "_resolved": "https://registry.npmjs.org/core-js/-/core-js-0.9.18.tgz;
 }
diff --git a/node_modules/tassembly/browser/tassembly.js 
b/node_modules/tassembly/browser/tassembly.js
index aaad289..952905c 100644
--- a/node_modules/tassembly/browser/tassembly.js
+++ b/node_modules/tassembly/browser/tassembly.js
@@ -3,15 +3,15 @@
 function(a){var b=this;return a.replace(q,function(a,c,g,m,h){return 
c?b.decodeEntity(c):g?b.decodeChar(parseInt(g,10)):m?b.decodeChar(parseInt(m,16)):h})};var
 n=RegExp("[\t 
]|\u00ad|\u1806|\u200b|\u2060|\ufeff|\u034f|\u180b|\u180c|\u180d|\u200c|\u200d|[\ufe00-\ufe0f]","g");e.prototype.cssDecodeRE=/\\(?:((?:\n|\r\n|\r|\f))|([0-9A-Fa-f]{1,6})[\x20\t\r\n\f]?|(.)|()$)/;e.prototype.sanitizeStyle=function(a){function
 b(a,b){var 
d,h;"'"===b?(d=/'/g,h=/'([^'\n\r\f]*)$/):(d=/"/g,h=/"([^"\n\r\f]*)$/);if(1===
 (a.match(d)||[]).length%2)a=a.replace(h,function(a,c){return" "+c});return 
a}a=this.decodeCharReferences(a);a=a.replace(this.cssDecodeRE,function(a,b,d,h){var
 f;if(void 0!==b)return"";if(void 
0!==d){a=parseInt(d,16);try{f=String.fromCharCode(a)}catch(e){f=a.toString()}}else
 f=void 
0!==h?h:"\\";return"\n"===f||'"'===f||"'"===f||"\\"===f?"\\"+f.charCodeAt(0).toString(16)+"
 ":f});a=a.replace(/\/\*.*\*\//g," ");a=b(a,"'");a=b(a,'"');var 
d=a.indexOf("/*");0<=d&&(a=a.substr(0,d));return/[\000-\010\016-\037\177]/.test(a)?
 "/* invalid control char 
*/":/expression|filter\s*:|accelerator\s*:|url\s*\(/i.test(a)?"/* insecure 
input */":a};e.prototype.sanitizeHref=function(a){var 
b=a.match(/^((?:[a-zA-Z][^:\/]*:)?(?:\/\/)?)([^\/]+)(\/?.*)/),d,c;if(b){if(d=b[1],c=b[2],a=b[3],!d.match(this.protocolRegex))return
 null}else c=d="";c=c.replace(n,"");return 
d+c+a};k.exports={AttributeSanitizer:e}},{}],2:[function(r,k,s){function 
e(){this.uid=0;this.cache={};this.partials={}}function l(a){var 
b="",d=-1,c="";do{if(/^$|[\[:(,]/.test(c))b+=
-c,/[pri]/.test(a[d+1])&&/^(?:p(?:[cm]s?)|r[mc]|i)(?:[\.\(\)}\[\]]|$)/.test(a.slice(d+1))&&(b+="c.");else
 
if("'"===c){if(c=a.slice(d).match(/'(?:[^\\']+|\\')*'/))b+=c[0],d+=c[0].length-1}else
 b+=c;d++;c=a[d]}while(c);return b}function 
q(a,b,d){d=d||"";a=""+a;if(n.test(a))return a=l(a),d+a;if(/^'/.test(a))return 

[MediaWiki-commits] [Gerrit] Update restbase to 2da393c - change (mediawiki...deploy)

2015-11-19 Thread GWicke (Code Review)
GWicke has submitted this change and it was merged.

Change subject: Update restbase to 2da393c
..


Update restbase to 2da393c

List of changes:
xxx Update node module dependencies

Change-Id: I17e5168cc63285cdfb219479426cd23fc7a8c9ce
---
M 
node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
M 
node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
M node_modules/tassembly/browser/tassembly.js
M node_modules/tassembly/browser/tassembly.orig.js
M node_modules/tassembly/package.json
M node_modules/tassembly/tassembly.js
M node_modules/tassembly/test.js
7 files changed, 70 insertions(+), 35 deletions(-)

Approvals:
  GWicke: Verified; Looks good to me, approved



diff --git 
a/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
 
b/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
index 76d5799..062a245 100644
--- 
a/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
+++ 
b/node_modules/restbase-mod-table-cassandra/node_modules/cassandra-driver/node_modules/async/package.json
@@ -57,7 +57,7 @@
   "homepage": "https://github.com/caolan/async#readme;,
   "_id": "async@0.9.2",
   "_shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
-  "_from": "async@~0.9.0",
+  "_from": "async@^0.9.0",
   "_npmVersion": "2.9.0",
   "_nodeVersion": "2.0.1",
   "_npmUser": {
@@ -79,5 +79,6 @@
 "tarball": "http://registry.npmjs.org/async/-/async-0.9.2.tgz;
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz;
+  "_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz;,
+  "readme": "ERROR: No README data found!"
 }
diff --git 
a/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
 
b/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
index 6eb9115..04953c7 100644
--- 
a/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
+++ 
b/node_modules/restbase-mod-table-cassandra/node_modules/restbase-mod-table-spec/node_modules/core-js/package.json
@@ -81,6 +81,5 @@
 "tarball": "http://registry.npmjs.org/core-js/-/core-js-0.9.18.tgz;
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/core-js/-/core-js-0.9.18.tgz;,
-  "readme": "ERROR: No README data found!"
+  "_resolved": "https://registry.npmjs.org/core-js/-/core-js-0.9.18.tgz;
 }
diff --git a/node_modules/tassembly/browser/tassembly.js 
b/node_modules/tassembly/browser/tassembly.js
index aaad289..952905c 100644
--- a/node_modules/tassembly/browser/tassembly.js
+++ b/node_modules/tassembly/browser/tassembly.js
@@ -3,15 +3,15 @@
 function(a){var b=this;return a.replace(q,function(a,c,g,m,h){return 
c?b.decodeEntity(c):g?b.decodeChar(parseInt(g,10)):m?b.decodeChar(parseInt(m,16)):h})};var
 n=RegExp("[\t 
]|\u00ad|\u1806|\u200b|\u2060|\ufeff|\u034f|\u180b|\u180c|\u180d|\u200c|\u200d|[\ufe00-\ufe0f]","g");e.prototype.cssDecodeRE=/\\(?:((?:\n|\r\n|\r|\f))|([0-9A-Fa-f]{1,6})[\x20\t\r\n\f]?|(.)|()$)/;e.prototype.sanitizeStyle=function(a){function
 b(a,b){var 
d,h;"'"===b?(d=/'/g,h=/'([^'\n\r\f]*)$/):(d=/"/g,h=/"([^"\n\r\f]*)$/);if(1===
 (a.match(d)||[]).length%2)a=a.replace(h,function(a,c){return" "+c});return 
a}a=this.decodeCharReferences(a);a=a.replace(this.cssDecodeRE,function(a,b,d,h){var
 f;if(void 0!==b)return"";if(void 
0!==d){a=parseInt(d,16);try{f=String.fromCharCode(a)}catch(e){f=a.toString()}}else
 f=void 
0!==h?h:"\\";return"\n"===f||'"'===f||"'"===f||"\\"===f?"\\"+f.charCodeAt(0).toString(16)+"
 ":f});a=a.replace(/\/\*.*\*\//g," ");a=b(a,"'");a=b(a,'"');var 
d=a.indexOf("/*");0<=d&&(a=a.substr(0,d));return/[\000-\010\016-\037\177]/.test(a)?
 "/* invalid control char 
*/":/expression|filter\s*:|accelerator\s*:|url\s*\(/i.test(a)?"/* insecure 
input */":a};e.prototype.sanitizeHref=function(a){var 
b=a.match(/^((?:[a-zA-Z][^:\/]*:)?(?:\/\/)?)([^\/]+)(\/?.*)/),d,c;if(b){if(d=b[1],c=b[2],a=b[3],!d.match(this.protocolRegex))return
 null}else c=d="";c=c.replace(n,"");return 
d+c+a};k.exports={AttributeSanitizer:e}},{}],2:[function(r,k,s){function 
e(){this.uid=0;this.cache={};this.partials={}}function l(a){var 
b="",d=-1,c="";do{if(/^$|[\[:(,]/.test(c))b+=
-c,/[pri]/.test(a[d+1])&&/^(?:p(?:[cm]s?)|r[mc]|i)(?:[\.\(\)}\[\]]|$)/.test(a.slice(d+1))&&(b+="c.");else
 
if("'"===c){if(c=a.slice(d).match(/'(?:[^\\']+|\\')*'/))b+=c[0],d+=c[0].length-1}else
 b+=c;d++;c=a[d]}while(c);return b}function 
q(a,b,d){d=d||"";a=""+a;if(n.test(a))return a=l(a),d+a;if(/^'/.test(a))return 
d+JSON.stringify(a.slice(1,-1).replace(/\\'/g,"'"));if(/^[cm](?:\.[a-zA-Z_$]*)?$/.test(a))return
 d+a;var