diff --git a/CHANGELOG.md b/CHANGELOG.md index 892b153..7fc2644 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## 5.0.2 - 2017-12-12 + +* Chore: minimum required `node-fs` version is now `^5.0.0`. + ## 5.0.1 - 2017-11-28 * Chore: minimum required `meow` version is now `^4.0.0`. diff --git a/README.md b/README.md index 75fa620..edac6b1 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,12 @@ robotstxt({ disallow: "/search", crawlDelay: 2 }, + { + userAgent: "OtherBot", + allow: ["/allow-for-all-bots", "/allow-only-for-other-bot"], + disallow: ["/admin", "/login"], + crawlDelay: 2 + }, { userAgent: "*", allow: "/", @@ -52,7 +58,13 @@ module.exports = { { userAgent: "Googlebot", allow: "/", - disallow: "/search", + disallow: ["/search"], + crawlDelay: 2 + }, + { + userAgent: "OtherBot", + allow: ["/allow-for-all-bots", "/allow-only-for-other-bot"], + disallow: ["/admin", "/login"], crawlDelay: 2 }, { diff --git a/package-lock.json b/package-lock.json index 236d027..ca644b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "generate-robotstxt", - "version": "5.0.1", + "version": "5.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -81,10 +81,43 @@ } }, "@sindresorhus/df": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/df/-/df-1.0.1.tgz", - "integrity": "sha1-xptm9S9vzdKHyAffIQMF2694UA0=", - "dev": true + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/df/-/df-2.1.0.tgz", + "integrity": "sha1-0gjPJ+BvC7R20U197M19cm6ao4k=", + "dev": true, + "requires": { + "execa": "0.2.2" + }, + "dependencies": { + "execa": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.2.2.tgz", + "integrity": "sha1-4urUcsLDGq1vc/GslW7vReEjIMs=", + "dev": true, + "requires": { + "cross-spawn-async": "2.2.5", + "npm-run-path": "1.0.0", + "object-assign": "4.1.1", + "path-key": "1.0.0", + "strip-eof": "1.0.0" + } + }, + "npm-run-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-1.0.0.tgz", + "integrity": "sha1-9cMr9ZX+ga6Sfa7FLoL4sACsPI8=", + "dev": true, + "requires": { + "path-key": "1.0.0" + } + }, + "path-key": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-1.0.0.tgz", + "integrity": "sha1-XVPVeAGWRsDWiADbThRua9wqx68=", + "dev": true + } + } }, "acorn": { "version": "5.2.1", @@ -128,9 +161,9 @@ } }, "ajv": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.0.tgz", - "integrity": "sha1-6yhAdG6dxIvV4GOjbj/UAMXqtak=", + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.1.tgz", + "integrity": "sha1-s4u4h22ehr7plJVqBOch6IskjrI=", "dev": true, "requires": { "co": "4.6.0", @@ -384,7 +417,7 @@ "is-ci": "1.0.10", "is-generator-fn": "1.0.0", "is-obj": "1.0.1", - "is-observable": "1.0.0", + "is-observable": "1.1.0", "is-promise": "2.1.0", "js-yaml": "3.10.0", "last-line-stream": "1.0.0", @@ -397,7 +430,7 @@ "matcher": "1.0.0", "md5-hex": "2.0.0", "meow": "3.7.0", - "ms": "2.0.0", + "ms": "2.1.1", "multimatch": "2.1.0", "observable-to-promise": "0.5.0", "option-chain": "1.0.0", @@ -414,7 +447,7 @@ "stack-utils": "1.0.1", "strip-ansi": "4.0.0", "strip-bom-buf": "1.0.0", - "supports-color": "5.0.1", + "supports-color": "5.1.0", "time-require": "0.1.2", "trim-off-newlines": "1.0.1", "unique-temp-dir": "1.0.0", @@ -803,6 +836,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -994,7 +1033,7 @@ "babel-generator": "6.26.0", "babylon": "6.18.0", "call-matcher": "1.0.1", - "core-js": "2.5.1", + "core-js": "2.5.3", "espower-location-detector": "1.0.0", "espurify": "1.7.0", "estraverse": "4.2.0" @@ -1306,7 +1345,7 @@ "dev": true, "requires": { "babel-runtime": "6.26.0", - "core-js": "2.5.1", + "core-js": "2.5.3", "regenerator-runtime": "0.10.5" }, "dependencies": { @@ -1351,7 +1390,7 @@ "babel-plugin-transform-es2015-unicode-regex": "6.24.1", "babel-plugin-transform-exponentiation-operator": "6.24.1", "babel-plugin-transform-regenerator": "6.26.0", - "browserslist": "2.9.1", + "browserslist": "2.10.0", "invariant": "2.2.2", "semver": "5.4.1" } @@ -1364,7 +1403,7 @@ "requires": { "babel-core": "6.26.0", "babel-runtime": "6.26.0", - "core-js": "2.5.1", + "core-js": "2.5.3", "home-or-tmp": "2.0.0", "lodash": "4.17.4", "mkdirp": "0.5.1", @@ -1388,8 +1427,8 @@ "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "dev": true, "requires": { - "core-js": "2.5.1", - "regenerator-runtime": "0.11.0" + "core-js": "2.5.3", + "regenerator-runtime": "0.11.1" } }, "babel-template": { @@ -1430,6 +1469,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -1476,9 +1521,9 @@ "dev": true }, "boxen": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.2.2.tgz", - "integrity": "sha1-Px1AMsMP/qnUsCwyLq8up0HcvOU=", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", + "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", "dev": true, "requires": { "ansi-align": "2.0.0", @@ -1487,7 +1532,7 @@ "cli-boxes": "1.0.0", "string-width": "2.1.1", "term-size": "1.2.0", - "widest-line": "1.0.0" + "widest-line": "2.0.0" } }, "brace-expansion": { @@ -1512,13 +1557,13 @@ } }, "browserslist": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.9.1.tgz", - "integrity": "sha512-3n3nPdbUqn3nWmsy4PeSQthz2ja1ndpoXta+dwFFNhveGjMg6FXpWYe12vsTpNoXJbzx3j7GZXdtoVIdvh3JbA==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.10.0.tgz", + "integrity": "sha512-WyvzSLsuAVPOjbljXnyeWl14Ae+ukAT8MUuagKVzIDvwBxl4UAwD1xqtyQs2eWYPGUKMeC3Ol62goqYuKqTTcw==", "dev": true, "requires": { - "caniuse-lite": "1.0.30000772", - "electron-to-chromium": "1.3.27" + "caniuse-lite": "1.0.30000782", + "electron-to-chromium": "1.3.28" } }, "buf-compare": { @@ -1571,7 +1616,7 @@ "integrity": "sha1-UTTQd5hPcSpU2tPL9i3ijc5BbKg=", "dev": true, "requires": { - "core-js": "2.5.1", + "core-js": "2.5.3", "deep-equal": "1.0.1", "espurify": "1.7.0", "estraverse": "4.2.0" @@ -1614,9 +1659,9 @@ } }, "caniuse-lite": { - "version": "1.0.30000772", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000772.tgz", - "integrity": "sha1-eBKWIsq/7Xrx/zi2SraApqCGVCA=", + "version": "1.0.30000782", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000782.tgz", + "integrity": "sha1-W4K4w4XyU0h0XEccpRMgr7G38lQ=", "dev": true }, "capture-stack-trace": { @@ -1697,6 +1742,7 @@ "requires": { "anymatch": "1.3.2", "async-each": "1.0.1", + "fsevents": "1.1.3", "glob-parent": "2.0.0", "inherits": "2.0.3", "is-binary-path": "1.0.1", @@ -1923,9 +1969,9 @@ } }, "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", + "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=", "dev": true }, "core-util-is": { @@ -1965,6 +2011,16 @@ "which": "1.3.0" } }, + "cross-spawn-async": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/cross-spawn-async/-/cross-spawn-async-2.2.5.tgz", + "integrity": "sha1-hF/wwINKPe2dFg2sptOQkGuyiMw=", + "dev": true, + "requires": { + "lru-cache": "4.1.1", + "which": "1.3.0" + } + }, "crypto-random-string": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", @@ -2007,6 +2063,14 @@ "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "decamelize": { @@ -2165,9 +2229,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.27", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz", - "integrity": "sha1-eOy4o5kGYYe7N07t412ccFZagD0=", + "version": "1.3.28", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.28.tgz", + "integrity": "sha1-jdTmRYCGZE6fnwoc8y4qH53/2e4=", "dev": true }, "elegant-spinner": { @@ -2189,7 +2253,7 @@ "dev": true, "requires": { "call-signature": "0.0.2", - "core-js": "2.5.1" + "core-js": "2.5.3" } }, "encoding": { @@ -2267,12 +2331,12 @@ "dev": true }, "eslint": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.12.0.tgz", - "integrity": "sha512-Ohv4NU0FffkEe4so8DBrdfRUbGUtM4XnBTDll2pY7OdW3VkjBOZPerx3Bmuhg6S6D6r8+cli0EezN0xawUfYwg==", + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.13.1.tgz", + "integrity": "sha512-UCJVV50RtLHYzBp1DZ8CMPtRSg4iVZvjgO9IJHIKyWU/AnJVjtdRikoUPLB29n5pzMB7TnsLQWf0V6VUJfoPfw==", "dev": true, "requires": { - "ajv": "5.5.0", + "ajv": "5.5.1", "babel-code-frame": "6.26.0", "chalk": "2.3.0", "concat-stream": "1.6.0", @@ -2287,7 +2351,7 @@ "file-entry-cache": "2.0.0", "functional-red-black-tree": "1.0.1", "glob": "7.1.2", - "globals": "11.0.1", + "globals": "11.1.0", "ignore": "3.3.7", "imurmurhash": "0.1.4", "inquirer": "3.3.0", @@ -2312,9 +2376,9 @@ }, "dependencies": { "globals": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.0.1.tgz", - "integrity": "sha1-Eqh7sBDlFUOWrMU14eQ/x1Ow5eg=", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.1.0.tgz", + "integrity": "sha512-uEuWt9mqTlPDwSqi+sHjD4nWU/1N+q0fiWI9T1mZpD2UENqX20CFD5T/ziLZvztPaBKl7ZylUi1q6Qfm7E2CiQ==", "dev": true } } @@ -2347,6 +2411,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -2379,6 +2449,12 @@ "pinkie-promise": "2.0.1" } }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, "path-exists": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", @@ -2415,9 +2491,9 @@ } }, "eslint-plugin-ava": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-4.3.0.tgz", - "integrity": "sha1-XRUggk2WpRC75Orw8S/jXyBKdJ4=", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-4.4.0.tgz", + "integrity": "sha1-wYZuH2LnDa8re19gz7xTv+Jnpxc=", "dev": true, "requires": { "arrify": "1.0.1", @@ -2479,6 +2555,12 @@ "strip-bom": "3.0.0" } }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -2527,15 +2609,15 @@ } }, "eslint-plugin-itgalaxy": { - "version": "58.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-itgalaxy/-/eslint-plugin-itgalaxy-58.0.0.tgz", - "integrity": "sha512-R93AO5D/BxC5V/QJ53zOjfTDjOKSvw3GsGy1kwmFcoZVS2tliSjxJvHgiVduG0SXbC0Cqfjb429LIQE/uYssxQ==", + "version": "59.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-itgalaxy/-/eslint-plugin-itgalaxy-59.0.0.tgz", + "integrity": "sha512-+zhyOYkDTOla7N3IeOl+sEPphKjq07TCyl3GuZPBpZsAuRzHwNOumGlsT8+/ncl3klI8TLNPf6z5jwEpRr1Olg==", "dev": true }, "eslint-plugin-jest": { - "version": "21.3.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.3.2.tgz", - "integrity": "sha512-Kbr3lUw7wcAEvjnK1mA9q08Td4sCZPUru6nnBmD1/8gg3UWNHXAZd3W3l3qYaBS2b9yrfJZvCtIHyjKYTHUqUw==", + "version": "21.4.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.4.2.tgz", + "integrity": "sha512-NYtPWpL4PcRUKJH3D+amjpGOnh6k0eTlNgIsGNfqSSuNSrWgobefpB9H5P4uEEQ+ONxglQU0fWC3XHfGFHoGCA==", "dev": true }, "eslint-plugin-jsx-a11y": { @@ -2679,7 +2761,7 @@ "integrity": "sha1-HFz2y8zDLm9jk4C9T5kfq5up0iY=", "dev": true, "requires": { - "core-js": "2.5.1" + "core-js": "2.5.3" } }, "esquery": { @@ -2952,66 +3034,976 @@ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { - "ms": "2.0.0" + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "requires": { + "for-in": "1.0.2" + } + }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "dev": true + }, + "format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=", + "dev": true + }, + "from": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", + "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", + "dev": true + }, + "fs-extra": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", + "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "4.0.0", + "universalify": "0.1.1" + } + }, + "fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", + "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", + "dev": true, + "optional": true, + "requires": { + "nan": "2.8.0", + "node-pre-gyp": "0.6.39" + }, + "dependencies": { + "abbrev": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "ajv": { + "version": "4.11.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.2.9" + } + }, + "asn1": { + "version": "0.2.3", + "bundled": true, + "dev": true, + "optional": true + }, + "assert-plus": { + "version": "0.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "asynckit": { + "version": "0.4.0", + "bundled": true, + "dev": true, + "optional": true + }, + "aws-sign2": { + "version": "0.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "aws4": { + "version": "1.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "balanced-match": { + "version": "0.4.2", + "bundled": true, + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "tweetnacl": "0.14.5" + } + }, + "block-stream": { + "version": "0.0.9", + "bundled": true, + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "boom": { + "version": "2.10.1", + "bundled": true, + "dev": true, + "requires": { + "hoek": "2.16.3" + } + }, + "brace-expansion": { + "version": "1.1.7", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "0.4.2", + "concat-map": "0.0.1" + } + }, + "buffer-shims": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "caseless": { + "version": "0.12.0", + "bundled": true, + "dev": true, + "optional": true + }, + "co": { + "version": "4.6.0", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "combined-stream": { + "version": "1.0.5", + "bundled": true, + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "cryptiles": { + "version": "2.0.5", + "bundled": true, + "dev": true, + "requires": { + "boom": "2.10.1" + } + }, + "dashdash": { + "version": "1.14.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "debug": { + "version": "2.6.8", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.4.2", + "bundled": true, + "dev": true, + "optional": true + }, + "delayed-stream": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "ecc-jsbn": { + "version": "0.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "jsbn": "0.1.1" + } + }, + "extend": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "extsprintf": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "bundled": true, + "dev": true, + "optional": true + }, + "form-data": { + "version": "2.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.5", + "mime-types": "2.1.15" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "fstream": { + "version": "1.0.11", + "bundled": true, + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.1" + } + }, + "fstream-ignore": { + "version": "1.0.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fstream": "1.0.11", + "inherits": "2.0.3", + "minimatch": "3.0.4" + } + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "1.1.1", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "getpass": { + "version": "0.1.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "graceful-fs": { + "version": "4.1.11", + "bundled": true, + "dev": true + }, + "har-schema": { + "version": "1.0.5", + "bundled": true, + "dev": true, + "optional": true + }, + "har-validator": { + "version": "4.2.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ajv": "4.11.8", + "har-schema": "1.0.5" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "hawk": { + "version": "3.1.3", + "bundled": true, + "dev": true, + "requires": { + "boom": "2.10.1", + "cryptiles": "2.0.5", + "hoek": "2.16.3", + "sntp": "1.0.9" + } + }, + "hoek": { + "version": "2.16.3", + "bundled": true, + "dev": true + }, + "http-signature": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "assert-plus": "0.2.0", + "jsprim": "1.4.0", + "sshpk": "1.13.0" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.4", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-typedarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "isstream": { + "version": "0.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "jodid25519": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "jsbn": "0.1.1" + } + }, + "jsbn": { + "version": "0.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "json-schema": { + "version": "0.2.3", + "bundled": true, + "dev": true, + "optional": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "jsonify": "0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "jsonify": { + "version": "0.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "jsprim": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.0.2", + "json-schema": "0.2.3", + "verror": "1.3.6" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "mime-db": { + "version": "1.27.0", + "bundled": true, + "dev": true + }, + "mime-types": { + "version": "2.1.15", + "bundled": true, + "dev": true, + "requires": { + "mime-db": "1.27.0" + } + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "node-pre-gyp": { + "version": "0.6.39", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.2", + "hawk": "3.1.3", + "mkdirp": "0.5.1", + "nopt": "4.0.1", + "npmlog": "4.1.0", + "rc": "1.2.1", + "request": "2.81.0", + "rimraf": "2.6.1", + "semver": "5.3.0", + "tar": "2.2.1", + "tar-pack": "3.4.0" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1.1.0", + "osenv": "0.1.4" + } + }, + "npmlog": { + "version": "4.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "oauth-sign": { + "version": "0.8.2", + "bundled": true, + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "performance-now": { + "version": "0.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "1.0.7", + "bundled": true, + "dev": true + }, + "punycode": { + "version": "1.4.1", + "bundled": true, + "dev": true, + "optional": true + }, + "qs": { + "version": "6.4.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "0.4.2", + "ini": "1.3.4", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.2.9", + "bundled": true, + "dev": true, + "requires": { + "buffer-shims": "1.0.0", + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "string_decoder": "1.0.1", + "util-deprecate": "1.0.2" + } + }, + "request": { + "version": "2.81.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aws-sign2": "0.6.0", + "aws4": "1.6.0", + "caseless": "0.12.0", + "combined-stream": "1.0.5", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "4.2.1", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.15", + "oauth-sign": "0.8.2", + "performance-now": "0.2.0", + "qs": "6.4.0", + "safe-buffer": "5.0.1", + "stringstream": "0.0.5", + "tough-cookie": "2.3.2", + "tunnel-agent": "0.6.0", + "uuid": "3.0.1" + } + }, + "rimraf": { + "version": "2.6.1", + "bundled": true, + "dev": true, + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.0.1", + "bundled": true, + "dev": true + }, + "semver": { + "version": "5.3.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sntp": { + "version": "1.0.9", + "bundled": true, + "dev": true, + "requires": { + "hoek": "2.16.3" + } + }, + "sshpk": { + "version": "1.13.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.1", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jodid25519": "1.0.2", + "jsbn": "0.1.1", + "tweetnacl": "0.14.5" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.0.1" + } + }, + "stringstream": { + "version": "0.0.5", + "bundled": true, + "dev": true, + "optional": true + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "2.2.1", + "bundled": true, + "dev": true, + "requires": { + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" + } + }, + "tar-pack": { + "version": "3.4.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.8", + "fstream": "1.0.11", + "fstream-ignore": "1.0.5", + "once": "1.4.0", + "readable-stream": "2.2.9", + "rimraf": "2.6.1", + "tar": "2.2.1", + "uid-number": "0.0.6" + } + }, + "tough-cookie": { + "version": "2.3.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "punycode": "1.4.1" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "bundled": true, + "dev": true, + "optional": true + }, + "uid-number": { + "version": "0.0.6", + "bundled": true, + "dev": true, + "optional": true + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "uuid": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "verror": { + "version": "1.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "extsprintf": "1.0.2" + } + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true } } }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true - }, - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dev": true, - "requires": { - "for-in": "1.0.2" - } - }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", - "dev": true - }, - "format": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", - "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=", - "dev": true - }, - "from": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", - "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", - "dev": true - }, - "fs-extra": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.2.tgz", - "integrity": "sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s=", - "requires": { - "graceful-fs": "4.1.11", - "jsonfile": "4.0.0", - "universalify": "0.1.1" - } - }, - "fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -3067,9 +4059,9 @@ } }, "github-release-from-changelog": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/github-release-from-changelog/-/github-release-from-changelog-1.2.1.tgz", - "integrity": "sha1-AiGjCdFFFClP+8TFPZ8mDAyaMT4=", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/github-release-from-changelog/-/github-release-from-changelog-1.3.0.tgz", + "integrity": "sha512-WXIdtpdVCSC2Pz8U7pA1047lMxxneDy7lTuRBqGqopBtLXTzpwaBeZJcnC2AXykuq2Fory07Q+yUtDyqOaip3g==", "dev": true, "requires": { "grizzly": "2.1.5", @@ -3286,6 +4278,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -3443,18 +4441,24 @@ } }, "ip-address": { - "version": "5.8.8", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-5.8.8.tgz", - "integrity": "sha1-X9H490ZSSft9Kzwe7HtB0p0fG3Y=", + "version": "5.8.9", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-5.8.9.tgz", + "integrity": "sha512-7ay355oMN34iXhET1BmCJVsHjOTSItEEIIpOs38qUC23AIhOy+xIPnkrTuEFjeLMrTJ7m8KMXWgWfy/2Vn9sDw==", "requires": { - "jsbn": "0.1.0", + "jsbn": "1.1.0", "lodash.find": "4.6.0", "lodash.max": "4.0.1", "lodash.merge": "4.6.0", "lodash.padstart": "4.6.1", "lodash.repeat": "4.1.0", - "sprintf-js": "1.0.3", - "util-deprecate": "1.0.2" + "sprintf-js": "1.1.0" + }, + "dependencies": { + "sprintf-js": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.0.tgz", + "integrity": "sha1-z/yvcC2vZeo5u04PorKZzsGhvkY=" + } } }, "irregular-plurals": { @@ -3638,7 +4642,7 @@ "dev": true, "requires": { "global-dirs": "0.1.1", - "is-path-inside": "1.0.0" + "is-path-inside": "1.0.1" } }, "is-npm": { @@ -3669,12 +4673,12 @@ "dev": true }, "is-observable": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.0.0.tgz", - "integrity": "sha512-DVW97O/RiM3rTIuicUIcbJVqaQRDTwiXLYEWcCYLL5o8DOKCxpoPGroPXH3bVGUTJ2rvaFYnSXwwkakFpyTBzA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz", + "integrity": "sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==", "dev": true, "requires": { - "symbol-observable": "1.0.4" + "symbol-observable": "1.1.0" } }, "is-path-cwd": { @@ -3689,13 +4693,13 @@ "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", "dev": true, "requires": { - "is-path-inside": "1.0.0" + "is-path-inside": "1.0.1" } }, "is-path-inside": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz", - "integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", "dev": true, "requires": { "path-is-inside": "1.0.2" @@ -3873,9 +4877,9 @@ } }, "jsbn": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz", - "integrity": "sha1-ZQmH2g3XT06/WhE3eiqi0nPpff0=" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha1-sBMHyym2GKHtJux56RH4A8TaAEA=" }, "jsesc": { "version": "0.5.0", @@ -3985,15 +4989,16 @@ } }, "lint-staged": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-5.0.0.tgz", - "integrity": "sha512-nKwjLlYOd6Eqog3cg3aDulrRfLkR3GPasqTI7+3ZKucLATqay86wOaEM0gtYVmTS0/ihHSARnOWduAqNJZAbeQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-6.0.0.tgz", + "integrity": "sha512-ZUftK94S4vedpQG1LlA2tc2AuQXXBwc+1lB+j8SEfG5+p2dqu3Ug8iYQ8jdap+uLkhDw4OaJXqE+CZ/L+vfv+Q==", "dev": true, "requires": { "app-root-path": "2.0.1", "chalk": "2.3.0", "commander": "2.12.2", "cosmiconfig": "3.1.0", + "debug": "3.1.0", "dedent": "0.7.0", "execa": "0.8.0", "find-parent-dir": "0.3.0", @@ -4048,7 +5053,7 @@ "log-update": "1.0.2", "ora": "0.2.3", "p-map": "1.2.0", - "rxjs": "5.5.2", + "rxjs": "5.5.5", "stream-to-observable": "0.2.0", "strip-ansi": "3.0.1" }, @@ -4695,7 +5700,7 @@ "dev": true, "requires": { "unist-util-modify-children": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "mdast-util-definitions": { @@ -4704,7 +5709,7 @@ "integrity": "sha512-9NloPSwaB9f1PKcGqaScfqRf6zKOEjTIXVIbPOmgWI/JKxznlgVXC5C+8qgl3AjYg2vJBRgLYfLICaNiac89iA==", "dev": true, "requires": { - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "mdast-util-to-string": { @@ -4809,18 +5814,49 @@ } }, "mount-point": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mount-point/-/mount-point-1.2.0.tgz", - "integrity": "sha1-93EileHs2N8uQuy+I+B6NmCAeFE=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mount-point/-/mount-point-3.0.0.tgz", + "integrity": "sha1-Zly57evoDREOZY21bDHQrvUaj5c=", "dev": true, "requires": { - "@sindresorhus/df": "1.0.1" + "@sindresorhus/df": "1.0.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + }, + "dependencies": { + "@sindresorhus/df": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@sindresorhus/df/-/df-1.0.1.tgz", + "integrity": "sha1-xptm9S9vzdKHyAffIQMF2694UA0=", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "2.0.4" + } + } } }, "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", "dev": true }, "multimatch": { @@ -4841,6 +5877,13 @@ "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, + "nan": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", + "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=", + "dev": true, + "optional": true + }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -4947,7 +5990,7 @@ "dev": true, "requires": { "chalk": "1.1.3", - "github-release-from-changelog": "1.2.1", + "github-release-from-changelog": "1.3.0", "minimist": "1.2.0", "shelljs": "0.5.3", "trash": "3.4.2" @@ -6618,7 +7661,7 @@ "dev": true, "requires": { "is-observable": "0.2.0", - "symbol-observable": "1.0.4" + "symbol-observable": "1.1.0" }, "dependencies": { "is-observable": { @@ -7026,9 +8069,9 @@ "dev": true }, "prettier": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.8.2.tgz", - "integrity": "sha512-fHWjCwoRZgjP1rvLP7OGqOznq7xH1sHMQUFLX8qLRO79hI57+6xbc5vB904LxEkCfgFgyr3vv06JkafgCSzoZg==", + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.9.2.tgz", + "integrity": "sha512-piXx9N2WT8hWb7PBbX1glAuJVIkEyUV9F5fMXFINpZ0x3otVOFKKeGmeuiclFJlP/UrgTckyV606VjH2rNK4bw==", "dev": true }, "pretty-format": { @@ -7250,9 +8293,9 @@ "dev": true }, "regenerator-runtime": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", "dev": true }, "regenerator-transform": { @@ -7352,9 +8395,9 @@ } }, "remark-comment-config": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/remark-comment-config/-/remark-comment-config-5.0.1.tgz", - "integrity": "sha1-FfWVhpM8S6tC9FRXlAKoE7hePgY=", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/remark-comment-config/-/remark-comment-config-5.0.2.tgz", + "integrity": "sha512-oJ9y3ZdfobPgrUHHgSG4WsL/kd8hUN4+ygZjUf+ySiQuW7r2vOP8aN2H+BUu/3xunkR9j9lgO/Uu9IF7FxkxCQ==", "dev": true, "requires": { "mdast-comment-marker": "1.0.2" @@ -7366,7 +8409,7 @@ "integrity": "sha512-wvTTuB5O5pF8SxqahQjjrU3dtuhygYjaGcOZTw+4ACgSE4RBINDlNqN46HjcV3X0ib5GmObJUt5a2mmhtmuTqw==", "dev": true, "requires": { - "remark-message-control": "4.0.1" + "remark-message-control": "4.0.2" } }, "remark-lint-code-block-style": { @@ -7378,7 +8421,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-fenced-code-flag": { @@ -7390,7 +8433,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-file-extension": { @@ -7411,7 +8454,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-first-heading-level": { @@ -7422,7 +8465,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-heading-increment": { @@ -7433,7 +8476,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-maximum-heading-length": { @@ -7445,7 +8488,7 @@ "mdast-util-to-string": "1.0.4", "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-blockquote-without-marker": { @@ -7457,7 +8500,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0", + "unist-util-visit": "1.3.0", "vfile-location": "2.0.2" } }, @@ -7470,7 +8513,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-duplicate-headings-in-section": { @@ -7483,7 +8526,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-emphasis-as-heading": { @@ -7494,7 +8537,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-empty-url": { @@ -7505,7 +8548,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-file-name-articles": { @@ -7561,7 +8604,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-heading-punctuation": { @@ -7573,7 +8616,7 @@ "mdast-util-to-string": "1.0.4", "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-html": { @@ -7584,7 +8627,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-inline-padding": { @@ -7596,7 +8639,7 @@ "mdast-util-to-string": "1.0.4", "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-literal-urls": { @@ -7609,7 +8652,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-multiple-toplevel-headings": { @@ -7621,7 +8664,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-reference-like-url": { @@ -7632,7 +8675,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-shell-dollars": { @@ -7643,7 +8686,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-shortcut-reference-image": { @@ -7654,7 +8697,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-shortcut-reference-link": { @@ -7665,7 +8708,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-undefined-references": { @@ -7676,7 +8719,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-unused-definitions": { @@ -7687,7 +8730,7 @@ "requires": { "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-no-url-trailing-slash": { @@ -7697,7 +8740,7 @@ "dev": true, "requires": { "unified-lint-rule": "1.0.2", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-ordered-list-marker-style": { @@ -7709,7 +8752,7 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-lint-ordered-list-marker-value": { @@ -7721,18 +8764,18 @@ "unified-lint-rule": "1.0.2", "unist-util-generated": "1.1.1", "unist-util-position": "3.0.0", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-message-control": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/remark-message-control/-/remark-message-control-4.0.1.tgz", - "integrity": "sha1-KRPNYLMW2fnzkKp/NGOdIM9VmW0=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/remark-message-control/-/remark-message-control-4.0.2.tgz", + "integrity": "sha512-eMirgrJJwIHSs/t7N9lqDIg8NidqSoxxjuxGyqE4j1blCMc/jr7/t5vvNE9ezlXp4MHCp2+61S4gFWnLANAbpg==", "dev": true, "requires": { "mdast-comment-marker": "1.0.2", "trim": "0.0.1", - "unist-util-visit": "1.2.0", + "unist-util-visit": "1.3.0", "vfile-location": "2.0.2" } }, @@ -7765,7 +8808,7 @@ "integrity": "sha512-d+RIOBkx/RkZUa/NWGvMuJzZ+Q+yMnqKxhKkzP3A0XOj8+gmJootuQXg6+uc6iynz03qyYn0qj13O7T9YFpLRQ==", "dev": true, "requires": { - "remark-comment-config": "5.0.1", + "remark-comment-config": "5.0.2", "remark-lint": "6.0.1", "remark-lint-code-block-style": "1.0.1", "remark-lint-fenced-code-flag": "1.0.1", @@ -7799,7 +8842,7 @@ "remark-lint-no-url-trailing-slash": "3.0.1", "remark-lint-ordered-list-marker-style": "1.0.1", "remark-lint-ordered-list-marker-value": "1.0.1", - "remark-message-control": "4.0.1", + "remark-message-control": "4.0.2", "remark-validate-links": "7.0.0" } }, @@ -7811,7 +8854,7 @@ "requires": { "github-slugger": "1.2.0", "mdast-util-to-string": "1.0.4", - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "remark-stringify": { @@ -7846,7 +8889,7 @@ "mdast-util-definitions": "1.2.2", "propose": "0.0.5", "remark-slug": "4.2.3", - "unist-util-visit": "1.2.0", + "unist-util-visit": "1.3.0", "urljoin": "0.1.5", "xtend": "4.0.1" } @@ -8021,12 +9064,20 @@ } }, "rxjs": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.2.tgz", - "integrity": "sha512-oRYoIKWBU3Ic37fLA5VJu31VqQO4bWubRntcHSJ+cwaDQBwdnZ9x4zmhJfm/nFQ2E82/I4loSioHnACamrKGgA==", + "version": "5.5.5", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.5.tgz", + "integrity": "sha512-D/MfQnPMBk8P8gfwGxvCkuaWBcG58W7dUMT//URPoYzIbDEKT0GezdirkK5whMgKFBATfCoTpxO8bJQGJ04W5A==", "dev": true, "requires": { - "symbol-observable": "1.0.4" + "symbol-observable": "1.0.1" + }, + "dependencies": { + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", + "dev": true + } } }, "safe-buffer": { @@ -8340,18 +9391,18 @@ "dev": true }, "supports-color": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.0.1.tgz", - "integrity": "sha512-7FQGOlSQ+AQxBNXJpVDj8efTA/FtyB5wcNE1omXXJ0cq6jm1jjDwuROlYDbnzHqdNPqliWFhcioCWSyav+xBnA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz", + "integrity": "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==", "dev": true, "requires": { "has-flag": "2.0.0" } }, "symbol-observable": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.4.tgz", - "integrity": "sha1-Kb9hXUqnEhvdiYsi1LP5vE4qoD0=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.1.0.tgz", + "integrity": "sha512-dQoid9tqQ+uotGhuTKEY11X4xhyYePVnqGSoSm3OGKh2E8LZ6RPULp1uXTctk33IeERlrRJYoVSBglsL05F5Uw==", "dev": true }, "table": { @@ -8360,7 +9411,7 @@ "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", "dev": true, "requires": { - "ajv": "5.5.0", + "ajv": "5.5.1", "ajv-keywords": "2.1.1", "chalk": "2.3.0", "lodash": "4.17.4", @@ -8549,7 +9600,7 @@ "pinkie-promise": "2.0.1", "run-applescript": "2.1.0", "uuid": "2.0.3", - "xdg-trashdir": "2.1.0" + "xdg-trashdir": "2.1.1" }, "dependencies": { "fs-extra": { @@ -8782,6 +9833,12 @@ "ms": "2.0.0" } }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -8855,7 +9912,7 @@ "integrity": "sha1-WoXBVV/BugwQG4ZwfRXlD6TIcbs=", "dev": true, "requires": { - "unist-util-visit": "1.2.0" + "unist-util-visit": "1.3.0" } }, "unist-util-stringify-position": { @@ -8865,9 +9922,9 @@ "dev": true }, "unist-util-visit": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.2.0.tgz", - "integrity": "sha512-lI+jyPlDztHZ2CJhUchcRMQ7MNc0yASgYFxwRTxs0EZ+9HbYFBLVGDJ2FchTBy+pra0O1LVEn0Wkgf19mDVDzw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.3.0.tgz", + "integrity": "sha512-9ntYcxPFtl44gnwXrQKZ5bMqXMY0ZHzUpqMFiU4zcc8mmf/jzYm8GhYgezuUlX4cJIM1zIDYaO6fG/fI+L6iiQ==", "dev": true, "requires": { "unist-util-is": "2.1.1" @@ -8899,7 +9956,7 @@ "integrity": "sha1-TognpruRUUCrCTVZ1wFOPruDdFE=", "dev": true, "requires": { - "boxen": "1.2.2", + "boxen": "1.3.0", "chalk": "2.3.0", "configstore": "3.1.1", "import-lazy": "2.1.0", @@ -8945,7 +10002,8 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true }, "uuid": { "version": "2.0.3", @@ -9079,43 +10137,12 @@ } }, "widest-line": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz", - "integrity": "sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", + "integrity": "sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM=", "dev": true, "requires": { - "string-width": "1.0.2" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "1.0.1" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "2.1.1" - } - } + "string-width": "2.1.1" } }, "wordwrap": { @@ -9219,17 +10246,16 @@ "dev": true }, "xdg-trashdir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/xdg-trashdir/-/xdg-trashdir-2.1.0.tgz", - "integrity": "sha1-V+M+/tfmjWj9RrXXNEq6s3EHAww=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/xdg-trashdir/-/xdg-trashdir-2.1.1.tgz", + "integrity": "sha512-KcVhPaOu2ZurYNHSRTf1+ZHORkTZGCQ+u0JHN17QixRISJq4pXOnjt/lQcehvtHL5QAKhSzKgyjrcNnPdkPBHA==", "dev": true, "requires": { - "@sindresorhus/df": "1.0.1", - "mount-point": "1.2.0", + "@sindresorhus/df": "2.1.0", + "mount-point": "3.0.0", "pify": "2.3.0", - "pinkie-promise": "1.0.0", - "user-home": "1.1.1", - "xdg-basedir": "1.0.1" + "user-home": "2.0.0", + "xdg-basedir": "2.0.0" }, "dependencies": { "pify": { @@ -9238,13 +10264,22 @@ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true }, + "user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=", + "dev": true, + "requires": { + "os-homedir": "1.0.2" + } + }, "xdg-basedir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-1.0.1.tgz", - "integrity": "sha1-FP+PY6T9vLBdW27qIrNvMDO58E4=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz", + "integrity": "sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I=", "dev": true, "requires": { - "user-home": "1.1.1" + "os-homedir": "1.0.2" } } } diff --git a/package.json b/package.json index 0494b54..34cb495 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generate-robotstxt", - "version": "5.0.1", + "version": "5.0.2", "description": "Awesome generator robots.txt", "author": "itgalaxy ", "contributors": [ @@ -37,7 +37,7 @@ "resolve-from": "^4.0.0", "ip-address": "^5.8.6", "is-absolute-url": "^2.1.0", - "fs-extra": "^4.0.2" + "fs-extra": "^5.0.0" }, "devDependencies": { "ava": "^0.24.0", @@ -49,7 +49,7 @@ "eslint": "^4.9.0", "eslint-plugin-ava": "^4.2.1", "eslint-plugin-import": "^2.8.0", - "eslint-plugin-itgalaxy": "^58.0.0", + "eslint-plugin-itgalaxy": "^59.0.0", "eslint-plugin-jest": "^21.2.0", "eslint-plugin-jsx-a11y": "^6.0.0", "eslint-plugin-lodash": "^2.4.3", @@ -71,12 +71,12 @@ }, "scripts": { "precommit": "lint-staged", - "lint:prettier": "prettier --list-different '{src,__tests__}/**/*.{js,jsx,md}' '*.{js,md}'", + "lint:prettier": "prettier --list-different '{src,__tests__}/**/*.{js,mjs,jsx,md}' '*.{js,mjs,md}'", "lint:remark": "remark . -i .gitignore -f -q", "lint:eslint": "eslint . '.*.js' --report-unused-disable-directives --ignore-path .gitignore --ext '.js,.jsx'", "lint": "npm-run-all -l -p 'lint:**'", - "fix:prettier": "prettier --write '{src,__tests__}/**/*.{js,jsx,md}' '*.{js,md}'", - "fix:eslint": "eslint . '.*.js' --fix --ignore-path .gitignore --ext '.js,.jsx'", + "fix:prettier": "npm run lint:prettier -- --write", + "fix:eslint": "npm run lint:eslint -- --fix", "fix": "npm-run-all -l -p 'fix:**'", "pretest": "npm run lint", "test-only": "nyc ava --verbose '**/__tests__/*.js'", diff --git a/src/__tests__/standalone.js b/src/__tests__/standalone.js index 2514f1a..77bfa1b 100644 --- a/src/__tests__/standalone.js +++ b/src/__tests__/standalone.js @@ -10,7 +10,7 @@ test("should generated default output without options", t => t.is(content, "User-agent: *\nAllow: /\n"); })); -test("should `contain one `policy` item with the `Allow` directive", t => +test("should contain one `policy` item with the `Allow` directive", t => generateRobotstxt({ policy: [ { @@ -22,6 +22,30 @@ test("should `contain one `policy` item with the `Allow` directive", t => t.is(content, "User-agent: Google\nAllow: /\n"); })); +test("should contain two `policy` items with the `Allow` directive", t => + generateRobotstxt({ + policy: [ + { + allow: ["/", "/foobar"], + userAgent: "Google" + } + ] + }).then(content => { + t.is(content, "User-agent: Google\nAllow: /\nAllow: /foobar\n"); + })); + +test("should contain two `policy` items with the `Disallow` directive", t => + generateRobotstxt({ + policy: [ + { + disallow: ["/", "/foobar"], + userAgent: "Google" + } + ] + }).then(content => { + t.is(content, "User-agent: Google\nDisallow: /\nDisallow: /foobar\n"); + })); + test("should contain two `policy` item with the `Allow` directive", t => generateRobotstxt({ policy: [ diff --git a/src/standalone.js b/src/standalone.js index f5f3709..fcc6916 100644 --- a/src/standalone.js +++ b/src/standalone.js @@ -54,21 +54,19 @@ function generatePoliceItem(item, index) { return contents; } -export default function( - { - configFile = null, - policy = [ - { - allow: "/", - cleanParam: null, - crawlDelay: null, - userAgent: "*" - } - ], - sitemap = null, - host = null - } = {} -) { +export default function({ + configFile = null, + policy = [ + { + allow: "/", + cleanParam: null, + crawlDelay: null, + userAgent: "*" + } + ], + sitemap = null, + host = null +} = {}) { let options = { host, policy,