From 6f41865474df68557fd297f7081a90a068cdc02b Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 21 Dec 2018 23:18:22 +0100 Subject: [PATCH] lint --- app/src/entry.ts | 2 +- app/src/plugins.ts | 2 +- package.json | 8 +- terminus-core/src/api/tabRecovery.ts | 2 +- .../src/components/tabBody.component.ts | 2 +- .../src/components/tabHeader.component.ts | 2 +- terminus-core/src/index.ts | 2 +- terminus-core/src/services/config.service.ts | 2 +- terminus-core/src/services/hotkeys.service.ts | 4 +- .../src/services/shellIntegration.service.ts | 4 +- .../src/services/touchbar.service.ts | 4 +- .../src/components/settingsTab.component.ts | 2 +- .../components/settingsTabBody.component.ts | 2 +- terminus-settings/src/index.ts | 3 +- .../editConnectionModal.component.ts | 2 +- terminus-ssh/src/index.ts | 3 +- .../src/components/terminalTab.component.ts | 4 +- terminus-terminal/src/index.ts | 4 +- .../src/services/sessions.service.ts | 4 +- yarn.lock | 168 +++++++----------- 20 files changed, 94 insertions(+), 132 deletions(-) diff --git a/app/src/entry.ts b/app/src/entry.ts index 2a8c639e..34b92ba8 100644 --- a/app/src/entry.ts +++ b/app/src/entry.ts @@ -34,7 +34,7 @@ async function bootstrap (plugins: IPluginInfo[], safeMode = false): Promise { diff --git a/app/src/plugins.ts b/app/src/plugins.ts index cc3ebddb..6c1b015b 100644 --- a/app/src/plugins.ts +++ b/app/src/plugins.ts @@ -118,7 +118,7 @@ export async function findPlugins (): Promise { } try { - let info = JSON.parse(await fs.readFile(infoPath, {encoding: 'utf-8'})) + let info = JSON.parse(await fs.readFile(infoPath, { encoding: 'utf-8' })) if (!info.keywords || !(info.keywords.includes('terminus-plugin') || info.keywords.includes('terminus-builtin-plugin'))) { continue } diff --git a/package.json b/package.json index 8b438bd6..783ecb90 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,6 @@ "graceful-fs": "^4.1.11", "html-loader": "0.4.4", "json-loader": "0.5.4", - "less": "2.7.1", - "less-loader": "2.2.3", "node-abi": "^2.4.4", "node-gyp": "^3.6.2", "node-sass": "^4.5.3", @@ -44,9 +42,9 @@ "style-loader": "0.13.1", "svg-inline-loader": "^0.8.0", "to-string-loader": "1.1.5", - "tslint": "5.1.0", - "tslint-config-standard": "5.0.2", - "tslint-eslint-rules": "4.0.0", + "tslint": "^5.12.0", + "tslint-config-standard": "^8.0.1", + "tslint-eslint-rules": "^5.4.0", "typescript": "^3.1.3", "url-loader": "^1.1.1", "val-loader": "0.5.0", diff --git a/terminus-core/src/api/tabRecovery.ts b/terminus-core/src/api/tabRecovery.ts index f3473e77..b4f3105b 100644 --- a/terminus-core/src/api/tabRecovery.ts +++ b/terminus-core/src/api/tabRecovery.ts @@ -6,5 +6,5 @@ export interface RecoveredTab { } export abstract class TabRecoveryProvider { - abstract async recover (recoveryToken: any): Promise + abstract async recover (recoveryToken: any): Promise } diff --git a/terminus-core/src/components/tabBody.component.ts b/terminus-core/src/components/tabBody.component.ts index 016bb5a5..8ed241bd 100644 --- a/terminus-core/src/components/tabBody.component.ts +++ b/terminus-core/src/components/tabBody.component.ts @@ -17,7 +17,7 @@ import { BaseTabComponent } from '../components/baseTab.component' export class TabBodyComponent implements OnChanges { @Input() @HostBinding('class.active') active: boolean @Input() tab: BaseTabComponent - @ViewChild('placeholder', {read: ViewContainerRef}) placeholder: ViewContainerRef + @ViewChild('placeholder', { read: ViewContainerRef }) placeholder: ViewContainerRef ngOnChanges (changes) { if (changes.tab) { diff --git a/terminus-core/src/components/tabHeader.component.ts b/terminus-core/src/components/tabHeader.component.ts index 1153b8a1..18fa92b1 100644 --- a/terminus-core/src/components/tabHeader.component.ts +++ b/terminus-core/src/components/tabHeader.component.ts @@ -113,7 +113,7 @@ export class TabHeaderComponent { }, { label: 'Rename', - click: () => this.zone.run( () => this.showRenameTabModal() ) + click: () => this.zone.run(() => this.showRenameTabModal()) }, { label: 'Color', diff --git a/terminus-core/src/index.ts b/terminus-core/src/index.ts index 0d755dc7..2d3ae6c4 100644 --- a/terminus-core/src/index.ts +++ b/terminus-core/src/index.ts @@ -37,7 +37,7 @@ const PROVIDERS = [ { provide: Theme, useClass: StandardCompactTheme, multi: true }, { provide: Theme, useClass: PaperTheme, multi: true }, { provide: ConfigProvider, useClass: CoreConfigProvider, multi: true }, - { provide: PERFECT_SCROLLBAR_CONFIG, useValue: { suppressScrollX: true }} + { provide: PERFECT_SCROLLBAR_CONFIG, useValue: { suppressScrollX: true } } ] @NgModule({ diff --git a/terminus-core/src/services/config.service.ts b/terminus-core/src/services/config.service.ts index fc13e6fd..44511910 100644 --- a/terminus-core/src/services/config.service.ts +++ b/terminus-core/src/services/config.service.ts @@ -56,7 +56,7 @@ export class ConfigProxy { return real[key] } else { if (isNonStructuralObjectMember(defaults[key])) { - real[key] = {...defaults[key]} + real[key] = { ...defaults[key] } delete real[key].__nonStructural return real[key] } else { diff --git a/terminus-core/src/services/hotkeys.service.ts b/terminus-core/src/services/hotkeys.service.ts index f921f338..ff371c70 100644 --- a/terminus-core/src/services/hotkeys.service.ts +++ b/terminus-core/src/services/hotkeys.service.ts @@ -80,8 +80,8 @@ export class HotkeysService { } getCurrentKeystrokes (): string[] { - this.currentKeystrokes = this.currentKeystrokes.filter((x) => performance.now() - x.time < KEY_TIMEOUT ) - return stringifyKeySequence(this.currentKeystrokes.map((x) => x.event)) + this.currentKeystrokes = this.currentKeystrokes.filter(x => performance.now() - x.time < KEY_TIMEOUT) + return stringifyKeySequence(this.currentKeystrokes.map(x => x.event)) } registerGlobalHotkey () { diff --git a/terminus-core/src/services/shellIntegration.service.ts b/terminus-core/src/services/shellIntegration.service.ts index 8ec2f079..cf6e55d2 100644 --- a/terminus-core/src/services/shellIntegration.service.ts +++ b/terminus-core/src/services/shellIntegration.service.ts @@ -48,9 +48,9 @@ export class ShellIntegrationService { async isInstalled (): Promise { if (this.hostApp.platform === Platform.macOS) { - return await fs.exists(path.join(this.automatorWorkflowsDestination, this.automatorWorkflows[0])) + return fs.exists(path.join(this.automatorWorkflowsDestination, this.automatorWorkflows[0])) } else if (this.hostApp.platform === Platform.Windows) { - return await Registry.has(this.registryKeys[0].path) + return Registry.has(this.registryKeys[0].path) } return true } diff --git a/terminus-core/src/services/touchbar.service.ts b/terminus-core/src/services/touchbar.service.ts index 8bd3dacd..72133226 100644 --- a/terminus-core/src/services/touchbar.service.ts +++ b/terminus-core/src/services/touchbar.service.ts @@ -49,8 +49,8 @@ export class TouchbarService { let touchBar = new this.electron.TouchBar({ items: [ this.tabsSegmentedControl, - new this.electron.TouchBar.TouchBarSpacer({size: 'flexible'}), - new this.electron.TouchBar.TouchBarSpacer({size: 'small'}), + new this.electron.TouchBar.TouchBarSpacer({ size: 'flexible' }), + new this.electron.TouchBar.TouchBarSpacer({ size: 'small' }), ...buttons.map(button => this.getButton(button)) ] }) diff --git a/terminus-settings/src/components/settingsTab.component.ts b/terminus-settings/src/components/settingsTab.component.ts index d509a18d..55c44fc2 100644 --- a/terminus-settings/src/components/settingsTab.component.ts +++ b/terminus-settings/src/components/settingsTab.component.ts @@ -2,12 +2,12 @@ import * as yaml from 'js-yaml' import * as os from 'os' import { Subscription } from 'rxjs' import { Component, Inject, Input, HostBinding } from '@angular/core' -import { HotkeysService } from 'terminus-core' import { ElectronService, DockingService, ConfigService, IHotkeyDescription, + HotkeysService, BaseTabComponent, Theme, HostAppService, diff --git a/terminus-settings/src/components/settingsTabBody.component.ts b/terminus-settings/src/components/settingsTabBody.component.ts index 5060b023..6d83b54f 100644 --- a/terminus-settings/src/components/settingsTabBody.component.ts +++ b/terminus-settings/src/components/settingsTabBody.component.ts @@ -7,7 +7,7 @@ import { SettingsTabProvider } from '../api' }) export class SettingsTabBodyComponent { @Input() provider: SettingsTabProvider - @ViewChild('placeholder', {read: ViewContainerRef}) placeholder: ViewContainerRef + @ViewChild('placeholder', { read: ViewContainerRef }) placeholder: ViewContainerRef component: ComponentRef constructor (private componentFactoryResolver: ComponentFactoryResolver) { } diff --git a/terminus-settings/src/index.ts b/terminus-settings/src/index.ts index 92c021ff..1fe0d62d 100644 --- a/terminus-settings/src/index.ts +++ b/terminus-settings/src/index.ts @@ -4,8 +4,7 @@ import { FormsModule } from '@angular/forms' import { NgbModule } from '@ng-bootstrap/ng-bootstrap' import { NgPipesModule } from 'ngx-pipes' -import { ToolbarButtonProvider, TabRecoveryProvider, HotkeyProvider, ConfigProvider } from 'terminus-core' -import TerminusCorePlugin from 'terminus-core' +import TerminusCorePlugin, { ToolbarButtonProvider, TabRecoveryProvider, HotkeyProvider, ConfigProvider } from 'terminus-core' import { HotkeyInputModalComponent } from './components/hotkeyInputModal.component' import { MultiHotkeyInputComponent } from './components/multiHotkeyInput.component' diff --git a/terminus-ssh/src/components/editConnectionModal.component.ts b/terminus-ssh/src/components/editConnectionModal.component.ts index 560b91f5..ea0bded5 100644 --- a/terminus-ssh/src/components/editConnectionModal.component.ts +++ b/terminus-ssh/src/components/editConnectionModal.component.ts @@ -76,7 +76,7 @@ export class EditConnectionModalComponent { if (!this.connection.scripts) { this.connection.scripts = [] } - this.connection.scripts.push({...this.newScript}) + this.connection.scripts.push({ ...this.newScript }) this.clearScript() } diff --git a/terminus-ssh/src/index.ts b/terminus-ssh/src/index.ts index 81f252ba..77f31ee7 100644 --- a/terminus-ssh/src/index.ts +++ b/terminus-ssh/src/index.ts @@ -3,8 +3,7 @@ import { CommonModule } from '@angular/common' import { FormsModule } from '@angular/forms' import { NgbModule } from '@ng-bootstrap/ng-bootstrap' import { ToastrModule } from 'ngx-toastr' -import { ToolbarButtonProvider, ConfigProvider } from 'terminus-core' -import TerminusCoreModule from 'terminus-core' +import TerminusCoreModule, { ToolbarButtonProvider, ConfigProvider } from 'terminus-core' import { SettingsTabProvider } from 'terminus-settings' import { EditConnectionModalComponent } from './components/editConnectionModal.component' diff --git a/terminus-terminal/src/components/terminalTab.component.ts b/terminus-terminal/src/components/terminalTab.component.ts index 89e3cb1b..97db75a5 100644 --- a/terminus-terminal/src/components/terminalTab.component.ts +++ b/terminus-terminal/src/components/terminalTab.component.ts @@ -164,7 +164,7 @@ export class TerminalTabComponent extends BaseTabComponent { this.htermVisible = true }) - this.frontend.resize$.pipe(first()).subscribe(async ({columns, rows}) => { + this.frontend.resize$.pipe(first()).subscribe(async ({ columns, rows }) => { if (!this.session.open) { this.initializeSession(columns, rows) } @@ -301,7 +301,7 @@ export class TerminalTabComponent extends BaseTabComponent { this.sendInput(data) }), - this.frontend.resize$.subscribe(({columns, rows}) => { + this.frontend.resize$.subscribe(({ columns, rows }) => { console.log(`Resizing to ${columns}x${rows}`) this.zone.run(() => { if (this.session.open) { diff --git a/terminus-terminal/src/index.ts b/terminus-terminal/src/index.ts index 6759f3b3..eff7ced1 100644 --- a/terminus-terminal/src/index.ts +++ b/terminus-terminal/src/index.ts @@ -5,10 +5,8 @@ import { BrowserModule } from '@angular/platform-browser' import { FormsModule } from '@angular/forms' import { NgbModule } from '@ng-bootstrap/ng-bootstrap' import { ToastrModule } from 'ngx-toastr' -import TerminusCorePlugin from 'terminus-core' -import { HostAppService } from 'terminus-core' -import { ToolbarButtonProvider, TabRecoveryProvider, ConfigProvider, HotkeysService, HotkeyProvider, AppService, ConfigService } from 'terminus-core' +import TerminusCorePlugin, { HostAppService, ToolbarButtonProvider, TabRecoveryProvider, ConfigProvider, HotkeysService, HotkeyProvider, AppService, ConfigService } from 'terminus-core' import { SettingsTabProvider } from 'terminus-settings' import { AppearanceSettingsTabComponent } from './components/appearanceSettingsTab.component' diff --git a/terminus-terminal/src/services/sessions.service.ts b/terminus-terminal/src/services/sessions.service.ts index 210c18b4..fb6a0458 100644 --- a/terminus-terminal/src/services/sessions.service.ts +++ b/terminus-terminal/src/services/sessions.service.ts @@ -181,7 +181,7 @@ export class Session extends BaseSession { })) } if (process.platform === 'win32') { - return await new Promise(resolve => { + return new Promise(resolve => { windowsProcessTree.getProcessTree(this.truePID, tree => { resolve(tree ? tree.children.map(child => ({ pid: child.pid, @@ -241,7 +241,7 @@ export class Session extends BaseSession { } } if (process.platform === 'linux') { - return await fs.readlink(`/proc/${this.truePID}/cwd`) + return fs.readlink(`/proc/${this.truePID}/cwd`) } return null } diff --git a/yarn.lock b/yarn.lock index f9115503..9116180d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1058,7 +1058,7 @@ builder-util@9.6.0, builder-util@~9.6.0: stat-mode "^0.2.2" temp-file "^3.3.2" -builtin-modules@^1.0.0: +builtin-modules@^1.0.0, builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= @@ -1253,7 +1253,7 @@ chainsaw@~0.1.0: chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" - resolved "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= dependencies: ansi-styles "^2.2.1" @@ -1262,7 +1262,7 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.1: +chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== @@ -1486,7 +1486,7 @@ colormin@^1.0.5: css-color-names "0.0.4" has "^1.0.1" -colors@^1.1.2, colors@^1.2.0: +colors@^1.2.0: version "1.3.2" resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.2.tgz#2df8ff573dfbf255af562f8ce7181d6b971a359b" integrity sha512-rhP0JSBGYvpcNQj4s5AdShMeE5ahMop96cTeDl/v9qQQm2fYClE2QXZRi8wLzc+GmXSxdIqqbOIAhyObEXDbfQ== @@ -1523,6 +1523,11 @@ commander@2.17.x, commander@^2.9.0, commander@~2.17.1: resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== +commander@^2.12.1: + version "2.19.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" + integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== + commander@~2.16.0: version "2.16.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.16.0.tgz#f16390593996ceb4f3eeb020b31d78528f7f8a50" @@ -2064,7 +2069,7 @@ dmg-builder@6.5.2: parse-color "^1.0.0" sanitize-filename "^1.6.1" -doctrine@^0.7.2: +doctrine@0.7.2: version "0.7.2" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-0.7.2.tgz#7cb860359ba3be90e040b26b729ce4bfa654c523" integrity sha1-fLhgNZujvpDgQLJrcpzkv6ZUxSM= @@ -2341,7 +2346,7 @@ err-code@^1.0.0: resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA= -"errno@>=0.1.1 <0.2.0-0", errno@^0.1.1, errno@^0.1.3, errno@~0.1.7: +"errno@>=0.1.1 <0.2.0-0", errno@^0.1.3, errno@~0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" integrity sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg== @@ -2643,13 +2648,6 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -findup-sync@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.3.0.tgz#37930aa5d816b777c03445e1966cc6790a4c0b16" - integrity sha1-N5MKpdgWt3fANEXhlmzGeQpMCxY= - dependencies: - glob "~5.0.0" - flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" @@ -2967,17 +2965,6 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@~7.1.1, gl once "^1.3.0" path-is-absolute "^1.0.0" -glob@~5.0.0: - version "5.0.15" - resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" - integrity sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E= - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "2 || 3" - once "^1.3.0" - path-is-absolute "^1.0.0" - global-dirs@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -3294,11 +3281,6 @@ ignore-walk@^3.0.1: dependencies: minimatch "^3.0.4" -image-size@~0.5.0: - version "0.5.5" - resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c" - integrity sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w= - import-lazy@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" @@ -3703,7 +3685,7 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.5.2: +js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.5.2, js-yaml@^3.7.0: version "3.12.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" integrity sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A== @@ -3908,26 +3890,6 @@ lcid@^2.0.0: dependencies: invert-kv "^2.0.0" -less-loader@2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-2.2.3.tgz#b6d8f8139c8493df09d992a93a00734b08f84528" - integrity sha1-ttj4E5yEk98J2ZKpOgBzSwj4RSg= - dependencies: - loader-utils "^0.2.5" - -less@2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/less/-/less-2.7.1.tgz#6cbfea22b3b830304e9a5fb371d54fa480c9d7cf" - integrity sha1-bL/qIrO4MDBOml+zcdVPpIDJ188= - optionalDependencies: - errno "^0.1.1" - graceful-fs "^4.1.2" - image-size "~0.5.0" - mime "^1.2.11" - mkdirp "^0.5.0" - promise "^7.1.1" - source-map "^0.5.3" - libnpx@10.2.0: version "10.2.0" resolved "https://registry.yarnpkg.com/libnpx/-/libnpx-10.2.0.tgz#1bf4a1c9f36081f64935eb014041da10855e3102" @@ -3958,7 +3920,7 @@ loader-runner@^2.3.0: resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.1.tgz#026f12fe7c3115992896ac02ba022ba92971b979" integrity sha512-By6ZFY7ETWOc9RFaAIb23IjJVcM4dvJC/N57nmdz9RSkMXvAXGI7SyVlAw3v8vjtDRlqThgVDVmTnr9fqMlxkw== -loader-utils@0.2.x, loader-utils@^0.2.11, loader-utils@^0.2.14, loader-utils@^0.2.15, loader-utils@^0.2.16, loader-utils@^0.2.5, loader-utils@^0.2.7, loader-utils@~0.2.6: +loader-utils@0.2.x, loader-utils@^0.2.11, loader-utils@^0.2.14, loader-utils@^0.2.15, loader-utils@^0.2.16, loader-utils@^0.2.7, loader-utils@~0.2.6: version "0.2.17" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" integrity sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g= @@ -4339,11 +4301,6 @@ mime-types@~2.1.17, mime-types@~2.1.7: dependencies: mime-db "~1.36.0" -mime@^1.2.11: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - mime@^2.0.3, mime@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369" @@ -4386,11 +4343,6 @@ minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0: resolved "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= - minipass@^2.2.1, minipass@^2.3.3: version "2.3.4" resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.4.tgz#4768d7605ed6194d6d576169b9e12ef71e9d9957" @@ -5069,14 +5021,6 @@ opener@~1.4.3: resolved "https://registry.yarnpkg.com/opener/-/opener-1.4.3.tgz#5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8" integrity sha1-XG2ixdflgx6P+jlklQ+NZnSskLg= -optimist@~0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" - integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY= - dependencies: - minimist "~0.0.1" - wordwrap "~0.0.2" - ora@^1.2.0: version "1.4.0" resolved "https://registry.yarnpkg.com/ora/-/ora-1.4.0.tgz#884458215b3a5d4097592285f93321bb7a79e2e5" @@ -5313,7 +5257,7 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-parse@^1.0.5: +path-parse@^1.0.5, path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== @@ -5733,7 +5677,7 @@ promise-retry@^1.1.1: err-code "^1.0.0" retry "^0.10.0" -promise@^7.0.1, promise@^7.1.1: +promise@^7.0.1: version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" integrity sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== @@ -6435,13 +6379,20 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.3.2: +resolve@^1.1.6, resolve@^1.1.7: version "1.8.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" integrity sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA== dependencies: path-parse "^1.0.5" +resolve@^1.3.2: + version "1.9.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06" + integrity sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ== + dependencies: + path-parse "^1.0.6" + restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -6579,12 +6530,12 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.5.0, semver@^5.5.1: +"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.5.0, semver@^5.5.1: version "5.5.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.1.tgz#7dfdd8814bdb7cabc7be0fb1d734cfb66c940477" integrity sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw== -"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.6.0: version "5.6.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== @@ -7395,46 +7346,63 @@ truncate-utf8-bytes@^1.0.0: dependencies: utf8-byte-length "^1.0.1" -tslib@^1.0.0, tslib@^1.9.0: +tslib@1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8" + integrity sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ== + +tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== -tslint-config-standard@5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-5.0.2.tgz#e98fd5c412a6b973798366dc2c85508cf0ed740f" - integrity sha1-6Y/VxBKmuXN5g2bcLIVQjPDtdA8= +tslint-config-standard@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/tslint-config-standard/-/tslint-config-standard-8.0.1.tgz#e4dd3128e84b0e34b51990b68715a641f2b417e4" + integrity sha512-OWG+NblgjQlVuUS/Dmq3ax2v5QDZwRx4L0kEuDi7qFY9UI6RJhhNfoCV1qI4el8Fw1c5a5BTrjQJP0/jhGXY/Q== dependencies: - tslint-eslint-rules "^4.0.0" + tslint-eslint-rules "^5.3.1" -tslint-eslint-rules@4.0.0, tslint-eslint-rules@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/tslint-eslint-rules/-/tslint-eslint-rules-4.0.0.tgz#4e0e59ecd5701c9a48c66ed47bdcafb1c635d27b" - integrity sha1-Tg5Z7NVwHJpIxm7Ue9yvscY10ns= +tslint-eslint-rules@^5.3.1, tslint-eslint-rules@^5.4.0: + version "5.4.0" + resolved "https://registry.yarnpkg.com/tslint-eslint-rules/-/tslint-eslint-rules-5.4.0.tgz#e488cc9181bf193fe5cd7bfca213a7695f1737b5" + integrity sha512-WlSXE+J2vY/VPgIcqQuijMQiel+UtmXS+4nvK4ZzlDiqBfXse8FAvkNnTcYhnQyOTW5KFM+uRRGXxYhFpuBc6w== dependencies: - doctrine "^0.7.2" - tslib "^1.0.0" - tsutils "^1.4.0" + doctrine "0.7.2" + tslib "1.9.0" + tsutils "^3.0.0" -tslint@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.1.0.tgz#51a47baeeb58956fcd617bd2cf00e2ef0eea2ed9" - integrity sha1-UaR7rutYlW/NYXvSzwDi7w7qLtk= +tslint@^5.12.0: + version "5.12.0" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.12.0.tgz#47f2dba291ed3d580752d109866fb640768fca36" + integrity sha512-CKEcH1MHUBhoV43SA/Jmy1l24HJJgI0eyLbBNSRyFlsQvb9v6Zdq+Nz2vEOH00nC5SUx4SneJ59PZUS/ARcokQ== dependencies: babel-code-frame "^6.22.0" - colors "^1.1.2" + builtin-modules "^1.1.1" + chalk "^2.3.0" + commander "^2.12.1" diff "^3.2.0" - findup-sync "~0.3.0" glob "^7.1.1" - optimist "~0.6.0" + js-yaml "^3.7.0" + minimatch "^3.0.4" resolve "^1.3.2" semver "^5.3.0" - tsutils "^1.4.0" + tslib "^1.8.0" + tsutils "^2.27.2" -tsutils@^1.4.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.9.1.tgz#b9f9ab44e55af9681831d5f28d0aeeaf5c750cb0" - integrity sha1-ufmrROVa+WgYMdXyjQrur1x1DLA= +tsutils@^2.27.2: + version "2.29.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.29.0.tgz#32b488501467acbedd4b85498673a0812aca0b99" + integrity sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA== + dependencies: + tslib "^1.8.1" + +tsutils@^3.0.0: + version "3.5.2" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.5.2.tgz#6fd3c2d5a731e83bb21b070a173ec0faf3a8f6d3" + integrity sha512-qIlklNuI/1Dzfm+G+kJV5gg3gimZIX5haYtIVQe7qGyKd7eu8T1t1DY6pz4Sc2CGXAj9s1izycctm9Zfl9sRuQ== + dependencies: + tslib "^1.8.1" tty-browserify@0.0.0: version "0.0.0" @@ -7862,7 +7830,7 @@ with@^5.0.0: acorn "^3.1.0" acorn-globals "^3.0.0" -wordwrap@0.0.2, wordwrap@~0.0.2: +wordwrap@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" integrity sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=