PadMessageHandler.js: convert handleUserChanges() to Promises

- the call site still expects a nodeback function, so also introduced the
  `nodeify` module to allow that function to work as expected.
This commit is contained in:
Ray Bellis 2019-01-30 10:43:01 +00:00
parent c499a08030
commit d543d5ae6a
2 changed files with 109 additions and 146 deletions

View file

@ -48,6 +48,7 @@
"languages4translatewiki": "0.1.3",
"log4js": "0.6.35",
"measured-core": "1.11.2",
"nodeify": "^1.0.1",
"npm": "6.4.1",
"object.values": "^1.0.4",
"request": "2.88.0",
@ -87,4 +88,3 @@
"version": "1.7.5",
"license": "Apache-2.0"
}