From ddf7ca0466df89c655afcc1acae17d4c60dc5562 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 7 Jun 2017 15:16:33 +0200 Subject: [PATCH] update purge --- dist/mod_purge/index.d.ts | 1 + dist/mod_purge/index.js | 20 +++++ dist/mod_purge/mod.plugins.d.ts | 3 + dist/mod_purge/mod.plugins.js | 9 ++ dist/npmci.cli.js | 10 ++- dist/npmci.mods.d.ts | 2 + dist/npmci.mods.js | 3 +- dist/npmci.monitor.js | 8 +- package.json | 18 ++-- ts/mod_purge/index.ts | 12 ++- ts/mod_purge/mod.plugins.ts | 6 ++ ts/npmci.cli.ts | 9 ++ ts/npmci.monitor.ts | 7 +- yarn.lock | 152 ++++++++++++++++++-------------- 14 files changed, 175 insertions(+), 85 deletions(-) create mode 100644 dist/mod_purge/index.d.ts create mode 100644 dist/mod_purge/index.js create mode 100644 dist/mod_purge/mod.plugins.d.ts create mode 100644 dist/mod_purge/mod.plugins.js diff --git a/dist/mod_purge/index.d.ts b/dist/mod_purge/index.d.ts new file mode 100644 index 0000000..98ceadf --- /dev/null +++ b/dist/mod_purge/index.d.ts @@ -0,0 +1 @@ +export declare let purge: (argvArg: any) => Promise; diff --git a/dist/mod_purge/index.js b/dist/mod_purge/index.js new file mode 100644 index 0000000..6c994ac --- /dev/null +++ b/dist/mod_purge/index.js @@ -0,0 +1,20 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const plugins = require("./mod.plugins"); +let npmciCflare = new plugins.cflare.CflareAccount(); +exports.purge = (argvArg) => __awaiter(this, void 0, void 0, function* () { + npmciCflare.auth({ + email: '', + key: '' + }); + npmciCflare.purgeZone(argvArg._[1]); +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfcHVyZ2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUV4QyxJQUFJLFdBQVcsR0FBRyxJQUFJLE9BQU8sQ0FBQyxNQUFNLENBQUMsYUFBYSxFQUFFLENBQUE7QUFFekMsUUFBQSxLQUFLLEdBQUcsQ0FBTyxPQUFPO0lBQy9CLFdBQVcsQ0FBQyxJQUFJLENBQUM7UUFDZixLQUFLLEVBQUUsRUFBRTtRQUNULEdBQUcsRUFBRSxFQUFFO0tBQ1IsQ0FBQyxDQUFBO0lBQ0YsV0FBVyxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7QUFDckMsQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file diff --git a/dist/mod_purge/mod.plugins.d.ts b/dist/mod_purge/mod.plugins.d.ts new file mode 100644 index 0000000..e7ec967 --- /dev/null +++ b/dist/mod_purge/mod.plugins.d.ts @@ -0,0 +1,3 @@ +export * from '../npmci.plugins'; +import * as cflare from 'cflare'; +export { cflare }; diff --git a/dist/mod_purge/mod.plugins.js b/dist/mod_purge/mod.plugins.js new file mode 100644 index 0000000..b99384a --- /dev/null +++ b/dist/mod_purge/mod.plugins.js @@ -0,0 +1,9 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("../npmci.plugins")); +const cflare = require("cflare"); +exports.cflare = cflare; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfcHVyZ2UvbW9kLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBZ0M7QUFFaEMsaUNBQWdDO0FBRzlCLHdCQUFNIn0= \ No newline at end of file diff --git a/dist/npmci.cli.js b/dist/npmci.cli.js index 17f5f80..1e27317 100644 --- a/dist/npmci.cli.js +++ b/dist/npmci.cli.js @@ -46,6 +46,14 @@ smartcli.addCommand('command') console.log(err); process.exit(1); }); +// purge +smartcli.addCommand('purge') + .then((argvArg) => __awaiter(this, void 0, void 0, function* () { + let modPurge = yield npmciMods.modPurge.load(); + yield modPurge.purge(argvArg); +})).catch(err => { + console.log(err); +}); // install smartcli.addCommand('install') .then((argv) => __awaiter(this, void 0, void 0, function* () { @@ -97,4 +105,4 @@ smartcli.addCommand('trigger') process.exit(1); }); smartcli.startParse(); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuY2xpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFDMUMsdUNBQXNDO0FBQ3RDLElBQUksU0FBUyxHQUFHLElBQUksT0FBTyxDQUFDLFdBQVcsQ0FBQyxjQUFjLENBQUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDLENBQUE7QUFDOUUsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsaUJBQWlCLEdBQUcsU0FBUyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0FBRTVELHdDQUF1QztBQUV2QywwQ0FBeUM7QUFFekMsSUFBSSxRQUFRLEdBQUcsSUFBSSxPQUFPLENBQUMs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DQUFBO0FBQzlCLENBQUMsQ0FBQSxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUc7SUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFBO0lBQ2hCLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUE7QUFDakIsQ0FBQyxDQUFDLENBQUE7QUFFSixVQUFVO0FBQ1YsUUFBUSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUM7S0FDM0IsSUFBSSxDQUFDLENBQU8sSUFBSTtJQUNmLElBQUksVUFBVSxHQUFHLE1BQU0sU0FBUyxDQUFDLFVBQVUsQ0FBQyxJQUFJLEVBQUUsQ0FBQTtJQUNsRCxNQUFNLFVBQVUsQ0FBQyxPQUFPLEVBQUUsQ0FBQTtJQUMxQixNQUFNLFFBQVEsQ0FBQyxXQUFXLEVBQUUsQ0FBQTtBQUM5QixDQUFDLENBQUEsQ0FBQyxDQUFDLEtBQUssQ0FBQyxHQUFHO0lBQ1YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUNoQixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFBO0FBQ2pCLENBQUMsQ0FBQyxDQUFBO0FBRUosUUFBUSxDQUFDLFVBQVUsRUFBRSxDQUFBIn0= \ No newline at end of file diff --git a/dist/npmci.mods.d.ts b/dist/npmci.mods.d.ts index 23e56da..deb3908 100644 --- a/dist/npmci.mods.d.ts +++ b/dist/npmci.mods.d.ts @@ -4,6 +4,7 @@ import * as _modCommand from './mod_command/index'; import * as _modDocker from './mod_docker/index'; import * as _modInstall from './mod_install/index'; import * as _modPublish from './mod_publish/index'; +import * as _modPurge from './mod_purge/index'; import * as _modPrepare from './mod_prepare/index'; import * as _modTrigger from './mod_trigger/index'; import * as _modTest from './mod_test/index'; @@ -14,6 +15,7 @@ export declare let modCommand: LazyModule; export declare let modDocker: LazyModule; export declare let modInstall: LazyModule; export declare let modPublish: LazyModule; +export declare let modPurge: LazyModule; export declare let modPrepare: LazyModule; export declare let modTrigger: LazyModule; export declare let modTest: LazyModule; diff --git a/dist/npmci.mods.js b/dist/npmci.mods.js index d3f1d13..c49b8fd 100644 --- a/dist/npmci.mods.js +++ b/dist/npmci.mods.js @@ -7,7 +7,8 @@ exports.modCommand = new smartsystem_1.LazyModule('./mod_command/index', __dirna exports.modDocker = new smartsystem_1.LazyModule('./mod_docker/index', __dirname); exports.modInstall = new smartsystem_1.LazyModule('./mod_install/index', __dirname); exports.modPublish = new smartsystem_1.LazyModule('./mod_publish/index', __dirname); +exports.modPurge = new smartsystem_1.LazyModule('./mod_purge/index', __dirname); exports.modPrepare = new smartsystem_1.LazyModule('./mod_prepare/index', __dirname); exports.modTrigger = new smartsystem_1.LazyModule('./mod_trigger/index', __dirname); exports.modTest = new smartsystem_1.LazyModule('./mod_test/index', __dirname); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9kcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFVQSw2Q0FBd0M7QUFFN0IsUUFBQSxRQUFRLEdBQUcsSUFBSSx3QkFBVSxDQUFtQixtQkFBbUIsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUMzRSxRQUFBLFFBQVEsR0FBRyxJQUFJLHdCQUFVLENBQW1CLG1CQUFtQixFQUFFLFNBQVMsQ0FBQyxDQUFBO0FBQzNFLFFBQUEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxTQUFTLEdBQUcsSUFBSSx3QkFBVSxDQUFvQixvQkFBb0IsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUM5RSxRQUFBLFVBQVUsR0FBRyxJQUF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UEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxRQUFRLEdBQUcsSUFBSSx3QkFBVSxDQUFtQixtQkFBbUIsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUMzRSxRQUFBLFVBQVUsR0FBRyxJQUFJLHdCQUFVLENBQXFCLHFCQUFxQixFQUFFLFNBQVMsQ0FBQyxDQUFBO0FBQ2pGLFFBQUEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxPQUFPLEdBQUcsSUFBSSx3QkFBVSxDQUFrQixrQkFBa0IsRUFBQyxTQUFTLENBQUMsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/npmci.monitor.js b/dist/npmci.monitor.js index e243135..59bec27 100644 --- a/dist/npmci.monitor.js +++ b/dist/npmci.monitor.js @@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); const plugins = require("./npmci.plugins"); const smartmonitor_1 = require("smartmonitor"); exports.npmciMonitor = new smartmonitor_1.Smartmonitor(); -if (process.env.SMARTMONITOR) { +let monitorEnvString = process.env.NPMCI_MONITOR; +if (monitorEnvString) { + let npmciMonitorKeys = monitorEnvString.split('|'); exports.npmciMonitor.addInstrumental({ - apiKey: process.env.SMARTMONITOR + apiKey: process.env.NPMCI_MONITOR }); plugins.beautylog.info('Monitoring activated'); } @@ -13,4 +15,4 @@ else { plugins.beautylog.warn('Monitoring could not be enabled due to missing API-KEY'); } exports.npmciMonitor.increment('lossless-ci.builds', 1); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7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G9CQUFZLENBQUMsZUFBZSxDQUFDO1FBQzNCLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDLGFBQWE7S0FDbEMsQ0FBQyxDQUFBO0lBQ0YsT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsc0JBQXNCLENBQUMsQ0FBQTtBQUNoRCxDQUFDO0FBQUMsSUFBSSxDQUFDLENBQUM7SUFDTixPQUFPLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyx3REFBd0QsQ0FBQyxDQUFBO0FBQ2xGLENBQUM7QUFFRCxvQkFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxDQUFDLENBQUMsQ0FBQSJ9 \ No newline at end of file diff --git a/package.json b/package.json index f8c9f81..dfd849d 100644 --- a/package.json +++ b/package.json @@ -22,26 +22,26 @@ }, "homepage": "https://gitlab.com/gitzone/npmci#README", "devDependencies": { - "tapbundle": "^1.0.12" + "tapbundle": "^1.0.14" }, "dependencies": { - "@types/lodash": "^4.14.64", - "@types/node": "^7.0.18", + "@types/lodash": "^4.14.65", + "@types/node": "^7.0.28", "@types/request": "0.x.x", - "@types/shelljs": "^0.7.1", - "@types/through2": "^2.0.32", + "@types/shelljs": "^0.7.2", + "@types/through2": "^2.0.33", "beautylog": "^6.1.10", - "cflare": "^0.0.19", + "cflare": "^1.0.3", "gulp": "^3.9.1", "gulp-function": "^2.2.9", "lodash": "^4.17.4", "npmextra": "^2.0.5", "projectinfo": "^3.0.2", "request": "^2.81.0", - "shelljs": "^0.7.7", + "shelljs": "^0.7.8", "smartcli": "^2.0.7", - "smartdelay": "^1.0.1", - "smartfile": "^4.2.11", + "smartdelay": "^1.0.3", + "smartfile": "^4.2.17", "smartmonitor": "^1.0.3", "smartparam": "^0.1.1", "smartq": "^1.1.1", diff --git a/ts/mod_purge/index.ts b/ts/mod_purge/index.ts index ab6adfa..ab6c173 100644 --- a/ts/mod_purge/index.ts +++ b/ts/mod_purge/index.ts @@ -1 +1,11 @@ -import * as plugins from '../npmci.plugins' +import * as plugins from './mod.plugins' + +let npmciCflare = new plugins.cflare.CflareAccount() + +export let purge = async (argvArg) => { + npmciCflare.auth({ + email: '', + key: '' + }) + npmciCflare.purgeZone(argvArg._[1]) +} diff --git a/ts/mod_purge/mod.plugins.ts b/ts/mod_purge/mod.plugins.ts index f9883a8..c18a0de 100644 --- a/ts/mod_purge/mod.plugins.ts +++ b/ts/mod_purge/mod.plugins.ts @@ -1 +1,7 @@ export * from '../npmci.plugins' + +import * as cflare from 'cflare' + +export { + cflare +} diff --git a/ts/npmci.cli.ts b/ts/npmci.cli.ts index 6dfaa96..890c97b 100644 --- a/ts/npmci.cli.ts +++ b/ts/npmci.cli.ts @@ -43,6 +43,15 @@ smartcli.addCommand('command') process.exit(1) }) +// purge +smartcli.addCommand('purge') + .then(async (argvArg) => { + let modPurge = await npmciMods.modPurge.load() + await modPurge.purge(argvArg) + }).catch(err => { + console.log(err) + }) + // install smartcli.addCommand('install') .then(async (argv) => { diff --git a/ts/npmci.monitor.ts b/ts/npmci.monitor.ts index 6f68d0f..f45d968 100644 --- a/ts/npmci.monitor.ts +++ b/ts/npmci.monitor.ts @@ -5,9 +5,12 @@ import { Smartmonitor } from 'smartmonitor' export let npmciMonitor = new Smartmonitor() -if(process.env.SMARTMONITOR) { +let monitorEnvString: string = process.env.NPMCI_MONITOR + +if (monitorEnvString) { + let npmciMonitorKeys: string[] = monitorEnvString.split('|') npmciMonitor.addInstrumental({ - apiKey: process.env.SMARTMONITOR + apiKey: process.env.NPMCI_MONITOR }) plugins.beautylog.info('Monitoring activated') } else { diff --git a/yarn.lock b/yarn.lock index 5002ac0..eab7029 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29,15 +29,21 @@ dependencies: "@types/node" "*" -"@types/fs-extra@0.0.35", "@types/fs-extra@0.x.x": +"@types/fs-extra@0.0.35": version "0.0.35" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.35.tgz#3ed400c0122fb161db51da23d96ba5040cb9c7d9" dependencies: "@types/node" "*" +"@types/fs-extra@0.x.x": + version "0.0.37" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.37.tgz#195f11bcd9a1b97d9e412c6b66899b545471a1f7" + dependencies: + "@types/node" "*" + "@types/fs-extra@3.x.x": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.1.tgz#78293a68aad3d866751e8fcfd64d7dc9d0117476" + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.3.tgz#1d66eb670ebf657e57c0fda014df340c19d8aa0c" dependencies: "@types/node" "*" @@ -45,9 +51,9 @@ version "2.1.5" resolved "https://registry.yarnpkg.com/@types/js-base64/-/js-base64-2.1.5.tgz#31b6d36a66a4c59ae3f31b5e16bfd6b832a6eb41" -"@types/lodash@4.x.x", "@types/lodash@^4.14.55", "@types/lodash@^4.14.62", "@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.x.x", "@types/lodash@^4.14.55", "@types/lodash@^4.14.62", "@types/lodash@^4.14.65": + version "4.14.65" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.65.tgz#a0f78d71ffcd3c02628d5f616410c98c424326d5" "@types/loggly@1.x.x": version "1.1.30" @@ -57,9 +63,9 @@ version "2.0.29" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a" -"@types/node@*", "@types/node@^7.0.18": - version "7.0.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.18.tgz#cd67f27d3dc0cfb746f0bdd5e086c4c5d55be173" +"@types/node@*", "@types/node@^7.0.28": + version "7.0.28" + resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.28.tgz#3a8c62b718a73bbb89ede4aba5ab12c8f822c36e" "@types/promises-a-plus@*": version "0.0.27" @@ -98,9 +104,9 @@ dependencies: "@types/node" "*" -"@types/shelljs@^0.7.1": - version "0.7.1" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.1.tgz#30fe144e3bdd37c11c174445bc54190cb7992a45" +"@types/shelljs@^0.7.2": + version "0.7.2" + resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.7.2.tgz#c2bdb3fe80cd7a3da08750ca898ae44c589671f3" dependencies: "@types/node" "*" @@ -124,9 +130,9 @@ dependencies: "@types/node" "*" -"@types/through2@^2.0.32": - version "2.0.32" - resolved "https://registry.yarnpkg.com/@types/through2/-/through2-2.0.32.tgz#470024450f1ab7640f19f9ebf42d3da574c26129" +"@types/through2@^2.0.32", "@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" "*" @@ -371,10 +377,6 @@ braces@^1.8.2: preserve "^0.2.0" repeat-element "^1.1.2" -buffer-shims@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" - builtin-modules@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" @@ -395,16 +397,16 @@ caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" -cflare@^0.0.19: - version "0.0.19" - resolved "https://registry.yarnpkg.com/cflare/-/cflare-0.0.19.tgz#e7be0790167c3fc0567c80aa76e975e33b071c4c" +cflare@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/cflare/-/cflare-1.0.3.tgz#e12141fd3af72b1dd1ddc63f824159fb1f1231fa" dependencies: - beautylog "^6.1.1" - smartdelay "^1.0.1" - smartq "^1.1.0" + beautylog "^6.1.10" + smartdelay "^1.0.3" + smartq "^1.1.1" smartrequest "^1.0.4" - smartstring "^2.0.22" - typings-global "^1.0.14" + smartstring "^2.0.24" + typings-global "^1.0.16" chai-as-promised@^6.0.0: version "6.0.0" @@ -713,12 +715,16 @@ error-ex@^1.2.0: is-arrayish "^0.2.1" es5-ext@^0.10.12, es5-ext@^0.10.13, es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14, es5-ext@~0.10.2: - version "0.10.18" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.18.tgz#dc239d3dce4c22b9c939aa180878837a3c0b5c92" + version "0.10.23" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.23.tgz#7578b51be974207a5487821b56538c224e4e7b38" dependencies: es6-iterator "2" es6-symbol "~3.1" +es6-error@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.0.2.tgz#eec5c726eacef51b7f6b73c20db6e1b13b069c98" + es6-iterator@2, es6-iterator@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512" @@ -1016,13 +1022,13 @@ glob@^4.3.1: once "^1.3.0" glob@^7.0.0, glob@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + 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.2" + minimatch "^3.0.4" once "^1.3.0" path-is-absolute "^1.0.0" @@ -1270,8 +1276,8 @@ is-builtin-module@^1.0.0: builtin-modules "^1.0.0" is-dotfile@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" is-equal-shallow@^0.1.3: version "0.1.3" @@ -1453,8 +1459,8 @@ jsprim@^1.2.2: verror "1.3.6" kind-of@^3.0.2: - version "3.2.1" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.1.tgz#9713fb3aea9ed3ba2fba907f0dfc4eb8224527f2" + version "3.2.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" dependencies: is-buffer "^1.1.5" @@ -1470,10 +1476,11 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" -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" @@ -1664,8 +1671,8 @@ lru-cache@2: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952" lru-cache@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" + version "4.1.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.0.tgz#59be49a683b8d986a939f1ca60fdb6989f4b2046" dependencies: pseudomap "^1.0.1" yallist "^2.0.0" @@ -1748,7 +1755,7 @@ minimatch@^2.0.1: dependencies: brace-expansion "^1.0.0" -minimatch@^3.0.2, minimatch@^3.0.3: +minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" dependencies: @@ -1860,7 +1867,7 @@ oauth-sign@~0.8.1: version "0.8.2" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" -object-assign@4.1.0, object-assign@^4.0.1: +object-assign@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.0.tgz#7a3b3d0e98063d43f4c03f2e8ae6cd51a86883a0" @@ -1868,6 +1875,10 @@ object-assign@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" +object-assign@^4.0.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + object-component@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291" @@ -2120,8 +2131,8 @@ randomatic@^1.1.3: kind-of "^3.0.2" raven@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/raven/-/raven-2.0.0.tgz#e4034205717db41cc6286e7fbf5bc86b51660291" + version "2.0.2" + resolved "https://registry.yarnpkg.com/raven/-/raven-2.0.2.tgz#a43d3b8702ae6db2e91987628be8f289500810ae" dependencies: cookie "0.3.1" json-stringify-safe "5.0.1" @@ -2155,14 +2166,14 @@ read-pkg@^2.0.0: string_decoder "~0.10.x" 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" + version "2.2.11" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.11.tgz#0796b31f8d7688007ff0b93a8088d34aa17c0f72" dependencies: - buffer-shims "~1.0.0" core-util-is "~1.0.0" inherits "~2.0.1" isarray "~1.0.0" process-nextick-args "~1.0.6" + safe-buffer "~5.0.1" string_decoder "~1.0.0" util-deprecate "~1.0.1" @@ -2318,6 +2329,10 @@ rxjs@^5.1.1, rxjs@^5.3.0, rxjs@^5.3.1: symbol-observable "^1.0.1" safe-buffer@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.0.tgz#fe4c8460397f9eaaaa58e73be46273408a45e223" + +safe-buffer@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" @@ -2337,9 +2352,9 @@ set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" -shelljs@^0.7.5, shelljs@^0.7.6, shelljs@^0.7.7: - version "0.7.7" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.7.tgz#b2f5c77ef97148f4b4f6e22682e10bba8667cff1" +shelljs@^0.7.5, shelljs@^0.7.6, shelljs@^0.7.7, shelljs@^0.7.8: + version "0.7.8" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3" dependencies: glob "^7.0.0" interpret "^1.0.0" @@ -2381,11 +2396,12 @@ smartcli@^2.0.7: typings-global "^1.0.16" yargs "^8.0.1" -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.3" + resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.3.tgz#5fd44dad77262d110702f0293efa80c072cfb579" dependencies: - typings-global "^1.0.14" + smartq "^1.1.1" + typings-global "^1.0.16" smartenv@^1.2.2, smartenv@^1.2.5: version "1.2.5" @@ -2420,9 +2436,9 @@ smartfile@4.1.6: vinyl "^2.0.1" vinyl-file "^3.0.0" -smartfile@^4.1.0, smartfile@^4.1.9, smartfile@^4.2.11: - version "4.2.11" - resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.11.tgz#20bb3a1411722688135499520de2fd00985becdb" +smartfile@^4.1.0, smartfile@^4.1.9, smartfile@^4.2.17: + version "4.2.17" + resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.17.tgz#9eba8f65eea7e4db51aa30562f6039815a88b125" dependencies: "@types/fs-extra" "3.x.x" "@types/vinyl" "^2.0.0" @@ -2662,10 +2678,10 @@ string_decoder@~0.10.x: resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" string_decoder@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.0.tgz#f06f41157b664d86069f84bdbdc9b0d8ab281667" + version "1.0.2" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.2.tgz#b29e1f4e1125fa97a10382b8a533737b7491e179" dependencies: - buffer-shims "~1.0.0" + safe-buffer "~5.0.1" stringstream@~0.0.4: version "0.0.5" @@ -2720,17 +2736,17 @@ symbol-observable@^1.0.1: resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d" systemjs@^0.20.12: - version "0.20.12" - resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-0.20.12.tgz#135cc471280448453347829ebb9639a09a67f101" + version "0.20.13" + resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-0.20.13.tgz#adcdee167291996e54e8c9ede62da6d50c7f130f" -tapbundle@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.12.tgz#71d29273aad280f5c4e15b2700430b2456a5d364" +tapbundle@^1.0.14: + version "1.0.14" + resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.14.tgz#75827e335fcb02216f0267a26a26d702ddc02e3c" dependencies: 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"