diff --git a/changelog.md b/changelog.md
index 5417ae5..e237cc3 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,27 @@
+
+## 0.0.22 (2018-02-08)
+
+* 0.0.22 ([014bbf4](https://github.com/post-org/post-load-plugins/commit/014bbf4))
+* docs: change path reshape logo ([166995a](https://github.com/post-org/post-load-plugins/commit/166995a))
+* docs: fix path org name ([7a15d63](https://github.com/post-org/post-load-plugins/commit/7a15d63))
+* docs: remove license, close #138 ([4299d87](https://github.com/post-org/post-load-plugins/commit/4299d87)), closes [#138](https://github.com/post-org/post-load-plugins/issues/138)
+* docs: remove testen badge ([e37cd71](https://github.com/post-org/post-load-plugins/commit/e37cd71))
+* docs: update screenshot ([ec31564](https://github.com/post-org/post-load-plugins/commit/ec31564))
+* fix: typo ([2af4186](https://github.com/post-org/post-load-plugins/commit/2af4186))
+* style: rename to test-* ([50425b8](https://github.com/post-org/post-load-plugins/commit/50425b8))
+* perf: throw error if witchout argumens or processor ([dbf1162](https://github.com/post-org/post-load-plugins/commit/dbf1162))
+* test: fix because beautify not works ([1c76902](https://github.com/post-org/post-load-plugins/commit/1c76902))
+* test: for post processor ([1c50342](https://github.com/post-org/post-load-plugins/commit/1c50342))
+* refactor: detect process name ([17b7866](https://github.com/post-org/post-load-plugins/commit/17b7866))
+* refactor: processing call plugins ([260750c](https://github.com/post-org/post-load-plugins/commit/260750c))
+* build: update changelog ([d19d001](https://github.com/post-org/post-load-plugins/commit/d19d001))
+* build: update depDev ([47184c1](https://github.com/post-org/post-load-plugins/commit/47184c1))
+* build: update reg for lint md files ([62f0d5e](https://github.com/post-org/post-load-plugins/commit/62f0d5e))
+
+
+
-## 0.0.21 (2018-01-21)
+## 0.0.21 (2018-01-21)
* 0.0.21 ([26ec024](https://github.com/post-org/post-load-plugins/commit/26ec024))
* build: fix for node 4 ([8aadb03](https://github.com/post-org/post-load-plugins/commit/8aadb03))
@@ -9,7 +31,7 @@
-## 0.0.20 (2018-01-19)
+## 0.0.20 (2018-01-19)
* 0.0.20 ([f933a51](https://github.com/post-org/post-load-plugins/commit/f933a51))
* fix: identification pwd ([b77f79a](https://github.com/post-org/post-load-plugins/commit/b77f79a))
@@ -18,7 +40,7 @@
-## 0.0.19 (2018-01-19)
+## 0.0.19 (2018-01-19)
* 0.0.19 ([6098e4d](https://github.com/post-org/post-load-plugins/commit/6098e4d))
* fix: identification pwd ([7a01041](https://github.com/post-org/post-load-plugins/commit/7a01041))
@@ -27,7 +49,7 @@
-## 0.0.18 (2018-01-19)
+## 0.0.18 (2018-01-19)
* 0.0.18 ([7fe35ea](https://github.com/post-org/post-load-plugins/commit/7fe35ea))
* build: update changelog ([fe9b865](https://github.com/post-org/post-load-plugins/commit/fe9b865))
@@ -39,7 +61,7 @@
-## 0.0.17 (2018-01-12)
+## 0.0.17 (2018-01-12)
* 0.0.17 ([e98ea8f](https://github.com/post-org/post-load-plugins/commit/e98ea8f))
* Update .travis.yml ([a284aef](https://github.com/post-org/post-load-plugins/commit/a284aef))
@@ -74,7 +96,7 @@
-## 0.0.16 (2017-04-20)
+## 0.0.16 (2017-04-20)
* 0.0.16 ([0123e57](https://github.com/post-org/post-load-plugins/commit/0123e57))
* Update readme.md ([89729c8](https://github.com/post-org/post-load-plugins/commit/89729c8))
@@ -93,7 +115,7 @@
-## 0.0.15 (2017-04-03)
+## 0.0.15 (2017-04-03)
* 0.0.15 ([78bbd08](https://github.com/post-org/post-load-plugins/commit/78bbd08))
* chore(changelog): Update changelog v`npm view post-load-plugins version` ([ea6639d](https://github.com/post-org/post-load-plugins/commit/ea6639d))
@@ -107,7 +129,7 @@
-## 0.0.14 (2017-03-31)
+## 0.0.14 (2017-03-31)
* 0.0.14 ([a5c189f](https://github.com/post-org/post-load-plugins/commit/a5c189f))
* Update license ([5bee998](https://github.com/post-org/post-load-plugins/commit/5bee998))
@@ -146,7 +168,7 @@
-## 0.0.13 (2017-02-16)
+## 0.0.13 (2017-02-16)
* 0.0.13 ([2a3d191](https://github.com/post-org/post-load-plugins/commit/2a3d191))
* fix(index): not return ctx in postcss plg, close #94 ([ea802be](https://github.com/post-org/post-load-plugins/commit/ea802be)), closes [#94](https://github.com/post-org/post-load-plugins/issues/94)
@@ -157,7 +179,7 @@
-## 0.0.12 (2017-02-15)
+## 0.0.12 (2017-02-15)
* 0.0.12 ([5977fa3](https://github.com/post-org/post-load-plugins/commit/5977fa3))
* chore(changelog): Update changelog v0.0.11 ([6e14cc7](https://github.com/post-org/post-load-plugins/commit/6e14cc7))
@@ -166,7 +188,7 @@
-## 0.0.11 (2017-02-15)
+## 0.0.11 (2017-02-15)
* 0.0.11 ([1f1dfe4](https://github.com/post-org/post-load-plugins/commit/1f1dfe4))
* docs(readme): fix break line ([14f713b](https://github.com/post-org/post-load-plugins/commit/14f713b))
@@ -177,7 +199,7 @@
-## 0.0.10 (2017-02-14)
+## 0.0.10 (2017-02-14)
* 0.0.10 ([6a1fc9d](https://github.com/post-org/post-load-plugins/commit/6a1fc9d))
* Update readme.md ([e364ed9](https://github.com/post-org/post-load-plugins/commit/e364ed9))
@@ -215,7 +237,7 @@
-## 0.0.9 (2017-02-01)
+## 0.0.9 (2017-02-01)
* 0.0.9 ([f42b49e](https://github.com/post-org/post-load-plugins/commit/f42b49e))
* fix(package): babel-polyfill must be in dep, close #77 ([7d4c497](https://github.com/post-org/post-load-plugins/commit/7d4c497)), closes [#77](https://github.com/post-org/post-load-plugins/issues/77)
@@ -225,7 +247,7 @@
-## 0.0.8 (2017-01-31)
+## 0.0.8 (2017-01-31)
* 0.0.8 ([a382465](https://github.com/post-org/post-load-plugins/commit/a382465))
* Fixed repo links ([3f0adaf](https://github.com/post-org/post-load-plugins/commit/3f0adaf))
@@ -243,7 +265,7 @@
-## 0.0.7 (2017-01-23)
+## 0.0.7 (2017-01-23)
* 0.0.7 ([87b6483](https://github.com/post-org/post-load-plugins/commit/87b6483))
* style(package): auto sorting pkg ([c294294](https://github.com/post-org/post-load-plugins/commit/c294294))
@@ -273,7 +295,7 @@
-## 0.0.6 (2017-01-09)
+## 0.0.6 (2017-01-09)
* 0.0.6 ([d02865e](https://github.com/post-org/post-load-plugins/commit/d02865e))
* style(index): remove inline rules dynamic import for eslint ([04c5499](https://github.com/post-org/post-load-plugins/commit/04c5499))
@@ -290,7 +312,7 @@
-## 0.0.5 (2016-12-27)
+## 0.0.5 (2016-12-27)
* 0.0.5 ([6c5f843](https://github.com/post-org/post-load-plugins/commit/6c5f843))
* Update readme.md ([8c6b0a6](https://github.com/post-org/post-load-plugins/commit/8c6b0a6))
@@ -306,7 +328,7 @@
-## 0.0.4 (2016-12-19)
+## 0.0.4 (2016-12-19)
* 0.0.4 ([432cc4f](https://github.com/post-org/post-load-plugins/commit/432cc4f))
* docs(readme): fix typo ([eaa084a](https://github.com/post-org/post-load-plugins/commit/eaa084a))
@@ -327,7 +349,7 @@
-## 0.0.3 (2016-11-22)
+## 0.0.3 (2016-11-22)
* 0.0.3 ([0979e84](https://github.com/post-org/post-load-plugins/commit/0979e84))
* Update readme.md ([1355777](https://github.com/post-org/post-load-plugins/commit/1355777))
@@ -347,7 +369,7 @@
-## 0.0.1 (2016-11-16)
+## 0.0.1 (2016-11-16)
* 0.0.1 ([2c930cf](https://github.com/post-org/post-load-plugins/commit/2c930cf))
* Initial commit ([c5bd46c](https://github.com/post-org/post-load-plugins/commit/c5bd46c))
diff --git a/package-lock.json b/package-lock.json
index a2a4f67..01ad071 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "post-load-plugins",
- "version": "0.0.21",
+ "version": "0.0.22",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -88,7 +88,7 @@
"requires": {
"@babel/types": "7.0.0-beta.40",
"jsesc": "2.5.1",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"source-map": "0.5.7",
"trim-right": "1.0.1"
},
@@ -147,7 +147,7 @@
"@babel/code-frame": "7.0.0-beta.40",
"@babel/types": "7.0.0-beta.40",
"babylon": "7.0.0-beta.40",
- "lodash": "4.17.4"
+ "lodash": "4.17.5"
},
"dependencies": {
"babylon": {
@@ -171,8 +171,8 @@
"babylon": "7.0.0-beta.40",
"debug": "3.1.0",
"globals": "11.3.0",
- "invariant": "2.2.2",
- "lodash": "4.17.4"
+ "invariant": "2.2.3",
+ "lodash": "4.17.5"
},
"dependencies": {
"babylon": {
@@ -196,7 +196,7 @@
"dev": true,
"requires": {
"esutils": "2.0.2",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"to-fast-properties": "2.0.0"
},
"dependencies": {
@@ -234,6 +234,12 @@
"supports-color": "4.5.0"
}
},
+ "has-flag": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
+ "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
+ "dev": true
+ },
"supports-color": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",
@@ -313,14 +319,6 @@
"dev": true,
"requires": {
"semver": "5.5.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
- "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
- "dev": true
- }
}
},
"@commitlint/message": {
@@ -468,9 +466,9 @@
}
},
"acorn": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz",
- "integrity": "sha512-Yej+zOJ1Dm/IMZzzj78OntP/r3zHEaKcyNoU2lAaxPtrseM6rF0xwqoz5Q5ysAiED9hTjI2hgtvLXitlCN1/Ug==",
+ "version": "5.4.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz",
+ "integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==",
"dev": true
},
"acorn-globals": {
@@ -624,9 +622,9 @@
"dev": true
},
"argparse": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz",
- "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=",
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"dev": true,
"requires": {
"sprintf-js": "1.0.3"
@@ -782,30 +780,6 @@
"num2fraction": "1.2.2",
"postcss": "6.0.19",
"postcss-value-parser": "3.3.0"
- },
- "dependencies": {
- "browserslist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.1.1.tgz",
- "integrity": "sha512-zHGaPnTt70ywm+glR7uMJFZSl+ADGO67SgD2ae20L+Y3KJUeH4fVa89OkTqKCqAnXFE9mO4LTHBKBqKRlr7VNw==",
- "dev": true,
- "requires": {
- "caniuse-lite": "1.0.30000810",
- "electron-to-chromium": "1.3.33"
- }
- },
- "caniuse-lite": {
- "version": "1.0.30000810",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000810.tgz",
- "integrity": "sha512-/0Q00Oie9C72P8zQHtFvzmkrMC3oOFUnMWjCy5F2+BE8lzICm91hQPhh0+XIsAFPKOe2Dh3pKgbRmU3EKxfldA==",
- "dev": true
- },
- "electron-to-chromium": {
- "version": "1.3.33",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.33.tgz",
- "integrity": "sha1-vwBwPWKnxlI4E2V4w1LWxcBCpUU=",
- "dev": true
- }
}
},
"ava": {
@@ -828,7 +802,7 @@
"auto-bind": "1.2.0",
"ava-init": "0.2.1",
"babel-core": "6.26.0",
- "babel-generator": "6.26.0",
+ "babel-generator": "6.26.1",
"babel-plugin-syntax-object-rest-spread": "6.13.0",
"bluebird": "3.5.1",
"caching-transform": "1.0.1",
@@ -886,7 +860,7 @@
"require-precompiled": "0.1.0",
"resolve-cwd": "2.0.0",
"safe-buffer": "5.1.1",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"slash": "1.0.0",
"source-map-support": "0.5.3",
"stack-utils": "1.0.1",
@@ -899,12 +873,6 @@
"update-notifier": "2.3.0"
},
"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
- },
"dot-prop": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
@@ -914,14 +882,11 @@
"is-obj": "1.0.1"
}
},
- "strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "dev": true,
- "requires": {
- "ansi-regex": "3.0.0"
- }
+ "has-flag": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
+ "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
+ "dev": true
}
}
},
@@ -942,7 +907,7 @@
"meow": "3.7.0",
"npm-run-path": "1.0.0",
"pkg-conf": "1.1.3",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"update-notifier": "1.0.3"
},
"dependencies": {
@@ -976,21 +941,19 @@
"repeating": "2.0.1",
"string-width": "1.0.2",
"widest-line": "1.0.0"
- },
- "dependencies": {
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "2.2.1",
- "escape-string-regexp": "1.0.5",
- "has-ansi": "2.0.0",
- "strip-ansi": "3.0.1",
- "supports-color": "2.0.0"
- }
- }
+ }
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "2.2.1",
+ "escape-string-regexp": "1.0.5",
+ "has-ansi": "2.0.0",
+ "strip-ansi": "3.0.1",
+ "supports-color": "2.0.0"
}
},
"configstore": {
@@ -1004,7 +967,7 @@
"mkdirp": "0.5.1",
"object-assign": "4.1.1",
"os-tmpdir": "1.0.2",
- "osenv": "0.1.4",
+ "osenv": "0.1.5",
"uuid": "2.0.3",
"write-file-atomic": "1.3.4",
"xdg-basedir": "2.0.0"
@@ -1041,7 +1004,7 @@
"parse-json": "2.2.0",
"pinkie-promise": "2.0.1",
"read-all-stream": "3.1.0",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"timed-out": "3.1.3",
"unzip-response": "1.0.2",
"url-parse-lax": "1.0.0"
@@ -1081,9 +1044,9 @@
"dev": true,
"requires": {
"got": "5.7.1",
- "registry-auth-token": "3.3.1",
+ "registry-auth-token": "3.3.2",
"registry-url": "3.1.0",
- "semver": "5.4.1"
+ "semver": "5.5.0"
}
},
"path-key": {
@@ -1115,6 +1078,15 @@
"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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -1147,21 +1119,6 @@
"lazy-req": "1.1.0",
"semver-diff": "2.1.0",
"xdg-basedir": "2.0.0"
- },
- "dependencies": {
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "2.2.1",
- "escape-string-regexp": "1.0.5",
- "has-ansi": "2.0.0",
- "strip-ansi": "3.0.1",
- "supports-color": "2.0.0"
- }
- }
}
},
"widest-line": {
@@ -1305,11 +1262,11 @@
"babel-register": "6.26.0",
"babel-runtime": "6.26.0",
"chokidar": "1.7.0",
- "commander": "2.13.0",
+ "commander": "2.14.1",
"convert-source-map": "1.5.1",
"fs-readdir-recursive": "1.1.0",
"glob": "7.1.2",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"output-file-sync": "1.1.2",
"path-is-absolute": "1.0.1",
"slash": "1.0.0",
@@ -1361,6 +1318,15 @@
"supports-color": "2.0.0"
}
},
+ "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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -1376,7 +1342,7 @@
"dev": true,
"requires": {
"babel-code-frame": "6.26.0",
- "babel-generator": "6.26.0",
+ "babel-generator": "6.26.1",
"babel-helpers": "6.24.1",
"babel-messages": "6.23.0",
"babel-register": "6.26.0",
@@ -1388,7 +1354,7 @@
"convert-source-map": "1.5.1",
"debug": "2.6.9",
"json5": "0.5.1",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"minimatch": "3.0.4",
"path-is-absolute": "1.0.1",
"private": "0.1.8",
@@ -1442,9 +1408,9 @@
}
},
"babel-generator": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz",
- "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=",
+ "version": "6.26.1",
+ "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
+ "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
"dev": true,
"requires": {
"babel-messages": "6.23.0",
@@ -1452,7 +1418,7 @@
"babel-types": "6.26.0",
"detect-indent": "4.0.0",
"jsesc": "1.3.0",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"source-map": "0.5.7",
"trim-right": "1.0.1"
},
@@ -1503,7 +1469,7 @@
"babel-helper-function-name": "6.24.1",
"babel-runtime": "6.26.0",
"babel-types": "6.26.0",
- "lodash": "4.17.4"
+ "lodash": "4.17.5"
}
},
"babel-helper-evaluate-path": {
@@ -1598,7 +1564,7 @@
"requires": {
"babel-runtime": "6.26.0",
"babel-types": "6.26.0",
- "lodash": "4.17.4"
+ "lodash": "4.17.5"
}
},
"babel-helper-remap-async-to-generator": {
@@ -1692,7 +1658,7 @@
"integrity": "sha512-/+SRpy7pKgTI28oEHfn1wkuM5QFAdRq8WNsOOih1dVrdV6A/WbNbRZyl0eX5eyDgtb0lOE27PeDFuCX2j8OxVg==",
"dev": true,
"requires": {
- "babel-generator": "6.26.0",
+ "babel-generator": "6.26.1",
"babylon": "6.18.0",
"call-matcher": "1.0.1",
"core-js": "2.5.3",
@@ -1936,7 +1902,7 @@
"babel-template": "6.26.0",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
- "lodash": "4.17.4"
+ "lodash": "4.17.5"
}
},
"babel-plugin-transform-es2015-classes": {
@@ -2320,9 +2286,21 @@
"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.11.1",
- "invariant": "2.2.2",
- "semver": "5.4.1"
+ "browserslist": "2.11.3",
+ "invariant": "2.2.3",
+ "semver": "5.5.0"
+ },
+ "dependencies": {
+ "browserslist": {
+ "version": "2.11.3",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.11.3.tgz",
+ "integrity": "sha512-yWu5cXT7Av6mVwzWc8lMsJMHWn4xyjSuGYi4IozbVTLUOEYPSagUB8kiMDUHA1fS3zjr8nkxkn9jdvug4BBRmA==",
+ "dev": true,
+ "requires": {
+ "caniuse-lite": "1.0.30000810",
+ "electron-to-chromium": "1.3.33"
+ }
+ }
}
},
"babel-preset-minify": {
@@ -2366,7 +2344,7 @@
"babel-runtime": "6.26.0",
"core-js": "2.5.3",
"home-or-tmp": "2.0.0",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"mkdirp": "0.5.1",
"source-map-support": "0.4.18"
},
@@ -2407,7 +2385,7 @@
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
- "lodash": "4.17.4"
+ "lodash": "4.17.5"
}
},
"babel-traverse": {
@@ -2423,8 +2401,8 @@
"babylon": "6.18.0",
"debug": "2.6.9",
"globals": "9.18.0",
- "invariant": "2.2.2",
- "lodash": "4.17.4"
+ "invariant": "2.2.3",
+ "lodash": "4.17.5"
},
"dependencies": {
"debug": {
@@ -2452,7 +2430,7 @@
"requires": {
"babel-runtime": "6.26.0",
"esutils": "2.0.2",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"to-fast-properties": "1.0.3"
}
},
@@ -2489,12 +2467,6 @@
"pascalcase": "0.1.1"
},
"dependencies": {
- "component-emitter": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
- "dev": true
- },
"define-property": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
@@ -2546,7 +2518,7 @@
"integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=",
"dev": true,
"requires": {
- "hoek": "4.2.0"
+ "hoek": "4.2.1"
}
},
"boxen": {
@@ -2573,9 +2545,9 @@
}
},
"brace-expansion": {
- "version": "1.1.8",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
- "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=",
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"requires": {
"balanced-match": "1.0.0",
@@ -2600,13 +2572,13 @@
"dev": true
},
"browserslist": {
- "version": "2.11.1",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.11.1.tgz",
- "integrity": "sha512-Gp4oJOQOby5TpOJJuUtCrGE0KSJOUYVa/I+/3eD/TRWEK8jqZuJPAK1t+VuG6jp0keudrqtxlH4MbYbmylun9g==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.1.1.tgz",
+ "integrity": "sha512-zHGaPnTt70ywm+glR7uMJFZSl+ADGO67SgD2ae20L+Y3KJUeH4fVa89OkTqKCqAnXFE9mO4LTHBKBqKRlr7VNw==",
"dev": true,
"requires": {
- "caniuse-lite": "1.0.30000791",
- "electron-to-chromium": "1.3.30"
+ "caniuse-lite": "1.0.30000810",
+ "electron-to-chromium": "1.3.33"
}
},
"buf-compare": {
@@ -2650,12 +2622,6 @@
"unset-value": "1.0.0"
},
"dependencies": {
- "component-emitter": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
- "dev": true
- },
"isobject": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
@@ -2757,9 +2723,9 @@
}
},
"caniuse-lite": {
- "version": "1.0.30000791",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000791.tgz",
- "integrity": "sha1-jjV0Xv1IOj4ju301CZAybSMZ/BY=",
+ "version": "1.0.30000810",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000810.tgz",
+ "integrity": "sha512-/0Q00Oie9C72P8zQHtFvzmkrMC3oOFUnMWjCy5F2+BE8lzICm91hQPhh0+XIsAFPKOe2Dh3pKgbRmU3EKxfldA==",
"dev": true
},
"capture-stack-trace": {
@@ -2967,7 +2933,7 @@
"dev": true,
"requires": {
"d": "0.1.1",
- "es5-ext": "0.10.37",
+ "es5-ext": "0.10.39",
"memoizee": "0.3.10",
"timers-ext": "0.1.2"
}
@@ -3015,7 +2981,7 @@
"detect-indent": "4.0.0",
"eclint": "1.1.5",
"eslint-formatter-pretty": "0.3.1",
- "executable": "4.1.0",
+ "executable": "4.1.1",
"fuzzy-matching": "0.4.3",
"gh-got": "4.0.1",
"globby": "4.1.0",
@@ -3033,7 +2999,7 @@
"meow": "3.7.0",
"path-exists": "2.1.0",
"pify": "2.3.0",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"spdx-license-list": "2.1.0",
"string-occurrence": "1.2.0",
"travis-got": "1.0.0",
@@ -3041,7 +3007,7 @@
"validate-npm-package-name": "2.2.2",
"vinyl-fs": "2.4.4",
"yargs-parser": "2.4.1",
- "z-schema": "3.19.0"
+ "z-schema": "3.19.1"
},
"dependencies": {
"ansi-align": {
@@ -3100,7 +3066,7 @@
"mkdirp": "0.5.1",
"object-assign": "4.1.1",
"os-tmpdir": "1.0.2",
- "osenv": "0.1.4",
+ "osenv": "0.1.5",
"uuid": "2.0.3",
"write-file-atomic": "1.3.4",
"xdg-basedir": "2.0.0"
@@ -3167,9 +3133,9 @@
"dev": true,
"requires": {
"got": "5.7.1",
- "registry-auth-token": "3.3.1",
+ "registry-auth-token": "3.3.2",
"registry-url": "3.1.0",
- "semver": "5.4.1"
+ "semver": "5.5.0"
},
"dependencies": {
"got": {
@@ -3189,7 +3155,7 @@
"parse-json": "2.2.0",
"pinkie-promise": "2.0.1",
"read-all-stream": "3.1.0",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"timed-out": "3.1.3",
"unzip-response": "1.0.2",
"url-parse-lax": "1.0.0"
@@ -3208,6 +3174,15 @@
"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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -3394,18 +3369,18 @@
"dev": true
},
"combined-stream": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
- "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",
+ "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
"dev": true,
"requires": {
"delayed-stream": "1.0.0"
}
},
"commander": {
- "version": "2.13.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz",
- "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==",
+ "version": "2.14.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz",
+ "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==",
"dev": true
},
"common-path-prefix": {
@@ -3426,7 +3401,7 @@
"integrity": "sha1-NPw2cs0kOT6LtH5wyqApOBH08sU=",
"dev": true,
"requires": {
- "commander": "2.13.0",
+ "commander": "2.14.1",
"detective": "4.7.1",
"glob": "5.0.15",
"graceful-fs": "4.1.11",
@@ -3462,6 +3437,12 @@
"dot-prop": "3.0.0"
}
},
+ "component-emitter": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
+ "dev": true
+ },
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@@ -3475,7 +3456,7 @@
"dev": true,
"requires": {
"inherits": "2.0.3",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"typedarray": "0.0.6"
}
},
@@ -3494,7 +3475,7 @@
"lodash.flattendeep": "4.4.0",
"lodash.merge": "4.6.0",
"md5-hex": "2.0.0",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"well-known-symbols": "1.0.0"
},
"dependencies": {
@@ -3603,7 +3584,7 @@
"requires": {
"add-stream": "1.0.0",
"conventional-changelog": "1.1.16",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"meow": "3.7.0",
"tempfile": "1.1.1"
},
@@ -3642,7 +3623,7 @@
"git-raw-commits": "1.3.3",
"git-remote-origin-url": "2.0.0",
"git-semver-tags": "1.3.3",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"normalize-package-data": "2.4.0",
"q": "1.5.1",
"read-pkg": "1.1.0",
@@ -3740,9 +3721,9 @@
"dateformat": "1.0.12",
"handlebars": "4.0.11",
"json-stringify-safe": "5.0.1",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"meow": "3.7.0",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"split": "1.0.1",
"through2": "2.0.3"
},
@@ -3792,7 +3773,7 @@
"requires": {
"JSONStream": "1.3.2",
"is-text-path": "1.0.1",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"meow": "3.7.0",
"split2": "2.2.0",
"through2": "2.0.3",
@@ -3870,7 +3851,7 @@
"requires": {
"js-yaml": "3.10.0",
"lcov-parse": "0.0.10",
- "log-driver": "1.2.5",
+ "log-driver": "1.2.7",
"minimist": "1.2.0",
"request": "2.83.0"
}
@@ -3920,7 +3901,7 @@
"integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==",
"dev": true,
"requires": {
- "hoek": "4.2.0"
+ "hoek": "4.2.1"
}
}
}
@@ -3937,7 +3918,7 @@
"integrity": "sha512-XC6xLW/JqIGirnZuUWHXCHRaAjje2b3OIB0Vj5RIJo6mIi/AdJo30quQl5LxUl0gkXDIrTrFGbMlcZjyFplz1A==",
"dev": true,
"requires": {
- "mdn-data": "1.0.0",
+ "mdn-data": "1.1.0",
"source-map": "0.5.7"
},
"dependencies": {
@@ -3973,7 +3954,7 @@
"integrity": "sha1-2hhMU10Y2O57oqoim5FACfrhEwk=",
"dev": true,
"requires": {
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
}
},
"dargs": {
@@ -4187,7 +4168,7 @@
"integrity": "sha512-H6PmeeUcZloWtdt4DAkFyzFL94arpHr3NOwwmVILFiy+9Qd4JTxxXrzfyGk/lmct2qVGBwTSwSXagqu2BxmWig==",
"dev": true,
"requires": {
- "acorn": "5.3.0",
+ "acorn": "5.4.1",
"defined": "1.0.0"
}
},
@@ -4261,9 +4242,9 @@
}
},
"domutils": {
- "version": "1.6.2",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.6.2.tgz",
- "integrity": "sha1-GVjMC0yUJuntNn+xyOhUiRsPo/8=",
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
+ "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
"dev": true,
"requires": {
"dom-serializer": "0.1.0",
@@ -4291,7 +4272,7 @@
"integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=",
"dev": true,
"requires": {
- "readable-stream": "2.3.3"
+ "readable-stream": "2.3.4"
}
},
"duplexer3": {
@@ -4308,7 +4289,7 @@
"requires": {
"end-of-stream": "1.4.1",
"inherits": "2.0.3",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"stream-shift": "1.0.0"
}
},
@@ -4467,20 +4448,11 @@
}
}
},
- "electron-releases": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/electron-releases/-/electron-releases-2.1.0.tgz",
- "integrity": "sha512-cyKFD1bTE/UgULXfaueIN1k5EPFzs+FRc/rvCY5tIynefAPqopQEgjr0EzY+U3Dqrk/G4m9tXSPuZ77v6dL/Rw==",
- "dev": true
- },
"electron-to-chromium": {
- "version": "1.3.30",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.30.tgz",
- "integrity": "sha512-zx1Prv7kYLfc4OA60FhxGbSo4qrEjgSzpo1/37i7l9ltXPYOoQBtjQxY9KmsgfHnBxHlBGXwLlsbt/gub1w5lw==",
- "dev": true,
- "requires": {
- "electron-releases": "2.1.0"
- }
+ "version": "1.3.33",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.33.tgz",
+ "integrity": "sha1-vwBwPWKnxlI4E2V4w1LWxcBCpUU=",
+ "dev": true
},
"elegant-spinner": {
"version": "1.0.1",
@@ -4513,7 +4485,7 @@
"integrity": "sha1-qpRdBdpGVnKh69OP7i7T2oUY6Vo=",
"dev": true,
"requires": {
- "lodash": "4.17.4"
+ "lodash": "4.17.5"
}
},
"entities": {
@@ -4544,9 +4516,9 @@
}
},
"es5-ext": {
- "version": "0.10.37",
- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.37.tgz",
- "integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=",
+ "version": "0.10.39",
+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.39.tgz",
+ "integrity": "sha512-AlaXZhPHl0po/uxMx1tyrlt1O86M6D5iVaDH8UgLfgek4kXTX6vzsRfJQWC2Ku+aG8pkw1XWzh9eTkwfVrsD5g==",
"dev": true,
"requires": {
"es6-iterator": "2.0.3",
@@ -4566,7 +4538,7 @@
"dev": true,
"requires": {
"d": "1.0.0",
- "es5-ext": "0.10.37",
+ "es5-ext": "0.10.39",
"es6-symbol": "3.1.1"
},
"dependencies": {
@@ -4576,7 +4548,7 @@
"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
"dev": true,
"requires": {
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
}
}
}
@@ -4594,7 +4566,7 @@
"dev": true,
"requires": {
"d": "1.0.0",
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
},
"dependencies": {
"d": {
@@ -4603,7 +4575,7 @@
"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
"dev": true,
"requires": {
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
}
}
}
@@ -4615,7 +4587,7 @@
"dev": true,
"requires": {
"d": "0.1.1",
- "es5-ext": "0.10.37",
+ "es5-ext": "0.10.39",
"es6-iterator": "0.1.3",
"es6-symbol": "2.0.1"
},
@@ -4627,7 +4599,7 @@
"dev": true,
"requires": {
"d": "0.1.1",
- "es5-ext": "0.10.37",
+ "es5-ext": "0.10.39",
"es6-symbol": "2.0.1"
}
},
@@ -4638,7 +4610,7 @@
"dev": true,
"requires": {
"d": "0.1.1",
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
}
}
}
@@ -4677,7 +4649,7 @@
"js-yaml": "3.10.0",
"json-stable-stringify-without-jsonify": "1.0.1",
"levn": "0.3.0",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"minimatch": "3.0.4",
"mkdirp": "0.5.1",
"natural-compare": "1.4.0",
@@ -4686,19 +4658,13 @@
"pluralize": "7.0.0",
"progress": "2.0.0",
"require-uncached": "1.0.3",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"strip-ansi": "4.0.0",
"strip-json-comments": "2.0.1",
"table": "4.0.2",
"text-table": "0.2.0"
},
"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
- },
"external-editor": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.1.0.tgz",
@@ -4728,7 +4694,7 @@
"cli-width": "2.2.0",
"external-editor": "2.1.0",
"figures": "2.0.0",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"mute-stream": "0.0.7",
"run-async": "2.3.0",
"rx-lite": "4.0.8",
@@ -4744,15 +4710,6 @@
"integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
"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,
- "requires": {
- "ansi-regex": "3.0.0"
- }
- },
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
@@ -4848,6 +4805,15 @@
"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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -4969,14 +4935,6 @@
"requires": {
"acorn": "5.4.1",
"acorn-jsx": "3.0.1"
- },
- "dependencies": {
- "acorn": {
- "version": "5.4.1",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz",
- "integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==",
- "dev": true
- }
}
},
"esprima": {
@@ -5032,7 +4990,7 @@
"dev": true,
"requires": {
"d": "1.0.0",
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
},
"dependencies": {
"d": {
@@ -5041,7 +4999,7 @@
"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
"dev": true,
"requires": {
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
}
}
}
@@ -5077,9 +5035,9 @@
}
},
"executable": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.0.tgz",
- "integrity": "sha1-ldm0RRkBWYUpIP12//2W+Awf5Oc=",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz",
+ "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==",
"dev": true,
"requires": {
"pify": "2.3.0"
@@ -5316,14 +5274,14 @@
"dev": true
},
"form-data": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.1.tgz",
- "integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz",
+ "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=",
"dev": true,
"requires": {
"asynckit": "0.4.0",
- "combined-stream": "1.0.5",
- "mime-types": "2.1.17"
+ "combined-stream": "1.0.6",
+ "mime-types": "2.1.18"
}
},
"fragment-cache": {
@@ -6407,7 +6365,7 @@
"dev": true,
"requires": {
"meow": "3.7.0",
- "semver": "5.4.1"
+ "semver": "5.5.0"
}
},
"gitconfiglocal": {
@@ -6496,7 +6454,7 @@
"integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=",
"dev": true,
"requires": {
- "brace-expansion": "1.1.8"
+ "brace-expansion": "1.1.11"
}
},
"readable-stream": {
@@ -6634,9 +6592,9 @@
}
},
"glogg": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.0.tgz",
- "integrity": "sha1-f+DxmfV6yQbPUS/urY+Q7kooT8U=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.1.tgz",
+ "integrity": "sha512-ynYqXLoluBKf9XGR1gA59yEJisIL7YHEH4xr3ZziHB5/yl4qWfaK8Js9jGe6gBGCSCKVqiyO30WnRZADvemUNw==",
"dev": true,
"requires": {
"sparkles": "1.0.0"
@@ -6780,6 +6738,15 @@
"integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=",
"dev": true
},
+ "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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -6805,7 +6772,7 @@
"integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=",
"dev": true,
"requires": {
- "glogg": "1.0.0"
+ "glogg": "1.0.1"
}
},
"handlebars": {
@@ -6845,20 +6812,6 @@
"requires": {
"ajv": "5.5.2",
"har-schema": "2.0.0"
- },
- "dependencies": {
- "ajv": {
- "version": "5.5.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
- "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
- "dev": true,
- "requires": {
- "co": "4.6.0",
- "fast-deep-equal": "1.0.0",
- "fast-json-stable-stringify": "2.0.0",
- "json-schema-traverse": "0.3.1"
- }
- }
}
},
"has": {
@@ -6886,10 +6839,9 @@
"dev": true
},
"has-flag": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
- "dev": true
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
},
"has-gulplog": {
"version": "0.1.0",
@@ -6974,14 +6926,14 @@
"requires": {
"boom": "4.3.1",
"cryptiles": "3.1.2",
- "hoek": "4.2.0",
+ "hoek": "4.2.1",
"sntp": "2.1.0"
}
},
"hoek": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.0.tgz",
- "integrity": "sha512-v0XCLxICi9nPfYrS9RL8HbYnXi9obYAeLbSP00BmnZwCK9+Ih9WOjoZ8YoHCoav2csqn4FOz4Orldsy2dmDwmQ==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz",
+ "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==",
"dev": true
},
"home-or-tmp": {
@@ -7008,10 +6960,10 @@
"requires": {
"domelementtype": "1.3.0",
"domhandler": "2.4.1",
- "domutils": "1.6.2",
+ "domutils": "1.7.0",
"entities": "1.1.1",
"inherits": "2.0.3",
- "readable-stream": "2.3.3"
+ "readable-stream": "2.3.4"
}
},
"http-signature": {
@@ -7174,7 +7126,7 @@
"cli-width": "2.2.0",
"external-editor": "1.1.1",
"figures": "1.7.0",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"mute-stream": "0.0.6",
"pinkie-promise": "2.0.1",
"run-async": "2.3.0",
@@ -7264,6 +7216,15 @@
"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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -7273,9 +7234,9 @@
}
},
"invariant": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz",
- "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=",
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.3.tgz",
+ "integrity": "sha512-7Z5PPegwDTyjbaeCnV0efcyS6vdKAU51kpEmS7QFib3P4822l8ICYyMn7qvJnc+WzLoDsuI9gPMKbJ8pCu8XtA==",
"dev": true,
"requires": {
"loose-envify": "1.3.1"
@@ -7857,7 +7818,7 @@
"integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==",
"dev": true,
"requires": {
- "argparse": "1.0.9",
+ "argparse": "1.0.10",
"esprima": "4.0.0"
}
},
@@ -7944,21 +7905,6 @@
"to-fast-properties": "1.0.3",
"trim-right": "1.0.1",
"try-resolve": "1.0.1"
- },
- "dependencies": {
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "2.2.1",
- "escape-string-regexp": "1.0.5",
- "has-ansi": "2.0.0",
- "strip-ansi": "3.0.1",
- "supports-color": "2.0.0"
- }
- }
}
},
"babel-runtime": {
@@ -7982,6 +7928,19 @@
"integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=",
"dev": true
},
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "2.2.1",
+ "escape-string-regexp": "1.0.5",
+ "has-ansi": "2.0.0",
+ "strip-ansi": "3.0.1",
+ "supports-color": "2.0.0"
+ }
+ },
"core-js": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
@@ -8054,7 +8013,7 @@
"integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=",
"dev": true,
"requires": {
- "brace-expansion": "1.1.8"
+ "brace-expansion": "1.1.11"
}
},
"ms": {
@@ -8104,6 +8063,15 @@
}
}
},
+ "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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -8253,7 +8221,7 @@
"integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=",
"dev": true,
"requires": {
- "readable-stream": "2.3.3"
+ "readable-stream": "2.3.4"
}
},
"lcid": {
@@ -8311,7 +8279,7 @@
"requires": {
"app-root-path": "2.0.1",
"chalk": "2.3.1",
- "commander": "2.13.0",
+ "commander": "2.14.1",
"cosmiconfig": "4.0.0",
"debug": "3.1.0",
"dedent": "0.7.0",
@@ -8320,7 +8288,7 @@
"is-glob": "4.0.0",
"jest-validate": "21.2.1",
"listr": "0.13.0",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"log-symbols": "2.2.0",
"minimatch": "3.0.4",
"npm-which": "3.0.1",
@@ -8486,6 +8454,15 @@
"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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -8596,6 +8573,15 @@
"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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -8670,6 +8656,15 @@
"onetime": "1.1.0"
}
},
+ "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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -8710,9 +8705,9 @@
}
},
"lodash": {
- "version": "4.17.4",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
- "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=",
+ "version": "4.17.5",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz",
+ "integrity": "sha512-svL3uiZf1RwhH+cWrfZn3A4+U58wbP0tGVTLQPbjplZxZ8ROD9VLuNgsRniTlLe7OlSqR79RUehXgpBW/s0IQw==",
"dev": true
},
"lodash._basecopy": {
@@ -8995,9 +8990,9 @@
"dev": true
},
"log-driver": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
- "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=",
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz",
+ "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==",
"dev": true
},
"log-symbols": {
@@ -9098,7 +9093,7 @@
"integrity": "sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM=",
"dev": true,
"requires": {
- "es5-ext": "0.10.37"
+ "es5-ext": "0.10.39"
}
},
"make-dir": {
@@ -9176,9 +9171,9 @@
"dev": true
},
"mdn-data": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.0.0.tgz",
- "integrity": "sha1-pp2dp2hHtNWDTBRl6iXAZTofv2Y=",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.0.tgz",
+ "integrity": "sha512-jC6B3BFC07cCOU8xx1d+sQtDkVIpGKWv4TzK7pN7PyObdbwlIFJbHYk8ofvr0zrU8SkV1rSi87KAHhWCdLGw1Q==",
"dev": true
},
"mem": {
@@ -9194,7 +9189,7 @@
"dev": true,
"requires": {
"d": "0.1.1",
- "es5-ext": "0.10.37",
+ "es5-ext": "0.10.39",
"es6-weak-map": "0.1.4",
"event-emitter": "0.3.5",
"lru-queue": "0.1.0",
@@ -9287,24 +9282,24 @@
}
},
"mime-db": {
- "version": "1.30.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz",
- "integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
+ "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==",
"dev": true
},
"mime-types": {
- "version": "2.1.17",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz",
- "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=",
+ "version": "2.1.18",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",
+ "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",
"dev": true,
"requires": {
- "mime-db": "1.30.0"
+ "mime-db": "1.33.0"
}
},
"mimic-fn": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz",
- "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
+ "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
"dev": true
},
"minimatch": {
@@ -9313,7 +9308,7 @@
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"dev": true,
"requires": {
- "brace-expansion": "1.1.8"
+ "brace-expansion": "1.1.11"
}
},
"minimist": {
@@ -9573,7 +9568,7 @@
"requires": {
"hosted-git-info": "2.5.0",
"is-builtin-module": "1.0.0",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"validate-npm-package-license": "3.0.1"
}
},
@@ -9616,7 +9611,7 @@
"integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=",
"dev": true,
"requires": {
- "commander": "2.13.0",
+ "commander": "2.14.1",
"npm-path": "2.0.4",
"which": "1.3.0"
}
@@ -11392,7 +11387,7 @@
"integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
"dev": true,
"requires": {
- "mimic-fn": "1.1.0"
+ "mimic-fn": "1.2.0"
}
},
"optimist": {
@@ -11503,6 +11498,15 @@
"onetime": "1.1.0"
}
},
+ "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"
+ }
+ },
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
@@ -11545,9 +11549,9 @@
"dev": true
},
"osenv": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz",
- "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=",
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
+ "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"dev": true,
"requires": {
"os-homedir": "1.0.2",
@@ -11620,9 +11624,9 @@
"dev": true,
"requires": {
"got": "6.7.1",
- "registry-auth-token": "3.3.1",
+ "registry-auth-token": "3.3.2",
"registry-url": "3.1.0",
- "semver": "5.4.1"
+ "semver": "5.5.0"
}
},
"parse-entities": {
@@ -11922,12 +11926,6 @@
"yargs": "11.0.0"
},
"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
- },
"anymatch": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
@@ -12320,7 +12318,7 @@
"integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=",
"dev": true,
"requires": {
- "mimic-fn": "1.1.0"
+ "mimic-fn": "1.2.0"
}
},
"micromatch": {
@@ -12367,15 +12365,6 @@
"integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
"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,
- "requires": {
- "ansi-regex": "3.0.0"
- }
- },
"yargs": {
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-11.0.0.tgz",
@@ -12525,7 +12514,7 @@
"dev": true,
"requires": {
"chalk": "2.3.1",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"log-symbols": "2.2.0",
"postcss": "6.0.19"
}
@@ -12545,14 +12534,6 @@
"object-assign": "4.1.1",
"posthtml-parser": "0.3.3",
"posthtml-render": "1.1.0"
- },
- "dependencies": {
- "posthtml-render": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/posthtml-render/-/posthtml-render-1.1.0.tgz",
- "integrity": "sha512-EeUf38sN9VOS6sIe8HhgzE1qpZ+2ARXj/b7IJoUi0CQqxH4qeF6ZxAK808YhhWI4FsT3RCNiSKJ7tDSZ4rkd7w==",
- "dev": true
- }
}
},
"posthtml-attrs-parser": {
@@ -12564,6 +12545,32 @@
"object-assign": "4.1.1"
}
},
+ "posthtml-beautify": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/posthtml-beautify/-/posthtml-beautify-0.2.0.tgz",
+ "integrity": "sha512-7zuDihditxAM6jVQ4oRV+grzJfSjgxH+tNgoh4uX7NSM3AH7D7AcxpYzFo5SalIbuoTmpT3srDIoOgDSeofvRw==",
+ "dev": true,
+ "requires": {
+ "babel-runtime": "6.26.0",
+ "deepmerge": "2.0.1",
+ "posthtml-parser": "0.3.3",
+ "posthtml-render": "1.0.6"
+ },
+ "dependencies": {
+ "deepmerge": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.0.1.tgz",
+ "integrity": "sha512-VIPwiMJqJ13ZQfaCsIFnp5Me9tnjURiaIFxfz7EH0Ci0dTSQpZtSLrqOicXqEd/z2r+z+Klk9GzmnRsgpgbOsQ==",
+ "dev": true
+ },
+ "posthtml-render": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/posthtml-render/-/posthtml-render-1.0.6.tgz",
+ "integrity": "sha1-G4i454YKjr3+LyoTEKRkKlXPW9o=",
+ "dev": true
+ }
+ }
+ },
"posthtml-bem": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/posthtml-bem/-/posthtml-bem-0.2.2.tgz",
@@ -12600,7 +12607,7 @@
"dev": true,
"requires": {
"posthtml-parser": "0.1.3",
- "posthtml-render": "1.0.6"
+ "posthtml-render": "1.1.0"
}
},
"posthtml-parser": {
@@ -12647,7 +12654,7 @@
"dev": true,
"requires": {
"posthtml-match-helper": "1.0.1",
- "posthtml-render": "1.0.6"
+ "posthtml-render": "1.1.0"
}
},
"posthtml-parser": {
@@ -12662,15 +12669,9 @@
}
},
"posthtml-render": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/posthtml-render/-/posthtml-render-1.0.6.tgz",
- "integrity": "sha1-G4i454YKjr3+LyoTEKRkKlXPW9o=",
- "dev": true
- },
- "posthtml-standard-config": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/posthtml-standard-config/-/posthtml-standard-config-1.0.0.tgz",
- "integrity": "sha512-4uc2cf+3VjOcxdYGCKS4HQT1ZHgYx7KuIDVIdBrGzVYRgSPdpK0MeH7jTec2kzwl+zGw4A188tgOn/xN0FHH8A==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/posthtml-render/-/posthtml-render-1.1.0.tgz",
+ "integrity": "sha512-EeUf38sN9VOS6sIe8HhgzE1qpZ+2ARXj/b7IJoUi0CQqxH4qeF6ZxAK808YhhWI4FsT3RCNiSKJ7tDSZ4rkd7w==",
"dev": true
},
"posthtml-style-to-file": {
@@ -12746,9 +12747,9 @@
"dev": true
},
"process-nextick-args": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
- "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
+ "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
"dev": true
},
"progress": {
@@ -12823,9 +12824,9 @@
}
},
"rc": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.3.tgz",
- "integrity": "sha1-UVdakA+N1oOBxxC0cSwhVMPiA1s=",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.5.tgz",
+ "integrity": "sha1-J1zWh/bjs2zHVrqibf7oCnkDAf0=",
"dev": true,
"requires": {
"deep-extend": "0.4.2",
@@ -12841,7 +12842,7 @@
"dev": true,
"requires": {
"pinkie-promise": "2.0.1",
- "readable-stream": "2.3.3"
+ "readable-stream": "2.3.4"
}
},
"read-cache": {
@@ -12875,15 +12876,15 @@
}
},
"readable-stream": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz",
- "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==",
+ "version": "2.3.4",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.4.tgz",
+ "integrity": "sha512-vuYxeWYM+fde14+rajzqgeohAI7YoJcHE7kXDAc4Nk0EbuKnJfqtY9YtRkLo/tqkuF7MsBQRhPnPeyjYITp3ZQ==",
"dev": true,
"requires": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"isarray": "1.0.0",
- "process-nextick-args": "1.0.7",
+ "process-nextick-args": "2.0.0",
"safe-buffer": "5.1.1",
"string_decoder": "1.0.3",
"util-deprecate": "1.0.2"
@@ -12897,7 +12898,7 @@
"requires": {
"graceful-fs": "4.1.11",
"minimatch": "3.0.4",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"set-immediate-shim": "1.0.1"
}
},
@@ -13127,12 +13128,12 @@
}
},
"registry-auth-token": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.1.tgz",
- "integrity": "sha1-+w0yie4Nmtosu1KvXf5mywcNMAY=",
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz",
+ "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==",
"dev": true,
"requires": {
- "rc": "1.2.3",
+ "rc": "1.2.5",
"safe-buffer": "5.1.1"
}
},
@@ -13142,7 +13143,7 @@
"integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=",
"dev": true,
"requires": {
- "rc": "1.2.3"
+ "rc": "1.2.5"
}
},
"regjsgen": {
@@ -13235,17 +13236,17 @@
"aws-sign2": "0.7.0",
"aws4": "1.6.0",
"caseless": "0.12.0",
- "combined-stream": "1.0.5",
+ "combined-stream": "1.0.6",
"extend": "3.0.1",
"forever-agent": "0.6.1",
- "form-data": "2.3.1",
+ "form-data": "2.3.2",
"har-validator": "5.0.3",
"hawk": "6.0.2",
"http-signature": "1.2.0",
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
- "mime-types": "2.1.17",
+ "mime-types": "2.1.18",
"oauth-sign": "0.8.2",
"performance-now": "2.1.0",
"qs": "6.5.1",
@@ -13253,13 +13254,13 @@
"stringstream": "0.0.5",
"tough-cookie": "2.3.3",
"tunnel-agent": "0.6.0",
- "uuid": "3.1.0"
+ "uuid": "3.2.1"
},
"dependencies": {
"uuid": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
- "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
"dev": true
}
}
@@ -13489,9 +13490,9 @@
}
},
"semver": {
- "version": "5.4.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz",
- "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
+ "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
"dev": true
},
"semver-diff": {
@@ -13500,7 +13501,7 @@
"integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=",
"dev": true,
"requires": {
- "semver": "5.4.1"
+ "semver": "5.5.0"
}
},
"serialize-error": {
@@ -13750,7 +13751,7 @@
"integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==",
"dev": true,
"requires": {
- "hoek": "4.2.0"
+ "hoek": "4.2.1"
}
},
"sort-keys": {
@@ -14053,23 +14054,6 @@
"requires": {
"is-fullwidth-code-point": "2.0.0",
"strip-ansi": "4.0.0"
- },
- "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,
- "requires": {
- "ansi-regex": "3.0.0"
- }
- }
}
},
"string_decoder": {
@@ -14111,12 +14095,20 @@
"dev": true
},
"strip-ansi": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
- "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
"dev": true,
"requires": {
- "ansi-regex": "2.1.1"
+ "ansi-regex": "3.0.0"
+ },
+ "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-bom": {
@@ -14187,23 +14179,6 @@
"js-yaml": "3.10.0",
"serialize-error": "2.1.0",
"strip-ansi": "4.0.0"
- },
- "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,
- "requires": {
- "ansi-regex": "3.0.0"
- }
- }
}
},
"supports-color": {
@@ -14212,13 +14187,6 @@
"integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==",
"requires": {
"has-flag": "3.0.0"
- },
- "dependencies": {
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
- }
}
},
"symbol": {
@@ -14242,7 +14210,7 @@
"ajv": "5.5.2",
"ajv-keywords": "2.1.1",
"chalk": "2.3.1",
- "lodash": "4.17.4",
+ "lodash": "4.17.5",
"slice-ansi": "1.0.0",
"string-width": "2.1.1"
}
@@ -14278,13 +14246,13 @@
"dev": true,
"requires": {
"temp-dir": "1.0.0",
- "uuid": "3.1.0"
+ "uuid": "3.2.1"
},
"dependencies": {
"uuid": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
- "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
+ "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
"dev": true
}
}
@@ -14338,7 +14306,7 @@
"integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=",
"dev": true,
"requires": {
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"xtend": "4.0.1"
}
},
@@ -14376,7 +14344,7 @@
"integrity": "sha1-YcxHp2wavTGV8UUn+XjViulMUgQ=",
"dev": true,
"requires": {
- "es5-ext": "0.10.37",
+ "es5-ext": "0.10.39",
"next-tick": "1.0.0"
},
"dependencies": {
@@ -14604,7 +14572,7 @@
"parse-json": "2.2.0",
"pinkie-promise": "2.0.1",
"read-all-stream": "3.1.0",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"timed-out": "3.1.3",
"unzip-response": "1.0.2",
"url-parse-lax": "1.0.0"
@@ -15130,9 +15098,9 @@
}
},
"validator": {
- "version": "9.2.0",
- "resolved": "https://registry.npmjs.org/validator/-/validator-9.2.0.tgz",
- "integrity": "sha512-6Ij4Eo0KM4LkR0d0IegOwluG5453uqT5QyF5SV5Ezvm8/zmkKI/L4eoraafZGlZPC9guLkwKzgypcw8VGWWnGA==",
+ "version": "9.4.1",
+ "resolved": "https://registry.npmjs.org/validator/-/validator-9.4.1.tgz",
+ "integrity": "sha512-YV5KjzvRmSyJ1ee/Dm5UED0G+1L4GZnLN3w6/T+zZm8scVua4sOhYKWTUrKa0H/tMiJyO9QLHMPN+9mB/aMunA==",
"dev": true
},
"verror": {
@@ -15215,7 +15183,7 @@
"merge-stream": "1.0.1",
"mkdirp": "0.5.1",
"object-assign": "4.1.1",
- "readable-stream": "2.3.3",
+ "readable-stream": "2.3.4",
"strip-bom": "2.0.0",
"strip-bom-stream": "1.0.0",
"through2": "2.0.3",
@@ -15314,7 +15282,7 @@
"integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=",
"dev": true,
"requires": {
- "readable-stream": "2.3.3"
+ "readable-stream": "2.3.4"
}
},
"ordered-read-streams": {
@@ -15324,7 +15292,7 @@
"dev": true,
"requires": {
"is-stream": "1.1.0",
- "readable-stream": "2.3.3"
+ "readable-stream": "2.3.4"
}
},
"string_decoder": {
@@ -15441,6 +15409,15 @@
"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"
+ }
}
}
},
@@ -15585,15 +15562,15 @@
}
},
"z-schema": {
- "version": "3.19.0",
- "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-3.19.0.tgz",
- "integrity": "sha512-V94f3ODuluBS4kQLLjNhwoMek0dyIXCsvNu/A17dAyJ6sMhT5KkJQwSn07R0naByLIXJWMDk+ruMfI/3G3hS4Q==",
+ "version": "3.19.1",
+ "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-3.19.1.tgz",
+ "integrity": "sha512-jPNzqmOu3+AGbb4krDODqo4QBzwUGDVzyfGyy1HtWaUnafltQotatSpxxWd6Mp0iSZOUwHU5sqKYi+U8HsHMkg==",
"dev": true,
"requires": {
- "commander": "2.13.0",
+ "commander": "2.14.1",
"lodash.get": "4.4.2",
"lodash.isequal": "4.5.0",
- "validator": "9.2.0"
+ "validator": "9.4.1"
}
}
}
diff --git a/package.json b/package.json
index 3bfd45d..352721a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "post-load-plugins",
- "version": "0.0.21",
+ "version": "0.0.22",
"description": "Automatically loads plug-ins with configuration",
"license": "MIT",
"repository": "post-org/post-load-plugins",
@@ -79,12 +79,12 @@
"postcss-cli": "^5.0.0",
"postcss-csso": "^3.0.0",
"posthtml": "^0.11.3",
+ "posthtml-beautify": "^0.2.0",
"posthtml-bem": "^0.2.2",
"posthtml-css-modules": "^0.1.2",
"posthtml-each": "^1.0.1",
"posthtml-include": "^1.1.0",
"posthtml-modules": "^0.4.0",
- "posthtml-standard-config": "^1.0.0",
"posthtml-style-to-file": "^0.1.1",
"reshape": "^0.4.2",
"reshape-beautify": "^0.1.2",
diff --git a/readme.md b/readme.md
index 188a49c..eda8277 100644
--- a/readme.md
+++ b/readme.md
@@ -2,24 +2,24 @@
> Automatically detects processor and creates a configuration for used the plugins.
-[![Travis Build Status](https://img.shields.io/travis/post-org/post-load-plugins/master.svg?style=flat-square&label=unix)](https://travis-ci.org/post-org/post-load-plugins)[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/GitScrum/post-load-plugins/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/GitScrum/post-load-plugins)[![testen badge](https://img.shields.io/badge/testen-passing-brightgreen.svg?style=flat-square)](https://github.com/egoist/testen)[![node](https://img.shields.io/node/v/post-load-plugins.svg?maxAge=2592000&style=flat-square)]()[![npm version](https://img.shields.io/npm/v/post-load-plugins.svg?style=flat-square)](https://www.npmjs.com/package/post-load-plugins)[![Dependency Status](https://david-dm.org/post-org/post-load-plugins.svg?style=flat-square)](https://david-dm.org/post-org/post-load-plugins)[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)[![Coveralls status](https://img.shields.io/coveralls/post-org/post-load-plugins.svg?style=flat-square)](https://coveralls.io/r/post-org/post-load-plugins)
+[![Travis Build Status](https://img.shields.io/travis/post/post-load-plugins/master.svg?style=flat-square&label=unix)](https://travis-ci.org/post/post-load-plugins)[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/GitScrum/post-load-plugins/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/GitScrum/post-load-plugins)[![node](https://img.shields.io/node/v/post-load-plugins.svg?maxAge=2592000&style=flat-square)]()[![npm version](https://img.shields.io/npm/v/post-load-plugins.svg?style=flat-square)](https://www.npmjs.com/package/post-load-plugins)[![Dependency Status](https://david-dm.org/post/post-load-plugins.svg?style=flat-square)](https://david-dm.org/post/post-load-plugins)[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)[![Coveralls status](https://img.shields.io/coveralls/post/post-load-plugins.svg?style=flat-square)](https://coveralls.io/r/post/post-load-plugins)
[![npm downloads](https://img.shields.io/npm/dm/post-load-plugins.svg?style=flat-square)](https://www.npmjs.com/package/post-load-plugins)[![npm](https://img.shields.io/npm/dt/post-load-plugins.svg?style=flat-square)](https://www.npmjs.com/package/post-load-plugins)[![Package Quality](http://npm.packagequality.com/shield/post-load-plugins.svg?style=flat-square)](http://packagequality.com/#?package=post-load-plugins)
## Why?
-Automatically detects the running environment on the basis of which creates the configuration for plugins using [post-config](https://github.com/post-org/post-config) used in the process and sorts the execution order of plugins using [post-sequence](https://github.com/GitScrum/post-sequence).
+Automatically detects the running environment on the basis of which creates the configuration for plugins using [post-config](https://github.com/post/post-config) used in the process and sorts the execution order of plugins using [post-sequence](https://github.com/GitScrum/post-sequence).
-[**post-config**](https://github.com/post-org/post-config) - Automatically detect all plugins installed and create a configuration for them from the description in package.json used in the process.
+[**post-config**](https://github.com/post/post-config) - Automatically detect all plugins installed and create a configuration for them from the description in package.json used in the process.
[**post-sequence**](https://github.com/GitScrum/post-sequence) - Generates the correct sequence of execution of plug-ins for the executable
**At the moment the tested processors:**
-|||
+|||
---|---|---|
**Will inform you if the plugin has not been installed:**
-![](reporting.jpg)
+![](reporting.png)
## Install
@@ -177,27 +177,3 @@ posthtml(postLoadPlugins({extends: ['path/to/file/extend.config.json']})).proces
//
```
*Expand the current configuration for posthtml plugins bem*
-
-## LICENSE
-
-> MIT License (MIT)
-
->Copyright (c) Ivan Demidov
-
-> Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-> The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/reporting.jpg b/reporting.jpg
deleted file mode 100644
index d196f91..0000000
Binary files a/reporting.jpg and /dev/null differ
diff --git a/reporting.png b/reporting.png
new file mode 100644
index 0000000..a4aa321
Binary files /dev/null and b/reporting.png differ
diff --git a/src/index.js b/src/index.js
index 5f51ec5..cbcfc9f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -40,10 +40,14 @@ export default (...options) => {
console.log('\n');
}
- return plugins.reduce((ctx, plugin) => {
- ctx = plugin(ctx, typeof res === 'function' ? res() : res) || ctx;
+ if (processor.plugins) {
+ processor.plugins.push(...plugins);
+ }
+
+ if (!processor.plugins) {
+ plugins.forEach(plugin => ctx = plugin(ctx))
+ }
- return ctx;
- }, ctx);
+ return typeof res === 'function' ? res(null, ctx) : ctx;
};
};
diff --git a/src/post-processor.js b/src/post-processor.js
index bc95ba5..f2e4c61 100644
--- a/src/post-processor.js
+++ b/src/post-processor.js
@@ -1,20 +1,18 @@
-const findProcessorName = args => {
- const ctx = args.find(ctx => Reflect.has(ctx, 'processor') && Reflect.has(ctx.processor, 'name'));
- let name = ctx ? ctx.processor.name : undefined;
-
- // Detect postcss
- if (name === undefined && args[0].type === 'root' && Reflect.has(args[1], 'processor')) {
- name = 'postcss';
+export default (...args) => {
+ if (args.length === 0) {
+ throw new TypeError('post-processor did not receive any arguments.');
}
- // Detect reshape
- if (name === undefined && Reflect.has(args[1], 'ReshapeError')) {
- name = 'reshape';
+ const ctx = args.find(ctx => Reflect.has(ctx, 'processor'));
+
+ if (!ctx) {
+ throw new TypeError('post-processor could not determine the process name.');
}
- return name.toLowerCase();
-};
+ const { processor: { name, plugins } } = ctx;
-export default (...ctx) => ({
- name: findProcessorName(ctx)
-});
+ return {
+ name: (name || 'postcss').toLowerCase(),
+ plugins
+ };
+};
diff --git a/test/expected/output-default-config-from-pkg.html b/test/expected/output-default-config-from-pkg.html
index 595efdd..a5529fa 100644
--- a/test/expected/output-default-config-from-pkg.html
+++ b/test/expected/output-default-config-from-pkg.html
@@ -1,26 +1,29 @@
+
+
+
+
+ PostHTML
+
+
+
-
-
- PostHTML
-
-
+
+
+
+
diff --git a/test/test-post-processor.js b/test/test-post-processor.js
new file mode 100644
index 0000000..4d1fe9b
--- /dev/null
+++ b/test/test-post-processor.js
@@ -0,0 +1,60 @@
+import path from 'path';
+import test from 'ava';
+import processor from '../src/post-processor';
+
+test('post processor should return function', t => {
+ t.true(typeof processor === 'function');
+});
+
+test('post processor without arguments should return Error', t => {
+ const error = t.throws(() => {
+ processor();
+ }, TypeError);
+
+ t.is(error.message, 'post-processor did not receive any arguments.');
+});
+
+test('post processor without processor should return Error', t => {
+ const tree = [];
+
+ const error = t.throws(() => {
+ processor(tree);
+ }, TypeError);
+
+ t.is(error.message, 'post-processor could not determine the process name.');
+});
+
+test('post processor should return posthtml', t => {
+ const tree = [];
+ const res = () => {};
+ tree.processor = {name: 'posthtml', plugins: []};
+
+ t.deepEqual(processor(tree, res), {name: 'posthtml', plugins: []})
+});
+
+test('post processor should return postcss', t => {
+ const tree = [];
+ const res = {
+ processor: {
+ plugins: []
+ }
+ };
+
+ t.deepEqual(processor(tree, res), {name: 'postcss', plugins: []})
+});
+
+test('post processor should return reshape', t => {
+ const tree = [];
+ const res = {
+ processor: {
+ name: 'reshape'
+ },
+ plugins: []
+ };
+
+ t.deepEqual(processor(tree, res), {name: 'reshape', plugins: undefined})
+});
+
+// test('post processor call without arguments should return empty object', t => {
+// t.deepEqual(processor(), {});
+// });
diff --git a/test/reshape.js b/test/test-reshape.js
similarity index 100%
rename from test/reshape.js
rename to test/test-reshape.js