From 956bd5e1d8736dd8ba4a4101ae64f3a8021acab8 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Sun, 2 Jul 2017 14:00:16 +0530 Subject: [PATCH 1/2] chore: Bump deps, regen packag-lock.json --- package-lock.json | 477 +++++++++++++++++++++++++--------------------- package.json | 12 +- 2 files changed, 264 insertions(+), 225 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc96d426..3dd4e6c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,10 +35,16 @@ "integrity": "sha1-ze0RlqjY2TgaUJJAq5LpGl7Aafc=", "dev": true }, - "@ava/pretty-format": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@ava/pretty-format/-/pretty-format-1.1.0.tgz", - "integrity": "sha1-0KV9Jeua6rlkO90aAwZCuRwSPig=", + "@ava/write-file-atomic": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ava/write-file-atomic/-/write-file-atomic-2.2.0.tgz", + "integrity": "sha512-BTNB3nGbEfJT+69wuqXFr/bQH7Vr7ihx2xGOMNqPgDGhwspoZhiWumDDZNjBy7AScmqS5CELIOGtPVXESyrnDA==", + "dev": true + }, + "@concordance/react": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@concordance/react/-/react-1.0.0.tgz", + "integrity": "sha512-htrsRaQX8Iixlsek8zQU7tE8wcsTQJ5UhZkSPEA8slCDAisKpC/2VgU/ucPn32M5/LjGGXRaUEKvEw1Wiuu4zQ==", "dev": true }, "acorn": { @@ -110,9 +116,9 @@ "dev": true }, "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.1.0.tgz", + "integrity": "sha1-CcIC1ckX7CMYjKpcnLkXnNlUd1A=", "dev": true }, "anymatch": { @@ -164,9 +170,9 @@ "dev": true }, "array-iterate": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/array-iterate/-/array-iterate-1.1.0.tgz", - "integrity": "sha1-TxMUj//6XydWtQRg5erI7tMaFOY=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-iterate/-/array-iterate-1.1.1.tgz", + "integrity": "sha1-hlv3+K851rCYLGCQKRSsdrwBCPY=", "dev": true }, "array-union": { @@ -218,9 +224,9 @@ "dev": true }, "async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/async/-/async-2.4.1.tgz", - "integrity": "sha1-YqVrJ5yYoR0JhwlqAcw+6463u9c=", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", + "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", "dev": true }, "async-each": { @@ -242,9 +248,9 @@ "dev": true }, "ava": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/ava/-/ava-0.19.1.tgz", - "integrity": "sha1-Q92CQ1rRmzmA/8okiPBdqrlAsnM=", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/ava/-/ava-0.20.0.tgz", + "integrity": "sha512-/Jw/TwBgptUzDGB4bmpOO9flrUoJBZOA6YpAB6Y1NpH/nDTrS6JEZ/KeeMcgBm3Kk6ytTWsvpYWHK83V1RBzQA==", "dev": true }, "ava-init": { @@ -388,9 +394,9 @@ "dev": true }, "babel-loader": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.0.tgz", - "integrity": "sha1-P78lgfCFd0vZZC3KmZDm1sFJEUQ=", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.1.tgz", + "integrity": "sha1-uHE0yLEuPkwqlOBUYIW8aAorhIg=", "dev": true, "dependencies": { "find-cache-dir": { @@ -869,9 +875,9 @@ "dev": true }, "base64-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.0.tgz", - "integrity": "sha1-o5mS1yNYSBGYK+XikLtqU9hnAPE=", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", + "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", "dev": true }, "bcrypt-pbkdf": { @@ -900,9 +906,9 @@ "dev": true }, "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "version": "4.11.7", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.7.tgz", + "integrity": "sha512-LxFiV5mefv0ley0SzqkOPR1bC4EbpPx8LkOz5vMe/Yi15t5hzwgO/G+tc7wOtL4PZTYjwHu8JnEiSLumuSjSfA==", "dev": true }, "body": { @@ -1127,6 +1133,12 @@ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", @@ -1246,9 +1258,9 @@ } }, "clone": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", - "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", + "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=", "dev": true }, "clone-buffer": { @@ -1308,9 +1320,9 @@ "dev": true }, "collapse-white-space": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.2.tgz", - "integrity": "sha1-nEY/ucbRkNLcriGjVqAbyunu720=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.3.tgz", + "integrity": "sha1-S5BvZw5aljqHt2sOFolkM0G2Ajw=", "dev": true }, "color-convert": { @@ -1332,15 +1344,15 @@ "dev": true }, "comma-separated-tokens": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.3.tgz", - "integrity": "sha1-brAfRzC956f85dXi2UO91jcnKAE=", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.4.tgz", + "integrity": "sha1-cgg+WNSkYvAYZvZhf02Yo807ikY=", "dev": true }, "commander": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", - "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.10.0.tgz", + "integrity": "sha512-q/r9trjmuikWDRJNTBHAVnWhuU6w+z80KgBq7j9YDclik5E7X4xi0KnlZBNFA1zOQ+SH/vHMWd2mC9QTOz7GpA==", "dev": true }, "common-path-prefix": { @@ -1367,6 +1379,12 @@ "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", "dev": true }, + "concordance": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concordance/-/concordance-2.0.0.tgz", + "integrity": "sha512-jVxBZbAkFIZE5WHCAL7RpkX+XPl9ZnT8uYjZ9EXPFSquNDgq2iXWFsT2iptVoxvfSL+/5ej8CdHsmE7XYJjCPA==", + "dev": true + }, "configstore": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.0.tgz", @@ -1667,15 +1685,9 @@ "dev": true }, "diff": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", - "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=", - "dev": true - }, - "diff-match-patch": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.0.tgz", - "integrity": "sha1-HMPIOkkNZ/ldkeOfatHy4Ia2MEg=", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", + "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=", "dev": true }, "diffie-hellman": { @@ -1690,10 +1702,10 @@ "integrity": "sha1-V92stHMkrl9Y0swNqIbbTOnutxg=", "dev": true, "dependencies": { - "diff": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", - "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=", + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true } } @@ -1818,9 +1830,9 @@ "dev": true }, "enhanced-resolve": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.1.0.tgz", - "integrity": "sha1-n0tib1dyRe3PSyrYPYbhf09CHew=", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.3.0.tgz", + "integrity": "sha512-2qbxE7ek3YxPJ1ML6V+satHkzHpJQKWkRHmRx6mfAoW59yP8YH8BFplbegSP+u2hBd6B6KCOpvJQ3dZAP+hkpg==", "dev": true }, "equal-length": { @@ -1902,9 +1914,9 @@ "dev": true }, "eslint": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.0.0.tgz", - "integrity": "sha1-cnfAFDf99B3M0WjVqg5Jt1yh8mA=", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.1.1.tgz", + "integrity": "sha1-+svfz+Pg+s06i4DcmMTmwTrlgt8=", "dev": true }, "eslint-plugin-ava": { @@ -2836,6 +2848,12 @@ "integrity": "sha1-FhdnFMgBeY5Ojyz391KUZ7tKV3E=", "dev": true }, + "function-name-support": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/function-name-support/-/function-name-support-0.2.0.tgz", + "integrity": "sha1-VdO/qm6v1QWlD5vIH99XVkoLsHE=", + "dev": true + }, "generate-function": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", @@ -3034,6 +3052,12 @@ "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=", "dev": true, "dependencies": { + "clone": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", + "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=", + "dev": true + }, "clone-stats": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz", @@ -3103,9 +3127,9 @@ "dev": true }, "hash.js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.0.3.tgz", - "integrity": "sha1-EzL/ABVsCg/92CNgE9B7d6BFFXM=", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", "dev": true }, "hast-util-is-element": { @@ -3121,9 +3145,9 @@ "dev": true }, "hast-util-to-html": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-3.0.0.tgz", - "integrity": "sha1-GaJXzXr0ZHd8HMz00tU9MxR0ZsE=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-3.0.1.tgz", + "integrity": "sha1-nN77aXcoiNtfQlPQjh/NUztxa6g=", "dev": true }, "hast-util-whitespace": { @@ -3163,15 +3187,15 @@ "dev": true }, "hosted-git-info": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.4.2.tgz", - "integrity": "sha1-AHa59GonBQbduq6lZJaJdGBhKmc=", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", + "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", "dev": true }, "html-void-elements": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.1.tgz", - "integrity": "sha1-+Sm+omehnjU1lQUCyhLBWfG1Wa8=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.2.tgz", + "integrity": "sha1-nSLgyjKsyVs/RbjVtPb73AWv/VU=", "dev": true }, "http-signature": { @@ -3230,6 +3254,26 @@ "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", "dev": true }, + "import-local": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-0.1.1.tgz", + "integrity": "sha1-sReVcqrNwRxqkQCftDDbyrX2aKg=", + "dev": true, + "dependencies": { + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true + }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "dev": true + } + } + }, "import-modules": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/import-modules/-/import-modules-1.1.0.tgz", @@ -3623,15 +3667,9 @@ "dev": true }, "istanbul-lib-instrument": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.2.tgz", - "integrity": "sha512-lPgUY+Pa5dlq2/l0qs1PJZ54QPSfo+s4+UZdkb2d0hbOyrEIAbUJphBLFjEyXBdeCONgGRADFzs3ojfFtmuwFA==", - "dev": true - }, - "jest-diff": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-19.0.0.tgz", - "integrity": "sha1-0VY8/FbItgIymI+8BdTRbtkPBjw=", + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.3.tgz", + "integrity": "sha1-klsjkWPqvdaMxASPUsL6T4mez6c=", "dev": true }, "jest-docblock": { @@ -3640,52 +3678,16 @@ "integrity": "sha1-F76phDQswz2DxQ++FUXqDvqkRxI=", "dev": true }, - "jest-file-exists": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jest-file-exists/-/jest-file-exists-19.0.0.tgz", - "integrity": "sha1-zKLlh6EeyS4kz+qz+KlNZX8/zrg=", - "dev": true - }, - "jest-matcher-utils": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-19.0.0.tgz", - "integrity": "sha1-Xs2bY1ZdKwAfYfv37Ex/U3lkVk0=", - "dev": true - }, - "jest-message-util": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-19.0.0.tgz", - "integrity": "sha1-cheWuJwOTXYWBvm6jLgoo7YkZBY=", - "dev": true - }, - "jest-mock": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-19.0.0.tgz", - "integrity": "sha1-ZwOGQelgerLOCOxKjLg6q7yJnQE=", - "dev": true - }, - "jest-snapshot": { - "version": "19.0.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-19.0.2.tgz", - "integrity": "sha1-nBshYhT3GHw4v9XHCx76sWsP9Qs=", - "dev": true - }, - "jest-util": { - "version": "19.0.2", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-19.0.2.tgz", - "integrity": "sha1-4KAjKiq55rK1Nmi9s1NMK1l37UE=", - "dev": true - }, - "jest-validate": { - "version": "19.0.2", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-19.0.2.tgz", - "integrity": "sha1-3FNN9fEnjVtj3zKxQkHU2/ckTAw=", + "js-string-escape": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", + "integrity": "sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8=", "dev": true }, "js-tokens": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.1.tgz", - "integrity": "sha1-COnxMkhKLEWjCQfp3E1VZ7fxFNc=", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", "dev": true }, "js-yaml": { @@ -3726,9 +3728,9 @@ "dev": true }, "json-schema-traverse": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.0.tgz", - "integrity": "sha1-ABbAscoe/kbUTTdUG838Gdz64Ns=", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", "dev": true }, "json-stable-stringify": { @@ -3835,12 +3837,6 @@ "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", "dev": true }, - "leven": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", - "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", - "dev": true - }, "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", @@ -4264,9 +4260,9 @@ "dev": true }, "mdast-util-to-hast": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-2.4.1.tgz", - "integrity": "sha1-rmvsCMhwTV9t38e4Svzpg8J0Qag=", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-2.4.2.tgz", + "integrity": "sha1-8Rbovz2ncrpaOXqS2rCQ9bqRyqA=", "dev": true }, "mdast-util-to-string": { @@ -4443,10 +4439,16 @@ } } }, + "moment": { + "version": "2.18.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz", + "integrity": "sha1-w2GT3Tzhwu7SrbfIAtu8d6gbHA8=", + "dev": true + }, "ms": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.3.tgz", - "integrity": "sha1-cIFVpeROM/X9D8U+gdDUCpG+H/8=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-1.0.0.tgz", + "integrity": "sha1-Wa3NIu3FQ/e1OBhi0xOHsfS8lHM=", "dev": true }, "multimatch": { @@ -4495,9 +4497,9 @@ } }, "normalize-package-data": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.8.tgz", - "integrity": "sha1-2Bntoqne29H/pWPqQHHZNngilbs=", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "dev": true }, "normalize-path": { @@ -4537,9 +4539,9 @@ "dev": true }, "nyc": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.0.2.tgz", - "integrity": "sha512-31rRd6ME9NM17w0oPKqi51a6fzJAqYarnzQXK+iL8XaX+3H6VH0BQut7qHIgrv2mBASRic4oNi2KRgcbFODrsQ==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.0.3.tgz", + "integrity": "sha1-DCi8ZpqFFiFwm/eghQMDS+44ErY=", "dev": true, "dependencies": { "align-text": { @@ -4603,7 +4605,7 @@ "dev": true }, "babel-generator": { - "version": "6.24.1", + "version": "6.25.0", "bundled": true, "dev": true }, @@ -4618,32 +4620,32 @@ "dev": true }, "babel-template": { - "version": "6.24.1", + "version": "6.25.0", "bundled": true, "dev": true }, "babel-traverse": { - "version": "6.24.1", + "version": "6.25.0", "bundled": true, "dev": true }, "babel-types": { - "version": "6.24.1", + "version": "6.25.0", "bundled": true, "dev": true }, "babylon": { - "version": "6.17.2", + "version": "6.17.4", "bundled": true, "dev": true }, "balanced-match": { - "version": "0.4.2", + "version": "1.0.0", "bundled": true, "dev": true }, "brace-expansion": { - "version": "1.1.7", + "version": "1.1.8", "bundled": true, "dev": true }, @@ -4662,6 +4664,12 @@ "bundled": true, "dev": true }, + "camelcase": { + "version": "1.2.1", + "bundled": true, + "dev": true, + "optional": true + }, "center-align": { "version": "0.1.3", "bundled": true, @@ -4843,7 +4851,7 @@ "dev": true }, "globals": { - "version": "9.17.0", + "version": "9.18.0", "bundled": true, "dev": true }, @@ -5005,7 +5013,7 @@ "dev": true }, "istanbul-lib-instrument": { - "version": "1.7.2", + "version": "1.7.3", "bundled": true, "dev": true }, @@ -5090,7 +5098,7 @@ "dev": true }, "lru-cache": { - "version": "4.0.2", + "version": "4.1.1", "bundled": true, "dev": true }, @@ -5110,7 +5118,7 @@ "dev": true }, "merge-source-map": { - "version": "1.0.3", + "version": "1.0.4", "bundled": true, "dev": true }, @@ -5282,9 +5290,28 @@ "dev": true }, "randomatic": { - "version": "1.1.6", + "version": "1.1.7", "bundled": true, - "dev": true + "dev": true, + "dependencies": { + "is-number": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "bundled": true, + "dev": true + } + } + }, + "kind-of": { + "version": "4.0.0", + "bundled": true, + "dev": true + } + } }, "read-pkg": { "version": "1.1.0", @@ -5314,7 +5341,7 @@ "dev": true }, "remove-trailing-separator": { - "version": "1.0.1", + "version": "1.0.2", "bundled": true, "dev": true }, @@ -5385,7 +5412,7 @@ "dev": true }, "spawn-wrap": { - "version": "1.3.6", + "version": "1.3.7", "bundled": true, "dev": true }, @@ -5452,17 +5479,11 @@ "dev": true }, "uglify-js": { - "version": "2.8.27", + "version": "2.8.29", "bundled": true, "dev": true, "optional": true, "dependencies": { - "camelcase": { - "version": "1.2.1", - "bundled": true, - "dev": true, - "optional": true - }, "yargs": { "version": "3.10.0", "bundled": true, @@ -5536,7 +5557,7 @@ "dev": true }, "yargs": { - "version": "8.0.1", + "version": "8.0.2", "bundled": true, "dev": true, "dependencies": { @@ -6010,25 +6031,11 @@ "dev": true }, "prettier": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.4.4.tgz", - "integrity": "sha512-GuuPazIvjW1DG26yLQgO+nagmRF/h9M4RaCtZWqu/eFW7csdZkQEwPJUeXX10d+LzmCnR9DuIZndqIOn3p2YoA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.5.2.tgz", + "integrity": "sha512-f55mvineQ5yc36cLX4n4RWP6JH6MLcfi5f9MVsjpfBs4MVSG2GYT4v6cukzmvkIOvmNOdCZfDSMY3hQcMcDQbQ==", "dev": true }, - "pretty-format": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-19.0.0.tgz", - "integrity": "sha1-VlMNMqy5ij+khRxOK503tCBoTIQ=", - "dev": true, - "dependencies": { - "ansi-styles": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.1.0.tgz", - "integrity": "sha1-CcIC1ckX7CMYjKpcnLkXnNlUd1A=", - "dev": true - } - } - }, "pretty-ms": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", @@ -6068,9 +6075,9 @@ "dev": true }, "property-information": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-3.1.0.tgz", - "integrity": "sha1-FYG/ikRd+/73WXdahnAOjdoYtKE=", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-3.2.0.tgz", + "integrity": "sha1-/RSDyPusYYCPX+NZ52k6H0ilgzE=", "dev": true }, "protocols": { @@ -6196,9 +6203,9 @@ "dev": true }, "readable-stream": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.0.tgz", - "integrity": "sha512-c7KMXGd4b48nN3OJ1U9qOsn6pXNzf6kLd3kdZCkg2sxAcoiufInqF0XckwEnlrcwuaYwonlNK8GQUIOC/WC7sg==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", + "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", "dev": true }, "readdirp": { @@ -6485,9 +6492,9 @@ } }, "safe-buffer": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.0.tgz", - "integrity": "sha512-aSLEDudu6OoRr/2rU609gRmnYboRLxgDG1z9o2Q0os7236FwvcqIOO8r8U5JUEwivZOhDaKlFO4SbPTJYyBEyQ==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", "dev": true }, "safe-json-parse": { @@ -6563,10 +6570,18 @@ "dev": true }, "sinon": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-2.3.4.tgz", - "integrity": "sha1-RmrY0brobW21GqIYuS6Ze8Pl24g=", - "dev": true + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-2.3.6.tgz", + "integrity": "sha1-lTeOfg+XapcS6bRZH/WznnPcPd4=", + "dev": true, + "dependencies": { + "diff": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", + "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=", + "dev": true + } + } }, "slash": { "version": "1.0.0", @@ -6617,9 +6632,9 @@ "dev": true }, "space-separated-tokens": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.0.tgz", - "integrity": "sha1-noxgQHqlJ3Qs2eruJUHexjnxJps=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.1.tgz", + "integrity": "sha1-lpW5355lrsGBHUw/nOUlILwvfk0=", "dev": true }, "spawn-sync": { @@ -6735,18 +6750,10 @@ "dev": true }, "string_decoder": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz", - "integrity": "sha1-sp4fThEl+pehA4K4pTNze3SR4Xk=", - "dev": true, - "dependencies": { - "safe-buffer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz", - "integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=", - "dev": true - } - } + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true }, "string-template": { "version": "0.2.1", @@ -6755,10 +6762,24 @@ "dev": true }, "string-width": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.0.0.tgz", - "integrity": "sha1-Y1xUNsxypuDDh87KJ41OLuxSaH4=", - "dev": true + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.0.tgz", + "integrity": "sha1-AwZkVh/BRslCPsfZeP4kV0N/5tA=", + "dev": true, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true + } + } }, "stringify-entities": { "version": "1.3.1", @@ -7031,9 +7052,9 @@ "dev": true, "dependencies": { "qs": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", - "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.0.tgz", + "integrity": "sha512-fjVFjW9yhqMhVGwRExCXLhJKrLlkYSaxNWdyc9rmHlrVZbk35YHH312dFd7191uQeXkI3mKLZTIbSvIeFwFemg==", "dev": true } } @@ -7086,6 +7107,12 @@ "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", "dev": true }, + "trim-off-newlines": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", + "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", + "dev": true + }, "trim-right": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", @@ -7409,9 +7436,9 @@ "dev": true }, "vinyl": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.0.2.tgz", - "integrity": "sha1-CjcT2NTpIhxY8QyhbAEWyeJe2nw=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.1.0.tgz", + "integrity": "sha1-Ah+cLPlR1rk5lDyJ617lrdT9kkw=", "dev": true }, "vinyl-fs": { @@ -7420,6 +7447,12 @@ "integrity": "sha1-vm/zJwy1Xf19MGNkDegfJddTIjk=", "dev": true, "dependencies": { + "clone": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", + "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=", + "dev": true + }, "clone-stats": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz", @@ -7508,6 +7541,12 @@ "integrity": "sha1-domUmcGEtu91Q3fC27DNbLVdKec=", "dev": true }, + "well-known-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-1.0.0.tgz", + "integrity": "sha1-c8eK6Bp3Jqj6WY4ogIAcixYiVRg=", + "dev": true + }, "which": { "version": "1.2.14", "resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz", diff --git a/package.json b/package.json index e538a3fe..f92b124f 100644 --- a/package.json +++ b/package.json @@ -73,10 +73,10 @@ ] }, "devDependencies": { - "ava": "^0.19.1", + "ava": "^0.20.0", "babel-cli": "^6.24.1", "babel-core": "^6.25.0", - "babel-loader": "^7.1.0", + "babel-loader": "^7.1.1", "babel-plugin-istanbul": "^4.1.3", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", @@ -84,16 +84,16 @@ "coveralls": "^2.13.1", "cross-env": "^5.0.1", "documentation": "^4.0.0-rc.1", - "eslint": "^4.0.0", + "eslint": "^4.1.1", "eslint-plugin-ava": "^4.2.0", "eslint-plugin-prettier": "^2.1.2", "glob": "^7.1.1", "lint-staged": "^4.0.0", "lodash": "^4.17.4", - "nyc": "^11.0.2", + "nyc": "^11.0.3", "pre-commit": "^1.2.2", - "prettier": "^1.4.4", - "sinon": "^2.3.4", + "prettier": "^1.5.2", + "sinon": "^2.3.6", "webpack": "^3.0.0", "webpack-node-externals": "^1.6.0" }, From 73b76490e5ac619633ed19f97c5ccf0f02661722 Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Sun, 2 Jul 2017 14:01:26 +0530 Subject: [PATCH 2/2] style: Fix formatting using prettier --- src/queries/span-queries/span-term-query.js | 5 ++--- src/queries/term-level-queries/value-term-query-base.js | 5 ++--- test/_macros.js | 7 ++++--- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/queries/span-queries/span-term-query.js b/src/queries/span-queries/span-term-query.js index b6661ffe..e10219f9 100644 --- a/src/queries/span-queries/span-term-query.js +++ b/src/queries/span-queries/span-term-query.js @@ -73,9 +73,8 @@ class SpanTermQuery extends SpanQueryBase { throw new Error('Value is required for Span term query!'); } - const qryOpts = Object.keys(this._queryOpts).length === 1 - ? this._queryOpts.value - : this._queryOpts; + const qryOpts = + Object.keys(this._queryOpts).length === 1 ? this._queryOpts.value : this._queryOpts; return { [this.queryType]: { [this._field]: qryOpts diff --git a/src/queries/term-level-queries/value-term-query-base.js b/src/queries/term-level-queries/value-term-query-base.js index 225930ec..9f1ed4e1 100644 --- a/src/queries/term-level-queries/value-term-query-base.js +++ b/src/queries/term-level-queries/value-term-query-base.js @@ -61,9 +61,8 @@ class ValueTermQueryBase extends Query { throw new Error('Value is required for term level query!'); } - const qryOpts = Object.keys(this._queryOpts).length === 1 - ? this._queryOpts.value - : this._queryOpts; + const qryOpts = + Object.keys(this._queryOpts).length === 1 ? this._queryOpts.value : this._queryOpts; return { [this.queryType]: { [this._field]: qryOpts diff --git a/test/_macros.js b/test/_macros.js index 6722885b..71c0bf0c 100644 --- a/test/_macros.js +++ b/test/_macros.js @@ -160,9 +160,10 @@ export function makeSetsOptionMacro(getInstance, getExpected = simpleExpect) { methodName, { param, propValue = param, spread = true, keyName = _.snakeCase(methodName) } ) { - const value = Array.isArray(param) && spread - ? getInstance()[methodName](...param).toJSON() - : getInstance()[methodName](param).toJSON(); + const value = + Array.isArray(param) && spread + ? getInstance()[methodName](...param).toJSON() + : getInstance()[methodName](param).toJSON(); const expected = getExpected(keyName, recursiveToJSON(propValue)); t.deepEqual(value, expected); }