jenkins-bot has submitted this change and it was merged.

Change subject: Upgrade to prfun 2.0.0 and smash the global Promise
......................................................................


Upgrade to prfun 2.0.0 and smash the global Promise

Change-Id: I24538f844144f32179cf8d4295780a24e404fe58
---
M lib/core-upgrade.js
M package.json
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Arlolra: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/core-upgrade.js b/lib/core-upgrade.js
index f010455..8d65734 100644
--- a/lib/core-upgrade.js
+++ b/lib/core-upgrade.js
@@ -1,6 +1,6 @@
 "use strict";
 require('core-js/shim');
-require('prfun');
+require('prfun/smash'); // This mutates the global Promise object.
 if (!Array.prototype.last) {
        Object.defineProperty(Array.prototype, 'last', {
                value: function() { return this[this.length - 1]; }
diff --git a/package.json b/package.json
index 46d7e42..ab30766 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
                "node-txstatsd": "~0.1.5",
                "node-uuid": "~1.4.1",
                "pegjs": "git+https://github.com/arlolra/pegjs#startOffset";,
-               "prfun": "~1.0.2",
+               "prfun": "~2.0.0",
                "request": "~2.40.0",
                "simplediff": "~0.1.1",
                "yargs": "~1.3.1"

-- 
To view, visit https://gerrit.wikimedia.org/r/205994
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I24538f844144f32179cf8d4295780a24e404fe58
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
Gerrit-Reviewer: Arlolra <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to