Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/298019
Change subject: Update mobileapps to 6d55828
......................................................................
Update mobileapps to 6d55828
List of changes:
e8135bc Don't return a picture of the day null description
6d55828 Update node version to 4.4.6
xxxxxxx Update node module dependencies
Bug: T138561
Change-Id: I4e124a50497a56ad2511eb72389ee6352975a7e0
---
M node_modules/core-js/package.json
M
node_modules/express/node_modules/finalhandler/node_modules/statuses/package.json
M
node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/package.json
M
node_modules/express/node_modules/send/node_modules/http-errors/node_modules/setprototypeof/package.json
M node_modules/express/node_modules/send/node_modules/statuses/package.json
M node_modules/heapdump/build/Makefile
M
node_modules/heapdump/build/Release/.deps/Release/obj.target/addon/src/heapdump.o.d
M node_modules/heapdump/build/addon.target.mk
M node_modules/heapdump/build/config.gypi
M
node_modules/phpjs/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
D node_modules/service-runner/node_modules/hot-shots/CHANGES.md~
M
node_modules/service-runner/node_modules/limitation/node_modules/kad/package.json
D
node_modules/service-runner/node_modules/yargs/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/normalize-package-data/test/normalize.js~
M src
14 files changed, 63 insertions(+), 362 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps/deploy
refs/changes/19/298019/1
diff --git a/node_modules/core-js/package.json
b/node_modules/core-js/package.json
index 668f100..6a0155c 100644
--- a/node_modules/core-js/package.json
+++ b/node_modules/core-js/package.json
@@ -95,6 +95,5 @@
"tmp": "tmp/core-js-2.4.0.tgz_1462671379729_0.5747277433983982"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.0.tgz"
}
diff --git
a/node_modules/express/node_modules/finalhandler/node_modules/statuses/package.json
b/node_modules/express/node_modules/finalhandler/node_modules/statuses/package.json
index 450531a..8a11c90 100644
---
a/node_modules/express/node_modules/finalhandler/node_modules/statuses/package.json
+++
b/node_modules/express/node_modules/finalhandler/node_modules/statuses/package.json
@@ -15,7 +15,7 @@
],
"repository": {
"type": "git",
- "url": "git+https://github.com/jshttp/statuses.git"
+ "url": "https://github.com/jshttp/statuses"
},
"license": "MIT",
"keywords": [
@@ -58,7 +58,7 @@
"homepage": "https://github.com/jshttp/statuses",
"_id": "[email protected]",
"_shasum": "8e55758cb20e7682c1f4fce8dcab30bf01d1e07a",
- "_from": "statuses@>=1.3.0 <1.4.0",
+ "_from": "statuses@>=1.3.0 <2.0.0",
"_npmVersion": "1.4.28",
"_npmUser": {
"name": "dougwilson",
@@ -99,6 +99,5 @@
"tmp": "tmp/statuses-1.3.0.tgz_1463517875633_0.19560232176445425"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz"
}
diff --git
a/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/package.json
b/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/package.json
index b7b5b01..68e2968 100644
---
a/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/package.json
+++
b/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/package.json
@@ -16,7 +16,7 @@
"browser": "./inherits_browser.js",
"repository": {
"type": "git",
- "url": "git://github.com/isaacs/inherits.git"
+ "url": "git://github.com/isaacs/inherits"
},
"license": "ISC",
"scripts": {
@@ -44,7 +44,5 @@
],
"directories": {},
"_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
- "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/isaacs/inherits#readme"
+ "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
}
diff --git
a/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/setprototypeof/package.json
b/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/setprototypeof/package.json
index 643ae9f..b4133b9 100644
---
a/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/setprototypeof/package.json
+++
b/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/setprototypeof/package.json
@@ -48,6 +48,5 @@
"tmp": "tmp/setprototypeof-1.0.1.tgz_1454803015119_0.7522649802267551"
},
"directories": {},
- "_resolved":
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved":
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz"
}
diff --git
a/node_modules/express/node_modules/send/node_modules/statuses/package.json
b/node_modules/express/node_modules/send/node_modules/statuses/package.json
index 450531a..8a11c90 100644
--- a/node_modules/express/node_modules/send/node_modules/statuses/package.json
+++ b/node_modules/express/node_modules/send/node_modules/statuses/package.json
@@ -15,7 +15,7 @@
],
"repository": {
"type": "git",
- "url": "git+https://github.com/jshttp/statuses.git"
+ "url": "https://github.com/jshttp/statuses"
},
"license": "MIT",
"keywords": [
@@ -58,7 +58,7 @@
"homepage": "https://github.com/jshttp/statuses",
"_id": "[email protected]",
"_shasum": "8e55758cb20e7682c1f4fce8dcab30bf01d1e07a",
- "_from": "statuses@>=1.3.0 <1.4.0",
+ "_from": "statuses@>=1.3.0 <2.0.0",
"_npmVersion": "1.4.28",
"_npmUser": {
"name": "dougwilson",
@@ -99,6 +99,5 @@
"tmp": "tmp/statuses-1.3.0.tgz_1463517875633_0.19560232176445425"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz"
}
diff --git a/node_modules/heapdump/build/Makefile
b/node_modules/heapdump/build/Makefile
index c8c3bfc..71b2b2b 100644
--- a/node_modules/heapdump/build/Makefile
+++ b/node_modules/heapdump/build/Makefile
@@ -41,9 +41,9 @@
CC.target ?= $(CC)
-CFLAGS.target ?= $(CFLAGS)
+CFLAGS.target ?= $(CPPFLAGS) $(CFLAGS)
CXX.target ?= $(CXX)
-CXXFLAGS.target ?= $(CXXFLAGS)
+CXXFLAGS.target ?= $(CPPFLAGS) $(CXXFLAGS)
LINK.target ?= g++
LDFLAGS.target ?= $(LDFLAGS)
AR.target ?= $(AR)
@@ -54,9 +54,9 @@
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
# to replicate this environment fallback in make as well.
CC.host ?= gcc
-CFLAGS.host ?=
+CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host)
CXX.host ?= g++
-CXXFLAGS.host ?=
+CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host)
LINK.host ?= $(CXX.host)
LDFLAGS.host ?=
AR.host ?= ar
@@ -308,8 +308,8 @@
endif
quiet_cmd_regen_makefile = ACTION Regenerating $@
-cmd_regen_makefile = cd $(srcdir);
/usr/local/nvm/versions/node/v4.3.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py
-fmake --ignore-environment "--toplevel-dir=."
-I/opt/service/node_modules/heapdump/build/config.gypi
-I/usr/local/nvm/versions/node/v4.3.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi
-I/home/runuser/.node-gyp/4.3.0/include/node/common.gypi "--depth=."
"-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library"
"-Dvisibility=default" "-Dnode_root_dir=/home/runuser/.node-gyp/4.3.0"
"-Dnode_gyp_dir=/usr/local/nvm/versions/node/v4.3.0/lib/node_modules/npm/node_modules/node-gyp"
"-Dnode_lib_file=node.lib"
"-Dmodule_root_dir=/opt/service/node_modules/heapdump" binding.gyp
-Makefile:
$(srcdir)/../../../../home/runuser/.node-gyp/4.3.0/include/node/common.gypi
$(srcdir)/../../../../usr/local/nvm/versions/node/v4.3.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi
$(srcdir)/build/config.gypi $(srcdir)/binding.gyp
+cmd_regen_makefile = cd $(srcdir);
/usr/local/nvm/versions/node/v4.4.6/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py
-fmake --ignore-environment "--toplevel-dir=."
-I/opt/service/node_modules/heapdump/build/config.gypi
-I/usr/local/nvm/versions/node/v4.4.6/lib/node_modules/npm/node_modules/node-gyp/addon.gypi
-I/home/runuser/.node-gyp/4.4.6/include/node/common.gypi "--depth=."
"-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library"
"-Dvisibility=default" "-Dnode_root_dir=/home/runuser/.node-gyp/4.4.6"
"-Dnode_gyp_dir=/usr/local/nvm/versions/node/v4.4.6/lib/node_modules/npm/node_modules/node-gyp"
"-Dnode_lib_file=node.lib"
"-Dmodule_root_dir=/opt/service/node_modules/heapdump" binding.gyp
+Makefile:
$(srcdir)/../../../../usr/local/nvm/versions/node/v4.4.6/lib/node_modules/npm/node_modules/node-gyp/addon.gypi
$(srcdir)/build/config.gypi $(srcdir)/binding.gyp
$(srcdir)/../../../../home/runuser/.node-gyp/4.4.6/include/node/common.gypi
$(call do_cmd,regen_makefile)
# "all" is a concatenation of the "all" targets from all the included
diff --git
a/node_modules/heapdump/build/Release/.deps/Release/obj.target/addon/src/heapdump.o.d
b/node_modules/heapdump/build/Release/.deps/Release/obj.target/addon/src/heapdump.o.d
index 9db3936..c044ce4 100644
---
a/node_modules/heapdump/build/Release/.deps/Release/obj.target/addon/src/heapdump.o.d
+++
b/node_modules/heapdump/build/Release/.deps/Release/obj.target/addon/src/heapdump.o.d
@@ -1,36 +1,36 @@
-cmd_Release/obj.target/addon/src/heapdump.o := g++
'-DNODE_GYP_MODULE_NAME=addon' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64'
'-DBUILDING_NODE_EXTENSION' -I/home/runuser/.node-gyp/4.3.0/include/node
-I/home/runuser/.node-gyp/4.3.0/src
-I/home/runuser/.node-gyp/4.3.0/deps/uv/include
-I/home/runuser/.node-gyp/4.3.0/deps/v8/include -fPIC -pthread -Wall -Wextra
-Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF
./Release/.deps/Release/obj.target/addon/src/heapdump.o.d.raw -c -o
Release/obj.target/addon/src/heapdump.o ../src/heapdump.cc
+cmd_Release/obj.target/addon/src/heapdump.o := g++
'-DNODE_GYP_MODULE_NAME=addon' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64'
'-DBUILDING_NODE_EXTENSION' -I/home/runuser/.node-gyp/4.4.6/include/node
-I/home/runuser/.node-gyp/4.4.6/src
-I/home/runuser/.node-gyp/4.4.6/deps/uv/include
-I/home/runuser/.node-gyp/4.4.6/deps/v8/include -fPIC -pthread -Wall -Wextra
-Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF
./Release/.deps/Release/obj.target/addon/src/heapdump.o.d.raw -c -o
Release/obj.target/addon/src/heapdump.o ../src/heapdump.cc
Release/obj.target/addon/src/heapdump.o: ../src/heapdump.cc \
- /home/runuser/.node-gyp/4.3.0/include/node/node.h \
- /home/runuser/.node-gyp/4.3.0/include/node/v8.h \
- /home/runuser/.node-gyp/4.3.0/include/node/v8-version.h \
- /home/runuser/.node-gyp/4.3.0/include/node/v8config.h \
- /home/runuser/.node-gyp/4.3.0/include/node/node_version.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/node.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/v8.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/v8-version.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/v8config.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/node_version.h \
../src/compat-inl.h ../src/compat.h \
- /home/runuser/.node-gyp/4.3.0/include/node/node_version.h \
- /home/runuser/.node-gyp/4.3.0/include/node/v8.h \
- /home/runuser/.node-gyp/4.3.0/include/node/v8-profiler.h \
- /home/runuser/.node-gyp/4.3.0/include/node/uv.h \
- /home/runuser/.node-gyp/4.3.0/include/node/uv-errno.h \
- /home/runuser/.node-gyp/4.3.0/include/node/uv-version.h \
- /home/runuser/.node-gyp/4.3.0/include/node/uv-unix.h \
- /home/runuser/.node-gyp/4.3.0/include/node/uv-threadpool.h \
- /home/runuser/.node-gyp/4.3.0/include/node/uv-linux.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/node_version.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/v8.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/v8-profiler.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/uv.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/uv-errno.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/uv-version.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/uv-unix.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/uv-threadpool.h \
+ /home/runuser/.node-gyp/4.4.6/include/node/uv-linux.h \
../src/heapdump-posix.h
../src/heapdump.cc:
-/home/runuser/.node-gyp/4.3.0/include/node/node.h:
-/home/runuser/.node-gyp/4.3.0/include/node/v8.h:
-/home/runuser/.node-gyp/4.3.0/include/node/v8-version.h:
-/home/runuser/.node-gyp/4.3.0/include/node/v8config.h:
-/home/runuser/.node-gyp/4.3.0/include/node/node_version.h:
+/home/runuser/.node-gyp/4.4.6/include/node/node.h:
+/home/runuser/.node-gyp/4.4.6/include/node/v8.h:
+/home/runuser/.node-gyp/4.4.6/include/node/v8-version.h:
+/home/runuser/.node-gyp/4.4.6/include/node/v8config.h:
+/home/runuser/.node-gyp/4.4.6/include/node/node_version.h:
../src/compat-inl.h:
../src/compat.h:
-/home/runuser/.node-gyp/4.3.0/include/node/node_version.h:
-/home/runuser/.node-gyp/4.3.0/include/node/v8.h:
-/home/runuser/.node-gyp/4.3.0/include/node/v8-profiler.h:
-/home/runuser/.node-gyp/4.3.0/include/node/uv.h:
-/home/runuser/.node-gyp/4.3.0/include/node/uv-errno.h:
-/home/runuser/.node-gyp/4.3.0/include/node/uv-version.h:
-/home/runuser/.node-gyp/4.3.0/include/node/uv-unix.h:
-/home/runuser/.node-gyp/4.3.0/include/node/uv-threadpool.h:
-/home/runuser/.node-gyp/4.3.0/include/node/uv-linux.h:
+/home/runuser/.node-gyp/4.4.6/include/node/node_version.h:
+/home/runuser/.node-gyp/4.4.6/include/node/v8.h:
+/home/runuser/.node-gyp/4.4.6/include/node/v8-profiler.h:
+/home/runuser/.node-gyp/4.4.6/include/node/uv.h:
+/home/runuser/.node-gyp/4.4.6/include/node/uv-errno.h:
+/home/runuser/.node-gyp/4.4.6/include/node/uv-version.h:
+/home/runuser/.node-gyp/4.4.6/include/node/uv-unix.h:
+/home/runuser/.node-gyp/4.4.6/include/node/uv-threadpool.h:
+/home/runuser/.node-gyp/4.4.6/include/node/uv-linux.h:
../src/heapdump-posix.h:
diff --git a/node_modules/heapdump/build/addon.target.mk
b/node_modules/heapdump/build/addon.target.mk
index 926d534..1368a66 100644
--- a/node_modules/heapdump/build/addon.target.mk
+++ b/node_modules/heapdump/build/addon.target.mk
@@ -31,10 +31,10 @@
-std=gnu++0x
INCS_Debug := \
- -I/home/runuser/.node-gyp/4.3.0/include/node \
- -I/home/runuser/.node-gyp/4.3.0/src \
- -I/home/runuser/.node-gyp/4.3.0/deps/uv/include \
- -I/home/runuser/.node-gyp/4.3.0/deps/v8/include
+ -I/home/runuser/.node-gyp/4.4.6/include/node \
+ -I/home/runuser/.node-gyp/4.4.6/src \
+ -I/home/runuser/.node-gyp/4.4.6/deps/uv/include \
+ -I/home/runuser/.node-gyp/4.4.6/deps/v8/include
DEFS_Release := \
'-DNODE_GYP_MODULE_NAME=addon' \
@@ -65,10 +65,10 @@
-std=gnu++0x
INCS_Release := \
- -I/home/runuser/.node-gyp/4.3.0/include/node \
- -I/home/runuser/.node-gyp/4.3.0/src \
- -I/home/runuser/.node-gyp/4.3.0/deps/uv/include \
- -I/home/runuser/.node-gyp/4.3.0/deps/v8/include
+ -I/home/runuser/.node-gyp/4.4.6/include/node \
+ -I/home/runuser/.node-gyp/4.4.6/src \
+ -I/home/runuser/.node-gyp/4.4.6/deps/uv/include \
+ -I/home/runuser/.node-gyp/4.4.6/deps/v8/include
OBJS := \
$(obj).target/$(TARGET)/src/heapdump.o
diff --git a/node_modules/heapdump/build/config.gypi
b/node_modules/heapdump/build/config.gypi
index 313ac53..2182d3f 100644
--- a/node_modules/heapdump/build/config.gypi
+++ b/node_modules/heapdump/build/config.gypi
@@ -35,7 +35,6 @@
"node_use_perfctr": "false",
"openssl_fips": "",
"openssl_no_asm": 0,
- "python": "/home/iojs/bin/python",
"target_arch": "x64",
"uv_parent_path": "/deps/uv/",
"uv_use_dtrace": "false",
@@ -46,12 +45,12 @@
"v8_random_seed": 0,
"v8_use_snapshot": "true",
"want_separate_host_toolset": 0,
- "nodedir": "/home/runuser/.node-gyp/4.3.0",
+ "nodedir": "/home/runuser/.node-gyp/4.4.6",
"copy_dev_lib": "true",
"standalone_static_library": 1,
"cache_lock_stale": "60000",
"sign_git_tag": "",
- "user_agent": "npm/2.14.12 node/v4.3.0 linux x64",
+ "user_agent": "npm/2.15.5 node/v4.4.6 linux x64",
"always_auth": "",
"bin_links": "true",
"key": "",
@@ -76,13 +75,12 @@
"depth": "Infinity",
"save_dev": "",
"usage": "",
- "cafile": "",
"https_proxy": "",
"onload_script": "",
"rebuild_bundle": "true",
"save_bundle": "",
"shell": "bash",
- "prefix": "/usr/local/nvm/versions/node/v4.3.0",
+ "prefix": "/usr/local/nvm/versions/node/v4.4.6",
"browser": "",
"cache_lock_wait": "10000",
"registry": "https://registry.npmjs.org/",
@@ -98,6 +96,7 @@
"viewer": "man",
"color": "true",
"fetch_retry_mintimeout": "10000",
+ "maxsockets": "50",
"umask": "0022",
"fetch_retry_maxtimeout": "60000",
"message": "%s",
@@ -111,7 +110,7 @@
"long": "",
"production": "",
"unsafe_perm": "true",
- "node_version": "4.3.0",
+ "node_version": "4.4.6",
"tag": "latest",
"git_tag_version": "true",
"shrinkwrap": "true",
@@ -121,10 +120,10 @@
"save_exact": "",
"strict_ssl": "true",
"dev": "",
- "globalconfig": "/usr/local/nvm/versions/node/v4.3.0/etc/npmrc",
+ "globalconfig": "/usr/local/nvm/versions/node/v4.4.6/etc/npmrc",
"init_module": "/home/runuser/.npm-init.js",
"parseable": "",
- "globalignorefile": "/usr/local/nvm/versions/node/v4.3.0/etc/npmignore",
+ "globalignorefile": "/usr/local/nvm/versions/node/v4.4.6/etc/npmignore",
"cache_lock_retries": "10",
"save_prefix": "^",
"group": "1000",
diff --git
a/node_modules/phpjs/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
b/node_modules/phpjs/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
index 41a112a..ea9c7e1 100644
---
a/node_modules/phpjs/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
+++
b/node_modules/phpjs/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
@@ -53,5 +53,6 @@
"deprecated": "Please update to minimatch 3.0.2 or higher to avoid a RegExp
DoS issue",
"directories": {},
"_shasum": "c74e780574f63c6f9a090e90efbe6ef53a6a756a",
- "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz"
+ "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz",
+ "readme": "ERROR: No README data found!"
}
diff --git a/node_modules/service-runner/node_modules/hot-shots/CHANGES.md~
b/node_modules/service-runner/node_modules/hot-shots/CHANGES.md~
deleted file mode 100644
index a8a5829..0000000
--- a/node_modules/service-runner/node_modules/hot-shots/CHANGES.md~
+++ /dev/null
@@ -1,40 +0,0 @@
-CHANGELOG
-=========
-
-## HEAD (Unreleased)
-none
-
---------------------
-
-## 2.3.1 (2015-1-17)
-* @Pchelolo Ensure messages not larger then maxBufferSize
-
-## 2.3.0 (2015-1-17)
-* @bdeitte Fix increment(name, 0) to send a 0 count instead of 1
-* @bdeitte Flush the queue when needed on close()
-
-## 2.2.0 (2015-1-10)
-* @bdeitte Document and expand on close API
-* @bdeitte Catch more error cases for callbacks
-
-## 2.1.2 (2015-12-9)
-* @bdeitte Even more doc updates
-* @mmoulton Fix multiple tags with Telegraf
-
-## 2.1.1 (2015-12-9)
-* @bdeitte Doc updates
-
-## 2.1.0 (2015-12-9)
-* @mmoulton Add options.telegraf to enable support for Telegraf's StatsD line
protocol format
-* @mmoulton Ensure message callback is sent in buffered case, even when we
just buffer.
-
-## 2.0.0 (2015-10-22)
-* @jjofseattle Add options.maxBufferSize and optinons.bufferFlushInterval
-* @bdeitte Change options.global_tags to options.globalTags for conistency
-
-## 1.0.2 (2015-09-25)
-* @ainsleyc Thrown error when cacheDNS flag fails to resolve DNS name
-
-## 1.0.1 (2015-09-24)
-* @bdeitte Add the event API used by DogStatsD
-* @sivy Start from the base of https://github.com/sivy/node-statsd
diff --git
a/node_modules/service-runner/node_modules/limitation/node_modules/kad/package.json
b/node_modules/service-runner/node_modules/limitation/node_modules/kad/package.json
index fc4c903..3b2b295 100644
---
a/node_modules/service-runner/node_modules/limitation/node_modules/kad/package.json
+++
b/node_modules/service-runner/node_modules/limitation/node_modules/kad/package.json
@@ -75,7 +75,7 @@
},
"homepage": "https://github.com/kadtools/kad#readme",
"_id": "[email protected]",
- "_shasum": "cc0702a14cd3cb0550ff7441d402d8f314c809ba",
+ "_shasum": "0b34bc118b0ab4786d9296df94371a629a8d7042",
"_from": "git+https://github.com/gwicke/kad.git#master",
"_resolved":
"git+https://github.com/gwicke/kad.git#31449a27a289b6f0ecbeec193d8bac9db8b9f513"
}
diff --git
a/node_modules/service-runner/node_modules/yargs/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/normalize-package-data/test/normalize.js~
b/node_modules/service-runner/node_modules/yargs/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/normalize-package-data/test/normalize.js~
deleted file mode 100644
index de6f1ce..0000000
---
a/node_modules/service-runner/node_modules/yargs/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/normalize-package-data/test/normalize.js~
+++ /dev/null
@@ -1,253 +0,0 @@
-var tap = require("tap")
-var fs = require("fs")
-var path = require("path")
-
-var globals = Object.keys(global)
-
-var normalize = require("../lib/normalize")
-var warningMessages = require("../lib/warning_messages.json")
-var safeFormat = require("../lib/safe_format")
-
-var rpjPath = path.resolve(__dirname,"./fixtures/read-package-json.json")
-
-tap.test("normalize some package data", function(t) {
- var packageData = require(rpjPath)
- var warnings = []
- normalize(packageData, function(warning) {
- warnings.push(warning)
- })
- // there's no readme data in this particular object
- t.equal( warnings.length, 1, "There's exactly one warning.")
- fs.readFile(rpjPath, function(err, data) {
- if(err) throw err
- // Various changes have been made
- t.notEqual(packageData, JSON.parse(data), "Output is different from
input.")
- t.end()
- })
-})
-
-tap.test("runs without passing warning function", function(t) {
- var packageData = require(rpjPath)
- fs.readFile(rpjPath, function(err, data) {
- if(err) throw err
- normalize(JSON.parse(data))
- t.ok(true, "If you read this, this means I'm still alive.")
- t.end()
- })
-})
-
-tap.test("empty object", function(t) {
- var packageData = {}
- var expect =
- { name: '',
- version: '',
- readme: 'ERROR: No README data found!',
- _id: '@' }
-
- var warnings = []
- function warn(m) {
- warnings.push(m)
- }
- normalize(packageData, warn)
- t.same(packageData, expect)
- t.same(warnings, [
- warningMessages.missingDescription,
- warningMessages.missingRepository,
- warningMessages.missingReadme,
- warningMessages.missingLicense
- ])
- t.end()
-})
-
-tap.test("core module name", function(t) {
- var warnings = []
- function warn(m) {
- warnings.push(m)
- }
- var a
- normalize(a={
- name: "http",
- readme: "read yourself how about",
- homepage: 123,
- bugs: "what is this i don't even",
- repository: "Hello."
- }, warn)
-
- var expect = [
- safeFormat(warningMessages.conflictingName, 'http'),
- warningMessages.nonEmailUrlBugsString,
- warningMessages.emptyNormalizedBugs,
- warningMessages.nonUrlHomepage,
- warningMessages.missingLicense
- ]
- t.same(warnings, expect)
- t.end()
-})
-
-tap.test("urls required", function(t) {
- var warnings = []
- function warn(w) {
- warnings.push(w)
- }
- normalize({
- bugs: {
- url: "/1",
- email: "not an email address"
- }
- }, warn)
- var a
- normalize(a={
- readme: "read yourself how about",
- homepage: 123,
- bugs: "what is this i don't even",
- repository: "Hello."
- }, warn)
-
- console.error(a)
-
- var expect =
- [ warningMessages.missingDescription,
- warningMessages.missingRepository,
- warningMessages.nonUrlBugsUrlField,
- warningMessages.nonEmailBugsEmailField,
- warningMessages.emptyNormalizedBugs,
- warningMessages.missingReadme,
- warningMessages.missingLicense,
- warningMessages.nonEmailUrlBugsString,
- warningMessages.emptyNormalizedBugs,
- warningMessages.nonUrlHomepage,
- warningMessages.missingLicense]
- t.same(warnings, expect)
- t.end()
-})
-
-tap.test("homepage field must start with a protocol.", function(t) {
- var warnings = []
- function warn(w) {
- warnings.push(w)
- }
- var a
- normalize(a={
- homepage: 'example.org'
- }, warn)
-
- console.error(a)
-
- var expect =
- [ warningMessages.missingDescription,
- warningMessages.missingRepository,
- warningMessages.missingReadme,
- warningMessages.missingProtocolHomepage,
- warningMessages.missingLicense]
- t.same(warnings, expect)
- t.same(a.homepage, 'http://example.org')
- t.end()
-})
-
-tap.test("license field should be a valid SPDX expression", function(t) {
- var warnings = []
- function warn(w) {
- warnings.push(w)
- }
- var a
- normalize(a={
- license: 'Apache 2'
- }, warn)
-
- console.error(a)
-
- var expect =
- [ warningMessages.missingDescription,
- warningMessages.missingRepository,
- warningMessages.missingReadme,
- warningMessages.invalidLicense]
- t.same(warnings, expect)
- t.end()
-})
-
-tap.test("gist bugs url", function(t) {
- var d = {
- repository: "[email protected]:123456.git"
- }
- normalize(d)
- t.same(d.repository, { type: 'git', url:
'git+ssh://[email protected]/123456.git' })
- t.same(d.bugs, { url: 'https://gist.github.com/123456' })
- t.end();
-});
-
-tap.test("singularize repositories", function(t) {
- var d = {repositories:["[email protected]:123456.git"]}
- normalize(d)
- t.same(d.repository, { type: 'git', url:
'git+ssh://[email protected]/123456.git' })
- t.end()
-});
-
-tap.test("treat visionmedia/express as github repo", function(t) {
- var d = {repository: {type: "git", url: "visionmedia/express"}}
- normalize(d)
- t.same(d.repository, { type: "git", url:
"git+https://github.com/visionmedia/express.git" })
- t.end()
-});
-
-tap.test("treat isaacs/node-graceful-fs as github repo", function(t) {
- var d = {repository: {type: "git", url: "isaacs/node-graceful-fs"}}
- normalize(d)
- t.same(d.repository, { type: "git", url:
"git+https://github.com/isaacs/node-graceful-fs.git" })
- t.end()
-});
-
-tap.test("homepage field will set to github url if repository is a github
repo", function(t) {
- var a
- normalize(a={
- repository: { type: "git", url:
"https://github.com/isaacs/node-graceful-fs" }
- })
- t.same(a.homepage, 'https://github.com/isaacs/node-graceful-fs#readme')
- t.end()
-})
-
-tap.test("homepage field will set to github gist url if repository is a gist",
function(t) {
- var a
- normalize(a={
- repository: { type: "git", url: "[email protected]:123456.git" }
- })
- t.same(a.homepage, 'https://gist.github.com/123456')
- t.end()
-})
-
-tap.test("homepage field will set to github gist url if repository is a
shorthand reference", function(t) {
- var a
- normalize(a={
- repository: { type: "git", url: "sindresorhus/chalk" }
- })
- t.same(a.homepage, 'https://github.com/sindresorhus/chalk#readme')
- t.end()
-})
-
-tap.test("don't mangle github shortcuts in dependencies", function(t) {
- var d = {dependencies: {"node-graceful-fs": "isaacs/node-graceful-fs"}}
- normalize(d)
- t.same(d.dependencies, {"node-graceful-fs": "github:isaacs/node-graceful-fs"
})
- t.end()
-});
-
-tap.test("deprecation warning for array in dependencies fields", function(t) {
- var a
- var warnings = []
- function warn(w) {
- warnings.push(w)
- }
- normalize(a={
- dependencies: [],
- devDependencies: [],
- optionalDependencies: []
- }, warn)
-
t.ok(~warnings.indexOf(safeFormat(warningMessages.deprecatedArrayDependencies,
'dependencies')), "deprecation warning")
-
t.ok(~warnings.indexOf(safeFormat(warningMessages.deprecatedArrayDependencies,
'devDependencies')), "deprecation warning")
-
t.ok(~warnings.indexOf(safeFormat(warningMessages.deprecatedArrayDependencies,
'optionalDependencies')), "deprecation warning")
- t.end()
-})
-
-tap.test('no new globals', function(t) {
- t.same(Object.keys(global), globals)
- t.end()
-})
diff --git a/src b/src
index 7a73789..6d55828 160000
--- a/src
+++ b/src
-Subproject commit 7a73789e9c7b4063f607603dd78e3be48f0acad0
+Subproject commit 6d55828a559e65a44cc05d3ea59d1452ed459946
--
To view, visit https://gerrit.wikimedia.org/r/298019
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e124a50497a56ad2511eb72389ee6352975a7e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps/deploy
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits