diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56a2530..9360876 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,53 +7,78 @@ cache: key: "$CI_BUILD_STAGE" stages: +- mirror +- security - test - release - trigger - pages +mirror: + stage: mirror + script: + - npmci git mirror + tags: + - docker + +security: + stage: security + script: + - npmci command yarn global add snyk + - npmci command yarn install --ignore-scripts + - npmci command snyk test + tags: + - docker + testLEGACY: stage: test script: - - npmci test legacy + - npmci node install legacy + - npmci npm install + - npmci npm test coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker + - docker allow_failure: true testLTS: stage: test script: - - npmci test lts + - npmci node install lts + - npmci npm install + - npmci npm test coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker + - docker testSTABLE: stage: test script: - - npmci test stable + - npmci node install stable + - npmci npm install + - npmci npm test coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker + - docker release: stage: release script: - - npmci publish + - npmci npm prepare + - npmci npm publish only: - - tags + - tags tags: - - docker + - docker trigger: stage: trigger script: - - npmci trigger + - npmci trigger only: - - tags + - tags tags: - - docker + - docker pages: image: hosttoday/ht-docker-node:npmci diff --git a/dist/smartgulp.gulpapi.d.ts b/dist/smartgulp.gulpapi.d.ts index d0ddf3a..f940104 100644 --- a/dist/smartgulp.gulpapi.d.ts +++ b/dist/smartgulp.gulpapi.d.ts @@ -1,4 +1,5 @@ /// import { Transform } from 'stream'; export declare let src: (minimatchPathArrayArg: string[]) => Transform; -export declare let dest: () => void; +export declare let dest: (dirArg: string) => void; +export declare let replace: () => Transform; diff --git a/dist/smartgulp.gulpapi.js b/dist/smartgulp.gulpapi.js index 37370bb..761b113 100644 --- a/dist/smartgulp.gulpapi.js +++ b/dist/smartgulp.gulpapi.js @@ -26,6 +26,14 @@ exports.src = (minimatchPathArrayArg) => { }); return gulpStream.stream; }; -exports.dest = () => { +exports.dest = (dirArg) => { }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRndWxwLmd1bHBhcGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGd1bHAuZ3VscGFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsaUVBQWlFO0FBQ2pFLCtDQUE4QztBQUM5QyxpRkFBMkQ7QUFLaEQsUUFBQSxHQUFHLEdBQUcsQ0FBQyxxQkFBK0I7SUFDL0MsSUFBSSxVQUFVLEdBQUcsSUFBSSx5Q0FBVSxFQUFFLENBQUE7SUFDakMsSUFBSSxXQUFXLEdBQUc7UUFDaEIsSUFBSSxjQUFjLEdBQWdCLEVBQUUsQ0FBQTtRQUNwQyxHQUFHLENBQUMsQ0FBQyxJQUFJLGFBQWEsSUFBSSxxQkFBcUIsQ0FBQyxDQUFDLENBQUM7WUFDaEQsSUFBSSxtQkFBbUIsR0FBRyxNQUFNLE9BQU8sQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLGdCQUFnQixDQUFDLE9BQU8sQ0FBQyxHQUFHLEVBQUUsRUFBRSxhQUFhLENBQUMsQ0FBQTtZQUNuRyxjQUFjLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsY0FBYyxFQUFFLG1CQUFtQixDQUFDLENBQUE7UUFDN0UsQ0FBQztRQUNELFVBQVUsQ0FBQyxrQkFBa0IsQ0FBQyxjQUFjLENBQUMsQ0FBQTtJQUMvQyxDQUFDLENBQUEsQ0FBQTtJQUNELFdBQVcsRUFBRSxDQUFDLEtBQUssQ0FBQyxHQUFHO1FBQ3JCLE9BQU8sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUE7SUFDbEIsQ0FBQyxDQUFDLENBQUE7SUFDRixNQUFNLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQTtBQUMxQixDQUFDLENBQUE7QUFFVSxRQUFBLElBQUksR0FBRztBQUVsQixDQUFDLENBQUEifQ== \ No newline at end of file +exports.replace = () => { + return plugins.through2.obj((file, enc, cb) => __awaiter(this, void 0, void 0, function* () { + yield file.write(); + cb(file); + }), (cb) => { + cb(); + }); +}; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRndWxwLmd1bHBhcGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGd1bHAuZ3VscGFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsaUVBQWlFO0FBQ2pFLCtDQUE4QztBQUM5QyxpRkFBMkQ7QUFLaEQsUUFBQSxHQUFHLEdBQUcsQ0FBQyxxQkFBK0IsRUFBYSxFQUFFO0lBQzlELElBQUksVUFBVSxHQUFHLElBQUkseUNBQVUsRUFBRSxDQUFBO0lBQ2pDLElBQUksV0FBVyxHQUFHLEdBQVMsRUFBRTtRQUMzQixJQUFJLGNBQWMsR0FBZ0IsRUFBRSxDQUFBO1FBQ3BDLEdBQUcsQ0FBQyxDQUFDLElBQUksYUFBYSxJQUFJLHFCQUFxQixDQUFDLENBQUMsQ0FBQztZQUNoRCxJQUFJLG1CQUFtQixHQUFHLE1BQU0sT0FBTyxDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUMsZ0JBQWdCLENBQUMsT0FBTyxDQUFDLEdBQUcsRUFBRSxFQUFFLGFBQWEsQ0FBQyxDQUFBO1lBQ25HLGNBQWMsR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxjQUFjLEVBQUUsbUJBQW1CLENBQUMsQ0FBQTtRQUM3RSxDQUFDO1FBQ0QsVUFBVSxDQUFDLGtCQUFrQixDQUFDLGNBQWMsQ0FBQyxDQUFBO0lBQy9DLENBQUMsQ0FBQSxDQUFBO0lBQ0QsV0FBVyxFQUFFLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ3hCLE9BQU8sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUE7SUFDbEIsQ0FBQyxDQUFDLENBQUE7SUFDRixNQUFNLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQTtBQUMxQixDQUFDLENBQUE7QUFFVSxRQUFBLElBQUksR0FBRyxDQUFDLE1BQWMsRUFBRSxFQUFFO0FBRXJDLENBQUMsQ0FBQTtBQUVVLFFBQUEsT0FBTyxHQUFHLEdBQUcsRUFBRTtJQUN4QixNQUFNLENBQUMsT0FBTyxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsQ0FBTyxJQUFlLEVBQUUsR0FBRyxFQUFFLEVBQUUsRUFBRSxFQUFFO1FBQzdELE1BQU0sSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFBO1FBQ2xCLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUNWLENBQUMsQ0FBQSxFQUFFLENBQUMsRUFBRSxFQUFFLEVBQUU7UUFDUixFQUFFLEVBQUUsQ0FBQTtJQUNOLENBQUMsQ0FBQyxDQUFBO0FBQ0osQ0FBQyxDQUFBIn0= \ No newline at end of file diff --git a/dist/smartgulp.plugins.d.ts b/dist/smartgulp.plugins.d.ts index 78b043b..fe53119 100644 --- a/dist/smartgulp.plugins.d.ts +++ b/dist/smartgulp.plugins.d.ts @@ -2,4 +2,5 @@ import * as smartevent from 'smartevent'; import * as smartfile from 'smartfile'; import * as smartstream from 'smartstream'; import * as lodash from 'lodash'; -export { lodash, smartevent, smartfile, smartstream }; +import * as through2 from 'through2'; +export { lodash, smartevent, smartfile, smartstream, through2 }; diff --git a/dist/smartgulp.plugins.js b/dist/smartgulp.plugins.js index b04aa8d..666808e 100644 --- a/dist/smartgulp.plugins.js +++ b/dist/smartgulp.plugins.js @@ -8,4 +8,6 @@ const smartstream = require("smartstream"); exports.smartstream = smartstream; const lodash = require("lodash"); exports.lodash = lodash; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRndWxwLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGd1bHAucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUF3QztBQU90QyxnQ0FBVTtBQU5aLHVDQUFzQztBQU9wQyw4QkFBUztBQU5YLDJDQUEwQztBQU94QyxrQ0FBVztBQU5iLGlDQUFnQztBQUc5Qix3QkFBTSJ9 \ No newline at end of file +const through2 = require("through2"); +exports.through2 = through2; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRndWxwLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGd1bHAucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUF3QztBQVF0QyxnQ0FBVTtBQVBaLHVDQUFzQztBQVFwQyw4QkFBUztBQVBYLDJDQUEwQztBQVF4QyxrQ0FBVztBQVBiLGlDQUFnQztBQUk5Qix3QkFBTTtBQUhSLHFDQUFvQztBQU9sQyw0QkFBUSJ9 \ No newline at end of file diff --git a/package.json b/package.json index 00da246..cc7db3d 100644 --- a/package.json +++ b/package.json @@ -24,16 +24,18 @@ }, "homepage": "https://gitlab.com/pushrocks/smartgulp#README", "devDependencies": { - "gulp-function": "^2.2.9", - "tapbundle": "^1.0.13" + "@types/node": "^9.4.6", + "gulp-function": "^2.2.14", + "tapbundle": "^1.1.8" }, "dependencies": { - "@types/lodash": "^4.14.64", - "lodash": "^4.17.4", + "@types/lodash": "^4.14.103", + "@types/through2": "^2.0.33", + "lodash": "^4.17.5", "smartevent": "^1.0.1", - "smartfile": "^4.2.15", - "smartq": "^1.1.1", - "smartstream": "^1.0.8", - "typings-global": "^1.0.16" + "smartfile": "^4.2.26", + "smartq": "^1.1.6", + "smartstream": "^1.0.10", + "through2": "^2.0.3" } } diff --git a/test/test.ts b/test/test.ts index 823ea62..c55fdb6 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,11 +1,11 @@ import { expect, tap } from 'tapbundle' -import * as smartgulp from '../dist/index' +import * as smartgulp from '../ts/index' import * as smartstream from 'smartstream' import * as gulpFunction from 'gulp-function' import * as smartq from 'smartq' -tap.test('smartgulp.src -> should read a directoy', async () => { +tap.test('smartgulp.src -> should read a directoy', async (tools) => { let done = smartq.defer() smartgulp.src(['./test/testfiles/**/*.md']) .pipe(gulpFunction.forEach(async (fileArg) => { @@ -17,4 +17,17 @@ tap.test('smartgulp.src -> should read a directoy', async () => { await done.promise }) +tap.test('smartgulp shoould replace files', async () => { + let done = smartq.defer() + smartgulp.src(['./test/testfiles/**/*.md']) + .pipe(gulpFunction.forEach(async (fileArg) => { + console.log(fileArg.path) + })) + .pipe(gulpFunction.atEnd(async () => { + done.resolve() + })) + .pipe(smartgulp.replace()) + await done.promise +}) + tap.start() diff --git a/ts/smartgulp.gulpapi.ts b/ts/smartgulp.gulpapi.ts index ddb598e..6fd3714 100644 --- a/ts/smartgulp.gulpapi.ts +++ b/ts/smartgulp.gulpapi.ts @@ -21,6 +21,15 @@ export let src = (minimatchPathArrayArg: string[]): Transform => { return gulpStream.stream } -export let dest = () => { +export let dest = (dirArg: string) => { } + +export let replace = () => { + return plugins.through2.obj(async (file: Smartfile, enc, cb) => { + await file.write() + cb(file) + }, (cb) => { + cb() + }) +} diff --git a/ts/smartgulp.plugins.ts b/ts/smartgulp.plugins.ts index 998bf59..016f77c 100644 --- a/ts/smartgulp.plugins.ts +++ b/ts/smartgulp.plugins.ts @@ -2,10 +2,12 @@ import * as smartevent from 'smartevent' import * as smartfile from 'smartfile' import * as smartstream from 'smartstream' import * as lodash from 'lodash' +import * as through2 from 'through2' export { lodash, smartevent, smartfile, - smartstream + smartstream, + through2 } diff --git a/yarn.lock b/yarn.lock index ff83213..0548d35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,37 +19,47 @@ version "3.5.2" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e" -"@types/fs-extra@3.x.x": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.2.tgz#00cbf48563f377f9ce5cf24237b21b3d9779e055" +"@types/fs-extra@4.x.x": + version "4.0.7" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.7.tgz#02533262386b5a6b9a49797dc82feffdf269140a" dependencies: "@types/node" "*" -"@types/lodash@^4.14.64": - version "4.14.64" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.64.tgz#979cf3a3d4a368670840bf9b3e448dc33ffe84ee" +"@types/lodash@^4.14.103": + version "4.14.103" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.103.tgz#56ac640f029f67655f0721f479f1faa982bd8122" "@types/node@*": version "7.0.14" resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.14.tgz#1470fa002a113316ac9d9ad163fc738c7a0de2a4" +"@types/node@^8.0.33": + version "8.9.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.9.4.tgz#dfd327582a06c114eb6e0441fa3d6fab35edad48" + +"@types/node@^9.4.6": + version "9.4.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.6.tgz#d8176d864ee48753d053783e4e463aec86b8d82e" + "@types/promises-a-plus@*": version "0.0.27" resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780" -"@types/q@0.x.x": - version "0.0.34" - resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.34.tgz#e5d3a54e7a56309d904cdf1dc34f61ac595fae2e" - "@types/through2@^2.0.32": version "2.0.32" resolved "https://registry.yarnpkg.com/@types/through2/-/through2-2.0.32.tgz#470024450f1ab7640f19f9ebf42d3da574c26129" dependencies: "@types/node" "*" -"@types/vinyl@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.0.tgz#fd213bf7f4136dde21fe1895500b12c186f8c268" +"@types/through2@^2.0.33": + version "2.0.33" + resolved "https://registry.yarnpkg.com/@types/through2/-/through2-2.0.33.tgz#1ff2e88a100dfb5b140e7bb98791f1194400d131" + dependencies: + "@types/node" "*" + +"@types/vinyl@^2.0.1": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.2.tgz#4f3b8dae8f5828d3800ef709b0cff488ee852de3" dependencies: "@types/node" "*" @@ -71,6 +81,10 @@ balanced-match@^0.4.1: version "0.4.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + beautycolor@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c" @@ -89,6 +103,13 @@ brace-expansion@^1.0.0: balanced-match "^0.4.1" concat-map "0.0.1" +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + buffer-shims@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" @@ -149,6 +170,13 @@ deep-eql@^0.1.3: dependencies: type-detect "0.1.1" +define-properties@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" + dependencies: + foreach "^2.0.5" + object-keys "^1.0.8" + early@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/early/-/early-2.1.1.tgz#841e23254ea5dc54d8afaeee82f5ab65c00ee23c" @@ -157,9 +185,31 @@ early@^2.1.1: smartq "^1.1.1" typings-global "^1.0.16" -esprima@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" +es-abstract@^1.5.1: + version "1.10.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" + dependencies: + es-to-primitive "^1.1.1" + function-bind "^1.1.1" + has "^1.0.1" + is-callable "^1.1.3" + is-regex "^1.0.4" + +es-to-primitive@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" + dependencies: + is-callable "^1.1.1" + is-date-object "^1.0.1" + is-symbol "^1.0.1" + +es6-error@^4.0.2: + version "4.1.1" + resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d" + +esprima@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" first-chunk-stream@^2.0.0: version "2.0.0" @@ -167,19 +217,27 @@ first-chunk-stream@^2.0.0: dependencies: readable-stream "^2.0.2" -fs-extra@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" +foreach@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" + +fs-extra@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" dependencies: graceful-fs "^4.1.2" - jsonfile "^3.0.0" + jsonfile "^4.0.0" universalify "^0.1.0" fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" -glob@^7.0.0, glob@^7.1.1: +function-bind@^1.0.2, function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + +glob@^7.0.0: version "7.1.1" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" dependencies: @@ -190,18 +248,34 @@ glob@^7.0.0, glob@^7.1.1: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" -gulp-function@^2.2.9: - version "2.2.9" - resolved "https://registry.yarnpkg.com/gulp-function/-/gulp-function-2.2.9.tgz#de513103db9d817e94bb8aab45f30bf286f19ae5" +gulp-function@^2.2.14: + version "2.2.14" + resolved "https://registry.yarnpkg.com/gulp-function/-/gulp-function-2.2.14.tgz#e2fe65cfd2f7f614a2c66795e2ae4440467082df" dependencies: "@types/through2" "^2.0.32" - smartq "^1.1.1" + smartq "^1.1.6" through2 "^2.0.3" - typings-global "^1.0.16" + +has@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" + dependencies: + function-bind "^1.0.2" home@^1.0.1: version "1.0.1" @@ -224,10 +298,28 @@ interpret@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90" +is-callable@^1.1.1, is-callable@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" + +is-date-object@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" + +is-regex@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" + dependencies: + has "^1.0.1" + is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" +is-symbol@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" + is-utf8@^0.2.0, is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" @@ -236,23 +328,24 @@ isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" -js-yaml@^3.8.3: - version "3.8.3" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766" +js-yaml@^3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" dependencies: argparse "^1.0.7" - esprima "^3.1.1" + esprima "^4.0.0" -jsonfile@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.0.tgz#92e7c7444e5ffd5fa32e6a9ae8b85034df8347d0" +jsonfile@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" optionalDependencies: graceful-fs "^4.1.6" -leakage@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.2.0.tgz#9e7a8cc1d241d8c8427e348769e192e172fd8733" +leakage@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.3.0.tgz#15d698abdc76bbc6439601f4f3020e77e2d50c39" dependencies: + es6-error "^4.0.2" left-pad "^1.1.3" memwatch-next "^0.3.0" minimist "^1.2.0" @@ -262,9 +355,9 @@ left-pad@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.1.3.tgz#612f61c033f3a9e08e939f1caebeea41b6f3199a" -lodash@^4.17.4: - version "4.17.4" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" +lodash@^4.17.5: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" memwatch-next@^0.3.0: version "0.3.0" @@ -279,6 +372,12 @@ minimatch@^3.0.2: dependencies: brace-expansion "^1.0.0" +minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" @@ -287,6 +386,17 @@ nan@^2.3.2: version "2.6.2" resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45" +object-keys@^1.0.8: + version "1.0.11" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" + +object.getownpropertydescriptors@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.5.1" + once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -317,10 +427,6 @@ process-nextick-args@^1.0.6, process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" -q@^1.4.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.0.tgz#dd01bac9d06d30e6f219aecb8253ee9ebdc308f1" - readable-stream@^2.0.2, readable-stream@^2.1.5: version "2.2.9" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8" @@ -380,11 +486,12 @@ smartchai@^1.0.3: chai-as-promised "^6.0.0" chai-string "^1.3.0" -smartdelay@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.1.tgz#687f8bcc09d7c62c9c5a8a1771c1aba3aff54156" +smartdelay@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.4.tgz#791c1a4ee6770494064c10b1d2d2b8e6f3105b82" dependencies: - typings-global "^1.0.14" + smartq "^1.1.1" + typings-global "^1.0.16" smartevent@^1.0.1: version "1.0.1" @@ -393,21 +500,20 @@ smartevent@^1.0.1: smartq "^1.1.1" typings-global "^1.0.16" -smartfile@^4.2.15: - version "4.2.15" - resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.15.tgz#e179bfa2bab107cc11fe800f3cbf194b1370091d" +smartfile@^4.2.26: + version "4.2.26" + resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.26.tgz#800f08b1089e153b7fd8e0ba165da465a071d407" dependencies: - "@types/fs-extra" "3.x.x" - "@types/vinyl" "^2.0.0" - fs-extra "^3.0.1" - glob "^7.1.1" - js-yaml "^3.8.3" + "@types/fs-extra" "4.x.x" + "@types/vinyl" "^2.0.1" + fs-extra "^4.0.2" + glob "^7.1.2" + js-yaml "^3.10.0" require-reload "0.2.2" smartpath "^3.2.8" - smartq "^1.1.1" - smartrequest "^1.0.4" - typings-global "^1.0.16" - vinyl "^2.0.2" + smartq "^1.1.6" + smartrequest "^1.0.6" + typings-global "^1.0.20" vinyl-file "^3.0.0" smartpath@^3.2.8: @@ -417,29 +523,34 @@ smartpath@^3.2.8: home "^1.0.1" typings-global "^1.0.14" -smartq@^1.1.0, smartq@^1.1.1: +smartq@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3" dependencies: typed-promisify "^0.3.0" typings-global "^1.0.14" -smartrequest@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.4.tgz#86af2163ae28f1031b01c2d8ad8c429733920611" +smartq@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.6.tgz#0c1ff4336d95e95b4f1fdd8ccd7e2c5a323b8412" dependencies: - smartq "^1.1.0" - typings-global "^1.0.14" + typings-global "^1.0.19" + util.promisify "^1.0.0" -smartstream@^1.0.8: +smartrequest@^1.0.6: version "1.0.8" - resolved "https://registry.yarnpkg.com/smartstream/-/smartstream-1.0.8.tgz#da983ba304e0a27f7088b16b5e7a101da161492a" + resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.8.tgz#9af18dde34efa7d43b4ecfc92ccb157a98eda3b1" dependencies: - "@types/q" "0.x.x" - "@types/through2" "^2.0.32" - q "^1.4.1" + smartq "^1.1.1" + +smartstream@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/smartstream/-/smartstream-1.0.10.tgz#151c29630582cf6b2a08f387f6765ad3040708c9" + dependencies: + "@types/through2" "^2.0.33" + smartq "^1.1.1" through2 "^2.0.3" - typings-global "^1.0.14" + typings-global "^1.0.19" sprintf-js@~1.0.2: version "1.0.3" @@ -470,16 +581,17 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -tapbundle@^1.0.13: - version "1.0.13" - resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.13.tgz#0b274aed6a386c0c01d8d517709381ce96e3971e" +tapbundle@^1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.1.8.tgz#e08aee0e100a830d8a26a583a85d37ce53312e02" dependencies: + "@types/node" "^8.0.33" early "^2.1.1" - leakage "^0.2.0" + leakage "^0.3.0" smartchai "^1.0.3" - smartdelay "^1.0.1" + smartdelay "^1.0.3" smartq "^1.1.1" - typings-global "^1.0.16" + typings-global "^1.0.19" through2@^2.0.1, through2@^2.0.3: version "2.0.3" @@ -507,6 +619,10 @@ typings-global@^1.0.14, typings-global@^1.0.16: semver "^5.3.0" shelljs "^0.7.7" +typings-global@^1.0.19, typings-global@^1.0.20: + version "1.0.28" + resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.28.tgz#e28cc965476564cbc00e438739e0aa0735d323d4" + universalify@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.0.tgz#9eb1c4651debcc670cc94f1a75762332bb967778" @@ -515,6 +631,13 @@ util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" +util.promisify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" + dependencies: + define-properties "^1.1.2" + object.getownpropertydescriptors "^2.0.3" + vinyl-file@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365" @@ -525,7 +648,7 @@ vinyl-file@^3.0.0: strip-bom-stream "^2.0.0" vinyl "^2.0.1" -vinyl@^2.0.1, vinyl@^2.0.2: +vinyl@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.0.2.tgz#0a3713d8d4e9221c58f10ca16c0116c9e25eda7c" dependencies: