BearND has uploaded a new change for review. https://gerrit.wikimedia.org/r/322142
Change subject: Update mobileapps to bf44547 ...................................................................... Update mobileapps to bf44547 List of changes: 04c08ad Announcements on other wikis also return 200 f1ea24f Hygiene: replace let with const where noted 6dcd11a Forbid var usage f22ed8c Fix: don't autofix style offenders xxxxxxx Update node module dependencies Change-Id: Ib85fb6c5d57ce8944a95465ba1a059499ffde65f --- 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/http-errors/node_modules/setprototypeof/index.js M node_modules/http-errors/node_modules/setprototypeof/package.json M node_modules/http-errors/package.json M node_modules/inherits/inherits.js M node_modules/inherits/package.json D node_modules/inherits/test.js M node_modules/service-runner/node_modules/limitation/node_modules/kad/package.json M src 12 files changed, 119 insertions(+), 121 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps/deploy refs/changes/42/322142/1 diff --git a/node_modules/heapdump/build/Makefile b/node_modules/heapdump/build/Makefile index 285e8ee..c9d9d51 100644 --- a/node_modules/heapdump/build/Makefile +++ b/node_modules/heapdump/build/Makefile @@ -308,8 +308,8 @@ endif quiet_cmd_regen_makefile = ACTION Regenerating $@ -cmd_regen_makefile = cd $(srcdir); /usr/local/nvm/versions/node/v4.6.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.6.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/root/.node-gyp/4.6.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/root/.node-gyp/4.6.0" "-Dnode_gyp_dir=/usr/local/nvm/versions/node/v4.6.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)/../../../../usr/local/nvm/versions/node/v4.6.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../root/.node-gyp/4.6.0/include/node/common.gypi +cmd_regen_makefile = cd $(srcdir); /usr/local/nvm/versions/node/v4.6.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.6.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/runuser/.node-gyp/4.6.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/runuser/.node-gyp/4.6.0" "-Dnode_gyp_dir=/usr/local/nvm/versions/node/v4.6.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.6.0/include/node/common.gypi $(srcdir)/../../../../usr/local/nvm/versions/node/v4.6.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(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 022660f..9af41a7 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,34 +1,36 @@ -cmd_Release/obj.target/addon/src/heapdump.o := g++ '-DNODE_GYP_MODULE_NAME=addon' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/4.6.0/include/node -I/root/.node-gyp/4.6.0/src -I/root/.node-gyp/4.6.0/deps/uv/include -I/root/.node-gyp/4.6.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' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/runuser/.node-gyp/4.6.0/include/node -I/home/runuser/.node-gyp/4.6.0/src -I/home/runuser/.node-gyp/4.6.0/deps/uv/include -I/home/runuser/.node-gyp/4.6.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 Release/obj.target/addon/src/heapdump.o: ../src/heapdump.cc \ - /root/.node-gyp/4.6.0/include/node/node.h \ - /root/.node-gyp/4.6.0/include/node/v8.h \ - /root/.node-gyp/4.6.0/include/node/v8-version.h \ - /root/.node-gyp/4.6.0/include/node/v8config.h \ - /root/.node-gyp/4.6.0/include/node/node_version.h ../src/compat-inl.h \ - ../src/compat.h /root/.node-gyp/4.6.0/include/node/node_version.h \ - /root/.node-gyp/4.6.0/include/node/v8.h \ - /root/.node-gyp/4.6.0/include/node/v8-profiler.h \ - /root/.node-gyp/4.6.0/include/node/uv.h \ - /root/.node-gyp/4.6.0/include/node/uv-errno.h \ - /root/.node-gyp/4.6.0/include/node/uv-version.h \ - /root/.node-gyp/4.6.0/include/node/uv-unix.h \ - /root/.node-gyp/4.6.0/include/node/uv-threadpool.h \ - /root/.node-gyp/4.6.0/include/node/uv-linux.h ../src/heapdump-posix.h + /home/runuser/.node-gyp/4.6.0/include/node/node.h \ + /home/runuser/.node-gyp/4.6.0/include/node/v8.h \ + /home/runuser/.node-gyp/4.6.0/include/node/v8-version.h \ + /home/runuser/.node-gyp/4.6.0/include/node/v8config.h \ + /home/runuser/.node-gyp/4.6.0/include/node/node_version.h \ + ../src/compat-inl.h ../src/compat.h \ + /home/runuser/.node-gyp/4.6.0/include/node/node_version.h \ + /home/runuser/.node-gyp/4.6.0/include/node/v8.h \ + /home/runuser/.node-gyp/4.6.0/include/node/v8-profiler.h \ + /home/runuser/.node-gyp/4.6.0/include/node/uv.h \ + /home/runuser/.node-gyp/4.6.0/include/node/uv-errno.h \ + /home/runuser/.node-gyp/4.6.0/include/node/uv-version.h \ + /home/runuser/.node-gyp/4.6.0/include/node/uv-unix.h \ + /home/runuser/.node-gyp/4.6.0/include/node/uv-threadpool.h \ + /home/runuser/.node-gyp/4.6.0/include/node/uv-linux.h \ + ../src/heapdump-posix.h ../src/heapdump.cc: -/root/.node-gyp/4.6.0/include/node/node.h: -/root/.node-gyp/4.6.0/include/node/v8.h: -/root/.node-gyp/4.6.0/include/node/v8-version.h: -/root/.node-gyp/4.6.0/include/node/v8config.h: -/root/.node-gyp/4.6.0/include/node/node_version.h: +/home/runuser/.node-gyp/4.6.0/include/node/node.h: +/home/runuser/.node-gyp/4.6.0/include/node/v8.h: +/home/runuser/.node-gyp/4.6.0/include/node/v8-version.h: +/home/runuser/.node-gyp/4.6.0/include/node/v8config.h: +/home/runuser/.node-gyp/4.6.0/include/node/node_version.h: ../src/compat-inl.h: ../src/compat.h: -/root/.node-gyp/4.6.0/include/node/node_version.h: -/root/.node-gyp/4.6.0/include/node/v8.h: -/root/.node-gyp/4.6.0/include/node/v8-profiler.h: -/root/.node-gyp/4.6.0/include/node/uv.h: -/root/.node-gyp/4.6.0/include/node/uv-errno.h: -/root/.node-gyp/4.6.0/include/node/uv-version.h: -/root/.node-gyp/4.6.0/include/node/uv-unix.h: -/root/.node-gyp/4.6.0/include/node/uv-threadpool.h: -/root/.node-gyp/4.6.0/include/node/uv-linux.h: +/home/runuser/.node-gyp/4.6.0/include/node/node_version.h: +/home/runuser/.node-gyp/4.6.0/include/node/v8.h: +/home/runuser/.node-gyp/4.6.0/include/node/v8-profiler.h: +/home/runuser/.node-gyp/4.6.0/include/node/uv.h: +/home/runuser/.node-gyp/4.6.0/include/node/uv-errno.h: +/home/runuser/.node-gyp/4.6.0/include/node/uv-version.h: +/home/runuser/.node-gyp/4.6.0/include/node/uv-unix.h: +/home/runuser/.node-gyp/4.6.0/include/node/uv-threadpool.h: +/home/runuser/.node-gyp/4.6.0/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 5fd4df9..8f21dcd 100644 --- a/node_modules/heapdump/build/addon.target.mk +++ b/node_modules/heapdump/build/addon.target.mk @@ -34,10 +34,10 @@ -std=gnu++0x INCS_Debug := \ - -I/root/.node-gyp/4.6.0/include/node \ - -I/root/.node-gyp/4.6.0/src \ - -I/root/.node-gyp/4.6.0/deps/uv/include \ - -I/root/.node-gyp/4.6.0/deps/v8/include + -I/home/runuser/.node-gyp/4.6.0/include/node \ + -I/home/runuser/.node-gyp/4.6.0/src \ + -I/home/runuser/.node-gyp/4.6.0/deps/uv/include \ + -I/home/runuser/.node-gyp/4.6.0/deps/v8/include DEFS_Release := \ '-DNODE_GYP_MODULE_NAME=addon' \ @@ -71,10 +71,10 @@ -std=gnu++0x INCS_Release := \ - -I/root/.node-gyp/4.6.0/include/node \ - -I/root/.node-gyp/4.6.0/src \ - -I/root/.node-gyp/4.6.0/deps/uv/include \ - -I/root/.node-gyp/4.6.0/deps/v8/include + -I/home/runuser/.node-gyp/4.6.0/include/node \ + -I/home/runuser/.node-gyp/4.6.0/src \ + -I/home/runuser/.node-gyp/4.6.0/deps/uv/include \ + -I/home/runuser/.node-gyp/4.6.0/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 29fd30a..fd4c1dc 100644 --- a/node_modules/heapdump/build/config.gypi +++ b/node_modules/heapdump/build/config.gypi @@ -46,7 +46,7 @@ "v8_random_seed": 0, "v8_use_snapshot": "true", "want_separate_host_toolset": 0, - "nodedir": "/root/.node-gyp/4.6.0", + "nodedir": "/home/runuser/.node-gyp/4.6.0", "copy_dev_lib": "true", "standalone_static_library": 1, "cache_lock_stale": "60000", @@ -68,7 +68,7 @@ "rollback": "true", "tag_version_prefix": "v", "cache_max": "Infinity", - "userconfig": "/root/.npmrc", + "userconfig": "/home/runuser/.npmrc", "engine_strict": "", "init_author_name": "", "init_author_url": "", @@ -89,7 +89,7 @@ "scope": "", "searchopts": "", "versions": "", - "cache": "/root/.npm", + "cache": "/home/runuser/.npm", "ignore_scripts": "", "searchsort": "name", "version": "", @@ -110,7 +110,7 @@ "unicode": "true", "long": "", "production": "", - "unsafe_perm": "", + "unsafe_perm": "true", "node_version": "4.6.0", "tag": "latest", "git_tag_version": "true", @@ -122,12 +122,12 @@ "strict_ssl": "true", "dev": "", "globalconfig": "/usr/local/nvm/versions/node/v4.6.0/etc/npmrc", - "init_module": "/root/.npm-init.js", + "init_module": "/home/runuser/.npm-init.js", "parseable": "", "globalignorefile": "/usr/local/nvm/versions/node/v4.6.0/etc/npmignore", "cache_lock_retries": "10", "save_prefix": "^", - "group": "", + "group": "1000", "init_author_email": "", "searchexclude": "", "git": "git", diff --git a/node_modules/http-errors/node_modules/setprototypeof/index.js b/node_modules/http-errors/node_modules/setprototypeof/index.js index 086a879..b762a7c 100644 --- a/node_modules/http-errors/node_modules/setprototypeof/index.js +++ b/node_modules/http-errors/node_modules/setprototypeof/index.js @@ -2,10 +2,12 @@ function setProtoOf(obj, proto) { obj.__proto__ = proto; + return obj; } function mixinProperties(obj, proto) { for (var prop in proto) { obj[prop] = proto[prop]; } + return obj; } diff --git a/node_modules/http-errors/node_modules/setprototypeof/package.json b/node_modules/http-errors/node_modules/setprototypeof/package.json index 643ae9f..33c91f8 100644 --- a/node_modules/http-errors/node_modules/setprototypeof/package.json +++ b/node_modules/http-errors/node_modules/setprototypeof/package.json @@ -1,6 +1,6 @@ { "name": "setprototypeof", - "version": "1.0.1", + "version": "1.0.2", "description": "A small polyfill for Object.setprototypeof", "main": "index.js", "scripts": { @@ -23,19 +23,19 @@ "url": "https://github.com/wesleytodd/setprototypeof/issues" }, "homepage": "https://github.com/wesleytodd/setprototypeof", - "gitHead": "1e3d0cde6b7f4a9fba10cd28e62b200c9d8f899f", - "_id": "setprototypeof@1.0.1", - "_shasum": "52009b27888c4dc48f591949c0a8275834c1ca7e", - "_from": "setprototypeof@1.0.1", - "_npmVersion": "3.3.6", - "_nodeVersion": "5.0.0", + "gitHead": "34da239ae7ab69b7b42791d5b928379ce51a0ff2", + "_id": "setprototypeof@1.0.2", + "_shasum": "81a552141ec104b88e89ce383103ad5c66564d08", + "_from": "setprototypeof@1.0.2", + "_npmVersion": "3.10.8", + "_nodeVersion": "7.0.0", "_npmUser": { "name": "wesleytodd", "email": "w...@wesleytodd.com" }, "dist": { - "shasum": "52009b27888c4dc48f591949c0a8275834c1ca7e", - "tarball": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz" + "shasum": "81a552141ec104b88e89ce383103ad5c66564d08", + "tarball": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.2.tgz" }, "maintainers": [ { @@ -44,10 +44,10 @@ } ], "_npmOperationalInternal": { - "host": "packages-5-east.internal.npmjs.com", - "tmp": "tmp/setprototypeof-1.0.1.tgz_1454803015119_0.7522649802267551" + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/setprototypeof-1.0.2.tgz_1479056139581_0.43114364007487893" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz", + "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.2.tgz", "readme": "ERROR: No README data found!" } diff --git a/node_modules/http-errors/package.json b/node_modules/http-errors/package.json index e48fa13..3569a06 100644 --- a/node_modules/http-errors/package.json +++ b/node_modules/http-errors/package.json @@ -1,7 +1,7 @@ { "name": "http-errors", "description": "Create HTTP error objects", - "version": "1.5.0", + "version": "1.5.1", "author": { "name": "Jonathan Ong", "email": "m...@jongleberry.com", @@ -23,23 +23,24 @@ "url": "git+https://github.com/jshttp/http-errors.git" }, "dependencies": { - "inherits": "2.0.1", - "setprototypeof": "1.0.1", - "statuses": ">= 1.3.0 < 2" + "inherits": "2.0.3", + "setprototypeof": "1.0.2", + "statuses": ">= 1.3.1 < 2" }, "devDependencies": { - "eslint": "2.10.2", - "eslint-config-standard": "5.3.1", - "eslint-plugin-promise": "1.1.0", - "eslint-plugin-standard": "1.3.2", - "istanbul": "0.4.3", + "eslint": "3.10.2", + "eslint-config-standard": "6.2.1", + "eslint-plugin-markdown": "1.0.0-beta.3", + "eslint-plugin-promise": "3.3.2", + "eslint-plugin-standard": "2.0.1", + "istanbul": "0.4.5", "mocha": "1.21.5" }, "engines": { "node": ">= 0.6" }, "scripts": { - "lint": "eslint **/*.js", + "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec --bail", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot" @@ -54,23 +55,18 @@ "LICENSE", "README.md" ], - "gitHead": "1a826d7ac31dde16931b9c566041697939ebd0e0", + "gitHead": "a55db90c7a2c0bafedb4bfa35a85eee5f53a37e9", "bugs": { "url": "https://github.com/jshttp/http-errors/issues" }, - "homepage": "https://github.com/jshttp/http-errors#readme", - "_id": "http-errors@1.5.0", - "_shasum": "b1cb3d8260fd8e2386cad3189045943372d48211", - "_from": "http-errors@1.5.0", - "_npmVersion": "2.15.1", - "_nodeVersion": "4.4.3", + "homepage": "https://github.com/jshttp/http-errors", + "_id": "http-errors@1.5.1", + "_shasum": "788c0d2c1de2c81b9e6e8c01843b6b97eb920750", + "_from": "http-errors@1.5.1", + "_npmVersion": "1.4.28", "_npmUser": { "name": "dougwilson", "email": "d...@somethingdoug.com" - }, - "dist": { - "shasum": "b1cb3d8260fd8e2386cad3189045943372d48211", - "tarball": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.0.tgz" }, "maintainers": [ { @@ -86,11 +82,15 @@ "email": "jonathanrichard...@gmail.com" } ], + "dist": { + "shasum": "788c0d2c1de2c81b9e6e8c01843b6b97eb920750", + "tarball": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.1.tgz" + }, "_npmOperationalInternal": { - "host": "packages-16-east.internal.npmjs.com", - "tmp": "tmp/http-errors-1.5.0.tgz_1463621678183_0.44013352948240936" + "host": "packages-18-east.internal.npmjs.com", + "tmp": "tmp/http-errors-1.5.1.tgz_1479361411507_0.47469806275330484" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.0.tgz", + "_resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.1.tgz", "readme": "ERROR: No README data found!" } diff --git a/node_modules/inherits/inherits.js b/node_modules/inherits/inherits.js index 29f5e24..3b94763 100644 --- a/node_modules/inherits/inherits.js +++ b/node_modules/inherits/inherits.js @@ -1 +1,7 @@ -module.exports = require('util').inherits +try { + var util = require('util'); + if (typeof util.inherits !== 'function') throw ''; + module.exports = util.inherits; +} catch (e) { + module.exports = require('./inherits_browser.js'); +} diff --git a/node_modules/inherits/package.json b/node_modules/inherits/package.json index b7b5b01..092ed55 100644 --- a/node_modules/inherits/package.json +++ b/node_modules/inherits/package.json @@ -1,7 +1,7 @@ { "name": "inherits", "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", - "version": "2.0.1", + "version": "2.0.3", "keywords": [ "inheritance", "class", @@ -22,19 +22,30 @@ "scripts": { "test": "node test" }, + "devDependencies": { + "tap": "^7.1.0" + }, + "files": [ + "inherits.js", + "inherits_browser.js" + ], + "gitHead": "e05d0fb27c61a3ec687214f0476386b765364d5f", "bugs": { "url": "https://github.com/isaacs/inherits/issues" }, - "_id": "inherits@2.0.1", - "dist": { - "shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1", - "tarball": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" - }, - "_from": "inherits@2.0.1", - "_npmVersion": "1.3.8", + "homepage": "https://github.com/isaacs/inherits#readme", + "_id": "inherits@2.0.3", + "_shasum": "633c2c83e3da42a502f52466022480f4208261de", + "_from": "inherits@2.0.3", + "_npmVersion": "3.10.7", + "_nodeVersion": "6.5.0", "_npmUser": { "name": "isaacs", "email": "i...@izs.me" + }, + "dist": { + "shasum": "633c2c83e3da42a502f52466022480f4208261de", + "tarball": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" }, "maintainers": [ { @@ -42,9 +53,11 @@ "email": "i...@izs.me" } ], + "_npmOperationalInternal": { + "host": "packages-16-east.internal.npmjs.com", + "tmp": "tmp/inherits-2.0.3.tgz_1473295776489_0.08142363070510328" + }, "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.3.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/inherits/test.js b/node_modules/inherits/test.js deleted file mode 100644 index fc53012..0000000 --- a/node_modules/inherits/test.js +++ /dev/null @@ -1,25 +0,0 @@ -var inherits = require('./inherits.js') -var assert = require('assert') - -function test(c) { - assert(c.constructor === Child) - assert(c.constructor.super_ === Parent) - assert(Object.getPrototypeOf(c) === Child.prototype) - assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) - assert(c instanceof Child) - assert(c instanceof Parent) -} - -function Child() { - Parent.call(this) - test(this) -} - -function Parent() {} - -inherits(Child, Parent) - -var c = new Child -test(c) - -console.log('ok') 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 ef2b784..82a4cfb 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": "kad@1.3.6", - "_shasum": "10cec0af7eef6ac3fe506b2f9106cece75874480", + "_shasum": "2b2941e8811cc1a03e77c9e0c7000c733545f8ae", "_from": "git+https://github.com/gwicke/kad.git#master", "_resolved": "git+https://github.com/gwicke/kad.git#f35971036f43814043245da82b12d035b7bbfd16" } diff --git a/src b/src index b767aaa..bf44547 160000 --- a/src +++ b/src @@ -1 +1 @@ -Subproject commit b767aaa7157333a5558a45f752b7df2327a9fb5c +Subproject commit bf4454793bd6e9c2460c0dc9b6a3d2e59587a2cf -- To view, visit https://gerrit.wikimedia.org/r/322142 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib85fb6c5d57ce8944a95465ba1a059499ffde65f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/mobileapps/deploy Gerrit-Branch: master Gerrit-Owner: BearND <bsitzm...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits