diff --git a/.editorconfig b/.editorconfig index f352616..6e87a00 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,10 +5,9 @@ root = true charset = utf-8 indent_style = space indent_size = 2 -end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true [*.md] -max_line_length = 0 +max_line_length = off trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index c601905..711eb14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,41 @@ -.idea/ -typings/ -node_modules/ -dist/ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output +/dist +/tmp +/out-tsc +/.ng_pkg_build + +# dependencies +/node_modules + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# misc +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +yarn-error.log +testem.log +/typings + +# System Files .DS_Store -aot/ -!example/dist \ No newline at end of file +Thumbs.db +dist.tgz diff --git a/.npmignore b/.npmignore deleted file mode 100644 index b089d87..0000000 --- a/.npmignore +++ /dev/null @@ -1,15 +0,0 @@ -example/ -typings/ -.idea/ -.gitignore -index.html -tsconfig.json -typings.json -webpack.config.js -src/ -aot/ -.npmignore -karma-test-shim.js -karma.conf.js -CHANGELOG.md -rollup.config.js \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f2b2338..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - "4" - - "5" - - "6" \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 42da133..dae2145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,41 +1,36 @@ -# v3.4.0 - -add lt and gt validator - -# v3.5.0 - -re-trigger validate when validate-property change - -# v3.6.0 - -Improved US Phone Number formats -detail see https://github.com/yuyang041060120/ng2-validation/pull/43/ - -# v3.7.0 - -code split - -# v3.7.1 - -add umd file - -# v3.8.0 - -[#33](https://github.com/yuyang041060120/ng2-validation/issues/33) - -# v3.9.0 - -upgrade to angular 4 - -# v3.9.1 - -upgrade dev dependencies and webpack@2.x.x - -# v4.0.0 - -- support libphonenumber [#23](https://github.com/yuyang041060120/ng2-validation/issues/23) -- add lte and gte validator [#69](https://github.com/yuyang041060120/ng2-validation/issues/69) - -# v4.2.0 - -- add error details in range validator [#82](https://github.com/yuyang041060120/ng2-validation/issues/82) \ No newline at end of file +### [7.0.0] +- Angular 7 support +### [6.1.0] +- Merge pull request [#15](https://github.com/rsaenen/ngx-custom-validators/pull/15) +### [6.0.5] +- Fix issue [#11](https://github.com/rsaenen/ngx-custom-validators/issues/11) +### [6.0.4] +- Fix issue [#11](https://github.com/rsaenen/ngx-custom-validators/issues/11) +### [6.0.3] +- Modificiation of ArrayLength validator attribute (string -> number) +- Using ValidationErrors from @angular/forms to replace {[key: string]: any} +- Fix issue [#12](https://github.com/rsaenen/ngx-custom-validators/issues/12) +- Update dependencies +### [6.0.2] +- Fix issue with date/min-date/max-date validators with Moment.js and NgbDateStruct for months January and December +### [6.0.1] +- Date supports Moment.js +### [6.0.0] +- Angular 6 support +- Rename repository to ngx-custom-validators +### [5.1.0] +- Fix dependencies causing issues in some cases, dependencies should be devDependencies +- Remove `package-lock.json` see [angular-cli/angular-cli#7334](https://github.com/angular/angular-cli/issues/7334) +- Separated CHANGELOG created. +- ISSUE_TEMPLATE created. +### [5.0.3] +- Fix issue `ngModel` equals to null with `maxDate` and `minDate`. +### [5.0.2] +- fix for `max-date` and `min-date` validators +- ngModel type [ngbDateStruct](https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/datepicker/ngb-date-struct.ts) support for maxDate and minDate. +- Changelog initialization. +### [5.0.1] +- **Breaking change** Directive `email` renamed to `ngvemail` see [rsaenen/ngx-custom-validators#5](https://github.com/rsaenen/ngx-custom-validators/issues/5) +- Remove deprecated animations use for dev +### [5.0.0] +- Property validator with multiple properties check/Update dev dependencies (Angular 5) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..b1dd843 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,25 @@ +**IMPORTANT:** +_Please be specific with an example. An issue with_ + +**Steps to reproduce and a minimal demo** + + - _What steps should we try in your demo to see the problem?_ + - _Plunker example Appreciated_ + +**Current behavior** + + - + +**Expected/desired behavior** + + - + +**Environment information** + + - OS: + - Angular Version: + - Typescript version: + - npm version: + - Node Version: + +**Other information** diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 7bc8add..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 YangYang Yu - -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/README.md b/README.md index b852d9d..6c681c3 100644 --- a/README.md +++ b/README.md @@ -1,66 +1,72 @@ # Description -Angular2 custom validation, inspired by jQuery validation. +Angular Custom Validators, forked from [ng2-validation](https://github.com/yuyang041060120/ng2-validation). +Directives for form validation (template or model driven). -# Install +# Installation ```bash -npm install ng2-validation --save -``` -# Systemjs - -```bash -'ng2-validation': 'npm:ng2-validation/bundles/ng2-validation.umd.js' +npm i ngx-custom-validators --save ``` # Validators -## angular2 built-in validators +## Angular built-in validators -- required -- minlength - maxlength +- minlength - pattern +- required -## custom validators +## Custom validators -- rangeLength -- min -- gt -- gte -- max -- lt -- lte -- range +- array length +- base64 +- credit card +- date +- date ISO - digits -- number -- url - email -- date -- minDate -- maxDate -- dateISO -- creditCard +- equal +- not equal +- equal to +- not equal to +- greater than +- greater than or equal - json -- base64 -- phone +- less than +- less than or equal +- max +- max date +- min +- min date +- not equal +- not equal to +- number +- property +- range +- range length +- url - uuid -- equal -- notEqual -- equalTo -- notEqualTo # Usage -## template driven +The paramater of each validator (if it has) can be accessible in the template with `reason`. +```html + + +

error message and must be greater than {{ field.errors?.reason }}

+``` + +## Template driven import `FormsModule` and `CustomFormsModule` in *app.module.ts* -```javascript +```typescript import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; -import { CustomFormsModule } from 'ng2-validation' +import { CustomFormsModule } from 'ngx-custom-validators'; import { AppComponent } from './app.component'; @@ -73,152 +79,153 @@ export class AppModule { } ``` -### rangeLength +### range length - rangeLength ```html - +

error message

``` ### min ```html - +

error message

``` -### gt +### greater than - gt ```html - +

error message

``` -### gte +### greater than or equal - gte ```html - +

error message

``` ### max ```html - +

error message

``` -### lt +### less than - lt ```html - +

error message

``` -### lte +### less than or equal - lte ```html - +

error message

``` ### range ```html - +

error message

``` ### digits ```html - +

error message

``` ### number ```html - +

error message

``` ### url ```html - +

error message

``` ### email ```html - +

error message

``` ### date ```html - +

error message

``` -### minDate +### min date - minDate + +```html + +

error message

+``` ```html - +

error message

``` -### maxDate +### max date - maxDate ```html - +

error message

``` -### dateISO +```html + +

error message

+``` + +### date ISO - dateISO ```html - +

error message

``` -### creditCard +### credit card - creditCard ```html - +

error message

``` ### json ```html - +

error message

``` ### base64 ```html - +

error message

``` -### phone - -```html - -

error message

-``` - -details see [libphonenumber](https://github.com/halt-hammerzeit/libphonenumber-js) - ### uuid ```html - +

error message

``` @@ -234,40 +241,65 @@ details see [libphonenumber](https://github.com/halt-hammerzeit/libphonenumber-j ### equal ```html - +

error message

``` -### equal +### not equal - notEqual ```html - +

error message

``` -### equalTo +### equal to - equalTo ```html - +

required error

- +

equalTo error

``` -### notEqualTo +### not equal to - notEqualTo ```html - +

required error

- +

equalTo error

``` -## model driven +### property + +```typescript +public obj = { id: 1 } // OK +public obj = { name: 'baguette' } // KO +``` + +```html + + + +

property error

+``` + +### array length - ArrayLength +```typescript +public arr = [{ name: 'baguette' }, { name: 'croisant' }] // OK +public arr = [{ name: 'baguette' }] // KO +``` + +```html + +

arrayLength error

+``` + +## Model driven import `ReactiveFormsModule` in *app.module.ts* -```javascript +```typescript import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { ReactiveFormsModule } from '@angular/forms'; @@ -285,10 +317,10 @@ export class AppModule { import `CustomValidators` in *app.component.ts* -```javascript +```typescript import { Component } from '@angular/core'; import { FormGroup, FormControl } from '@angular/forms'; -import { CustomValidators } from 'ng2-validation'; +import { CustomValidators } from 'ngx-custom-validators'; @Component({ selector: 'app', @@ -306,139 +338,133 @@ export class AppComponent { ``` ```html - +

error message

``` -### rangeLength +### range length - rangeLenght -```javascript +```typescript new FormControl('', CustomValidators.rangeLength([5, 9])) ``` ### min -```javascript +```typescript new FormControl('', CustomValidators.min(10)) ``` -### gt +### greater than - gt -```javascript +```typescript new FormControl('', CustomValidators.gt(10)) ``` ### max -```javascript +```typescript new FormControl('', CustomValidators.max(20)) ``` -### lt +### less than - lt -```javascript +```typescript new FormControl('', CustomValidators.lt(20)) ``` ### range -```javascript +```typescript new FormControl('', CustomValidators.range([10, 20])) ``` ### digits -```javascript +```typescript new FormControl('', CustomValidators.digits) ``` ### number -```javascript +```typescript new FormControl('', CustomValidators.number) ``` ### url -```javascript +```typescript new FormControl('', CustomValidators.url) ``` ### email -```javascript +```typescript new FormControl('', CustomValidators.email) ``` ### date -```javascript +```typescript new FormControl('', CustomValidators.date) ``` -### minDate +### min date - minDate -```javascript +```typescript new FormControl('', CustomValidators.minDate('2016-09-09')) ``` -### maxDate +### max date - maxDate -```javascript +```typescript new FormControl('', CustomValidators.maxDate('2016-09-09')) ``` -### dateISO +### date ISO - dateISO -```javascript +```typescript new FormControl('', CustomValidators.dateISO) ``` -### creditCard +### credit card - creditCard -```javascript +```typescript new FormControl('', CustomValidators.creditCard) ``` ### json -```javascript +```typescript new FormControl('', CustomValidators.json) ``` ### base64 -```javascript +```typescript new FormControl('', CustomValidators.base64) ``` -### phone - -```javascript -new FormControl('', CustomValidators.phone('zh-CN')) -``` - ### uuid -```javascript +```typescript new FormControl('', CustomValidators.uuid('3')) ``` ### equal -```javascript +```typescript new FormControl('', CustomValidators.equal('xxx')) ``` -### notEqual +### not equal - notEqual -```javascript +```typescript new FormControl('', CustomValidators.notEqual('xxx')) ``` -### equalTo +### equal to - equalTo -```javascript +```typescript let password = new FormControl('', Validators.required); let certainPassword = new FormControl('', CustomValidators.equalTo(password)); @@ -450,16 +476,16 @@ this.form = new FormGroup({ ```html
- +

required error

- +

equalTo error

``` -### notEqualTo +### not equal to - notEqualTo -```javascript +```typescript let password = new FormControl('', Validators.required); let certainPassword = new FormControl('', CustomValidators.notEqualTo(password)); @@ -471,13 +497,46 @@ this.form = new FormGroup({ ```html
- +

required error

- +

notEqualTo error

``` -# License +### property +```typescript +public obj = { id: 1 }; + +this.form = new FormGroup({ + obj: new FormControl('', CustomValidators.property('id')) + // For multiple properties check + obj: new FormControl('', CustomValidators.property('id,value,name')) +}); +``` + +```html +
+ +

property error

+
+``` + +### array length - ArrayLength +```typescript +public arr = [{ name: 'baguette' }, { name: 'croisant' }] +this.form = new FormGroup({ + arr: new FormControl('', CustomValidators.arrayLength(2)) +}); +``` + +```html +
+ +

arrayLength error

+
+``` -MIT +# For developpers +To run the projet : `npm start` +Don't forget to run `npm test` and `npm lint` before each pull request. Thanks ! diff --git a/angular.json b/angular.json new file mode 100644 index 0000000..1d95f8f --- /dev/null +++ b/angular.json @@ -0,0 +1,122 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "ngx-custom-validators": { + "root": "", + "sourceRoot": "src", + "projectType": "application", + "prefix": "app", + "schematics": {}, + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist/ngx-custom-validators", + "index": "src/index.html", + "main": "src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/tsconfig.app.json", + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css" + ], + "scripts": [] + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "extractCss": true, + "namedChunks": false, + "aot": true, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "ngx-custom-validators:build" + }, + "configurations": { + "production": { + "browserTarget": "ngx-custom-validators:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "ngx-custom-validators:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/tsconfig.spec.json", + "karmaConfig": "src/karma.conf.js", + "styles": [ + "src/styles.css" + ], + "scripts": [], + "assets": [ + "src/favicon.ico", + "src/assets" + ] + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "src/tsconfig.app.json", + "src/tsconfig.spec.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + } + } + }, + "ngx-custom-validators-e2e": { + "root": "e2e/", + "projectType": "application", + "architect": { + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "ngx-custom-validators:serve" + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": "e2e/tsconfig.e2e.json", + "exclude": [ + "**/node_modules/**" + ] + } + } + } + } + }, + "defaultProject": "ngx-custom-validators" +} \ No newline at end of file diff --git a/bundles/ng2-validation.umd.js b/bundles/ng2-validation.umd.js deleted file mode 100644 index 8ba702b..0000000 --- a/bundles/ng2-validation.umd.js +++ /dev/null @@ -1,1169 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('libphonenumber-js')) : - typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/forms', 'libphonenumber-js'], factory) : - (factory((global.ng = global.ng || {}, global.ng.validation = global.ng.validation || {}),global.ng.core,global.ng.forms,global.libphonenumberJs)); -}(this, (function (exports,_angular_core,_angular_forms,libphonenumberJs) { 'use strict'; - -function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} - -function __metadata(k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -} - -var BASE64_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return Base64Validator$$1; }), - multi: true -}; -var Base64Validator$$1 = (function () { - function Base64Validator$$1() { - } - Base64Validator$$1.prototype.validate = function (c) { - return base64(c); - }; - return Base64Validator$$1; -}()); -Base64Validator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[base64][formControlName],[base64][formControl],[base64][ngModel]', - providers: [BASE64_VALIDATOR] - }) -], Base64Validator$$1); - -function isPresent(obj) { - return obj !== undefined && obj !== null; -} -function isDate(obj) { - return !/Invalid|NaN/.test(new Date(obj).toString()); -} - -var base64 = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return /^(?:[A-Z0-9+\/]{4})*(?:[A-Z0-9+\/]{2}==|[A-Z0-9+\/]{3}=|[A-Z0-9+\/]{4})$/i.test(v) ? null : { 'base64': true }; -}; - -var CREDIT_CARD_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return CreditCardValidator$$1; }), - multi: true -}; -var CreditCardValidator$$1 = (function () { - function CreditCardValidator$$1() { - } - CreditCardValidator$$1.prototype.validate = function (c) { - return creditCard(c); - }; - return CreditCardValidator$$1; -}()); -CreditCardValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[creditCard][formControlName],[creditCard][formControl],[creditCard][ngModel]', - providers: [CREDIT_CARD_VALIDATOR] - }) -], CreditCardValidator$$1); - -var creditCard = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - var sanitized = v.replace(/[^0-9]+/g, ''); - // problem with chrome - if (!(/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/.test(sanitized))) { - return { creditCard: true }; - } - var sum = 0; - var digit; - var tmpNum; - var shouldDouble; - for (var i = sanitized.length - 1; i >= 0; i--) { - digit = sanitized.substring(i, (i + 1)); - tmpNum = parseInt(digit, 10); - if (shouldDouble) { - tmpNum *= 2; - if (tmpNum >= 10) { - sum += ((tmpNum % 10) + 1); - } - else { - sum += tmpNum; - } - } - else { - sum += tmpNum; - } - shouldDouble = !shouldDouble; - } - if (Boolean((sum % 10) === 0 ? sanitized : false)) { - return null; - } - return { creditCard: true }; -}; - -var DATE_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return DateValidator$$1; }), - multi: true -}; -var DateValidator$$1 = (function () { - function DateValidator$$1() { - } - DateValidator$$1.prototype.validate = function (c) { - return date(c); - }; - return DateValidator$$1; -}()); -DateValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[date][formControlName],[date][formControl],[date][ngModel]', - providers: [DATE_VALIDATOR] - }) -], DateValidator$$1); - -var date = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return isDate(v) ? null : { date: true }; -}; - -var DATE_ISO_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return DateISOValidator$$1; }), - multi: true -}; -var DateISOValidator$$1 = (function () { - function DateISOValidator$$1() { - } - DateISOValidator$$1.prototype.validate = function (c) { - return dateISO(c); - }; - return DateISOValidator$$1; -}()); -DateISOValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[dateISO][formControlName],[dateISO][formControl],[dateISO][ngModel]', - providers: [DATE_ISO_VALIDATOR] - }) -], DateISOValidator$$1); - -var dateISO = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(v) ? null : { dateISO: true }; -}; - -var DIGITS_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return DigitsValidator$$1; }), - multi: true -}; -var DigitsValidator$$1 = (function () { - function DigitsValidator$$1() { - } - DigitsValidator$$1.prototype.validate = function (c) { - return digits(c); - }; - return DigitsValidator$$1; -}()); -DigitsValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[digits][formControlName],[digits][formControl],[digits][ngModel]', - providers: [DIGITS_VALIDATOR] - }) -], DigitsValidator$$1); - -var digits = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return /^\d+$/.test(v) ? null : { digits: true }; -}; - -var EMAIL_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return EmailValidator$$1; }), - multi: true -}; -var EmailValidator$$1 = (function () { - function EmailValidator$$1() { - } - EmailValidator$$1.prototype.validate = function (c) { - return email(c); - }; - return EmailValidator$$1; -}()); -EmailValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[email][formControlName],[email][formControl],[email][ngModel]', - providers: [EMAIL_VALIDATOR] - }) -], EmailValidator$$1); - -var email = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(v) ? null : { 'email': true }; -}; - -var EQUAL_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return EqualValidator$$1; }), - multi: true -}; -var EqualValidator$$1 = (function () { - function EqualValidator$$1() { - } - EqualValidator$$1.prototype.ngOnInit = function () { - this.validator = equal(this.equal); - }; - EqualValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'equal') { - this.validator = equal(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - EqualValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - EqualValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return EqualValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Object) -], EqualValidator$$1.prototype, "equal", void 0); -EqualValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[equal][formControlName],[equal][formControl],[equal][ngModel]', - providers: [EQUAL_VALIDATOR] - }) -], EqualValidator$$1); - -var equal = function (val) { - return function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return val === v ? null : { equal: true }; - }; -}; - -var EQUAL_TO_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return EqualToValidator$$1; }), - multi: true -}; -var EqualToValidator$$1 = (function () { - function EqualToValidator$$1() { - } - EqualToValidator$$1.prototype.ngOnInit = function () { - this.validator = equalTo(this.equalTo); - }; - EqualToValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - return EqualToValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", typeof (_a = typeof _angular_forms.FormControl !== "undefined" && _angular_forms.FormControl) === "function" && _a || Object) -], EqualToValidator$$1.prototype, "equalTo", void 0); -EqualToValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[equalTo][formControlName],[equalTo][formControl],[equalTo][ngModel]', - providers: [EQUAL_TO_VALIDATOR] - }) -], EqualToValidator$$1); -var _a; - -var equalTo = function (equalControl) { - var subscribe = false; - return function (control) { - if (!subscribe) { - subscribe = true; - equalControl.valueChanges.subscribe(function () { - control.updateValueAndValidity(); - }); - } - var v = control.value; - return equalControl.value === v ? null : { equalTo: true }; - }; -}; - -var GREATER_THAN_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return GreaterThanValidator$$1; }), - multi: true -}; -var GreaterThanValidator$$1 = (function () { - function GreaterThanValidator$$1() { - } - GreaterThanValidator$$1.prototype.ngOnInit = function () { - this.validator = gt(this.gt); - }; - GreaterThanValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'gt') { - this.validator = gt(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - GreaterThanValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - GreaterThanValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return GreaterThanValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Number) -], GreaterThanValidator$$1.prototype, "gt", void 0); -GreaterThanValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[gt][formControlName],[gt][formControl],[gt][ngModel]', - providers: [GREATER_THAN_VALIDATOR] - }) -], GreaterThanValidator$$1); - -var gt = function (gt) { - return function (control) { - if (!isPresent(gt)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v > +gt ? null : { gt: true }; - }; -}; - -var GREATER_THAN_EQUAL_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return GreaterThanEqualValidator$$1; }), - multi: true -}; -var GreaterThanEqualValidator$$1 = (function () { - function GreaterThanEqualValidator$$1() { - } - GreaterThanEqualValidator$$1.prototype.ngOnInit = function () { - this.validator = gte(this.gte); - }; - GreaterThanEqualValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'gte') { - this.validator = gte(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - GreaterThanEqualValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - GreaterThanEqualValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return GreaterThanEqualValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Number) -], GreaterThanEqualValidator$$1.prototype, "gte", void 0); -GreaterThanEqualValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[gte][formControlName],[gte][formControl],[gte][ngModel]', - providers: [GREATER_THAN_EQUAL_VALIDATOR] - }) -], GreaterThanEqualValidator$$1); - -var gte = function (gte) { - return function (control) { - if (!isPresent(gte)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v >= +gte ? null : { gte: true }; - }; -}; - -var JSON_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return JSONValidator$$1; }), - multi: true -}; -var JSONValidator$$1 = (function () { - function JSONValidator$$1() { - } - JSONValidator$$1.prototype.validate = function (c) { - return json(c); - }; - return JSONValidator$$1; -}()); -JSONValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[json][formControlName],[json][formControl],[json][ngModel]', - providers: [JSON_VALIDATOR] - }) -], JSONValidator$$1); - -var json = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - try { - var obj = JSON.parse(v); - if (Boolean(obj) && typeof obj === 'object') { - return null; - } - } - catch (e) { - } - return { json: true }; -}; - -var LESS_THAN_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return LessThanValidator$$1; }), - multi: true -}; -var LessThanValidator$$1 = (function () { - function LessThanValidator$$1() { - } - LessThanValidator$$1.prototype.ngOnInit = function () { - this.validator = lt(this.lt); - }; - LessThanValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'lt') { - this.validator = lt(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - LessThanValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - LessThanValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return LessThanValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Number) -], LessThanValidator$$1.prototype, "lt", void 0); -LessThanValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[lt][formControlName],[lt][formControl],[lt][ngModel]', - providers: [LESS_THAN_VALIDATOR] - }) -], LessThanValidator$$1); - -var lt = function (lt) { - return function (control) { - if (!isPresent(lt)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v < +lt ? null : { lt: true }; - }; -}; - -var LESS_THAN_EQUAL_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return LessThanEqualValidator$$1; }), - multi: true -}; -var LessThanEqualValidator$$1 = (function () { - function LessThanEqualValidator$$1() { - } - LessThanEqualValidator$$1.prototype.ngOnInit = function () { - this.validator = lte(this.lte); - }; - LessThanEqualValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'lte') { - this.validator = lte(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - LessThanEqualValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - LessThanEqualValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return LessThanEqualValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Number) -], LessThanEqualValidator$$1.prototype, "lte", void 0); -LessThanEqualValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[lte][formControlName],[lte][formControl],[lte][ngModel]', - providers: [LESS_THAN_EQUAL_VALIDATOR] - }) -], LessThanEqualValidator$$1); - -var lte = function (lte) { - return function (control) { - if (!isPresent(lte)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v <= +lte ? null : { lte: true }; - }; -}; - -var MAX_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return MaxValidator$$1; }), - multi: true -}; -var MaxValidator$$1 = (function () { - function MaxValidator$$1() { - } - MaxValidator$$1.prototype.ngOnInit = function () { - this.validator = max(this.max); - }; - MaxValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'max') { - this.validator = max(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - MaxValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - MaxValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return MaxValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Number) -], MaxValidator$$1.prototype, "max", void 0); -MaxValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[max][formControlName],[max][formControl],[max][ngModel]', - providers: [MAX_VALIDATOR] - }) -], MaxValidator$$1); - -var max = function (max) { - return function (control) { - if (!isPresent(max)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v <= +max ? null : { actualValue: v, requiredValue: +max, max: true }; - }; -}; - -var MAX_DATE_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return MaxDateValidator$$1; }), - multi: true -}; -var MaxDateValidator$$1 = (function () { - function MaxDateValidator$$1() { - } - MaxDateValidator$$1.prototype.ngOnInit = function () { - this.validator = maxDate(this.maxDate); - }; - MaxDateValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'maxDate') { - this.validator = maxDate(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - MaxDateValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - MaxDateValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return MaxDateValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Object) -], MaxDateValidator$$1.prototype, "maxDate", void 0); -MaxDateValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[maxDate][formControlName],[maxDate][formControl],[maxDate][ngModel]', - providers: [MAX_DATE_VALIDATOR] - }) -], MaxDateValidator$$1); - -var maxDate = function (maxDate) { - if (!isDate(maxDate) && !(maxDate instanceof Function)) { - throw Error('maxDate value must be or return a formatted date'); - } - return function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var d = new Date(control.value); - if (!isDate(d)) - return { maxDate: true }; - if (maxDate instanceof Function) - maxDate = maxDate(); - return d <= new Date(maxDate) ? null : { maxDate: true }; - }; -}; - -var MIN_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return MinValidator$$1; }), - multi: true -}; -var MinValidator$$1 = (function () { - function MinValidator$$1() { - } - MinValidator$$1.prototype.ngOnInit = function () { - this.validator = min(this.min); - }; - MinValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'min') { - this.validator = min(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - MinValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - MinValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return MinValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Number) -], MinValidator$$1.prototype, "min", void 0); -MinValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[min][formControlName],[min][formControl],[min][ngModel]', - providers: [MIN_VALIDATOR] - }) -], MinValidator$$1); - -var min = function (min) { - return function (control) { - if (!isPresent(min)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v >= +min ? null : { actualValue: v, requiredValue: +min, min: true }; - }; -}; - -var MIN_DATE_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return MinDateValidator$$1; }), - multi: true -}; -var MinDateValidator$$1 = (function () { - function MinDateValidator$$1() { - } - MinDateValidator$$1.prototype.ngOnInit = function () { - this.validator = minDate(this.minDate); - }; - MinDateValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'minDate') { - this.validator = minDate(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - MinDateValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - MinDateValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return MinDateValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Object) -], MinDateValidator$$1.prototype, "minDate", void 0); -MinDateValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[minDate][formControlName],[minDate][formControl],[minDate][ngModel]', - providers: [MIN_DATE_VALIDATOR] - }) -], MinDateValidator$$1); - -var minDate = function (minDate) { - if (!isDate(minDate) && !(minDate instanceof Function)) { - throw Error('minDate value must be or return a formatted date'); - } - return function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var d = new Date(control.value); - if (!isDate(d)) - return { minDate: true }; - if (minDate instanceof Function) - minDate = minDate(); - return d >= new Date(minDate) ? null : { minDate: true }; - }; -}; - -var NOT_EQUAL_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return NotEqualValidator$$1; }), - multi: true -}; -var NotEqualValidator$$1 = (function () { - function NotEqualValidator$$1() { - } - NotEqualValidator$$1.prototype.ngOnInit = function () { - this.validator = notEqual(this.notEqual); - }; - NotEqualValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'notEqual') { - this.validator = notEqual(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - NotEqualValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - NotEqualValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return NotEqualValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Object) -], NotEqualValidator$$1.prototype, "notEqual", void 0); -NotEqualValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[notEqual][formControlName],[notEqual][formControl],[notEqual][ngModel]', - providers: [NOT_EQUAL_VALIDATOR] - }) -], NotEqualValidator$$1); - -var notEqual = function (val) { - return function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return val !== v ? null : { notEqual: true }; - }; -}; - -var NOT_EQUAL_TO_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return NotEqualToValidator$$1; }), - multi: true -}; -var NotEqualToValidator$$1 = (function () { - function NotEqualToValidator$$1() { - } - NotEqualToValidator$$1.prototype.ngOnInit = function () { - this.validator = notEqualTo(this.notEqualTo); - }; - NotEqualToValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - return NotEqualToValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", typeof (_a$1 = typeof _angular_forms.FormControl !== "undefined" && _angular_forms.FormControl) === "function" && _a$1 || Object) -], NotEqualToValidator$$1.prototype, "notEqualTo", void 0); -NotEqualToValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[notEqualTo][formControlName],[notEqualTo][formControl],[notEqualTo][ngModel]', - providers: [NOT_EQUAL_TO_VALIDATOR] - }) -], NotEqualToValidator$$1); -var _a$1; - -var notEqualTo = function (notEqualControl) { - var subscribe = false; - return function (control) { - if (!subscribe) { - subscribe = true; - notEqualControl.valueChanges.subscribe(function () { - control.updateValueAndValidity(); - }); - } - var v = control.value; - return notEqualControl.value !== v ? null : { notEqualTo: true }; - }; -}; - -var NUMBER_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return NumberValidator$$1; }), - multi: true -}; -var NumberValidator$$1 = (function () { - function NumberValidator$$1() { - } - NumberValidator$$1.prototype.validate = function (c) { - return number(c); - }; - return NumberValidator$$1; -}()); -NumberValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[number][formControlName],[number][formControl],[number][ngModel]', - providers: [NUMBER_VALIDATOR] - }) -], NumberValidator$$1); - -var number = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(v) ? null : { 'number': true }; -}; - -var PHONE_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return PhoneValidator$$1; }), - multi: true -}; -var PhoneValidator$$1 = (function () { - function PhoneValidator$$1() { - } - PhoneValidator$$1.prototype.ngOnInit = function () { - this.validator = phone(this.phone); - }; - PhoneValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'phone') { - this.validator = phone(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - PhoneValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - PhoneValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return PhoneValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", String) -], PhoneValidator$$1.prototype, "phone", void 0); -PhoneValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[phone][formControlName],[phone][formControl],[phone][ngModel]', - providers: [PHONE_VALIDATOR] - }) -], PhoneValidator$$1); - -var phone = function (country) { - return function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return libphonenumberJs.isValidNumber({ phone: v, country: country }) ? null : { phone: true }; - }; -}; - -var RANGE_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return RangeValidator$$1; }), - multi: true -}; -var RangeValidator$$1 = (function () { - function RangeValidator$$1() { - } - RangeValidator$$1.prototype.ngOnInit = function () { - this.validator = range(this.range); - }; - RangeValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'range') { - this.validator = range(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - RangeValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - RangeValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return RangeValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Array) -], RangeValidator$$1.prototype, "range", void 0); -RangeValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[range][formControlName],[range][formControl],[range][ngModel]', - providers: [RANGE_VALIDATOR] - }) -], RangeValidator$$1); - -var range = function (range) { - return function (control) { - if (!isPresent(range)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = +control.value; - return v >= range[0] && v <= range[1] ? null : { actualValue: v, requiredValue: range, range: true }; - }; -}; - -var RANGE_LENGTH_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return RangeLengthValidator$$1; }), - multi: true -}; -var RangeLengthValidator$$1 = (function () { - function RangeLengthValidator$$1() { - } - RangeLengthValidator$$1.prototype.ngOnInit = function () { - this.validator = rangeLength(this.rangeLength); - }; - RangeLengthValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'rangeLength') { - this.validator = rangeLength(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - RangeLengthValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - RangeLengthValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return RangeLengthValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Array) -], RangeLengthValidator$$1.prototype, "rangeLength", void 0); -RangeLengthValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[rangeLength][formControlName],[rangeLength][formControl],[rangeLength][ngModel]', - providers: [RANGE_LENGTH_VALIDATOR] - }) -], RangeLengthValidator$$1); - -var rangeLength = function (rangeLength) { - return function (control) { - if (!isPresent(rangeLength)) - return null; - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return v.length >= rangeLength[0] && v.length <= rangeLength[1] ? null : { rangeLength: true }; - }; -}; - -var URL_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return UrlValidator$$1; }), - multi: true -}; -var UrlValidator$$1 = (function () { - function UrlValidator$$1() { - } - UrlValidator$$1.prototype.validate = function (c) { - return url(c); - }; - return UrlValidator$$1; -}()); -UrlValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[url][formControlName],[url][formControl],[url][ngModel]', - providers: [URL_VALIDATOR] - }) -], UrlValidator$$1); - -var url = function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - return /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(v) ? null : { 'url': true }; -}; - -var UUID_VALIDATOR = { - provide: _angular_forms.NG_VALIDATORS, - useExisting: _angular_core.forwardRef(function () { return UUIDValidator$$1; }), - multi: true -}; -var UUIDValidator$$1 = (function () { - function UUIDValidator$$1() { - } - UUIDValidator$$1.prototype.ngOnInit = function () { - this.validator = uuid(this.uuid); - }; - UUIDValidator$$1.prototype.ngOnChanges = function (changes) { - for (var key in changes) { - if (key === 'uuid') { - this.validator = uuid(changes[key].currentValue); - if (this.onChange) - this.onChange(); - } - } - }; - UUIDValidator$$1.prototype.validate = function (c) { - return this.validator(c); - }; - UUIDValidator$$1.prototype.registerOnValidatorChange = function (fn) { - this.onChange = fn; - }; - return UUIDValidator$$1; -}()); -__decorate([ - _angular_core.Input(), - __metadata("design:type", Object) -], UUIDValidator$$1.prototype, "uuid", void 0); -UUIDValidator$$1 = __decorate([ - _angular_core.Directive({ - selector: '[uuid][formControlName],[uuid][formControl],[uuid][ngModel]', - providers: [UUID_VALIDATOR] - }) -], UUIDValidator$$1); - -var uuids = { - '3': /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i, - '4': /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, - '5': /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i, - 'all': /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i -}; -var uuid = function (version) { - return function (control) { - if (isPresent(_angular_forms.Validators.required(control))) - return null; - var v = control.value; - var pattern = uuids[version] || uuids.all; - return (new RegExp(pattern)).test(v) ? null : { uuid: true }; - }; -}; - -var CustomValidators = { - base64: base64, - creditCard: creditCard, - date: date, - dateISO: dateISO, - digits: digits, - email: email, - equal: equal, - equalTo: equalTo, - gt: gt, - gte: gte, - json: json, - lt: lt, - lte: lte, - max: max, - maxDate: maxDate, - min: min, - minDate: minDate, - notEqual: notEqual, - notEqualTo: notEqualTo, - number: number, - phone: phone, - range: range, - rangeLength: rangeLength, - url: url, - uuid: uuid -}; -var CUSTOM_FORM_DIRECTIVES = [ - Base64Validator$$1, - CreditCardValidator$$1, - DateValidator$$1, - DateISOValidator$$1, - DigitsValidator$$1, - EmailValidator$$1, - EqualValidator$$1, - EqualToValidator$$1, - GreaterThanValidator$$1, - GreaterThanEqualValidator$$1, - JSONValidator$$1, - LessThanValidator$$1, - LessThanEqualValidator$$1, - MaxValidator$$1, - MaxDateValidator$$1, - MinValidator$$1, - MinDateValidator$$1, - NotEqualValidator$$1, - NotEqualToValidator$$1, - NumberValidator$$1, - PhoneValidator$$1, - RangeValidator$$1, - RangeLengthValidator$$1, - UrlValidator$$1, - UUIDValidator$$1 -]; -exports.CustomFormsModule = (function () { - function CustomFormsModule() { - } - return CustomFormsModule; -}()); -exports.CustomFormsModule = __decorate([ - _angular_core.NgModule({ - declarations: [CUSTOM_FORM_DIRECTIVES], - exports: [CUSTOM_FORM_DIRECTIVES] - }) -], exports.CustomFormsModule); - -exports.CustomValidators = CustomValidators; - -Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=ng2-validation.umd.js.map diff --git a/bundles/ng2-validation.umd.js.map b/bundles/ng2-validation.umd.js.map deleted file mode 100644 index 15713a8..0000000 --- a/bundles/ng2-validation.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ng2-validation.umd.js","sources":["../src/base64/directive.ts","../src/util/lang.ts","../src/base64/validator.ts","../src/credit-card/directive.ts","../src/credit-card/validator.ts","../src/date/directive.ts","../src/date/validator.ts","../src/date-ios/directive.ts","../src/date-ios/validator.ts","../src/digits/directive.ts","../src/digits/validator.ts","../src/email/directive.ts","../src/email/validator.ts","../src/equal/directive.ts","../src/equal/validator.ts","../src/equal-to/directive.ts","../src/equal-to/validator.ts","../src/greater-than/directive.ts","../src/greater-than/validator.ts","../src/greater-than-equal/directive.ts","../src/greater-than-equal/validator.ts","../src/json/directive.ts","../src/json/validator.ts","../src/less-than/directive.ts","../src/less-than/validator.ts","../src/less-than-equal/directive.ts","../src/less-than-equal/validator.ts","../src/max/directive.ts","../src/max/validator.ts","../src/max-date/directive.ts","../src/max-date/validator.ts","../src/min/directive.ts","../src/min/validator.ts","../src/min-date/directive.ts","../src/min-date/validator.ts","../src/not-equal/directive.ts","../src/not-equal/validator.ts","../src/not-equal-to/directive.ts","../src/not-equal-to/validator.ts","../src/number/directive.ts","../src/number/validator.ts","../src/phone/directive.ts","../src/phone/validator.ts","../src/range/directive.ts","../src/range/validator.ts","../src/range-length/directive.ts","../src/range-length/validator.ts","../src/url/directive.ts","../src/url/validator.ts","../src/uuid/directive.ts","../src/uuid/validator.ts","../src/index.ts"],"sourcesContent":["import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { base64 } from './';\n\nconst BASE64_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => Base64Validator),\n multi: true\n};\n\n@Directive({\n selector: '[base64][formControlName],[base64][formControl],[base64][ngModel]',\n providers: [BASE64_VALIDATOR]\n})\nexport class Base64Validator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return base64(c);\n }\n}\n","export function isPresent(obj: any): boolean {\n return obj !== undefined && obj !== null;\n}\n\nexport function isDate(obj: any): boolean {\n return !/Invalid|NaN/.test(new Date(obj).toString());\n}","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const base64: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return /^(?:[A-Z0-9+\\/]{4})*(?:[A-Z0-9+\\/]{2}==|[A-Z0-9+\\/]{3}=|[A-Z0-9+\\/]{4})$/i.test(v) ? null : {'base64': true};\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { creditCard } from './';\n\nconst CREDIT_CARD_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => CreditCardValidator),\n multi: true\n};\n\n@Directive({\n selector: '[creditCard][formControlName],[creditCard][formControl],[creditCard][ngModel]',\n providers: [CREDIT_CARD_VALIDATOR]\n})\nexport class CreditCardValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return creditCard(c);\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const creditCard: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n\n let sanitized = v.replace(/[^0-9]+/g, '');\n\n // problem with chrome\n if (!(/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/.test(sanitized))) {\n return {creditCard: true};\n }\n\n let sum = 0;\n let digit;\n let tmpNum;\n let shouldDouble;\n for (let i = sanitized.length - 1; i >= 0; i--) {\n digit = sanitized.substring(i, (i + 1));\n tmpNum = parseInt(digit, 10);\n if (shouldDouble) {\n tmpNum *= 2;\n if (tmpNum >= 10) {\n sum += ((tmpNum % 10) + 1);\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n shouldDouble = !shouldDouble;\n }\n\n if (Boolean((sum % 10) === 0 ? sanitized : false)) {\n return null;\n }\n\n return {creditCard: true};\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { date } from './';\n\nconst DATE_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DateValidator),\n multi: true\n};\n\n@Directive({\n selector: '[date][formControlName],[date][formControl],[date][ngModel]',\n providers: [DATE_VALIDATOR]\n})\nexport class DateValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return date(c);\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent, isDate } from '../util/lang';\n\nexport const date: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return isDate(v) ? null : {date: true};\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { dateISO } from './';\n\nconst DATE_ISO_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DateISOValidator),\n multi: true\n};\n\n@Directive({\n selector: '[dateISO][formControlName],[dateISO][formControl],[dateISO][ngModel]',\n providers: [DATE_ISO_VALIDATOR]\n})\nexport class DateISOValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return dateISO(c);\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent, isDate } from '../util/lang';\n\nexport const dateISO: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return /^\\d{4}[\\/\\-](0?[1-9]|1[012])[\\/\\-](0?[1-9]|[12][0-9]|3[01])$/.test(v) ? null : {dateISO: true};\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { digits } from './';\n\nconst DIGITS_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => DigitsValidator),\n multi: true\n};\n\n@Directive({\n selector: '[digits][formControlName],[digits][formControl],[digits][ngModel]',\n providers: [DIGITS_VALIDATOR]\n})\nexport class DigitsValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return digits(c);\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const digits: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return /^\\d+$/.test(v) ? null : {digits: true};\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { email } from './index';\n\nconst EMAIL_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => EmailValidator),\n multi: true\n};\n\n@Directive({\n selector: '[email][formControlName],[email][formControl],[email][ngModel]',\n providers: [EMAIL_VALIDATOR]\n})\nexport class EmailValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return email(c);\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const email: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(v) ? null : {'email': true};\n};\n","import { Directive, Input, forwardRef, OnInit, SimpleChanges, OnChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { equal } from './index';\n\nconst EQUAL_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => EqualValidator),\n multi: true\n};\n\n@Directive({\n selector: '[equal][formControlName],[equal][formControl],[equal][ngModel]',\n providers: [EQUAL_VALIDATOR]\n})\nexport class EqualValidator implements Validator, OnInit, OnChanges {\n @Input() equal: any;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = equal(this.equal);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'equal') {\n this.validator = equal(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const equal = (val: any): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: any} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: any = control.value;\n\n return val === v ? null : {equal: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit } from '@angular/core';\nimport { NG_VALIDATORS, Validator, FormControl, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { equalTo } from './';\n\nconst EQUAL_TO_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => EqualToValidator),\n multi: true\n};\n\n@Directive({\n selector: '[equalTo][formControlName],[equalTo][formControl],[equalTo][ngModel]',\n providers: [EQUAL_TO_VALIDATOR]\n})\nexport class EqualToValidator implements Validator, OnInit {\n @Input() equalTo: FormControl;\n\n private validator: ValidatorFn;\n\n ngOnInit() {\n this.validator = equalTo(this.equalTo);\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n}","import { AbstractControl, ValidatorFn } from '@angular/forms';\n\nexport const equalTo = (equalControl: AbstractControl): ValidatorFn => {\n let subscribe: boolean = false;\n\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!subscribe) {\n subscribe = true;\n equalControl.valueChanges.subscribe(() => {\n control.updateValueAndValidity();\n });\n }\n\n let v: string = control.value;\n\n return equalControl.value === v ? null : {equalTo: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { gt } from './';\n\nconst GREATER_THAN_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => GreaterThanValidator),\n multi: true\n};\n\n@Directive({\n selector: '[gt][formControlName],[gt][formControl],[gt][ngModel]',\n providers: [GREATER_THAN_VALIDATOR]\n})\nexport class GreaterThanValidator implements Validator, OnInit, OnChanges {\n @Input() gt: number;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = gt(this.gt);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'gt') {\n this.validator = gt(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const gt = (gt: number): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!isPresent(gt)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v > +gt ? null : {gt: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { gte } from './';\n\nconst GREATER_THAN_EQUAL_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => GreaterThanEqualValidator),\n multi: true\n};\n\n@Directive({\n selector: '[gte][formControlName],[gte][formControl],[gte][ngModel]',\n providers: [GREATER_THAN_EQUAL_VALIDATOR]\n})\nexport class GreaterThanEqualValidator implements Validator, OnInit, OnChanges {\n @Input() gte: number;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = gte(this.gte);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'gte') {\n this.validator = gte(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const gte = (gte: number): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!isPresent(gte)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v >= +gte ? null : {gte: true};\n };\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { json } from './';\n\nconst JSON_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => JSONValidator),\n multi: true\n};\n\n@Directive({\n selector: '[json][formControlName],[json][formControl],[json][ngModel]',\n providers: [JSON_VALIDATOR]\n})\nexport class JSONValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return json(c);\n }\n}","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const json: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n\n try {\n let obj = JSON.parse(v);\n\n if (Boolean(obj) && typeof obj === 'object') {\n return null;\n }\n } catch (e) {\n }\n return {json: true};\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { lt } from './';\n\nconst LESS_THAN_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => LessThanValidator),\n multi: true\n};\n\n@Directive({\n selector: '[lt][formControlName],[lt][formControl],[lt][ngModel]',\n providers: [LESS_THAN_VALIDATOR]\n})\nexport class LessThanValidator implements Validator, OnInit, OnChanges {\n @Input() lt: number;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = lt(this.lt);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'lt') {\n this.validator = lt(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const lt = (lt: number): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!isPresent(lt)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v < +lt ? null : {lt: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { lte } from './';\n\nconst LESS_THAN_EQUAL_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => LessThanEqualValidator),\n multi: true\n};\n\n@Directive({\n selector: '[lte][formControlName],[lte][formControl],[lte][ngModel]',\n providers: [LESS_THAN_EQUAL_VALIDATOR]\n})\nexport class LessThanEqualValidator implements Validator, OnInit, OnChanges {\n @Input() lte: number;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = lte(this.lte);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'lte') {\n this.validator = lte(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const lte = (lte: number): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!isPresent(lte)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v <= +lte ? null : {lte: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { max } from './';\n\nconst MAX_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MaxValidator),\n multi: true\n};\n\n@Directive({\n selector: '[max][formControlName],[max][formControl],[max][ngModel]',\n providers: [MAX_VALIDATOR]\n})\nexport class MaxValidator implements Validator, OnInit, OnChanges {\n @Input() max: number;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = max(this.max);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'max') {\n this.validator = max(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const max = (max: number): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: any} => {\n if (!isPresent(max)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v <= +max ? null : {actualValue: v, requiredValue: +max, max: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { maxDate } from './';\n\nconst MAX_DATE_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MaxDateValidator),\n multi: true\n};\n\n@Directive({\n selector: '[maxDate][formControlName],[maxDate][formControl],[maxDate][ngModel]',\n providers: [MAX_DATE_VALIDATOR]\n})\nexport class MaxDateValidator implements Validator, OnInit, OnChanges {\n @Input() maxDate;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = maxDate(this.maxDate);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'maxDate') {\n this.validator = maxDate(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent, isDate } from '../util/lang';\n\nexport const maxDate = (maxDate: any): ValidatorFn => {\n if (!isDate(maxDate) && !(maxDate instanceof Function)) {\n throw Error('maxDate value must be or return a formatted date');\n }\n\n return (control: AbstractControl): {[key: string]: any} => {\n if (isPresent(Validators.required(control))) return null;\n\n let d: Date = new Date(control.value);\n\n if (!isDate(d)) return {maxDate: true};\n if (maxDate instanceof Function) maxDate = maxDate();\n\n return d <= new Date(maxDate) ? null : {maxDate: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { min } from './';\n\nconst MIN_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MinValidator),\n multi: true\n};\n\n@Directive({\n selector: '[min][formControlName],[min][formControl],[min][ngModel]',\n providers: [MIN_VALIDATOR]\n})\nexport class MinValidator implements Validator, OnInit, OnChanges {\n @Input() min: number;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = min(this.min);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'min') {\n this.validator = min(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const min = (min: number): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: any} => {\n if (!isPresent(min)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v >= +min ? null : {actualValue: v, requiredValue: +min, min: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { minDate } from './';\n\nconst MIN_DATE_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MinDateValidator),\n multi: true\n};\n\n@Directive({\n selector: '[minDate][formControlName],[minDate][formControl],[minDate][ngModel]',\n providers: [MIN_DATE_VALIDATOR]\n})\nexport class MinDateValidator implements Validator, OnInit, OnChanges {\n @Input() minDate;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = minDate(this.minDate);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'minDate') {\n this.validator = minDate(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent, isDate } from '../util/lang';\n\nexport const minDate = (minDate: any): ValidatorFn => {\n\n if (!isDate(minDate) && !(minDate instanceof Function)) {\n throw Error('minDate value must be or return a formatted date');\n }\n\n return (control: AbstractControl): {[key: string]: any} => {\n if (isPresent(Validators.required(control))) return null;\n\n let d: Date = new Date(control.value);\n\n if (!isDate(d)) return {minDate: true};\n if (minDate instanceof Function) minDate = minDate();\n\n return d >= new Date(minDate) ? null : {minDate: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, SimpleChanges, OnChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { notEqual } from './index';\n\nconst NOT_EQUAL_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => NotEqualValidator),\n multi: true\n};\n\n@Directive({\n selector: '[notEqual][formControlName],[notEqual][formControl],[notEqual][ngModel]',\n providers: [NOT_EQUAL_VALIDATOR]\n})\nexport class NotEqualValidator implements Validator, OnInit, OnChanges {\n @Input() notEqual: any;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = notEqual(this.notEqual);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'notEqual') {\n this.validator = notEqual(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const notEqual = (val: any): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: any = control.value;\n\n return val !== v ? null : {notEqual: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit } from '@angular/core';\nimport { NG_VALIDATORS, Validator, FormControl, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { notEqualTo } from './';\n\nconst NOT_EQUAL_TO_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => NotEqualToValidator),\n multi: true\n};\n\n@Directive({\n selector: '[notEqualTo][formControlName],[notEqualTo][formControl],[notEqualTo][ngModel]',\n providers: [NOT_EQUAL_TO_VALIDATOR]\n})\nexport class NotEqualToValidator implements Validator, OnInit {\n @Input() notEqualTo: FormControl;\n\n private validator: ValidatorFn;\n\n ngOnInit() {\n this.validator = notEqualTo(this.notEqualTo);\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n}\n","import { AbstractControl, ValidatorFn } from '@angular/forms';\n\nexport const notEqualTo = (notEqualControl: AbstractControl): ValidatorFn => {\n let subscribe: boolean = false;\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!subscribe) {\n subscribe = true;\n notEqualControl.valueChanges.subscribe(() => {\n control.updateValueAndValidity();\n });\n }\n\n let v: string = control.value;\n\n return notEqualControl.value !== v ? null : {notEqualTo: true};\n };\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { number } from './';\n\nconst NUMBER_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => NumberValidator),\n multi: true\n};\n\n@Directive({\n selector: '[number][formControlName],[number][formControl],[number][ngModel]',\n providers: [NUMBER_VALIDATOR]\n})\nexport class NumberValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return number(c);\n }\n}","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const number: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return /^(?:-?\\d+|-?\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$/.test(v) ? null : {'number': true};\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { phone } from './';\n\nconst PHONE_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => PhoneValidator),\n multi: true\n};\n\n@Directive({\n selector: '[phone][formControlName],[phone][formControl],[phone][ngModel]',\n providers: [PHONE_VALIDATOR]\n})\nexport class PhoneValidator implements Validator, OnInit, OnChanges {\n @Input() phone: string;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = phone(this.phone);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'phone') {\n this.validator = phone(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\nimport { isValidNumber } from 'libphonenumber-js';\n\nimport { isPresent } from '../util/lang';\n\nexport const phone = (country: string): ValidatorFn => {\n return (control: AbstractControl): { [key: string]: boolean } => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n\n return isValidNumber({phone: v, country}) ? null : {phone: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { range } from './';\n\nconst RANGE_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RangeValidator),\n multi: true\n};\n\n@Directive({\n selector: '[range][formControlName],[range][formControl],[range][ngModel]',\n providers: [RANGE_VALIDATOR]\n})\nexport class RangeValidator implements Validator, OnInit, OnChanges {\n @Input() range: [number];\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = range(this.range);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'range') {\n this.validator = range(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const range = (range: Array): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: any} => {\n if (!isPresent(range)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: number = +control.value;\n return v >= range[0] && v <= range[1] ? null : {actualValue: v, requiredValue: range, range: true};\n };\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { rangeLength } from './';\n\nconst RANGE_LENGTH_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => RangeLengthValidator),\n multi: true\n};\n\n@Directive({\n selector: '[rangeLength][formControlName],[rangeLength][formControl],[rangeLength][ngModel]',\n providers: [RANGE_LENGTH_VALIDATOR]\n})\nexport class RangeLengthValidator implements Validator, OnInit, OnChanges {\n @Input() rangeLength: [number];\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = rangeLength(this.rangeLength);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'rangeLength') {\n this.validator = rangeLength(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const rangeLength = (rangeLength: Array): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: boolean} => {\n if (!isPresent(rangeLength)) return null;\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return v.length >= rangeLength[0] && v.length <= rangeLength[1] ? null : {rangeLength: true};\n };\n};\n","import { Directive, forwardRef } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\n\nimport { url } from './';\n\nconst URL_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => UrlValidator),\n multi: true\n};\n\n@Directive({\n selector: '[url][formControlName],[url][formControl],[url][ngModel]',\n providers: [URL_VALIDATOR]\n})\nexport class UrlValidator implements Validator {\n validate(c: AbstractControl): {[key: string]: any} {\n return url(c);\n }\n}","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nexport const url: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n return /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})).?)(?::\\d{2,5})?(?:[/?#]\\S*)?$/i.test(v) ? null : {'url': true};\n};\n","import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms';\n\nimport { uuid } from './';\n\nconst UUID_VALIDATOR: any = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => UUIDValidator),\n multi: true\n};\n\n@Directive({\n selector: '[uuid][formControlName],[uuid][formControl],[uuid][ngModel]',\n providers: [UUID_VALIDATOR]\n})\nexport class UUIDValidator implements Validator, OnInit, OnChanges {\n @Input() uuid;\n\n private validator: ValidatorFn;\n private onChange: () => void;\n\n ngOnInit() {\n this.validator = uuid(this.uuid);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n for (let key in changes) {\n if (key === 'uuid') {\n this.validator = uuid(changes[key].currentValue);\n if (this.onChange) this.onChange();\n }\n }\n }\n\n validate(c: AbstractControl): {[key: string]: any} {\n return this.validator(c);\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onChange = fn;\n }\n}\n","import { AbstractControl, Validators, ValidatorFn } from '@angular/forms';\n\nimport { isPresent } from '../util/lang';\n\nconst uuids = {\n '3': /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,\n '4': /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n '5': /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n 'all': /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i\n};\n\nexport const uuid = (version?: string): ValidatorFn => {\n return (control: AbstractControl): {[key: string]: any} => {\n if (isPresent(Validators.required(control))) return null;\n\n let v: string = control.value;\n let pattern = uuids[version] || uuids.all;\n\n return (new RegExp(pattern)).test(v) ? null : {uuid: true};\n };\n};\n","import { NgModule } from '@angular/core';\n\nimport { base64, Base64Validator } from './base64';\nimport { creditCard, CreditCardValidator } from './credit-card';\nimport { date, DateValidator } from './date';\nimport { dateISO, DateISOValidator } from './date-ios';\nimport { digits, DigitsValidator } from './digits';\nimport { email, EmailValidator } from './email';\nimport { equal, EqualValidator } from './equal';\nimport { equalTo, EqualToValidator } from './equal-to';\nimport { gt, GreaterThanValidator } from './greater-than';\nimport { gte, GreaterThanEqualValidator } from './greater-than-equal';\nimport { json, JSONValidator } from './json';\nimport { lt, LessThanValidator } from './less-than';\nimport { lte, LessThanEqualValidator } from './less-than-equal';\nimport { max, MaxValidator } from './max';\nimport { maxDate, MaxDateValidator } from './max-date';\nimport { min, MinValidator } from './min';\nimport { minDate, MinDateValidator } from './min-date';\nimport { notEqual, NotEqualValidator } from './not-equal';\nimport { notEqualTo, NotEqualToValidator } from './not-equal-to';\nimport { number, NumberValidator } from './number';\nimport { phone, PhoneValidator } from './phone';\nimport { range, RangeValidator } from './range';\nimport { rangeLength, RangeLengthValidator } from './range-length';\nimport { url, UrlValidator } from './url';\nimport { uuid, UUIDValidator } from './uuid';\n\nexport const CustomValidators: any = {\n base64,\n creditCard,\n date,\n dateISO,\n digits,\n email,\n equal,\n equalTo,\n gt,\n gte,\n json,\n lt,\n lte,\n max,\n maxDate,\n min,\n minDate,\n notEqual,\n notEqualTo,\n number,\n phone,\n range,\n rangeLength,\n url,\n uuid\n};\n\nconst CUSTOM_FORM_DIRECTIVES = [\n Base64Validator,\n CreditCardValidator,\n DateValidator,\n DateISOValidator,\n DigitsValidator,\n EmailValidator,\n EqualValidator,\n EqualToValidator,\n GreaterThanValidator,\n GreaterThanEqualValidator,\n JSONValidator,\n LessThanValidator,\n LessThanEqualValidator,\n MaxValidator,\n MaxDateValidator,\n MinValidator,\n MinDateValidator,\n NotEqualValidator,\n NotEqualToValidator,\n NumberValidator,\n PhoneValidator,\n RangeValidator,\n RangeLengthValidator,\n UrlValidator,\n UUIDValidator\n];\n\n@NgModule({\n declarations: [CUSTOM_FORM_DIRECTIVES],\n exports: [CUSTOM_FORM_DIRECTIVES]\n})\nexport class CustomFormsModule {\n}\n"],"names":["NG_VALIDATORS","forwardRef","Base64Validator","Directive","Validators","CreditCardValidator","DateValidator","DateISOValidator","DigitsValidator","EmailValidator","EqualValidator","Input","EqualToValidator","FormControl","GreaterThanValidator","GreaterThanEqualValidator","JSONValidator","LessThanValidator","LessThanEqualValidator","MaxValidator","MaxDateValidator","MinValidator","MinDateValidator","NotEqualValidator","NotEqualToValidator","NumberValidator","PhoneValidator","isValidNumber","RangeValidator","RangeLengthValidator","UrlValidator","UUIDValidator","CustomFormsModule","NgModule"],"mappings":"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"} \ No newline at end of file diff --git a/e2e/protractor.conf.js b/e2e/protractor.conf.js new file mode 100644 index 0000000..86776a3 --- /dev/null +++ b/e2e/protractor.conf.js @@ -0,0 +1,28 @@ +// Protractor configuration file, see link for more information +// https://github.com/angular/protractor/blob/master/lib/config.ts + +const { SpecReporter } = require('jasmine-spec-reporter'); + +exports.config = { + allScriptsTimeout: 11000, + specs: [ + './src/**/*.e2e-spec.ts' + ], + capabilities: { + 'browserName': 'chrome' + }, + directConnect: true, + baseUrl: 'http://localhost:4200/', + framework: 'jasmine', + jasmineNodeOpts: { + showColors: true, + defaultTimeoutInterval: 30000, + print: function() {} + }, + onPrepare() { + require('ts-node').register({ + project: require('path').join(__dirname, './tsconfig.e2e.json') + }); + jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); + } +}; \ No newline at end of file diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts new file mode 100644 index 0000000..e42d1f9 --- /dev/null +++ b/e2e/src/app.e2e-spec.ts @@ -0,0 +1,14 @@ +import { AppPage } from './app.po'; + +describe('workspace-project App', () => { + let page: AppPage; + + beforeEach(() => { + page = new AppPage(); + }); + + it('should display welcome message', () => { + page.navigateTo(); + expect(page.getParagraphText()).toEqual('Welcome to app!'); + }); +}); diff --git a/e2e/src/app.po.ts b/e2e/src/app.po.ts new file mode 100644 index 0000000..82ea75b --- /dev/null +++ b/e2e/src/app.po.ts @@ -0,0 +1,11 @@ +import { browser, by, element } from 'protractor'; + +export class AppPage { + navigateTo() { + return browser.get('/'); + } + + getParagraphText() { + return element(by.css('app-root h1')).getText(); + } +} diff --git a/e2e/tsconfig.e2e.json b/e2e/tsconfig.e2e.json new file mode 100644 index 0000000..a6dd622 --- /dev/null +++ b/e2e/tsconfig.e2e.json @@ -0,0 +1,13 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/app", + "module": "commonjs", + "target": "es5", + "types": [ + "jasmine", + "jasminewd2", + "node" + ] + } +} \ No newline at end of file diff --git a/example/dist/bundle.js b/example/dist/bundle.js deleted file mode 100644 index 12eb8ea..0000000 --- a/example/dist/bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -webpackJsonp([0],[,,function(t,e,o){"use strict";function r(t){return void 0!==t&&null!==t}function n(t){return!/Invalid|NaN/.test(new Date(t).toString())}Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=r,e.isDate=n},,function(t,e){var o=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},function(t,e,o){var r=o(45)("wks"),n=o(47),i=o(4).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:n)("Symbol."+t))}).store=r},function(t,e,o){"use strict";function r(t){return t[0]}function n(t){return t[1]}function i(t){return t[2]||[]}function a(t){return t[3]}function l(t){return t[4]}function d(t){var e=t[5];return e||(e=a(t)),e}function c(t){return t[6]}function s(t){return t[7]}function p(t){return t[8]}function u(t){return t[0]}function f(t){return t[1]}function b(t){return t[2]||[]}function g(t,e){return t[3]||l(e)}function h(t,e){return t[4]||s(e)}function $(t,e){var o=g(t,e);return o&&"$1"!==o&&/\d/.test(o.replace("$1",""))&&!h(t,e)}function m(t){return t[5]||f(t)}function v(t,e){var o=e.country_phone_code_to_countries[t][0];return e.countries[o]}function x(t){return t[9]}function y(t,e){return x(t)?x(t)[e]:void 0}function w(t){return y(t,0)}function k(t){return y(t,1)}function _(t){return y(t,2)}function O(t){return y(t,3)}function j(t){return y(t,4)}function M(t){return y(t,5)}function P(t){return y(t,6)}function R(t){return y(t,7)}function C(t){return y(t,8)}function E(t){return y(t,9)}e.a=r,e.j=n,e.b=i,e.k=d,e.l=c,e.m=p,e.e=u,e.i=f,e.d=b,e.h=g,e.n=h,e.g=$,e.c=m,e.f=v,e.o=x,e.x=w,e.y=k,e.q=_,e.p=O,e.t=j,e.w=M,e.v=P,e.u=R,e.s=C,e.r=E},function(t,e,o){"use strict";function r(t,e,r){var i=f(t,e,r),d=i.text,b=i.options,g=i.metadata;if(b||(b=$()({},V)),b.country.default&&!g.countries[b.country.default])throw new Error("Unknown country code: "+b.country.default);if(b.country.restrict&&!g.countries[b.country.restrict])throw new Error("Unknown country code: "+b.country.restrict);var h=l(d);if(!a(h))return{};var x=c(h,g),y=x.country_phone_code,w=x.number;if(!w)return{};var k=void 0,_=void 0,O=!1;if(y){if(O=!0,b.country.restrict&&y!==o.i(v.a)(g.countries[b.country.restrict]))return{};_=o.i(v.f)(y,g)}else(b.country.restrict||b.country.default)&&(k=b.country.restrict||b.country.default,_=g.countries[k],w=n(d));if(!_)return{};var j=s(w,_),M=j!==w;if(!O&&!M&&u(j,_))return{};if(!k){if(!(k=p(y,j,g)))return{};_=g.countries[k]}if(j.length>A)return{};var P=new RegExp(o.i(v.j)(_));return o.i(m.a)(j,P)?{country:k,phone:j}:{}}function n(t){return i(t,E)}function i(t,e){var o="",r=!0,n=!1,i=void 0;try{for(var a,l=g()(t);!(r=(a=l.next()).done);r=!0){var d=a.value,c=e[d.toUpperCase()];void 0!==c&&(o+=c)}}catch(t){n=!0,i=t}finally{try{!r&&l.return&&l.return()}finally{if(n)throw i}}return o}function a(t){return t.length>=D&&o.i(m.a)(t,M)}function l(t){if(!t||t.length>z)return"";var e=t.search(P);return e<0?"":t.slice(e).replace(R,"")}function d(t){if(!t)return"";var e=C.test(t);return t=n(t),e?"+"+t:t}function c(t,e){if(!(t=d(t)))return{};if("+"!==t[0])return{number:t};if(t=t.slice(1),"0"===t[0])return{};for(var o=1;o<=I&&o<=t.length;){var r=t.slice(0,o);if(e.country_phone_code_to_countries[r])return{country_phone_code:r,number:t.slice(o)};o++}return{}}function s(t,e){var r=o.i(v.k)(e);if(!t||!r)return t;var n=new RegExp("^(?:"+r+")"),i=n.exec(t);if(!i)return t;var a=void 0,l=i[i.length-1],d=o.i(v.l)(e);a=d&&l?t.replace(n,d):t.slice(i[0].length);var c=new RegExp(o.i(v.j)(e));return o.i(m.a)(t,c)&&!o.i(m.a)(a,c)?t:a}function p(t,e,r){var n=r.country_phone_code_to_countries[t];if(1===n.length)return n[0];var i=!0,a=!1,l=void 0;try{for(var d,c=g()(n);!(i=(d=c.next()).done);i=!0){var s=d.value,p=r.countries[s];if(o.i(v.m)(p)){if(e&&0===e.search(o.i(v.m)(p)))return s}else if(o.i(y.a)({phone:e,country:s},r))return s}}catch(t){a=!0,l=t}finally{try{!i&&c.return&&c.return()}finally{if(a)throw l}}}function u(t,e){var r=o.i(x.e)(o.i(v.b)(e),t);if(r)return o.i(v.g)(r,e)}function f(t,e,o){var r=void 0,n=void 0,i=void 0;if("string"==typeof t&&(r=t),"string"==typeof e){var a=e;n=$()({},V,{country:{restrict:a}}),i=o}else e&&e.countries?i=e:(n=e,i=o);if(!i)throw new Error("Metadata not passed");return{text:r,options:n,metadata:i}}var b=o(25),g=o.n(b),h=o(95),$=o.n(h),m=o(18),v=o(6),x=o(19),y=o(20);o.d(e,"c",function(){return w}),o.d(e,"d",function(){return k}),o.d(e,"b",function(){return _}),e.a=r,e.j=a,e.e=l,e.f=d,e.g=c,e.h=s,e.i=p;var w="++",k="0-90-9٠-٩۰-۹",_="-‐-―−ー-//..  ­​⁠ ()()[]\\[\\]~⁓∼~",O="["+k+"]{"+D+"}",j="["+w+"]{0,1}(?:["+_+"]*["+k+"]){3,}["+_+k+"]*",M=new RegExp("^"+O+"$|^"+j+"$","i"),P=new RegExp("["+w+k+"]"),R=new RegExp("[^"+k+"]+$"),C=new RegExp("^["+w+"]+"),E={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},I=3,D=2,A=17,z=250,V={country:{}}},,,,function(t,e){var o=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=o)},function(t,e,o){t.exports=!o(28)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,o){var r=o(17),n=o(43);t.exports=o(12)?function(t,e,o){return r.f(t,e,n(1,o))}:function(t,e,o){return t[e]=o,t}},function(t,e,o){var r=o(29);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var o={}.hasOwnProperty;t.exports=function(t,e){return o.call(t,e)}},function(t,e){t.exports={}},function(t,e,o){var r=o(14),n=o(105),i=o(120),a=Object.defineProperty;e.f=o(12)?Object.defineProperty:function(t,e,o){if(r(t),e=i(e,!0),r(o),n)try{return a(t,e,o)}catch(t){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(t[e]=o.value),t}},function(t,e,o){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];"string"==typeof e&&(e="^(?:"+e+")$");var o=t.match(e);return o&&o[0].length===t.length}e.a=r},function(t,e,o){"use strict";function r(t,e,r,n){var a=d(t,e,r,n),l=a.input,c=a.format_type,s=a.metadata,p=void 0;l.country&&(p=s.countries[l.country]);var b=o.i(u.g)(l.phone,s),g=b.country_phone_code,h=b.number;if(g){if(l.country&&p&&g!==o.i(f.a)(p))return l.phone;p=o.i(f.f)(g,s)}if(!p)return l.phone;switch(c){case"International":if(!h)return"+"+o.i(f.a)(p);var $=i(h,"International",!1,p);return"+"+o.i(f.a)(p)+" "+$;case"International_plaintext":return"+"+o.i(f.a)(p)+l.phone;case"National":return h?i(h,"National",!1,p):""}}function n(t,e,r,n,i){var a=new RegExp(o.i(f.e)(e)),d=o.i(f.h)(e,i),c=!d||d&&o.i(f.n)(e,i)&&!n;if(!r&&!c)return t.replace(a,o.i(f.i)(e).replace(b,d));var s=t.replace(a,r?o.i(f.c)(e):o.i(f.i)(e));return r?l(s):s}function i(t,e,r,i){var l=a(o.i(f.b)(i),t);return l?n(t,l,"International"===e,r,i):t}function a(t,e){var r=!0,n=!1,i=void 0;try{for(var a,l=s()(t);!(r=(a=l.next()).done);r=!0){var d=a.value;if(o.i(f.d)(d).length>0){var c=o.i(f.d)(d)[o.i(f.d)(d).length-1];if(0!==e.search(c))continue}if(o.i(p.a)(e,new RegExp(o.i(f.e)(d))))return d}}catch(t){n=!0,i=t}finally{try{!r&&l.return&&l.return()}finally{if(n)throw i}}}function l(t){return t.replace(/[\(\)]/g,"").replace(/\-/g," ").trim()}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1],o=arguments[2],r=arguments[3],n=void 0,i=void 0,a=void 0;if("string"==typeof t)if("string"==typeof o)n={phone:t,country:e},i=o,a=r;else{if(n={phone:t},"string"!=typeof e)throw new Error("Format type argument not passed for `format()`");i=e,a=o}else n=t,i=e,a=o;if(!a)throw new Error("Metadata not passed");switch(i){case"International":case"International_plaintext":case"National":break;default:throw new Error('Unknown format type argument passed to "format()": "'+i+'"')}return{input:n,format_type:i,metadata:a}}var c=o(25),s=o.n(c),p=o(18),u=o(7),f=o(6);e.a=r,o.d(e,"c",function(){return b}),e.b=n,e.e=a,e.d=l;var b=/(\$\d)/},function(t,e,o){"use strict";function r(t,e,r){var a=i(t,e,r),l=a.input,c=a.metadata;if(!c)throw new Error("Metadata not passed");if(l&&l.country){var s=l.phone,p=c.countries[l.country];if(n(s,o.i(d.j)(p)))return n(s,o.i(d.p)(p))?"PREMIUM_RATE":n(s,o.i(d.q)(p))?"TOLL_FREE":n(s,o.i(d.r)(p))?"SHARED_COST":n(s,o.i(d.s)(p))?"VOIP":n(s,o.i(d.t)(p))?"PERSONAL_NUMBER":n(s,o.i(d.u)(p))?"PAGER":n(s,o.i(d.v)(p))?"UAN":n(s,o.i(d.w)(p))?"VOICEMAIL":n(s,o.i(d.x)(p))?o.i(d.y)(p)?n(s,o.i(d.y)(p))?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE":n(s,o.i(d.y)(p))?"MOBILE":void 0}}function n(t,e){return o.i(l.a)(t,e)}function i(t,e,r){var n=void 0,i=void 0;return"string"==typeof t?"string"==typeof e?(i=r,o.i(a.j)(t)&&(n=o.i(a.a)(t,e,i))):(i=e,o.i(a.j)(t)&&(n=o.i(a.a)(t,i))):(t&&t.phone&&o.i(a.j)(t.phone)&&(n=t),i=e),{input:n,metadata:i}}var a=o(7),l=o(18),d=o(6);e.a=r,e.b=i},,,,,function(t,e,o){t.exports={default:o(96),__esModule:!0}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,o){var r=o(4),n=o(11),i=o(103),a=o(13),l=function(t,e,o){var d,c,s,p=t&l.F,u=t&l.G,f=t&l.S,b=t&l.P,g=t&l.B,h=t&l.W,$=u?n:n[e]||(n[e]={}),m=$.prototype,v=u?r:f?r[e]:(r[e]||{}).prototype;u&&(o=e);for(d in o)(c=!p&&v&&void 0!==v[d])&&d in $||(s=c?v[d]:o[d],$[d]=u&&"function"!=typeof v[d]?o[d]:g&&c?i(s,r):h&&v[d]==s?function(t){var e=function(e,o,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,o)}return new t(e,o,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(s):b&&"function"==typeof s?i(Function.call,s):s,b&&(($.virtual||($.virtual={}))[d]=s,t&l.R&&m&&!m[d]&&a(m,d,s)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,o){var r=o(45)("keys"),n=o(47);t.exports=function(t){return r[t]||(r[t]=n(t))}},function(t,e){var o=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:o)(t)}},function(t,e,o){var r=o(40),n=o(26);t.exports=function(t){return r(n(t))}},,,,,function(t,e){var o={}.toString;t.exports=function(t){return o.call(t).slice(8,-1)}},function(t,e,o){var r=o(29),n=o(4).document,i=r(n)&&r(n.createElement);t.exports=function(t){return i?n.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,o){var r=o(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,o){"use strict";var r=o(108),n=o(27),i=o(116),a=o(13),l=o(15),d=o(16),c=o(106),s=o(44),p=o(113),u=o(5)("iterator"),f=!([].keys&&"next"in[].keys()),b=function(){return this};t.exports=function(t,e,o,g,h,$,m){c(o,e,g);var v,x,y,w=function(t){if(!f&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new o(this,t)}}return function(){return new o(this,t)}},k=e+" Iterator",_="values"==h,O=!1,j=t.prototype,M=j[u]||j["@@iterator"]||h&&j[h],P=M||w(h),R=h?_?w("entries"):P:void 0,C="Array"==e?j.entries||M:M;if(C&&(y=p(C.call(new t)))!==Object.prototype&&(s(y,k,!0),r||l(y,u)||a(y,u,b)),_&&M&&"values"!==M.name&&(O=!0,P=function(){return M.call(this)}),r&&!m||!f&&!O&&j[u]||a(j,u,P),d[e]=P,d[k]=b,h)if(v={values:_?P:w("values"),keys:$?P:w("keys"),entries:R},m)for(x in v)x in j||i(j,x,v[x]);else n(n.P+n.F*(f||O),e,v);return v}},function(t,e,o){var r=o(114),n=o(39);t.exports=Object.keys||function(t){return r(t,n)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,o){var r=o(17).f,n=o(15),i=o(5)("toStringTag");t.exports=function(t,e,o){t&&!n(t=o?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,o){var r=o(4),n=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return n[t]||(n[t]={})}},function(t,e,o){var r=o(26);t.exports=function(t){return Object(r(t))}},function(t,e){var o=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++o+r).toString(36))}},function(t,e,o){"use strict";function r(t,e){for(var o=t.slice(0,e),r=n("(",o),i=n(")",o),a=r-i;a>0&&e1;)1&e&&(o+=t),e>>=1,t+=t;return o+t}var a=o(25),l=o.n(a),d=o(93),c=o.n(d),s=o(94),p=o.n(s),u=o(6),f=o(7),b=o(19),g=o(18);o.d(e,"b",function(){return m});var h=new RegExp("9","g"),$=i("9",15),m="x",v=new RegExp(m),x=new RegExp(m,"g"),y=new RegExp("^["+f.b+"]*(\\$\\d["+f.b+"]*)+$"),w="["+f.c+"]{0,1}["+f.b+f.d+"]*",k=new RegExp("^"+w+"$","i"),_=function(){function t(e,o){if(c()(this,t),!o)throw new Error("Metadata not passed");e&&o.countries[e]&&(this.default_country=e),this.metadata=o,this.reset()}return p()(t,[{key:"input",value:function(t){var e=o.i(f.e)(t);return e||t&&t.indexOf("+")>=0&&(e="+"),o.i(g.a)(e,k)?this.process_input(o.i(f.f)(e)):this.current_output}},{key:"process_input",value:function(t){if("+"===t[0]&&(this.parsed_input||(this.parsed_input+="+",this.reset_countriness()),t=t.slice(1)),this.parsed_input+=t,this.national_number+=t,this.is_international())if(this.country_phone_code)this.country||this.determine_the_country();else{if(!this.extract_country_phone_code())return this.parsed_input;this.initialize_phone_number_formats_for_this_country_phone_code(),this.reset_format(),this.determine_the_country()}else{var e=this.national_prefix;this.national_number=this.national_prefix+this.national_number,this.extract_national_prefix(),this.national_prefix!==e&&(this.matching_formats=this.available_formats,this.reset_format())}this.match_formats_by_leading_digits();var o=this.format_national_phone_number(t);return o?this.full_phone_number(o):this.parsed_input}},{key:"format_national_phone_number",value:function(t){var e=void 0;this.chosen_format&&(e=this.format_next_national_number_digits(t));var o=this.attempt_to_format_complete_phone_number();return o||(this.choose_another_format()?this.reformat_national_number():e)}},{key:"reset",value:function(){return this.parsed_input="",this.current_output="",this.national_prefix="",this.national_number="",this.reset_countriness(),this.reset_format(),this}},{key:"reset_country",value:function(){this.default_country&&!this.is_international()?this.country=this.default_country:this.country=void 0}},{key:"reset_countriness",value:function(){this.reset_country(),this.default_country&&!this.is_international()?(this.country_metadata=this.metadata.countries[this.default_country],this.country_phone_code=this.country_metadata.phone_code,this.initialize_phone_number_formats_for_this_country_phone_code()):(this.country_metadata=void 0,this.country_phone_code=void 0,this.available_formats=[],this.matching_formats=this.available_formats)}},{key:"reset_format",value:function(){this.chosen_format=void 0,this.template=void 0,this.partially_populated_template=void 0,this.last_match_position=-1}},{key:"reformat_national_number",value:function(){return this.format_next_national_number_digits(this.national_number)}},{key:"initialize_phone_number_formats_for_this_country_phone_code",value:function(){this.available_formats=o.i(u.b)(this.country_metadata).filter(function(t){return y.test(o.i(u.c)(t))}),this.matching_formats=this.available_formats}},{key:"match_formats_by_leading_digits",value:function(){var t=this.national_number,e=t.length-3;e<0&&(e=0),this.matching_formats=this.get_relevant_phone_number_formats().filter(function(r){var n=o.i(u.d)(r).length;if(0===n)return!0;var i=Math.min(e,n-1),a=o.i(u.d)(r)[i];return new RegExp("^("+a+")").test(t)}),this.chosen_format&&-1===this.matching_formats.indexOf(this.chosen_format)&&this.reset_format()}},{key:"get_relevant_phone_number_formats",value:function(){return this.national_number.length<=3?this.available_formats:this.matching_formats}},{key:"attempt_to_format_complete_phone_number",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,i=l()(this.get_relevant_phone_number_formats());!(t=(n=i.next()).done);t=!0){var a=n.value;if(new RegExp("^(?:"+o.i(u.e)(a)+")$").test(this.national_number)&&this.validate_format(a)){this.reset_format(),this.chosen_format=a;var d=o.i(b.b)(this.national_number,a,this.is_international(),this.national_prefix.length>0,this.country_metadata);if(this.create_formatting_template(a))this.reformat_national_number();else{var c=this.full_phone_number(d);this.template=c.replace(/[\d\+]/g,m),this.partially_populated_template=c}return d}}}catch(t){e=!0,r=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw r}}}},{key:"full_phone_number",value:function(t){return this.is_international()?"+"+this.country_phone_code+" "+t:t}},{key:"extract_country_phone_code",value:function(){if(this.national_number){var t=o.i(f.g)(this.parsed_input,this.metadata),e=t.country_phone_code,r=t.number;if(e)return this.country_phone_code=e,this.national_number=r,this.country_metadata=o.i(u.f)(e,this.metadata)}}},{key:"extract_national_prefix",value:function(){if(this.national_prefix="",this.country_metadata){var t=o.i(f.h)(this.national_number,this.country_metadata);return t!==this.national_number&&(this.national_prefix=this.national_number.slice(0,this.national_number.length-t.length),this.national_number=t),this.national_prefix}}},{key:"choose_another_format",value:function(){var t=!0,e=!1,o=void 0;try{for(var r,n=l()(this.get_relevant_phone_number_formats());!(t=(r=n.next()).done);t=!0){var i=r.value;if(this.chosen_format===i)return;if(this.validate_format(i)&&this.create_formatting_template(i))return this.chosen_format=i,this.last_match_position=-1,!0}}catch(t){e=!0,o=t}finally{try{!t&&n.return&&n.return()}finally{if(e)throw o}}this.reset_country(),this.reset_format()}},{key:"validate_format",value:function(t){if(this.is_international()||this.national_prefix||!o.i(u.g)(t,this.country_metadata))return!0}},{key:"create_formatting_template",value:function(t){if(!(o.i(u.e)(t).indexOf("|")>=0)){var e=(o.i(u.h)(t,this.country_metadata),o.i(u.e)(t).replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d")),r=$.match(e)[0];if(!(this.national_number.length>r.length)){var n=this.get_format_format(t);if(this.national_prefix){var a=o.i(u.h)(t,this.country_metadata);a&&(n=n.replace(b.c,a))}var l=r.replace(new RegExp(e,"g"),n).replace(h,m);return this.partially_populated_template=l,l=this.is_international()?m+i(m,this.country_phone_code.length)+" "+l:l.replace(/\d/g,m),this.template=l}}}},{key:"format_next_national_number_digits",value:function(t){var e=!0,o=!1,n=void 0;try{for(var i,a=l()(t);!(e=(i=a.next()).done);e=!0){var d=i.value;if(-1===this.partially_populated_template.slice(this.last_match_position+1).search(v))return this.chosen_format=void 0,this.template=void 0,void(this.partially_populated_template=void 0);this.last_match_position=this.partially_populated_template.search(v),this.partially_populated_template=this.partially_populated_template.replace(v,d)}}catch(t){o=!0,n=t}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}return r(this.partially_populated_template,this.last_match_position+1).replace(x," ")}},{key:"is_international",value:function(){return this.parsed_input&&"+"===this.parsed_input[0]}},{key:"get_format_format",value:function(t){return this.is_international()?o.i(b.d)(o.i(u.c)(t)):o.i(u.i)(t)}},{key:"determine_the_country",value:function(){this.country=o.i(f.i)(this.country_phone_code,this.national_number,this.metadata)}}]),t}();e.a=_},function(t,e,o){"use strict";function r(t,e,r){var a=o.i(n.b)(t,e,r),l=a.input,d=a.metadata;if(!d)throw new Error("Metadata not passed");if(!l)return!1;if(!l.country)return!1;var c=d.countries[l.country];return!(o.i(i.o)(c)&&!o.i(n.a)(l,d))}var n=(o(7),o(20)),i=o(6);e.a=r},,,,,,,,,,,,function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(158)),r(o(159))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(160)),r(o(161))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(162)),r(o(163))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(164)),r(o(165))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(166)),r(o(167))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(168)),r(o(169))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(170)),r(o(171))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(172)),r(o(173))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(174)),r(o(175))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(176)),r(o(177))},function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,r);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};Object.defineProperty(e,"__esModule",{value:!0});var n=o(1),i=o(61),a=o(62),l=o(64),d=o(63),c=o(65),s=o(66),p=o(68),u=o(67),f=o(70),b=o(69),g=o(72),h=o(74),$=o(73),m=o(76),v=o(75),x=o(78),y=o(77),w=o(80),k=o(79),_=o(81),O=o(82),j=o(84),M=o(83),P=o(85),R=o(86);e.CustomValidators={base64:i.base64,creditCard:a.creditCard,date:l.date,dateISO:d.dateISO,digits:c.digits,email:s.email,equal:p.equal,equalTo:u.equalTo,gt:f.gt,gte:b.gte,json:g.json,lt:h.lt,lte:$.lte,max:m.max,maxDate:v.maxDate,min:x.min,minDate:y.minDate,notEqual:w.notEqual,notEqualTo:k.notEqualTo,number:_.number,phone:O.phone,range:j.range,rangeLength:M.rangeLength,url:P.url,uuid:R.uuid};var C=[i.Base64Validator,a.CreditCardValidator,l.DateValidator,d.DateISOValidator,c.DigitsValidator,s.EmailValidator,p.EqualValidator,u.EqualToValidator,f.GreaterThanValidator,b.GreaterThanEqualValidator,g.JSONValidator,h.LessThanValidator,$.LessThanEqualValidator,m.MaxValidator,v.MaxDateValidator,x.MinValidator,y.MinDateValidator,w.NotEqualValidator,k.NotEqualToValidator,_.NumberValidator,O.PhoneValidator,j.RangeValidator,M.RangeLengthValidator,P.UrlValidator,R.UUIDValidator],E=function(){function t(){}return t}();E=r([n.NgModule({declarations:[C],exports:[C]})],E),e.CustomFormsModule=E},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(178)),r(o(179))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(180)),r(o(181))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(182)),r(o(183))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(184)),r(o(185))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(186)),r(o(187))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(188)),r(o(189))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(190)),r(o(191))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(192)),r(o(193))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(194)),r(o(195))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(196)),r(o(197))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(198)),r(o(199))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(200)),r(o(201))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(202)),r(o(203))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(204)),r(o(205))},function(t,e,o){"use strict";function r(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),r(o(206)),r(o(207))},,,function(t,e,o){"use strict";var r=this&&this.__decorate||function(t,e,o,r){var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,r);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};Object.defineProperty(e,"__esModule",{value:!0});var n=o(1),i=o(10),a=o(0),l=o(156),d=o(71),c=function(){function t(){}return t}();c=r([n.NgModule({imports:[i.BrowserModule,a.ReactiveFormsModule,a.FormsModule,d.CustomFormsModule],declarations:[l.AppComponent],bootstrap:[l.AppComponent]})],c),e.AppModule=c},,function(t,e,o){t.exports={default:o(97),__esModule:!0}},function(t,e,o){t.exports={default:o(98),__esModule:!0}},function(t,e,o){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,o){"use strict";e.__esModule=!0;var r=o(92),n=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var o=0;os;)if((l=d[s++])!=l)return!0}else for(;c>s;s++)if((t||s in d)&&d[s]===o)return t||s||0;return!t&&-1}}},function(t,e,o){var r=o(37),n=o(5)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,o,l;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(o=a(e=Object(t),n))?o:i?r(e):"Object"==(l=r(e))&&"function"==typeof e.callee?"Arguments":l}},function(t,e,o){var r=o(99);t.exports=function(t,e,o){if(r(t),void 0===e)return t;switch(o){case 1:return function(o){return t.call(e,o)};case 2:return function(o,r){return t.call(e,o,r)};case 3:return function(o,r,n){return t.call(e,o,r,n)}}return function(){return t.apply(e,arguments)}}},function(t,e,o){t.exports=o(4).document&&document.documentElement},function(t,e,o){t.exports=!o(12)&&!o(28)(function(){return 7!=Object.defineProperty(o(38)("div"),"a",{get:function(){return 7}}).a})},function(t,e,o){"use strict";var r=o(110),n=o(43),i=o(44),a={};o(13)(a,o(5)("iterator"),function(){return this}),t.exports=function(t,e,o){t.prototype=r(a,{next:n(1,o)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=!0},function(t,e,o){"use strict";var r=o(42),n=o(112),i=o(115),a=o(46),l=o(40),d=Object.assign;t.exports=!d||o(28)(function(){var t={},e={},o=Symbol(),r="abcdefghijklmnopqrst";return t[o]=7,r.split("").forEach(function(t){e[t]=t}),7!=d({},t)[o]||Object.keys(d({},e)).join("")!=r})?function(t,e){for(var o=a(t),d=arguments.length,c=1,s=n.f,p=i.f;d>c;)for(var u,f=l(arguments[c++]),b=s?r(f).concat(s(f)):r(f),g=b.length,h=0;g>h;)p.call(f,u=b[h++])&&(o[u]=f[u]);return o}:d},function(t,e,o){var r=o(14),n=o(111),i=o(39),a=o(30)("IE_PROTO"),l=function(){},d=function(){var t,e=o(38)("iframe"),r=i.length;for(e.style.display="none",o(104).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(" - - - - \ No newline at end of file diff --git a/karma-test-shim.js b/karma-test-shim.js deleted file mode 100644 index ac6812b..0000000 --- a/karma-test-shim.js +++ /dev/null @@ -1,24 +0,0 @@ -Error.stackTraceLimit = Infinity; - -require('core-js/es6'); -require('reflect-metadata'); -require('rxjs'); -require('zone.js/dist/zone'); -require('zone.js/dist/long-stack-trace-zone'); -require('zone.js/dist/async-test'); -require('zone.js/dist/fake-async-test'); -require('zone.js/dist/sync-test'); -require('zone.js/dist/proxy'); -require('zone.js/dist/jasmine-patch'); - -var appContext = require.context('./src', true, /\.spec\.ts/); - -appContext.keys().forEach(appContext); - -var testing = require('@angular/core/testing'); -var browser = require('@angular/platform-browser-dynamic/testing'); - -testing.getTestBed().initTestEnvironment( - browser.BrowserDynamicTestingModule, - browser.platformBrowserDynamicTesting() -); diff --git a/karma.conf.js b/karma.conf.js deleted file mode 100644 index 4af58ea..0000000 --- a/karma.conf.js +++ /dev/null @@ -1,51 +0,0 @@ -module.exports = function(config) { - var _config = { - basePath: './', - - frameworks: [ 'jasmine' ], - - files: [ - { pattern: './karma-test-shim.js', watched: false } - ], - - preprocessors: { - './karma-test-shim.js': [ 'webpack', 'sourcemap' ] - }, - - webpack: { - resolve: { - extensions: [' ', '.js', '.ts'] - }, - module: { - loaders: [ - { - test: /\.ts$/, - loader: 'ts-loader' - }, - { - test: /\.html$/, - loader: 'raw-loader' - } - ] - } - }, - - webpackMiddleware: { - stats: 'errors-only' - }, - - webpackServer: { - noInfo: true - }, - - reporters: [ 'progress' ], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: false, - browsers: [ 'PhantomJS' ], - singleRun: true - }; - - config.set(_config); -}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..15a99a1 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,11440 @@ +{ + "name": "ngx-custom-validators", + "version": "7.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@angular-devkit/architect": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.10.3.tgz", + "integrity": "sha512-6isM3knVRsdS3RTh43cwgOpvp5EIm5OswQuimNru+7uP8qhOBDQdRTd/w/HthmHylKPsEFPqEo1l2KoZCCSwvw==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.0.3", + "rxjs": "6.3.3" + } + }, + "@angular-devkit/build-angular": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.10.3.tgz", + "integrity": "sha512-gV/mLAckS1jaXfuAEaO7p9LqcMrVSmwC2ad85J/unJMqkkxTk7S9TgMe8/A3LIOJ1oZyIKniz/Q30JL092EqRA==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.10.3", + "@angular-devkit/build-optimizer": "0.10.3", + "@angular-devkit/build-webpack": "0.10.3", + "@angular-devkit/core": "7.0.3", + "@ngtools/webpack": "7.0.3", + "ajv": "6.5.3", + "autoprefixer": "9.1.5", + "circular-dependency-plugin": "5.0.2", + "clean-css": "4.2.1", + "copy-webpack-plugin": "4.5.4", + "file-loader": "2.0.0", + "glob": "7.1.3", + "istanbul": "0.4.5", + "istanbul-instrumenter-loader": "3.0.1", + "karma-source-map-support": "1.3.0", + "less": "3.8.1", + "less-loader": "4.1.0", + "license-webpack-plugin": "2.0.2", + "loader-utils": "1.1.0", + "mini-css-extract-plugin": "0.4.3", + "minimatch": "3.0.4", + "node-sass": "4.9.3", + "opn": "5.3.0", + "parse5": "4.0.0", + "portfinder": "1.0.17", + "postcss": "7.0.5", + "postcss-import": "12.0.0", + "postcss-loader": "3.0.0", + "raw-loader": "0.5.1", + "rxjs": "6.3.3", + "sass-loader": "7.1.0", + "semver": "5.5.1", + "source-map-loader": "0.2.4", + "source-map-support": "0.5.9", + "speed-measure-webpack-plugin": "^1.2.3", + "stats-webpack-plugin": "0.7.0", + "style-loader": "0.23.0", + "stylus": "0.54.5", + "stylus-loader": "3.0.2", + "terser-webpack-plugin": "1.1.0", + "tree-kill": "1.2.0", + "webpack": "4.19.1", + "webpack-dev-middleware": "3.3.0", + "webpack-dev-server": "3.1.8", + "webpack-merge": "4.1.4", + "webpack-sources": "1.2.0", + "webpack-subresource-integrity": "1.1.0-rc.6" + }, + "dependencies": { + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "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" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-support": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz", + "integrity": "sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + } + } + }, + "@angular-devkit/build-optimizer": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.10.3.tgz", + "integrity": "sha512-NgsS0kdUh/Op9+Kzbq0X6AsTV/BgpVtiF5UxZjdWVQgPPOdur5V9PkpRn9odey+06S/wDTE/UzPmT3qKXTQVHw==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "source-map": "0.5.6", + "typescript": "3.1.3", + "webpack-sources": "1.2.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", + "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "dev": true + } + } + }, + "@angular-devkit/build-webpack": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.10.3.tgz", + "integrity": "sha512-2uZselfqpxnPbV9d2dRCgl4lJjD1xemNpRijxFIuxeXvadqTPkHA0YuUkX7CTajtwSWy3Cs69StL87b9gYFLSA==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.10.3", + "@angular-devkit/core": "7.0.3", + "rxjs": "6.3.3" + } + }, + "@angular-devkit/core": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.0.3.tgz", + "integrity": "sha512-Yp0AhTuJbp0VwCHTmUOANrKZNQxTD/F49jPmSCBa/VMYMIoU/sUIiHVNdwzfcFnMoExGoXYah0kutBxgNIG3OA==", + "dev": true, + "requires": { + "ajv": "6.5.3", + "chokidar": "2.0.4", + "fast-json-stable-stringify": "2.0.0", + "rxjs": "6.3.3", + "source-map": "0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, + "@angular-devkit/schematics": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-7.0.3.tgz", + "integrity": "sha512-FhfPvn5hBCNSj39qLgVaSwa6Zl0qt3Uyw4B9M+Kv01/FFc9xrowldzNT4QRxBjjWbr6DssEP+tYQCPV3Ouwx5w==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.0.3", + "rxjs": "6.3.3" + } + }, + "@angular/animations": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-7.0.1.tgz", + "integrity": "sha512-gRirN4Maduh198VhpI1cLoWCtD/BTQT4lPuwiVkHYaradiwEqPlyE+EP/4QZRmFZH+BqwvjS+FYtICznE668Cg==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/cli": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.0.3.tgz", + "integrity": "sha512-la1Jktl9qGqGLXDy43lTU1D8KkN0zAohD9mOq4ilgNigzpedXFbzsGXJdWv7xVBMG51M6uhw3HWuFprQmbwgIw==", + "dev": true, + "requires": { + "@angular-devkit/architect": "0.10.3", + "@angular-devkit/core": "7.0.3", + "@angular-devkit/schematics": "7.0.3", + "@schematics/angular": "7.0.3", + "@schematics/update": "0.10.3", + "inquirer": "6.2.0", + "opn": "5.3.0", + "rxjs": "6.3.3", + "semver": "5.5.1", + "symbol-observable": "1.2.0" + } + }, + "@angular/common": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-7.0.1.tgz", + "integrity": "sha512-QnGwwM6+OLuzu0VZvzQMPENJQgOMmcjZC1vxWu5y62fPI3BsTDYaePOAEN6mfY8R09J90FmF2IXXC5DN/el0Ug==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/compiler": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-7.0.1.tgz", + "integrity": "sha512-X/q51ZAFd0GBJyuZTOKpieyePhlNBAfYCPRi57S2BpxG6i9QjjeM+sPwzjsMmU1P6Qyt/pPpVG738mLocPvdpA==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/compiler-cli": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-7.0.1.tgz", + "integrity": "sha512-WXl2bDoAYWsxwjuIrY34eNZ6Ph4fUff2eK+ZPnkm5zSud1ZlC0zqcG//ccoLqS4Bly3He2obSJ+8SaQjzsqK1g==", + "dev": true, + "requires": { + "canonical-path": "0.0.2", + "chokidar": "^1.4.2", + "convert-source-map": "^1.5.1", + "dependency-graph": "^0.7.2", + "magic-string": "^0.25.0", + "minimist": "^1.2.0", + "reflect-metadata": "^0.1.2", + "shelljs": "^0.8.1", + "source-map": "^0.6.1", + "yargs": "9.0.1" + }, + "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": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "requires": { + "micromatch": "^2.1.5", + "normalize-path": "^2.0.0" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1" + } + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + } + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "^1.3.0", + "async-each": "^1.0.0", + "fsevents": "^1.0.0", + "glob-parent": "^2.0.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^2.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "^0.1.0" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "^2.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + } + }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "dev": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + } + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "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" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yargs": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-9.0.1.tgz", + "integrity": "sha1-UqzCP+7Kw0BCB47njAwAf1CF20w=", + "dev": true, + "requires": { + "camelcase": "^4.1.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "read-pkg-up": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^7.0.0" + } + }, + "yargs-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", + "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, + "@angular/core": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-7.0.1.tgz", + "integrity": "sha512-u/3Xx+tIddVC1wANjK1F102uG8fQrNd4Y9nlz3vtKcnFX66b2SQlnjWd18L8FmzYtzaI44RxSWWTPQB0eTx1xw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/forms": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-7.0.1.tgz", + "integrity": "sha512-AjpPe3cg2S3hfp9p5IGvvoXt7tqhHnz8V6f7BWR+cp6Jxn0OBpBt8a+5AXIiUZ+X+9CtDVJZXMyiTfZwUhbvIw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/http": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/http/-/http-7.0.1.tgz", + "integrity": "sha512-3W5k5cSj9qj8jVU1EgtGKCxVcP1SH/LB5X34oVjtIEZBAESC8ZT1sYr+AvZLFs8Bw0EmqzQJ/hA2PziUZ2jsUw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/language-service": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-7.0.1.tgz", + "integrity": "sha512-RtGG0YDWUXD06xwKIEN8vECHV4zKGzIpjzoxNYSNjR1KLXQUElMfQFEx79kmlKbcRt7I+g8c2wGzFnqjopCpeQ==", + "dev": true + }, + "@angular/platform-browser": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-7.0.1.tgz", + "integrity": "sha512-rGD9c6GN1oDdwy2FkcGKV11Pj3BFKGvnKByawv3S7DutrSgSF4LO529CFiGD0eMTCh2C/yzufC8pXngPj/XHUA==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/platform-browser-dynamic": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-7.0.1.tgz", + "integrity": "sha512-9pn+1lSxXXq6swrlAHlyufcy7sGolQklyrHm79kr6RXnl/hwEvxuFZQ+ki3bihdcUt9sgu3uPrw4I0a5TtzGhQ==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@angular/router": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-7.0.1.tgz", + "integrity": "sha512-1HhTsbwZYxXLgfd6g9Ok2UQjtRBttSaBkWdRM5hbisl3nMnnNOGEMF/B4/UrRQ7phqbUw4eKniUcZm/7UbK7EA==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "@babel/code-frame": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", + "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", + "dev": true, + "requires": { + "@babel/highlight": "^7.0.0" + } + }, + "@babel/generator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0.tgz", + "integrity": "sha512-/BM2vupkpbZXq22l1ALO7MqXJZH2k8bKVv8Y+pABFnzWdztDB/ZLveP5At21vLz5c2YtSE6p7j2FZEsqafMz5Q==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "jsesc": "^2.5.1", + "lodash": "^4.17.10", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0.tgz", + "integrity": "sha512-Zo+LGvfYp4rMtz84BLF3bavFTdf8y4rJtMPTe2J+rxYmnDOIeH8le++VFI/pRJU+rQhjqiXxE4LMaIau28Tv1Q==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.0.0", + "@babel/template": "^7.0.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", + "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz", + "integrity": "sha512-MXkOJqva62dfC0w85mEf/LucPPS/1+04nmmRMPEBUB++hiiThQ2zPtX/mEWQ3mtzCEjIJvPY8nuwxXtQeQwUag==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@babel/highlight": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", + "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + } + } + }, + "@babel/parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0.tgz", + "integrity": "sha512-RgJhNdRinpO8zibnoHbzTTexNs4c8ROkXFBanNDZTLHjwbdLk8J5cJSKulx/bycWTLYmKVNCkxRtVCoJnqPk+g==", + "dev": true + }, + "@babel/template": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0.tgz", + "integrity": "sha512-VLQZik/G5mjYJ6u19U3W2u7eM+rA/NGzH+GtHDFFkLTKLW66OasFrxZ/yK7hkyQcswrmvugFyZpDFRW0DjcjCw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.0.0", + "@babel/types": "^7.0.0" + } + }, + "@babel/traverse": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0.tgz", + "integrity": "sha512-ka/lwaonJZTlJyn97C4g5FYjPOx+Oxd3ab05hbDr1Mx9aP1FclJ+SUHyLx3Tx40sGmOVJApDxE6puJhd3ld2kw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/generator": "^7.0.0", + "@babel/helper-function-name": "^7.0.0", + "@babel/helper-split-export-declaration": "^7.0.0", + "@babel/parser": "^7.0.0", + "@babel/types": "^7.0.0", + "debug": "^3.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.10" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0.tgz", + "integrity": "sha512-5tPDap4bGKTLPtci2SUl/B7Gv8RnuJFuQoWx26RJobS0fFrz4reUA3JnwIM+HVHEmWE0C1mzKhDtTp8NsWY02Q==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.10", + "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@ngtools/json-schema": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@ngtools/json-schema/-/json-schema-1.1.0.tgz", + "integrity": "sha1-w6DFRNYjkqzCgTpCyKDcb1j4aSI=", + "dev": true + }, + "@ngtools/webpack": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-7.0.3.tgz", + "integrity": "sha512-8vllt35aCARPF8LJ3YfVpqTG39/vDLtY8+8LZqUKnOIlX9F0uzuQl86pmKoIAyk6sLPkR0SpaMGwYDunVjzxRQ==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.0.3", + "enhanced-resolve": "4.1.0", + "rxjs": "6.3.3", + "tree-kill": "1.2.0", + "webpack-sources": "1.2.0" + } + }, + "@schematics/angular": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-7.0.3.tgz", + "integrity": "sha512-x367+yMZIyGL+XWcSELsjyv2x0sZWlEd/5uEGalFqH2Q8ViXkTnXWek7TzzGjt+APM8WfF2JUbrmb8yxZ2g99Q==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.0.3", + "@angular-devkit/schematics": "7.0.3", + "typescript": "3.1.3" + } + }, + "@schematics/update": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.10.3.tgz", + "integrity": "sha512-ExL2+qeQERihsYSJnOvIk10z1uWdh848bLla5Tb1SfH8Qwd16mmFhlBb4p6plK6/jL2zf9FndjV6dVwZ8iyOkA==", + "dev": true, + "requires": { + "@angular-devkit/core": "7.0.3", + "@angular-devkit/schematics": "7.0.3", + "npm-registry-client": "8.6.0", + "rxjs": "6.3.3", + "semver": "5.5.1", + "semver-intersect": "1.4.0" + } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "@types/jasmine": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-2.8.9.tgz", + "integrity": "sha512-8dPZwjosElZOGGYw1nwTvOEMof4gjwAWNFS93nBI091BoEfd5drnHOLRMiRF/LOPuMTn5LgEdv0bTUO8QFVuHQ==", + "dev": true + }, + "@types/jasminewd2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/jasminewd2/-/jasminewd2-2.0.5.tgz", + "integrity": "sha512-1awkm/O4pQCR9hI2F80HmIOda/L+ogkSL8Arj1k00eue5VLY5ooewhSOyF/cUJE0S+/34uD5EYY3zmd6fu2OCA==", + "dev": true, + "requires": { + "@types/jasmine": "*" + } + }, + "@types/node": { + "version": "10.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.0.tgz", + "integrity": "sha512-3TUHC3jsBAB7qVRGxT6lWyYo2v96BMmD2PTcl47H25Lu7UXtFH/2qqmKiVrnel6Ne//0TFYf6uvNX+HW2FRkLQ==", + "dev": true + }, + "@types/q": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/@types/q/-/q-0.0.32.tgz", + "integrity": "sha1-vShOV8hPEyXacCur/IKlMoGQwMU=", + "dev": true + }, + "@types/selenium-webdriver": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-3.0.10.tgz", + "integrity": "sha512-ikB0JHv6vCR1KYUQAzTO4gi/lXLElT4Tx+6De2pc/OZwizE9LRNiTa+U8TBFKBD/nntPnr/MPSHSnOTybjhqNA==", + "dev": true + }, + "@webassemblyjs/ast": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.6.tgz", + "integrity": "sha512-8nkZS48EVsMUU0v6F1LCIOw4RYWLm2plMtbhFTjNgeXmsTNLuU3xTRtnljt9BFQB+iPbLRobkNrCWftWnNC7wQ==", + "dev": true, + "requires": { + "@webassemblyjs/helper-module-context": "1.7.6", + "@webassemblyjs/helper-wasm-bytecode": "1.7.6", + "@webassemblyjs/wast-parser": "1.7.6", + "mamacro": "^0.0.3" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.6.tgz", + "integrity": "sha512-VBOZvaOyBSkPZdIt5VBMg3vPWxouuM13dPXGWI1cBh3oFLNcFJ8s9YA7S9l4mPI7+Q950QqOmqj06oa83hNWBA==", + "dev": true + }, + "@webassemblyjs/helper-api-error": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.6.tgz", + "integrity": "sha512-SCzhcQWHXfrfMSKcj8zHg1/kL9kb3aa5TN4plc/EREOs5Xop0ci5bdVBApbk2yfVi8aL+Ly4Qpp3/TRAUInjrg==", + "dev": true + }, + "@webassemblyjs/helper-buffer": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.6.tgz", + "integrity": "sha512-1/gW5NaGsEOZ02fjnFiU8/OEEXU1uVbv2um0pQ9YVL3IHSkyk6xOwokzyqqO1qDZQUAllb+V8irtClPWntbVqw==", + "dev": true + }, + "@webassemblyjs/helper-code-frame": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.6.tgz", + "integrity": "sha512-+suMJOkSn9+vEvDvgyWyrJo5vJsWSDXZmJAjtoUq4zS4eqHyXImpktvHOZwXp1XQjO5H+YQwsBgqTQEc0J/5zg==", + "dev": true, + "requires": { + "@webassemblyjs/wast-printer": "1.7.6" + } + }, + "@webassemblyjs/helper-fsm": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.6.tgz", + "integrity": "sha512-HCS6KN3wgxUihGBW7WFzEC/o8Eyvk0d56uazusnxXthDPnkWiMv+kGi9xXswL2cvfYfeK5yiM17z2K5BVlwypw==", + "dev": true + }, + "@webassemblyjs/helper-module-context": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.6.tgz", + "integrity": "sha512-e8/6GbY7OjLM+6OsN7f2krC2qYVNaSr0B0oe4lWdmq5sL++8dYDD1TFbD1TdAdWMRTYNr/Qq7ovXWzia2EbSjw==", + "dev": true, + "requires": { + "mamacro": "^0.0.3" + } + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.6.tgz", + "integrity": "sha512-PzYFCb7RjjSdAOljyvLWVqd6adAOabJW+8yRT+NWhXuf1nNZWH+igFZCUK9k7Cx7CsBbzIfXjJc7u56zZgFj9Q==", + "dev": true + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.6.tgz", + "integrity": "sha512-3GS628ppDPSuwcYlQ7cDCGr4W2n9c4hLzvnRKeuz+lGsJSmc/ADVoYpm1ts2vlB1tGHkjtQMni+yu8mHoMlKlA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/helper-buffer": "1.7.6", + "@webassemblyjs/helper-wasm-bytecode": "1.7.6", + "@webassemblyjs/wasm-gen": "1.7.6" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.6.tgz", + "integrity": "sha512-V4cIp0ruyw+hawUHwQLn6o2mFEw4t50tk530oKsYXQhEzKR+xNGDxs/SFFuyTO7X3NzEu4usA3w5jzhl2RYyzQ==", + "dev": true, + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.6.tgz", + "integrity": "sha512-ojdlG8WpM394lBow4ncTGJoIVZ4aAtNOWHhfAM7m7zprmkVcKK+2kK5YJ9Bmj6/ketTtOn7wGSHCtMt+LzqgYQ==", + "dev": true, + "requires": { + "@xtuc/long": "4.2.1" + } + }, + "@webassemblyjs/utf8": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.6.tgz", + "integrity": "sha512-oId+tLxQ+AeDC34ELRYNSqJRaScB0TClUU6KQfpB8rNT6oelYlz8axsPhf6yPTg7PBJ/Z5WcXmUYiHEWgbbHJw==", + "dev": true + }, + "@webassemblyjs/wasm-edit": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.6.tgz", + "integrity": "sha512-pTNjLO3o41v/Vz9VFLl+I3YLImpCSpodFW77pNoH4agn5I6GgSxXHXtvWDTvYJFty0jSeXZWLEmbaSIRUDlekg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/helper-buffer": "1.7.6", + "@webassemblyjs/helper-wasm-bytecode": "1.7.6", + "@webassemblyjs/helper-wasm-section": "1.7.6", + "@webassemblyjs/wasm-gen": "1.7.6", + "@webassemblyjs/wasm-opt": "1.7.6", + "@webassemblyjs/wasm-parser": "1.7.6", + "@webassemblyjs/wast-printer": "1.7.6" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.6.tgz", + "integrity": "sha512-mQvFJVumtmRKEUXMohwn8nSrtjJJl6oXwF3FotC5t6e2hlKMh8sIaW03Sck2MDzw9xPogZD7tdP5kjPlbH9EcQ==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/helper-wasm-bytecode": "1.7.6", + "@webassemblyjs/ieee754": "1.7.6", + "@webassemblyjs/leb128": "1.7.6", + "@webassemblyjs/utf8": "1.7.6" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.6.tgz", + "integrity": "sha512-go44K90fSIsDwRgtHhX14VtbdDPdK2sZQtZqUcMRvTojdozj5tLI0VVJAzLCfz51NOkFXezPeVTAYFqrZ6rI8Q==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/helper-buffer": "1.7.6", + "@webassemblyjs/wasm-gen": "1.7.6", + "@webassemblyjs/wasm-parser": "1.7.6" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.6.tgz", + "integrity": "sha512-t1T6TfwNY85pDA/HWPA8kB9xA4sp9ajlRg5W7EKikqrynTyFo+/qDzIpvdkOkOGjlS6d4n4SX59SPuIayR22Yg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/helper-api-error": "1.7.6", + "@webassemblyjs/helper-wasm-bytecode": "1.7.6", + "@webassemblyjs/ieee754": "1.7.6", + "@webassemblyjs/leb128": "1.7.6", + "@webassemblyjs/utf8": "1.7.6" + } + }, + "@webassemblyjs/wast-parser": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.6.tgz", + "integrity": "sha512-1MaWTErN0ziOsNUlLdvwS+NS1QWuI/kgJaAGAMHX8+fMJFgOJDmN/xsG4h/A1Gtf/tz5VyXQciaqHZqp2q0vfg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/floating-point-hex-parser": "1.7.6", + "@webassemblyjs/helper-api-error": "1.7.6", + "@webassemblyjs/helper-code-frame": "1.7.6", + "@webassemblyjs/helper-fsm": "1.7.6", + "@xtuc/long": "4.2.1", + "mamacro": "^0.0.3" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.6.tgz", + "integrity": "sha512-vHdHSK1tOetvDcl1IV1OdDeGNe/NDDQ+KzuZHMtqTVP1xO/tZ/IKNpj5BaGk1OYFdsDWQqb31PIwdEyPntOWRQ==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/wast-parser": "1.7.6", + "@xtuc/long": "4.2.1" + } + }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "@xtuc/long": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.1.tgz", + "integrity": "sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g==", + "dev": true + }, + "abbrev": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", + "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=", + "dev": true + }, + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "~2.1.18", + "negotiator": "0.6.1" + } + }, + "acorn": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "dev": true + }, + "acorn-dynamic-import": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz", + "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==", + "dev": true, + "requires": { + "acorn": "^5.0.0" + } + }, + "adm-zip": { + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.11.tgz", + "integrity": "sha512-L8vcjDTCOIJk7wFvmlEUN7AsSb8T+2JrdP7KINBjzr24TJ5Mwj590sLu3BC7zNZowvJWa/JtPmD8eJCzdtDWjA==", + "dev": true + }, + "after": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", + "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", + "dev": true + }, + "agent-base": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz", + "integrity": "sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg==", + "dev": true, + "requires": { + "es6-promisify": "^5.0.0" + } + }, + "ajv": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.3.tgz", + "integrity": "sha512-LqZ9wY+fx3UMiiPd741yB2pj3hhil+hQc8taf4o2QGRFpWgZ2V5C8HA165DY9sS3fJwsk7uT7ZlFEyC3Ig3lLg==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "dependencies": { + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + } + } + }, + "ajv-errors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.0.tgz", + "integrity": "sha1-7PAh+hCP0X37Xms4Py3SM+Mf/Fk=", + "dev": true + }, + "ajv-keywords": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", + "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=", + "dev": true + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-align": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz", + "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=", + "dev": true, + "requires": { + "string-width": "^2.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 + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "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" + } + } + } + }, + "ansi-colors": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.1.tgz", + "integrity": "sha512-Xt+zb6nqgvV9SWAVp0EG3lRsHcbq5DDgqjPPz6pwgtj6RKz65zGXMNa82oJfOSBA/to6GmRP7Dr+6o+kbApTzQ==", + "dev": true + }, + "ansi-escapes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "dev": true + }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "app-root-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-2.1.0.tgz", + "integrity": "sha1-mL9lmTJ+zqGZMJhm6BQDaP0uZGo=", + "dev": true + }, + "append-transform": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-1.0.0.tgz", + "integrity": "sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw==", + "dev": true, + "requires": { + "default-require-extensions": "^2.0.0" + } + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "argparse": { + "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.2" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-flatten": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.1.tgz", + "integrity": "sha1-Qmu52oQJDBg42BLIFQryCoMx4pY=", + "dev": true + }, + "array-slice": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz", + "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "arraybuffer.slice": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz", + "integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "async-limiter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "autoprefixer": { + "version": "9.1.5", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.1.5.tgz", + "integrity": "sha512-kk4Zb6RUc58ld7gdosERHMF3DzIYJc2fp5sX46qEsGXQQy5bXsu8qyLjoxuY1NuQ/cJuCYnx99BfjwnRggrYIw==", + "dev": true, + "requires": { + "browserslist": "^4.1.0", + "caniuse-lite": "^1.0.30000884", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "postcss": "^7.0.2", + "postcss-value-parser": "^3.2.3" + } + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "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.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "babel-generator": { + "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", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "base64-js": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", + "dev": true + }, + "base64id": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz", + "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "optional": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "better-assert": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", + "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", + "dev": true, + "requires": { + "callsite": "1.0.0" + } + }, + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true + }, + "binary-extensions": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz", + "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==", + "dev": true + }, + "blob": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz", + "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=", + "dev": true + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "~2.0.0" + } + }, + "blocking-proxy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-1.0.1.tgz", + "integrity": "sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "bluebird": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", + "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==", + "dev": true + }, + "bn.js": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", + "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", + "dev": true + }, + "body-parser": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", + "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "~1.6.3", + "iconv-lite": "0.4.23", + "on-finished": "~2.3.0", + "qs": "6.5.2", + "raw-body": "2.3.3", + "type-is": "~1.6.16" + } + }, + "bonjour": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", + "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", + "dev": true, + "requires": { + "array-flatten": "^2.1.0", + "deep-equal": "^1.0.1", + "dns-equal": "^1.0.0", + "dns-txt": "^2.0.2", + "multicast-dns": "^6.0.1", + "multicast-dns-service-types": "^1.1.0" + } + }, + "bootstrap": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.3.tgz", + "integrity": "sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w==", + "dev": true + }, + "boxen": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", + "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", + "dev": true, + "requires": { + "ansi-align": "^2.0.0", + "camelcase": "^4.0.0", + "chalk": "^2.0.1", + "cli-boxes": "^1.0.0", + "string-width": "^2.0.0", + "term-size": "^1.2.0", + "widest-line": "^2.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 + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "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" + } + } + } + }, + "brace-expansion": { + "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", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", + "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", + "dev": true, + "requires": { + "bn.js": "^4.1.1", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.2", + "elliptic": "^6.0.0", + "inherits": "^2.0.1", + "parse-asn1": "^5.0.0" + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "requires": { + "pako": "~1.0.5" + } + }, + "browserslist": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.3.3.tgz", + "integrity": "sha512-6h84UD1mmHeuQ9IucX6yzBc+KBYcBBTLYt2CXtY7GYCra6iE5kOm7oM+zuGw/0tjGtbJxjm58OvxSBmogEMCRQ==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30000898", + "electron-to-chromium": "^1.3.81", + "node-releases": "^1.0.0-alpha.15" + } + }, + "browserstack": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/browserstack/-/browserstack-1.5.1.tgz", + "integrity": "sha512-O8VMT64P9NOLhuIoD4YngyxBURefaSdR4QdhG8l6HZ9VxtU7jc3m6jLufFwKA5gaf7fetfB2TnRJnMxyob+heg==", + "dev": true, + "requires": { + "https-proxy-agent": "^2.2.1" + } + }, + "buffer": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "buffer-alloc": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "dev": true, + "requires": { + "buffer-alloc-unsafe": "^1.1.0", + "buffer-fill": "^1.0.0" + } + }, + "buffer-alloc-unsafe": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "dev": true + }, + "buffer-fill": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "buffer-indexof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", + "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==", + "dev": true + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=", + "dev": true + }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cacache": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", + "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", + "dev": true, + "requires": { + "bluebird": "^3.5.1", + "chownr": "^1.0.1", + "glob": "^7.1.2", + "graceful-fs": "^4.1.11", + "lru-cache": "^4.1.1", + "mississippi": "^2.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^5.2.4", + "unique-filename": "^1.1.0", + "y18n": "^4.0.0" + } + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "callsite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=", + "dev": true + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, + "caniuse-lite": { + "version": "1.0.30000899", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000899.tgz", + "integrity": "sha512-enC3zKfUCJxxwvUIsBkbHd54CtJw1KtIWvrK0JZxWD/fEN2knHaai45lndJ4xXAkyRAPyk60J3yagkKDWhfeMA==", + "dev": true + }, + "canonical-path": { + "version": "0.0.2", + "resolved": "http://registry.npmjs.org/canonical-path/-/canonical-path-0.0.2.tgz", + "integrity": "sha1-4x65N6jJPuKgHfGDl5RyGQKHRXQ=", + "dev": true + }, + "capture-stack-trace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz", + "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "chokidar": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.0", + "braces": "^2.3.0", + "fsevents": "^1.2.2", + "glob-parent": "^3.1.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "lodash.debounce": "^4.0.8", + "normalize-path": "^2.1.1", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0", + "upath": "^1.0.5" + } + }, + "chownr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", + "dev": true + }, + "chrome-trace-event": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz", + "integrity": "sha512-xDbVgyfDTT2piup/h8dK/y4QZfJRSa73bw1WZ8b4XM1o7fsFubUVGYcE+1ANtOzJJELGpYoG2961z0Z6OAld9A==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "ci-info": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", + "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==", + "dev": true + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "circular-dependency-plugin": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-5.0.2.tgz", + "integrity": "sha512-oC7/DVAyfcY3UWKm0sN/oVoDedQDQiw/vIiAnuTWTpE5s0zWf7l3WY417Xw/Fbi/QbAjctAkxgMiS9P0s3zkmA==", + "dev": true + }, + "circular-json": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.5.9.tgz", + "integrity": "sha512-4ivwqHpIFJZBuhN3g/pEcdbnGUywkBblloGbkglyloVjjR3uT6tieI89MVOfbP2tHX5sgb01FuLgAOzebNlJNQ==", + "dev": true + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "clean-css": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", + "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "cli-boxes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", + "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=", + "dev": true + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "^2.0.0" + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=", + "dev": true + }, + "clone-deep": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz", + "integrity": "sha512-SZegPTKjCgpQH63E+eN6mVEEPdQBOUzjyJm5Pora4lrwWRFS8I0QAxV/KD6vV/i0WuijHZWQC1fMsPEdxfdVCQ==", + "dev": true, + "requires": { + "for-own": "^1.0.0", + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.0", + "shallow-clone": "^1.0.0" + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "codelyzer": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/codelyzer/-/codelyzer-4.5.0.tgz", + "integrity": "sha512-oO6vCkjqsVrEsmh58oNlnJkRXuA30hF8cdNAQV9DytEalDwyOFRvHMnlKFzmOStNerOmPGZU9GAHnBo4tGvtiQ==", + "dev": true, + "requires": { + "app-root-path": "^2.1.0", + "css-selector-tokenizer": "^0.7.0", + "cssauron": "^1.4.0", + "semver-dsl": "^1.0.1", + "source-map": "^0.5.7", + "sprintf-js": "^1.1.1" + }, + "dependencies": { + "sprintf-js": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.1.tgz", + "integrity": "sha1-Nr54Mgr+WAH2zqPueLblqrlA6gw=", + "dev": true + } + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", + "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", + "dev": true, + "requires": { + "color-name": "1.1.1" + } + }, + "color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=", + "dev": true + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true + }, + "combine-lists": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz", + "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=", + "dev": true, + "requires": { + "lodash": "^4.5.0" + } + }, + "combined-stream": { + "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.16.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.16.0.tgz", + "integrity": "sha512-sVXqklSaotK9at437sFlFpyOcJonxe0yST/AG9DkQKUdIE6IqGIMv4SfAQSKaJbSdVEJYItASCrBiVQHq1HQew==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "compare-versions": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.4.0.tgz", + "integrity": "sha512-tK69D7oNXXqUW3ZNo/z7NXTEz22TCF0pTE+YF9cxvaAM9XnkLo1fV621xCLrRR6aevJlKxExkss0vWqUCUpqdg==", + "dev": true + }, + "component-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", + "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=", + "dev": true + }, + "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 + }, + "component-inherit": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", + "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", + "dev": true + }, + "compressible": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz", + "integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==", + "dev": true, + "requires": { + "mime-db": ">= 1.36.0 < 2" + }, + "dependencies": { + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + } + } + }, + "compression": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz", + "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==", + "dev": true, + "requires": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.14", + "debug": "2.6.9", + "on-headers": "~1.0.1", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "configstore": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", + "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", + "dev": true, + "requires": { + "dot-prop": "^4.1.0", + "graceful-fs": "^4.1.2", + "make-dir": "^1.0.0", + "unique-string": "^1.0.0", + "write-file-atomic": "^2.0.0", + "xdg-basedir": "^3.0.0" + } + }, + "connect": { + "version": "3.6.6", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz", + "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=", + "dev": true, + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.0", + "parseurl": "~1.3.2", + "utils-merge": "1.0.1" + }, + "dependencies": { + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.1", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.3.1", + "unpipe": "~1.0.0" + } + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + } + } + }, + "connect-history-api-fallback": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=", + "dev": true + }, + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "requires": { + "date-now": "^0.1.4" + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + } + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "copy-webpack-plugin": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.5.4.tgz", + "integrity": "sha512-0lstlEyj74OAtYMrDxlNZsU7cwFijAI3Ofz2fD6Mpo9r4xCv4yegfa3uHIKvZY1NSuOtE9nvG6TAhJ+uz9gDaQ==", + "dev": true, + "requires": { + "cacache": "^10.0.4", + "find-cache-dir": "^1.0.0", + "globby": "^7.1.1", + "is-glob": "^4.0.0", + "loader-utils": "^1.1.0", + "minimatch": "^3.0.4", + "p-limit": "^1.0.0", + "serialize-javascript": "^1.4.0" + } + }, + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cosmiconfig": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz", + "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==", + "dev": true, + "requires": { + "is-directory": "^0.3.1", + "js-yaml": "^3.9.0", + "parse-json": "^4.0.0", + "require-from-string": "^2.0.1" + }, + "dependencies": { + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + } + } + }, + "create-ecdh": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", + "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.0.0" + } + }, + "create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "dev": true, + "requires": { + "capture-stack-trace": "^1.0.0" + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "crypto-random-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", + "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=", + "dev": true + }, + "css-parse": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz", + "integrity": "sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=", + "dev": true + }, + "css-selector-tokenizer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", + "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", + "dev": true, + "requires": { + "cssesc": "^0.1.0", + "fastparse": "^1.1.1", + "regexpu-core": "^1.0.0" + } + }, + "cssauron": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cssauron/-/cssauron-1.4.0.tgz", + "integrity": "sha1-pmAt/34EqDBtwNuaVR6S6LVmKtg=", + "dev": true, + "requires": { + "through": "X.X.X" + } + }, + "cssesc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", + "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=", + "dev": true + }, + "cuint": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz", + "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs=", + "dev": true + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } + }, + "custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "dev": true + }, + "cyclist": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz", + "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA=", + "dev": true + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "date-format": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-1.2.0.tgz", + "integrity": "sha1-YV6CjiM90aubua4JUODOzPpuytg=", + "dev": true + }, + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", + "dev": true + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "default-gateway": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz", + "integrity": "sha512-lAc4i9QJR0YHSDFdzeBQKfZ1SRDG3hsJNEkrpcZa8QhBfidLAilT60BDEIVUUGqosFp425KOgB3uYqcnQrWafQ==", + "dev": true, + "requires": { + "execa": "^0.10.0", + "ip-regex": "^2.1.0" + } + }, + "default-require-extensions": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz", + "integrity": "sha1-9fj7sYp9bVCyH2QfZJ67Uiz+JPc=", + "dev": true, + "requires": { + "strip-bom": "^3.0.0" + }, + "dependencies": { + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "del": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", + "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", + "dev": true, + "requires": { + "globby": "^6.1.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "p-map": "^1.1.1", + "pify": "^3.0.0", + "rimraf": "^2.2.8" + }, + "dependencies": { + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + } + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "dependency-graph": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.7.2.tgz", + "integrity": "sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ==", + "dev": true + }, + "des.js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "detect-node": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", + "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", + "dev": true + }, + "di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "dev": true + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "dir-glob": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz", + "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==", + "dev": true, + "requires": { + "arrify": "^1.0.1", + "path-type": "^3.0.0" + } + }, + "dns-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", + "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", + "dev": true + }, + "dns-packet": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", + "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", + "dev": true, + "requires": { + "ip": "^1.1.0", + "safe-buffer": "^5.0.1" + } + }, + "dns-txt": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", + "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", + "dev": true, + "requires": { + "buffer-indexof": "^1.0.0" + } + }, + "dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "dev": true, + "requires": { + "custom-event": "~1.0.0", + "ent": "~2.2.0", + "extend": "^3.0.0", + "void-elements": "^2.0.0" + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "dot-prop": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", + "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", + "dev": true, + "requires": { + "is-obj": "^1.0.0" + } + }, + "duplexer3": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", + "dev": true + }, + "duplexify": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.1.tgz", + "integrity": "sha512-vM58DwdnKmty+FSPzT14K9JXb90H+j5emaR4KYbr2KTIz00WHGbWOe5ghQTx233ZCLZtrGDALzKwcjEtSt35mA==", + "dev": true, + "requires": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "optional": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.82", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.82.tgz", + "integrity": "sha512-NI4nB2IWGcU4JVT1AE8kBb/dFor4zjLHMLsOROPahppeHrR0FG5uslxMmkp/thO1MvPjM2xhlKoY29/I60s0ew==", + "dev": true + }, + "elliptic": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz", + "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==", + "dev": true, + "requires": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" + } + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "end-of-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "engine.io": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.2.0.tgz", + "integrity": "sha512-mRbgmAtQ4GAlKwuPnnAvXXwdPhEx+jkc0OBCLrXuD/CRvwNK3AxRSnqK4FSqmAMRRHryVJP8TopOvmEaA64fKw==", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "base64id": "1.0.0", + "cookie": "0.3.1", + "debug": "~3.1.0", + "engine.io-parser": "~2.1.0", + "ws": "~3.3.1" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "engine.io-client": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", + "integrity": "sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "component-inherit": "0.0.3", + "debug": "~3.1.0", + "engine.io-parser": "~2.1.1", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "ws": "~3.3.1", + "xmlhttprequest-ssl": "~1.5.4", + "yeast": "0.1.2" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "engine.io-parser": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.2.tgz", + "integrity": "sha512-dInLFzr80RijZ1rGpx1+56/uFoH7/7InhH3kZt+Ms6hT8tNx3NGW/WNSA/f8As1WkOfkuyb3tnRyuXGxusclMw==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.4", + "has-binary2": "~1.0.2" + } + }, + "enhanced-resolve": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz", + "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "memory-fs": "^0.4.0", + "tapable": "^1.0.0" + } + }, + "ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", + "dev": true + }, + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", + "dev": true, + "requires": { + "prr": "~1.0.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es6-promise": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.5.tgz", + "integrity": "sha512-n6wvpdE43VFtJq+lUDYDBFUwV8TZbuGXLV4D6wKafg13ldznKsyEvatubnmUe31zcvelSzOHF+XbaT+Bl9ObDg==", + "dev": true + }, + "es6-promisify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", + "dev": true, + "requires": { + "es6-promise": "^4.0.3" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", + "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "dev": true, + "requires": { + "esprima": "^2.7.1", + "estraverse": "^1.9.1", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.2.0" + }, + "dependencies": { + "source-map": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", + "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "dev": true, + "optional": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "eslint-scope": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", + "integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "dependencies": { + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + } + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "dev": true + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "^4.1.0" + }, + "dependencies": { + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + } + } + }, + "estraverse": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", + "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", + "dev": true + }, + "estree-walker": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz", + "integrity": "sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "eventemitter3": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz", + "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==", + "dev": true + }, + "events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true + }, + "eventsource": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz", + "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", + "dev": true, + "requires": { + "original": ">=0.0.5" + } + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "execa": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz", + "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==", + "dev": true, + "requires": { + "cross-spawn": "^6.0.0", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + } + } + }, + "exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "dev": true + }, + "expand-braces": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/expand-braces/-/expand-braces-0.1.2.tgz", + "integrity": "sha1-SIsdHSRRyz06axks/AMPRMWFX+o=", + "dev": true, + "requires": { + "array-slice": "^0.2.3", + "array-unique": "^0.2.1", + "braces": "^0.1.2" + }, + "dependencies": { + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "braces": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-0.1.5.tgz", + "integrity": "sha1-wIVxEIUpHYt1/ddOqw+FlygHEeY=", + "dev": true, + "requires": { + "expand-range": "^0.1.0" + } + }, + "expand-range": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz", + "integrity": "sha1-TLjtoJk8pW+k9B/ELzy7TMrf8EQ=", + "dev": true, + "requires": { + "is-number": "^0.1.1", + "repeat-string": "^0.2.2" + } + }, + "is-number": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-0.1.1.tgz", + "integrity": "sha1-aaevEWlj1HIG7JvZtIoUIW8eOAY=", + "dev": true + }, + "repeat-string": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-0.2.2.tgz", + "integrity": "sha1-x6jTI2BoNiBZp+RlH8aITosftK4=", + "dev": true + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true, + "requires": { + "fill-range": "^2.1.0" + }, + "dependencies": { + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "dev": true, + "requires": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "express": { + "version": "4.16.4", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", + "dev": true, + "requires": { + "accepts": "~1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.3", + "content-disposition": "0.5.2", + "content-type": "~1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.4", + "qs": "6.5.2", + "range-parser": "~1.2.0", + "safe-buffer": "5.1.2", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "~1.4.0", + "type-is": "~1.6.16", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "external-editor": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz", + "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastparse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", + "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=", + "dev": true + }, + "faye-websocket": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", + "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", + "dev": true, + "requires": { + "websocket-driver": ">=0.5.1" + } + }, + "figgy-pudding": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz", + "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==", + "dev": true + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "file-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-2.0.0.tgz", + "integrity": "sha512-YCsBfd1ZGCyonOKLxPiKPdu+8ld9HAaMEvJewzz+b2eTF7uL5Zm/HdBF6FjCrpCMRq25Mi0U1gl4pwn2TlH7hQ==", + "dev": true, + "requires": { + "loader-utils": "^1.0.2", + "schema-utils": "^1.0.0" + } + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true + }, + "fileset": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz", + "integrity": "sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA=", + "dev": true, + "requires": { + "glob": "^7.0.3", + "minimatch": "^3.0.3" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.4.0", + "unpipe": "~1.0.0" + } + }, + "find-cache-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", + "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^2.0.0" + } + }, + "find-parent-dir": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz", + "integrity": "sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ=", + "dev": true + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flush-write-stream": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz", + "integrity": "sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.4" + } + }, + "follow-redirects": { + "version": "1.5.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.9.tgz", + "integrity": "sha512-Bh65EZI/RU8nx0wbYF9shkFZlqLP+6WT/5FnA3cE/djNSuKNHJEinGGZgu/cQEkeeb2GdFOgenAmn8qaqYke2w==", + "dev": true, + "requires": { + "debug": "=3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", + "dev": true, + "requires": { + "for-in": "^1.0.1" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "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.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "fs-access": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz", + "integrity": "sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o=", + "dev": true, + "requires": { + "null-check": "^1.0.0" + } + }, + "fs-extra": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.0.tgz", + "integrity": "sha512-EglNDLRpmaTWiD/qraZn6HREAEAHJcJOmxNEYwq6xeMKnVMAy3GUcFB+wXt2C6k4CNvB/mP1y/U3dzvKKj5OtQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "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" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "^2.1.0" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "^5.1.1", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.1.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "^0.5.1", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "^7.0.5" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "^1.0.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.2.4", + "minizlib": "^1.1.0", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.1", + "yallist": "^3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "^1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true + } + } + }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + } + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "^1.0.0" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "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" + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "requires": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "dependencies": { + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "^2.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + } + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "global-dirs": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", + "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=", + "dev": true, + "requires": { + "ini": "^1.3.4" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "globby": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz", + "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "dir-glob": "^2.0.0", + "glob": "^7.1.2", + "ignore": "^3.3.5", + "pify": "^3.0.0", + "slash": "^1.0.0" + } + }, + "globule": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", + "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", + "dev": true, + "requires": { + "glob": "~7.1.1", + "lodash": "~4.17.10", + "minimatch": "~3.0.2" + } + }, + "got": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", + "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", + "dev": true, + "requires": { + "create-error-class": "^3.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-redirect": "^1.0.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "lowercase-keys": "^1.0.0", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "unzip-response": "^2.0.1", + "url-parse-lax": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true + }, + "handle-thing": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz", + "integrity": "sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ=", + "dev": true + }, + "handlebars": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz", + "integrity": "sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==", + "dev": true, + "requires": { + "async": "^2.5.0", + "optimist": "^0.6.1", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "^4.17.10" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", + "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", + "dev": true, + "requires": { + "ajv": "^5.3.0", + "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.0" + } + } + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-binary2": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz", + "integrity": "sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==", + "dev": true, + "requires": { + "isarray": "2.0.1" + }, + "dependencies": { + "isarray": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", + "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", + "dev": true + } + } + }, + "has-cors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", + "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hash-base": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", + "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "hash.js": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz", + "integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", + "dev": true + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "http-parser-js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.0.tgz", + "integrity": "sha512-cZdEF7r4gfRIq7ezX9J0T+kQmJNOub71dWbgAXVHDct80TKP4MCETtZQ31xyv38UwgzkWPYF/Xc0ge55dW9Z9w==", + "dev": true + }, + "http-proxy": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", + "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", + "dev": true, + "requires": { + "eventemitter3": "^3.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-proxy-middleware": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz", + "integrity": "sha512-Fs25KVMPAIIcgjMZkVHJoKg9VcXcC1C8yb9JUgeDvVXY0S/zgVIhMb+qVswDIgtJe2DfckMSY2d6TuTEutlk6Q==", + "dev": true, + "requires": { + "http-proxy": "^1.16.2", + "is-glob": "^4.0.0", + "lodash": "^4.17.5", + "micromatch": "^3.1.9" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, + "https-proxy-agent": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz", + "integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==", + "dev": true, + "requires": { + "agent-base": "^4.1.0", + "debug": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==", + "dev": true + }, + "iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", + "dev": true + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", + "dev": true, + "optional": true + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", + "dev": true + }, + "import-cwd": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz", + "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=", + "dev": true, + "requires": { + "import-from": "^2.1.0" + } + }, + "import-from": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz", + "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "dev": true + }, + "import-local": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", + "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "dev": true, + "requires": { + "pkg-dir": "^3.0.0", + "resolve-cwd": "^2.0.0" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + } + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true + }, + "injection-js": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/injection-js/-/injection-js-2.2.1.tgz", + "integrity": "sha512-zHI+E+dM0PXix5FFTO1Y4/UOyAzE7zG1l/QwAn4jchTThOoBq+UYRFK4AVG7lQgFL+go62SbrzSsjXy9DFEZUg==", + "dev": true + }, + "inquirer": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.0.tgz", + "integrity": "sha512-QIEQG4YyQ2UYZGDC4srMZ7BjHOmNk1lR2JQj5UknBapklm6WHA+VVH7N+sUdX3A7NeCfGF8o4X1S3Ao7nAcIeg==", + "dev": true, + "requires": { + "ansi-escapes": "^3.0.0", + "chalk": "^2.0.0", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^3.0.0", + "figures": "^2.0.0", + "lodash": "^4.17.10", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rxjs": "^6.1.0", + "string-width": "^2.1.0", + "strip-ansi": "^4.0.0", + "through": "^2.3.6" + }, + "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 + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "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" + } + } + } + }, + "internal-ip": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-3.0.1.tgz", + "integrity": "sha512-NXXgESC2nNVtU+pqmC9e6R8B1GpKxzsAQhffvh5AL79qKnodd+L7tnEQmTiUAVngqLalPbSqRA7XGIEL5nCd0Q==", + "dev": true, + "requires": { + "default-gateway": "^2.6.0", + "ipaddr.js": "^1.5.2" + } + }, + "interpret": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "ip": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", + "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "dev": true + }, + "ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", + "dev": true + }, + "ipaddr.js": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "requires": { + "builtin-modules": "^1.0.0" + } + }, + "is-ci": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", + "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", + "dev": true, + "requires": { + "ci-info": "^1.5.0" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "requires": { + "is-primitive": "^2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-installed-globally": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz", + "integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=", + "dev": true, + "requires": { + "global-dirs": "^0.1.0", + "is-path-inside": "^1.0.0" + } + }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "is-npm": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", + "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=", + "dev": true + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "dev": true, + "requires": { + "is-path-inside": "^1.0.0" + } + }, + "is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "dev": true, + "requires": { + "path-is-inside": "^1.0.1" + } + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-redirect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", + "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", + "dev": true + }, + "is-retry-allowed": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", + "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isbinaryfile": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", + "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "dev": true, + "requires": { + "buffer-alloc": "^1.2.0" + } + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "istanbul": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz", + "integrity": "sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=", + "dev": true, + "requires": { + "abbrev": "1.0.x", + "async": "1.x", + "escodegen": "1.8.x", + "esprima": "2.7.x", + "glob": "^5.0.15", + "handlebars": "^4.0.1", + "js-yaml": "3.x", + "mkdirp": "0.5.x", + "nopt": "3.x", + "once": "1.x", + "resolve": "1.1.x", + "supports-color": "^3.1.0", + "which": "^1.1.1", + "wordwrap": "^1.0.0" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "dev": true, + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "^1.0.0" + } + } + } + }, + "istanbul-api": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/istanbul-api/-/istanbul-api-2.0.6.tgz", + "integrity": "sha512-8W5oeAGWXhtTJjAyVfvavOLVyZCTNCKsyF6GON/INKlBdO7uJ/bv3qnPj5M6ERKzmMCJS1kntnjjGuJ86fn3rQ==", + "dev": true, + "requires": { + "async": "^2.6.1", + "compare-versions": "^3.2.1", + "fileset": "^2.0.3", + "istanbul-lib-coverage": "^2.0.1", + "istanbul-lib-hook": "^2.0.1", + "istanbul-lib-instrument": "^3.0.0", + "istanbul-lib-report": "^2.0.2", + "istanbul-lib-source-maps": "^2.0.1", + "istanbul-reports": "^2.0.1", + "js-yaml": "^3.12.0", + "make-dir": "^1.3.0", + "once": "^1.4.0" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "^4.17.10" + } + }, + "istanbul-lib-coverage": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", + "integrity": "sha512-nPvSZsVlbG9aLhZYaC3Oi1gT/tpyo3Yt5fNyf6NmcKIayz4VV/txxJFFKAK/gU4dcNn8ehsanBbVHVl0+amOLA==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.0.0.tgz", + "integrity": "sha512-eQY9vN9elYjdgN9Iv6NS/00bptm02EBBk70lRMaVjeA6QYocQgenVrSgC28TJurdnZa80AGO3ASdFN+w/njGiQ==", + "dev": true, + "requires": { + "@babel/generator": "^7.0.0", + "@babel/parser": "^7.0.0", + "@babel/template": "^7.0.0", + "@babel/traverse": "^7.0.0", + "@babel/types": "^7.0.0", + "istanbul-lib-coverage": "^2.0.1", + "semver": "^5.5.0" + } + } + } + }, + "istanbul-instrumenter-loader": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-instrumenter-loader/-/istanbul-instrumenter-loader-3.0.1.tgz", + "integrity": "sha512-a5SPObZgS0jB/ixaKSMdn6n/gXSrK2S6q/UfRJBT3e6gQmVjwZROTODQsYW5ZNwOu78hG62Y3fWlebaVOL0C+w==", + "dev": true, + "requires": { + "convert-source-map": "^1.5.0", + "istanbul-lib-instrument": "^1.7.3", + "loader-utils": "^1.1.0", + "schema-utils": "^0.3.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.0" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "^5.0.0" + } + } + } + }, + "istanbul-lib-coverage": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz", + "integrity": "sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ==", + "dev": true + }, + "istanbul-lib-hook": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-2.0.1.tgz", + "integrity": "sha512-ufiZoiJ8CxY577JJWEeFuxXZoMqiKpq/RqZtOAYuQLvlkbJWscq9n3gc4xrCGH9n4pW0qnTxOz1oyMmVtk8E1w==", + "dev": true, + "requires": { + "append-transform": "^1.0.0" + } + }, + "istanbul-lib-instrument": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz", + "integrity": "sha512-aWHxfxDqvh/ZlxR8BBaEPVSWDPUkGD63VjGQn3jcw8jCp7sHEMKcrj4xfJn/ABzdMEHiQNyvDQhqm5o8+SQg7A==", + "dev": true, + "requires": { + "babel-generator": "^6.18.0", + "babel-template": "^6.16.0", + "babel-traverse": "^6.18.0", + "babel-types": "^6.18.0", + "babylon": "^6.18.0", + "istanbul-lib-coverage": "^1.2.1", + "semver": "^5.3.0" + } + }, + "istanbul-lib-report": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.2.tgz", + "integrity": "sha512-rJ8uR3peeIrwAxoDEbK4dJ7cqqtxBisZKCuwkMtMv0xYzaAnsAi3AHrHPAAtNXzG/bcCgZZ3OJVqm1DTi9ap2Q==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^2.0.1", + "make-dir": "^1.3.0", + "supports-color": "^5.4.0" + }, + "dependencies": { + "istanbul-lib-coverage": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", + "integrity": "sha512-nPvSZsVlbG9aLhZYaC3Oi1gT/tpyo3Yt5fNyf6NmcKIayz4VV/txxJFFKAK/gU4dcNn8ehsanBbVHVl0+amOLA==", + "dev": true + } + } + }, + "istanbul-lib-source-maps": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-2.0.1.tgz", + "integrity": "sha512-30l40ySg+gvBLcxTrLzR4Z2XTRj3HgRCA/p2rnbs/3OiTaoj054gAbuP5DcLOtwqmy4XW8qXBHzrmP2/bQ9i3A==", + "dev": true, + "requires": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^2.0.1", + "make-dir": "^1.3.0", + "rimraf": "^2.6.2", + "source-map": "^0.6.1" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "istanbul-lib-coverage": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", + "integrity": "sha512-nPvSZsVlbG9aLhZYaC3Oi1gT/tpyo3Yt5fNyf6NmcKIayz4VV/txxJFFKAK/gU4dcNn8ehsanBbVHVl0+amOLA==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "istanbul-reports": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.0.1.tgz", + "integrity": "sha512-CT0QgMBJqs6NJLF678ZHcquUAZIoBIUNzdJrRJfpkI9OnzG6MkUfHxbJC3ln981dMswC7/B1mfX3LNkhgJxsuw==", + "dev": true, + "requires": { + "handlebars": "^4.0.11" + } + }, + "jasmine": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-2.8.0.tgz", + "integrity": "sha1-awicChFXax8W3xG4AUbZHU6Lij4=", + "dev": true, + "requires": { + "exit": "^0.1.2", + "glob": "^7.0.6", + "jasmine-core": "~2.8.0" + }, + "dependencies": { + "jasmine-core": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.8.0.tgz", + "integrity": "sha1-vMl5rh+f0FcB5F5S5l06XWPxok4=", + "dev": true + } + } + }, + "jasmine-core": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.3.0.tgz", + "integrity": "sha512-3/xSmG/d35hf80BEN66Y6g9Ca5l/Isdeg/j6zvbTYlTzeKinzmaTM4p9am5kYqOmE05D7s1t8FGjzdSnbUbceA==", + "dev": true + }, + "jasmine-spec-reporter": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz", + "integrity": "sha512-FZBoZu7VE5nR7Nilzy+Np8KuVIOxF4oXDPDknehCYBDE080EnlPu0afdZNmpGDBRCUBv3mj5qgqCRmk6W/K8vg==", + "dev": true, + "requires": { + "colors": "1.1.2" + } + }, + "jasminewd2": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/jasminewd2/-/jasminewd2-2.2.0.tgz", + "integrity": "sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4=", + "dev": true + }, + "jquery": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz", + "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==", + "dev": true + }, + "js-base64": { + "version": "2.4.9", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.9.tgz", + "integrity": "sha512-xcinL3AuDJk7VSzsHgb9DvvIXayBbadtMZ4HFPx8rUszbW1MuNMlwYVC4zzCZ6e1sqZpnNS5ZFYOhXqA39T7LQ==", + "dev": true + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + } + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true, + "optional": true + }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "jszip": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.1.5.tgz", + "integrity": "sha512-5W8NUaFRFRqTOL7ZDDrx5qWHJyBXy6velVudIzQUSoqAAYqzSh2Z7/m0Rf1QbmQJccegD0r+YZxBjzqoBiEeJQ==", + "dev": true, + "requires": { + "core-js": "~2.3.0", + "es6-promise": "~3.0.2", + "lie": "~3.1.0", + "pako": "~1.0.2", + "readable-stream": "~2.0.6" + }, + "dependencies": { + "core-js": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.3.0.tgz", + "integrity": "sha1-+rg/uwstjchfpjbEudNMdUIMbWU=", + "dev": true + }, + "es6-promise": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz", + "integrity": "sha1-AQ1YWEI6XxGJeWZfRkhqlcbuK7Y=", + "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=", + "dev": true + }, + "readable-stream": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", + "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "~1.0.0", + "process-nextick-args": "~1.0.6", + "string_decoder": "~0.10.x", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "karma": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/karma/-/karma-3.1.1.tgz", + "integrity": "sha512-NetT3wPCQMNB36uiL9LLyhrOt8SQwrEKt0xD3+KpTCfm0VxVyUJdPL5oTq2Ic5ouemgL/Iz4wqXEbF3zea9kQQ==", + "dev": true, + "requires": { + "bluebird": "^3.3.0", + "body-parser": "^1.16.1", + "chokidar": "^2.0.3", + "colors": "^1.1.0", + "combine-lists": "^1.0.0", + "connect": "^3.6.0", + "core-js": "^2.2.0", + "di": "^0.0.1", + "dom-serialize": "^2.2.0", + "expand-braces": "^0.1.1", + "glob": "^7.1.1", + "graceful-fs": "^4.1.2", + "http-proxy": "^1.13.0", + "isbinaryfile": "^3.0.0", + "lodash": "^4.17.4", + "log4js": "^3.0.0", + "mime": "^2.3.1", + "minimatch": "^3.0.2", + "optimist": "^0.6.1", + "qjobs": "^1.1.4", + "range-parser": "^1.2.0", + "rimraf": "^2.6.0", + "safe-buffer": "^5.0.1", + "socket.io": "2.1.1", + "source-map": "^0.6.1", + "tmp": "0.0.33", + "useragent": "2.2.1" + }, + "dependencies": { + "mime": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz", + "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "karma-chrome-launcher": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-2.2.0.tgz", + "integrity": "sha512-uf/ZVpAabDBPvdPdveyk1EPgbnloPvFFGgmRhYLTDH7gEB4nZdSBk8yTU47w1g/drLSx5uMOkjKk7IWKfWg/+w==", + "dev": true, + "requires": { + "fs-access": "^1.0.0", + "which": "^1.2.1" + } + }, + "karma-coverage-istanbul-reporter": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/karma-coverage-istanbul-reporter/-/karma-coverage-istanbul-reporter-2.0.4.tgz", + "integrity": "sha512-xJS7QSQIVU6VK9HuJ/ieE5yynxKhjCCkd96NLY/BX/HXsx0CskU9JJiMQbd4cHALiddMwI4OWh1IIzeWrsavJw==", + "dev": true, + "requires": { + "istanbul-api": "^2.0.5", + "minimatch": "^3.0.4" + } + }, + "karma-jasmine": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-1.1.2.tgz", + "integrity": "sha1-OU8rJf+0pkS5rabyLUQ+L9CIhsM=", + "dev": true + }, + "karma-jasmine-html-reporter": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.3.1.tgz", + "integrity": "sha512-J8pUc58QeRhpHQ+sXBRZ016ZW9ZOjU4vjYA6Jah69WvBaqR7tGvXUzy7w/DoULbNrD8+hnZCpvdeEtqXtirY2g==", + "dev": true + }, + "karma-source-map-support": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.3.0.tgz", + "integrity": "sha512-HcPqdAusNez/ywa+biN4EphGz62MmQyPggUsDfsHqa7tSe4jdsxgvTKuDfIazjL+IOxpVWyT7Pr4dhAV+sxX5Q==", + "dev": true, + "requires": { + "source-map-support": "^0.5.5" + } + }, + "killable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.1.tgz", + "integrity": "sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg==", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "latest-version": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz", + "integrity": "sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=", + "dev": true, + "requires": { + "package-json": "^4.0.0" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "less": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/less/-/less-3.8.1.tgz", + "integrity": "sha512-8HFGuWmL3FhQR0aH89escFNBQH/nEiYPP2ltDFdQw2chE28Yx2E3lhAIq9Y2saYwLSwa699s4dBVEfCY8Drf7Q==", + "dev": true, + "requires": { + "clone": "^2.1.2", + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "mime": "^1.4.1", + "mkdirp": "^0.5.0", + "promise": "^7.1.1", + "request": "^2.83.0", + "source-map": "~0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "less-loader": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-4.1.0.tgz", + "integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==", + "dev": true, + "requires": { + "clone": "^2.1.1", + "loader-utils": "^1.1.0", + "pify": "^3.0.0" + } + }, + "less-plugin-npm-import": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/less-plugin-npm-import/-/less-plugin-npm-import-2.1.0.tgz", + "integrity": "sha1-gj5phskzGKmBccqFiEi2vq1Vvz4=", + "dev": true, + "requires": { + "promise": "~7.0.1", + "resolve": "~1.1.6" + }, + "dependencies": { + "promise": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.0.4.tgz", + "integrity": "sha1-Nj6EpMNsg1a4kP7WLJHOhdAu1Tk=", + "dev": true, + "requires": { + "asap": "~2.0.3" + } + } + } + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "license-webpack-plugin": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.0.2.tgz", + "integrity": "sha512-GsomZw5VoT20ST8qH2tOjBgbyhn6Pgs9M94g0mbvfBIV1VXufm1iKY+4dbgfTObj1Mp6nSRE3Zf74deOZr0KwA==", + "dev": true, + "requires": { + "webpack-sources": "^1.2.0" + } + }, + "lie": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", + "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", + "dev": true, + "requires": { + "immediate": "~3.0.5" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "loader-runner": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.1.tgz", + "integrity": "sha512-By6ZFY7ETWOc9RFaAIb23IjJVcM4dvJC/N57nmdz9RSkMXvAXGI7SyVlAw3v8vjtDRlqThgVDVmTnr9fqMlxkw==", + "dev": true + }, + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "^3.1.3", + "emojis-list": "^2.0.0", + "json5": "^0.5.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", + "dev": true + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, + "lodash.mergewith": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz", + "integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==", + "dev": true + }, + "lodash.tail": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz", + "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=", + "dev": true + }, + "log4js": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-3.0.6.tgz", + "integrity": "sha512-ezXZk6oPJCWL483zj64pNkMuY/NcRX5MPiB0zE6tjZM137aeusrOnW1ecxgF9cmwMWkBMhjteQxBPoZBh9FDxQ==", + "dev": true, + "requires": { + "circular-json": "^0.5.5", + "date-format": "^1.2.0", + "debug": "^3.1.0", + "rfdc": "^1.1.2", + "streamroller": "0.7.0" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "loglevel": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz", + "integrity": "sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, + "lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "dev": true + }, + "lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "magic-string": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz", + "integrity": "sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.1" + } + }, + "make-dir": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "make-error": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.4.tgz", + "integrity": "sha512-0Dab5btKVPhibSalc9QGXb559ED7G7iLjFXBaj9Wq8O3vorueR5K5jaE3hkG6ZQINyhA/JgG6Qk4qdFQjsYV6g==", + "dev": true + }, + "mamacro": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz", + "integrity": "sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA==", + "dev": true + }, + "map-age-cleaner": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.2.tgz", + "integrity": "sha512-UN1dNocxQq44IhJyMI4TU8phc2m9BddacHRPRjKGLYaF0jqd3xLz0jS0skpAU9WgYyoR4gHtUpzytNBS385FWQ==", + "dev": true, + "requires": { + "p-defer": "^1.0.0" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "math-random": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", + "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=", + "dev": true + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "mem": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-4.0.0.tgz", + "integrity": "sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA==", + "dev": true, + "requires": { + "map-age-cleaner": "^0.1.1", + "mimic-fn": "^1.0.0", + "p-is-promise": "^1.1.0" + } + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "optional": true + }, + "mime-db": { + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", + "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==", + "dev": true + }, + "mime-types": { + "version": "2.1.19", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", + "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", + "dev": true, + "requires": { + "mime-db": "~1.35.0" + } + }, + "mimic-fn": { + "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 + }, + "mini-css-extract-plugin": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.4.3.tgz", + "integrity": "sha512-Mxs0nxzF1kxPv4TRi2NimewgXlJqh0rGE30vviCU2WHrpbta6wklnUV9dr9FUtoAHmB3p3LeXEC+ZjgHvB0Dzg==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^1.0.0", + "webpack-sources": "^1.1.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "mississippi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", + "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^2.0.1", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "mixin-deep": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mixin-object": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz", + "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", + "dev": true, + "requires": { + "for-in": "^0.1.3", + "is-extendable": "^0.1.1" + }, + "dependencies": { + "for-in": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz", + "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=", + "dev": true + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "moment": { + "version": "2.22.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.22.2.tgz", + "integrity": "sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=", + "dev": true + }, + "move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "multicast-dns": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", + "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==", + "dev": true, + "requires": { + "dns-packet": "^1.3.1", + "thunky": "^1.0.2" + } + }, + "multicast-dns-service-types": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", + "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "nan": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "neo-async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz", + "integrity": "sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==", + "dev": true + }, + "ng-packagr": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ng-packagr/-/ng-packagr-4.4.0.tgz", + "integrity": "sha512-dLpC/kmQsdbkL96ZclGjNRhq/J4MwpPKwPYNom74lvXqFC2jbbT/fnwmxX9WKXjvE8MEGsg2D2x8MsRURiNscg==", + "dev": true, + "requires": { + "@ngtools/json-schema": "^1.1.0", + "autoprefixer": "^9.0.0", + "browserslist": "^4.0.0", + "chalk": "^2.3.1", + "chokidar": "^2.0.3", + "clean-css": "^4.1.11", + "commander": "^2.12.0", + "fs-extra": "^7.0.0", + "glob": "^7.1.2", + "injection-js": "^2.2.1", + "less": "^3.8.0", + "less-plugin-npm-import": "^2.1.0", + "node-sass": "^4.9.3", + "node-sass-tilde-importer": "^1.0.0", + "postcss": "^7.0.0", + "postcss-url": "^8.0.0", + "read-pkg-up": "^4.0.0", + "rimraf": "^2.6.1", + "rollup": "^0.66.0", + "rollup-plugin-commonjs": "^9.1.3", + "rollup-plugin-json": "^3.1.0", + "rollup-plugin-node-resolve": "^3.0.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "rxjs": "^6.0.0", + "stylus": "^0.54.5", + "uglify-js": "^3.0.7", + "update-notifier": "^2.3.0" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + } + }, + "read-pkg-up": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", + "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", + "dev": true, + "requires": { + "find-up": "^3.0.0", + "read-pkg": "^3.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } + } + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node-forge": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", + "integrity": "sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==", + "dev": true + }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", + "dev": true, + "requires": { + "fstream": "^1.0.0", + "glob": "^7.0.3", + "graceful-fs": "^4.1.2", + "mkdirp": "^0.5.0", + "nopt": "2 || 3", + "npmlog": "0 || 1 || 2 || 3 || 4", + "osenv": "0", + "request": "^2.87.0", + "rimraf": "2", + "semver": "~5.3.0", + "tar": "^2.0.0", + "which": "1" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, + "node-libs-browser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", + "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", + "dev": true, + "requires": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^1.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.0", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.10.3", + "vm-browserify": "0.0.4" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + } + } + }, + "node-releases": { + "version": "1.0.0-alpha.15", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.0.0-alpha.15.tgz", + "integrity": "sha512-hKG6hd/g6a9OV/ARt2qrxbRhe/4WEMFohTLOB9PNyTYvvI59gICZFzt9/mMgpYUTts06qXlN8H6UjfbIRdnW8A==", + "dev": true, + "requires": { + "semver": "^5.3.0" + } + }, + "node-sass": { + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.9.3.tgz", + "integrity": "sha512-XzXyGjO+84wxyH7fV6IwBOTrEBe2f0a6SBze9QWWYR/cL74AcQUks2AsqcCZenl/Fp/JVbuEaLpgrLtocwBUww==", + "dev": true, + "requires": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^3.0.0", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "in-publish": "^2.0.0", + "lodash.assign": "^4.2.0", + "lodash.clonedeep": "^4.3.2", + "lodash.mergewith": "^4.6.0", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.10.0", + "node-gyp": "^3.8.0", + "npmlog": "^4.0.0", + "request": "2.87.0", + "sass-graph": "^2.2.4", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" + }, + "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.0" + } + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "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.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "har-validator": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", + "dev": true, + "requires": { + "ajv": "^5.1.0", + "har-schema": "^2.0.0" + } + }, + "oauth-sign": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=", + "dev": true + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "request": { + "version": "2.87.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", + "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.6.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.5", + "extend": "~3.0.1", + "forever-agent": "~0.6.1", + "form-data": "~2.3.1", + "har-validator": "~5.0.3", + "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", + "oauth-sign": "~0.8.2", + "performance-now": "^2.1.0", + "qs": "~6.5.1", + "safe-buffer": "^5.1.1", + "tough-cookie": "~2.3.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.1.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "tough-cookie": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", + "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", + "dev": true, + "requires": { + "punycode": "^1.4.1" + } + } + } + }, + "node-sass-tilde-importer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/node-sass-tilde-importer/-/node-sass-tilde-importer-1.0.2.tgz", + "integrity": "sha512-Swcmr38Y7uB78itQeBm3mThjxBy9/Ah/ykPIaURY/L6Nec9AyRoL/jJ7ECfMR+oZeCTVQNxVMu/aHU+TLRVbdg==", + "dev": true, + "requires": { + "find-parent-dir": "^0.3.0" + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "npm-package-arg": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz", + "integrity": "sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.6.0", + "osenv": "^0.1.5", + "semver": "^5.5.0", + "validate-npm-package-name": "^3.0.0" + } + }, + "npm-registry-client": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-8.6.0.tgz", + "integrity": "sha512-Qs6P6nnopig+Y8gbzpeN/dkt+n7IyVd8f45NTMotGk6Qo7GfBmzwYx6jRLoOOgKiMnaQfYxsuyQlD8Mc3guBhg==", + "dev": true, + "requires": { + "concat-stream": "^1.5.2", + "graceful-fs": "^4.1.6", + "normalize-package-data": "~1.0.1 || ^2.0.0", + "npm-package-arg": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0", + "npmlog": "2 || ^3.1.0 || ^4.0.0", + "once": "^1.3.3", + "request": "^2.74.0", + "retry": "^0.10.0", + "safe-buffer": "^5.1.1", + "semver": "2 >=2.2.1 || 3.x || 4 || 5", + "slide": "^1.1.3", + "ssri": "^5.2.4" + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "null-check": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz", + "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=", + "dev": true + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-component": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", + "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "requires": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + }, + "dependencies": { + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "requires": { + "for-in": "^1.0.1" + } + } + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", + "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "opn": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/opn/-/opn-5.3.0.tgz", + "integrity": "sha512-bYJHo/LOmoTd+pfiYhfZDnf9zekVJrY+cnS2a5F2x+w5ppvTqObojTP7WiFG+kVZs9Inw+qQ/lw7TroWwhdd2g==", + "dev": true, + "requires": { + "is-wsl": "^1.1.0" + } + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "dev": true, + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.4", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "wordwrap": "~1.0.0" + } + }, + "original": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", + "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", + "dev": true, + "requires": { + "url-parse": "^1.4.3" + } + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "^1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "osenv": { + "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.0", + "os-tmpdir": "^1.0.0" + } + }, + "p-defer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", + "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", + "dev": true + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-is-promise": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz", + "integrity": "sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "package-json": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", + "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", + "dev": true, + "requires": { + "got": "^6.7.1", + "registry-auth-token": "^3.0.1", + "registry-url": "^3.0.3", + "semver": "^5.1.0" + } + }, + "pako": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", + "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", + "dev": true + }, + "parallel-transform": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", + "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", + "dev": true, + "requires": { + "cyclist": "~0.2.2", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, + "parse-asn1": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", + "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", + "dev": true, + "requires": { + "asn1.js": "^4.0.0", + "browserify-aes": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3" + } + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "requires": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + } + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "parse5": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", + "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==", + "dev": true + }, + "parseqs": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz", + "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=", + "dev": true, + "requires": { + "better-assert": "~1.0.0" + } + }, + "parseuri": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz", + "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=", + "dev": true, + "requires": { + "better-assert": "~1.0.0" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "pbkdf2": { + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", + "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + } + }, + "popper.js": { + "version": "1.14.4", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.4.tgz", + "integrity": "sha1-juwdj/AqWjoVLdQ0FKFce3n9abY=", + "dev": true + }, + "portfinder": { + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.17.tgz", + "integrity": "sha512-syFcRIRzVI1BoEFOCaAiizwDolh1S1YXSodsVhncbhjzjZQulhczNRbqnUl9N31Q4dKGOXsNDqxC2BWBgSMqeQ==", + "dev": true, + "requires": { + "async": "^1.5.2", + "debug": "^2.2.0", + "mkdirp": "0.5.x" + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.5.tgz", + "integrity": "sha512-HBNpviAUFCKvEh7NZhw1e8MBPivRszIiUnhrJ+sBFVSYSqubrzwX3KG51mYgcRHX8j/cAgZJedONZcm5jTBdgQ==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-import": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-12.0.0.tgz", + "integrity": "sha512-3KqKRZcaZAvxbY8DVLdd81tG5uKzbUQuiWIvy0o0fzEC42bKacqPYFWbfCQyw6L4LWUaqPz/idvIdbhpgQ32eQ==", + "dev": true, + "requires": { + "postcss": "^7.0.1", + "postcss-value-parser": "^3.2.3", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, + "postcss-load-config": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.0.0.tgz", + "integrity": "sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==", + "dev": true, + "requires": { + "cosmiconfig": "^4.0.0", + "import-cwd": "^2.0.0" + } + }, + "postcss-loader": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz", + "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "postcss": "^7.0.0", + "postcss-load-config": "^2.0.0", + "schema-utils": "^1.0.0" + } + }, + "postcss-url": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/postcss-url/-/postcss-url-8.0.0.tgz", + "integrity": "sha512-E2cbOQ5aii2zNHh8F6fk1cxls7QVFZjLPSrqvmiza8OuXLzIpErij8BDS5Y3STPfJgpIMNCPEr8JlKQWEoozUw==", + "dev": true, + "requires": { + "mime": "^2.3.1", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.0", + "postcss": "^7.0.2", + "xxhashjs": "^0.2.1" + }, + "dependencies": { + "mime": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz", + "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg==", + "dev": true + } + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", + "dev": true + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "process-nextick-args": { + "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 + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "dev": true, + "optional": true, + "requires": { + "asap": "~2.0.3" + } + }, + "promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "dev": true + }, + "protractor": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/protractor/-/protractor-5.4.1.tgz", + "integrity": "sha512-ORey5ewQMYiXQxcQohsqEiKYOg/r5yJoJbt0tuROmmgajdg/CA3gTOZNIFJncUVMAJIk5YFqBBLUjKVmQO6tfA==", + "dev": true, + "requires": { + "@types/node": "^6.0.46", + "@types/q": "^0.0.32", + "@types/selenium-webdriver": "^3.0.0", + "blocking-proxy": "^1.0.0", + "browserstack": "^1.5.1", + "chalk": "^1.1.3", + "glob": "^7.0.3", + "jasmine": "2.8.0", + "jasminewd2": "^2.1.0", + "optimist": "~0.6.0", + "q": "1.4.1", + "saucelabs": "^1.5.0", + "selenium-webdriver": "3.6.0", + "source-map-support": "~0.4.0", + "webdriver-js-extender": "2.1.0", + "webdriver-manager": "^12.0.6" + }, + "dependencies": { + "@types/node": { + "version": "6.0.117", + "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.117.tgz", + "integrity": "sha512-sihk0SnN8PpiS5ihu5xJQ5ddnURNq4P+XPmW+nORlKkHy21CoZO/IVHK/Wq/l3G8fFW06Fkltgnqx229uPlnRg==", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "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.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "^5.0.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "rimraf": "^2.2.8" + } + }, + "globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "^0.5.6" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "webdriver-manager": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/webdriver-manager/-/webdriver-manager-12.1.0.tgz", + "integrity": "sha512-oEc5fmkpz6Yh6udhwir5m0eN5mgRPq9P/NU5YWuT3Up5slt6Zz+znhLU7q4+8rwCZz/Qq3Fgpr/4oao7NPCm2A==", + "dev": true, + "requires": { + "adm-zip": "^0.4.9", + "chalk": "^1.1.1", + "del": "^2.2.0", + "glob": "^7.0.3", + "ini": "^1.3.4", + "minimist": "^1.2.0", + "q": "^1.4.1", + "request": "^2.87.0", + "rimraf": "^2.5.2", + "semver": "^5.3.0", + "xml2js": "^0.4.17" + } + } + } + }, + "proxy-addr": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", + "dev": true, + "requires": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.8.0" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.1.29", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", + "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "q": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", + "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=", + "dev": true + }, + "qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "querystringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.0.tgz", + "integrity": "sha512-sluvZZ1YiTLD5jsqZcDmFyV2EwToyXZBfpoVOmktMmW+VEnhgakFHnasVph65fOjGPTWN0Nw3+XQaSeMayr0kg==", + "dev": true + }, + "randomatic": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", + "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", + "dev": true, + "requires": { + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + } + } + }, + "randombytes": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", + "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + } + }, + "raw-loader": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", + "integrity": "sha1-DD0L6u2KAclm2Xh793goElKpeao=", + "dev": true + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "dev": true, + "requires": { + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "dependencies": { + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + } + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + } + }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "reflect-metadata": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.12.tgz", + "integrity": "sha512-n+IyV+nGz3+0q3/Yf1ra12KpCyi001bi4XFxSjbiWWjfqb52iTTtpGXmCCAOWWIAn9KEuFZKGqBERHmrtScZ3A==", + "dev": true + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "requires": { + "is-equal-shallow": "^0.1.3" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "regexpu-core": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", + "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", + "dev": true, + "requires": { + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" + } + }, + "registry-auth-token": { + "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.1.6", + "safe-buffer": "^5.0.1" + } + }, + "registry-url": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", + "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", + "dev": true, + "requires": { + "rc": "^1.0.1" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "dev": true + }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "retry": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", + "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=", + "dev": true + }, + "rfdc": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.1.2.tgz", + "integrity": "sha512-92ktAgvZhBzYTIK0Mja9uen5q5J3NRVMoDkJL2VMwq6SXjVCgqvQeVP2XAaUY6HT+XpQYeLSjb3UoitBryKmdA==", + "dev": true + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "dev": true, + "requires": { + "glob": "^7.0.5" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "rollup": { + "version": "0.66.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.66.6.tgz", + "integrity": "sha512-J7/SWanrcb83vfIHqa8+aVVGzy457GcjA6GVZEnD0x2u4OnOd0Q1pCrEoNe8yLwM6z6LZP02zBT2uW0yh5TqOw==", + "dev": true, + "requires": { + "@types/estree": "0.0.39", + "@types/node": "*" + } + }, + "rollup-plugin-commonjs": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.2.0.tgz", + "integrity": "sha512-0RM5U4Vd6iHjL6rLvr3lKBwnPsaVml+qxOGaaNUWN1lSq6S33KhITOfHmvxV3z2vy9Mk4t0g4rNlVaJJsNQPWA==", + "dev": true, + "requires": { + "estree-walker": "^0.5.2", + "magic-string": "^0.25.1", + "resolve": "^1.8.1", + "rollup-pluginutils": "^2.3.3" + }, + "dependencies": { + "resolve": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", + "dev": true, + "requires": { + "path-parse": "^1.0.5" + } + } + } + }, + "rollup-plugin-json": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-json/-/rollup-plugin-json-3.1.0.tgz", + "integrity": "sha512-BlYk5VspvGpjz7lAwArVzBXR60JK+4EKtPkCHouAWg39obk9S61hZYJDBfMK+oitPdoe11i69TlxKlMQNFC/Uw==", + "dev": true, + "requires": { + "rollup-pluginutils": "^2.3.1" + } + }, + "rollup-plugin-node-resolve": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.4.0.tgz", + "integrity": "sha512-PJcd85dxfSBWih84ozRtBkB731OjXk0KnzN0oGp7WOWcarAFkVa71cV5hTJg2qpVsV2U8EUwrzHP3tvy9vS3qg==", + "dev": true, + "requires": { + "builtin-modules": "^2.0.0", + "is-module": "^1.0.0", + "resolve": "^1.1.6" + }, + "dependencies": { + "builtin-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-2.0.0.tgz", + "integrity": "sha512-3U5kUA5VPsRUA3nofm/BXX7GVHKfxz0hOBAPxXrIvHzlDRkQVqEn6yi8QJegxl4LzOHLdvb7XF5dVawa/VVYBg==", + "dev": true + } + } + }, + "rollup-plugin-sourcemaps": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.4.2.tgz", + "integrity": "sha1-YhJaqUCHqt97g+9N+vYptHMTXoc=", + "dev": true, + "requires": { + "rollup-pluginutils": "^2.0.1", + "source-map-resolve": "^0.5.0" + } + }, + "rollup-pluginutils": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz", + "integrity": "sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA==", + "dev": true, + "requires": { + "estree-walker": "^0.5.2", + "micromatch": "^2.3.11" + }, + "dependencies": { + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1" + } + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "^0.1.0" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + } + } + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "^2.1.0" + } + }, + "run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", + "dev": true, + "requires": { + "aproba": "^1.1.1" + } + }, + "rxjs": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", + "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "sass-graph": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", + "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", + "dev": true, + "requires": { + "glob": "^7.0.0", + "lodash": "^4.0.0", + "scss-tokenizer": "^0.2.3", + "yargs": "^7.0.0" + } + }, + "sass-loader": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.1.0.tgz", + "integrity": "sha512-+G+BKGglmZM2GUSfT9TLuEp6tzehHPjAMoRRItOojWIqIGPloVCMhNIQuG639eJ+y033PaGTSjLaTHts8Kw79w==", + "dev": true, + "requires": { + "clone-deep": "^2.0.1", + "loader-utils": "^1.0.1", + "lodash.tail": "^4.1.1", + "neo-async": "^2.5.0", + "pify": "^3.0.0", + "semver": "^5.5.0" + } + }, + "saucelabs": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.5.0.tgz", + "integrity": "sha512-jlX3FGdWvYf4Q3LFfFWS1QvPg3IGCGWxIc8QBFdPTbpTJnt/v17FHXYVAn7C8sHf1yUXo2c7yIM0isDryfYtHQ==", + "dev": true, + "requires": { + "https-proxy-agent": "^2.2.1" + } + }, + "sax": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz", + "integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=", + "dev": true + }, + "schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "^2.1.8", + "source-map": "^0.4.2" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", + "dev": true + }, + "selenium-webdriver": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-3.6.0.tgz", + "integrity": "sha512-WH7Aldse+2P5bbFBO4Gle/nuQOdVwpHMTL6raL3uuBj/vPG07k6uzt3aiahu352ONBr5xXh0hDlM3LhtXPOC4Q==", + "dev": true, + "requires": { + "jszip": "^3.1.3", + "rimraf": "^2.5.4", + "tmp": "0.0.30", + "xml2js": "^0.4.17" + }, + "dependencies": { + "tmp": { + "version": "0.0.30", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.30.tgz", + "integrity": "sha1-ckGdSovn1s51FI/YsyTlk6cRwu0=", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.1" + } + } + } + }, + "selfsigned": { + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.4.tgz", + "integrity": "sha512-9AukTiDmHXGXWtWjembZ5NDmVvP2695EtpgbCsxCa68w3c88B+alqbmZ4O3hZ4VWGXeGWzEVdvqgAJD8DQPCDw==", + "dev": true, + "requires": { + "node-forge": "0.7.5" + } + }, + "semver": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", + "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", + "dev": true + }, + "semver-diff": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", + "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", + "dev": true, + "requires": { + "semver": "^5.0.3" + } + }, + "semver-dsl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/semver-dsl/-/semver-dsl-1.0.1.tgz", + "integrity": "sha1-02eN5VVeimH2Ke7QJTZq5fJzQKA=", + "dev": true, + "requires": { + "semver": "^5.3.0" + } + }, + "semver-intersect": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/semver-intersect/-/semver-intersect-1.4.0.tgz", + "integrity": "sha512-d8fvGg5ycKAq0+I6nfWeCx6ffaWJCsBYU0H2Rq56+/zFePYfT8mXkB3tWBSjR5BerkHNZ5eTPIk1/LBYas35xQ==", + "dev": true, + "requires": { + "semver": "^5.0.0" + } + }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" + }, + "dependencies": { + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + } + } + }, + "serialize-javascript": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.5.0.tgz", + "integrity": "sha512-Ga8c8NjAAp46Br4+0oZ2WxJCwIzwP60Gq1YPgU+39PiTVxyed/iKE/zyZI6+UlVYH5Q4PaQdHhcegIFPZTUfoQ==", + "dev": true + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.2", + "send": "0.16.2" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shallow-clone": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-1.0.0.tgz", + "integrity": "sha512-oeXreoKR/SyNJtRJMAKPDSvd28OqEwG4eR/xc856cRGBII7gX9lvAqDxusPm0846z/w/hWYjI1NpKwJ00NHzRA==", + "dev": true, + "requires": { + "is-extendable": "^0.1.1", + "kind-of": "^5.0.0", + "mixin-object": "^2.0.1" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "shelljs": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.2.tgz", + "integrity": "sha512-pRXeNrCA2Wd9itwhvLp5LZQvPJ0wU6bcjaTMywHHGX5XWhVN2nzSu7WV0q+oUY7mGK3mgSkDDzP3MgjqdyIgbQ==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "socket.io": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-2.1.1.tgz", + "integrity": "sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==", + "dev": true, + "requires": { + "debug": "~3.1.0", + "engine.io": "~3.2.0", + "has-binary2": "~1.0.2", + "socket.io-adapter": "~1.1.0", + "socket.io-client": "2.1.1", + "socket.io-parser": "~3.2.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "socket.io-adapter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz", + "integrity": "sha1-KoBeihTWNyEk3ZFZrUUC+MsH8Gs=", + "dev": true + }, + "socket.io-client": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.1.1.tgz", + "integrity": "sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==", + "dev": true, + "requires": { + "backo2": "1.0.2", + "base64-arraybuffer": "0.1.5", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "~3.1.0", + "engine.io-client": "~3.2.0", + "has-binary2": "~1.0.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "socket.io-parser": "~3.2.0", + "to-array": "0.1.4" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "socket.io-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz", + "integrity": "sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "debug": "~3.1.0", + "isarray": "2.0.1" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "isarray": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", + "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", + "dev": true + } + } + }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "^0.10.0", + "uuid": "^3.0.1" + } + }, + "sockjs-client": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz", + "integrity": "sha1-G7fA9yIsQPQq3xT0RCy9Eml3GoM=", + "dev": true, + "requires": { + "debug": "^2.6.6", + "eventsource": "0.1.6", + "faye-websocket": "~0.11.0", + "inherits": "^2.0.1", + "json3": "^3.3.2", + "url-parse": "^1.1.8" + }, + "dependencies": { + "faye-websocket": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", + "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", + "dev": true, + "requires": { + "websocket-driver": ">=0.5.1" + } + } + } + }, + "source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-loader": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-0.2.4.tgz", + "integrity": "sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ==", + "dev": true, + "requires": { + "async": "^2.5.0", + "loader-utils": "^1.1.0" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "^4.17.10" + } + } + } + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "requires": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.8.tgz", + "integrity": "sha512-WqAEWPdb78u25RfKzOF0swBpY0dKrNdjc4GvLwm7ScX/o9bj8Eh/YL8mcMhBHYDGl87UkkSXDOFnW4G7GhWhGg==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.3.tgz", + "integrity": "sha512-vFrY/x/NdsD7Yc8mpTJXuao9S8lq08Z/kOITHz6b7YbfI9xL8Spe5EvSQUHOI7SbpY8bRPr0U3kKSsPuqEGSfA==", + "dev": true + }, + "spdx-correct": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz", + "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz", + "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==", + "dev": true + }, + "spdy": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz", + "integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=", + "dev": true, + "requires": { + "debug": "^2.6.8", + "handle-thing": "^1.2.5", + "http-deceiver": "^1.2.7", + "safe-buffer": "^5.0.1", + "select-hose": "^2.0.0", + "spdy-transport": "^2.0.18" + } + }, + "spdy-transport": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.1.0.tgz", + "integrity": "sha512-bpUeGpZcmZ692rrTiqf9/2EUakI6/kXX1Rpe0ib/DyOzbiexVfXkw6GnvI9hVGvIwVaUhkaBojjCZwLNRGQg1g==", + "dev": true, + "requires": { + "debug": "^2.6.8", + "detect-node": "^2.0.3", + "hpack.js": "^2.1.6", + "obuf": "^1.1.1", + "readable-stream": "^2.2.9", + "safe-buffer": "^5.0.1", + "wbuf": "^1.7.2" + } + }, + "speed-measure-webpack-plugin": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.2.3.tgz", + "integrity": "sha512-p+taQ69VkRUXYMoZOx2nxV/Tz8tt79ahctoZJyJDHWP7fEYvwFNf5Pd73k5kZ6auu0pTsPNLEUwWpM8mCk85Zw==", + "dev": true, + "requires": { + "chalk": "^2.0.1" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "sshpk": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "ssri": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz", + "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.1" + } + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "stats-webpack-plugin": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/stats-webpack-plugin/-/stats-webpack-plugin-0.7.0.tgz", + "integrity": "sha512-NT0YGhwuQ0EOX+uPhhUcI6/+1Sq/pMzNuSCBVT4GbFl/ac6I/JZefBcjlECNfAb1t3GOx5dEj1Z7x0cAxeeVLQ==", + "dev": true, + "requires": { + "lodash": "^4.17.4" + } + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "^2.0.1" + } + }, + "stream-browserify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "stream-shift": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", + "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=", + "dev": true + }, + "streamroller": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-0.7.0.tgz", + "integrity": "sha512-WREzfy0r0zUqp3lGO096wRuUp7ho1X6uo/7DJfTlEi0Iv/4gT7YHqXDjKC2ioVGBZtE8QzsQD9nx1nIuoZ57jQ==", + "dev": true, + "requires": { + "date-format": "^1.2.0", + "debug": "^3.1.0", + "mkdirp": "^0.5.1", + "readable-stream": "^2.3.0" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.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.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "style-loader": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.23.0.tgz", + "integrity": "sha512-uCcN7XWHkqwGVt7skpInW6IGO1tG6ReyFQ1Cseh0VcN6VdcFQi62aG/2F3Y9ueA8x4IVlfaSUxpmQXQD9QrEuQ==", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^0.4.5" + }, + "dependencies": { + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" + } + } + } + }, + "stylus": { + "version": "0.54.5", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.5.tgz", + "integrity": "sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=", + "dev": true, + "requires": { + "css-parse": "1.7.x", + "debug": "*", + "glob": "7.0.x", + "mkdirp": "0.5.x", + "sax": "0.5.x", + "source-map": "0.1.x" + }, + "dependencies": { + "glob": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", + "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.2", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "stylus-loader": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-3.0.2.tgz", + "integrity": "sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA==", + "dev": true, + "requires": { + "loader-utils": "^1.0.2", + "lodash.clonedeep": "^4.5.0", + "when": "~3.6.x" + } + }, + "supports-color": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", + "dev": true + }, + "tapable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.0.tgz", + "integrity": "sha512-IlqtmLVaZA2qab8epUXbVWRn3aB1imbDMJtjB3nu4X0NqPkcY/JH9ZtCBWKHWPxs8Svi9tyo8w2dBoi07qZbBA==", + "dev": true + }, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "dev": true, + "requires": { + "block-stream": "*", + "fstream": "^1.0.2", + "inherits": "2" + } + }, + "term-size": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", + "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=", + "dev": true, + "requires": { + "execa": "^0.7.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + } + } + }, + "terser": { + "version": "3.10.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-3.10.3.tgz", + "integrity": "sha512-uyL5hwDICjnv49JANhZvQYLikt/HADWNbUFsKQpZ/i+JSOkL2T4V7WUpW7S/5QGZceVq2x0HRVhEQQuW2ZpX6g==", + "dev": true, + "requires": { + "commander": "~2.17.1", + "source-map": "~0.6.1", + "source-map-support": "~0.5.6" + }, + "dependencies": { + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "terser-webpack-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.1.0.tgz", + "integrity": "sha512-61lV0DSxMAZ8AyZG7/A4a3UPlrbOBo8NIQ4tJzLPAdGOQ+yoNC7l5ijEow27lBAL2humer01KLS6bGIMYQxKoA==", + "dev": true, + "requires": { + "cacache": "^11.0.2", + "find-cache-dir": "^2.0.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "terser": "^3.8.1", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" + }, + "dependencies": { + "cacache": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.2.0.tgz", + "integrity": "sha512-IFWl6lfK6wSeYCHUXh+N1lY72UDrpyrYQJNIVQf48paDuWbv5RbAtJYf/4gUQFObTCHZwdZ5sI8Iw7nqwP6nlQ==", + "dev": true, + "requires": { + "bluebird": "^3.5.1", + "chownr": "^1.0.1", + "figgy-pudding": "^3.1.0", + "glob": "^7.1.2", + "graceful-fs": "^4.1.11", + "lru-cache": "^4.1.3", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^6.0.0", + "unique-filename": "^1.1.0", + "y18n": "^4.0.0" + } + }, + "find-cache-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.0.0.tgz", + "integrity": "sha512-LDUY6V1Xs5eFskUVYtIwatojt6+9xC9Chnlk/jYOOvn3FAFfSaWddxahDGyNHh0b2dMXa6YW2m0tk8TdVaXHlA==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^3.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + } + } + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "^2.1.5", + "xtend": "~4.0.1" + } + }, + "thunky": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.0.3.tgz", + "integrity": "sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow==", + "dev": true + }, + "timed-out": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", + "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", + "dev": true + }, + "timers-browserify": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", + "dev": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-array": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=", + "dev": true + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + } + } + }, + "tree-kill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.0.tgz", + "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==", + "dev": true + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "^7.1.2" + } + }, + "ts-node": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", + "integrity": "sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw==", + "dev": true, + "requires": { + "arrify": "^1.0.0", + "buffer-from": "^1.1.0", + "diff": "^3.1.0", + "make-error": "^1.1.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "source-map-support": "^0.5.6", + "yn": "^2.0.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "tsickle": { + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/tsickle/-/tsickle-0.33.1.tgz", + "integrity": "sha512-SpW2G3PvDGs4a5sMXPlWnCWHWRviWjSlI3U0734e3fU3U39VAE0NPr8M3W1cuL/OU/YXheYipGeEwtIJ5k0NHQ==", + "dev": true, + "requires": { + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "source-map": "^0.7.3" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, + "tslib": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", + "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==", + "dev": true + }, + "tslint": { + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.11.0.tgz", + "integrity": "sha1-mPMMAurjzecAYgHkwzywi0hYHu0=", + "dev": true, + "requires": { + "babel-code-frame": "^6.22.0", + "builtin-modules": "^1.1.1", + "chalk": "^2.3.0", + "commander": "^2.12.1", + "diff": "^3.2.0", + "glob": "^7.1.1", + "js-yaml": "^3.7.0", + "minimatch": "^3.0.4", + "resolve": "^1.3.2", + "semver": "^5.3.0", + "tslib": "^1.8.0", + "tsutils": "^2.27.2" + }, + "dependencies": { + "resolve": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", + "dev": true, + "requires": { + "path-parse": "^1.0.5" + } + } + } + }, + "tsutils": { + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", + "dev": true, + "requires": { + "tslib": "^1.8.1" + } + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true, + "optional": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.18" + } + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "typescript": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.1.3.tgz", + "integrity": "sha512-+81MUSyX+BaSo+u2RbozuQk/UWx6hfG0a5gHu4ANEM4sU96XbuIyAB+rWBW1u70c6a5QuZfuYICn3s2UjuHUpA==", + "dev": true + }, + "uglify-js": { + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz", + "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==", + "dev": true, + "requires": { + "commander": "~2.17.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "uglifyjs-webpack-plugin": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.3.0.tgz", + "integrity": "sha512-ovHIch0AMlxjD/97j9AYovZxG5wnHOPkL7T1GKochBADp/Zwc44pEWNqpKl1Loupp1WhFg7SlYmHZRUfdAacgw==", + "dev": true, + "requires": { + "cacache": "^10.0.4", + "find-cache-dir": "^1.0.0", + "schema-utils": "^0.4.5", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "uglify-es": "^3.3.4", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" + }, + "dependencies": { + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", + "dev": true + }, + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "uglify-es": { + "version": "3.3.9", + "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", + "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", + "dev": true, + "requires": { + "commander": "~2.13.0", + "source-map": "~0.6.1" + } + } + } + }, + "ultron": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", + "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", + "dev": true + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.1", + "to-object-path": "^0.3.0" + } + } + } + }, + "unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.1.tgz", + "integrity": "sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "unique-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", + "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", + "dev": true, + "requires": { + "crypto-random-string": "^1.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + } + } + }, + "unzip-response": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", + "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=", + "dev": true + }, + "upath": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz", + "integrity": "sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw==", + "dev": true + }, + "update-notifier": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz", + "integrity": "sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==", + "dev": true, + "requires": { + "boxen": "^1.2.1", + "chalk": "^2.0.1", + "configstore": "^3.0.0", + "import-lazy": "^2.1.0", + "is-ci": "^1.0.10", + "is-installed-globally": "^0.1.0", + "is-npm": "^1.0.0", + "latest-version": "^3.0.0", + "semver-diff": "^2.0.0", + "xdg-basedir": "^3.0.0" + } + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-join": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.0.tgz", + "integrity": "sha1-TTNA6AfTdzvamZH4MFrNzCpmXSo=", + "dev": true + }, + "url-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.3.tgz", + "integrity": "sha512-rh+KuAW36YKo0vClhQzLLveoj8FwPJNu65xLb7Mrt+eZht0IPT0IXgSv8gcMegZ6NvjJUALf6Mf25POlMwD1Fw==", + "dev": true, + "requires": { + "querystringify": "^2.0.0", + "requires-port": "^1.0.0" + } + }, + "url-parse-lax": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", + "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", + "dev": true, + "requires": { + "prepend-http": "^1.0.1" + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "useragent": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.2.1.tgz", + "integrity": "sha1-z1k+9PLRdYdei7ZY6pLhik/QbY4=", + "dev": true, + "requires": { + "lru-cache": "2.2.x", + "tmp": "0.0.x" + }, + "dependencies": { + "lru-cache": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.2.4.tgz", + "integrity": "sha1-bGWGGb7PFAMdDQtZSxYELOTcBj0=", + "dev": true + } + } + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=", + "dev": true, + "requires": { + "builtins": "^1.0.3" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "requires": { + "indexof": "0.0.1" + } + }, + "void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", + "dev": true + }, + "watchpack": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", + "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", + "dev": true, + "requires": { + "chokidar": "^2.0.2", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0" + } + }, + "wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "requires": { + "minimalistic-assert": "^1.0.0" + } + }, + "webdriver-js-extender": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz", + "integrity": "sha512-lcUKrjbBfCK6MNsh7xaY2UAUmZwe+/ib03AjVOpFobX4O7+83BUveSrLfU0Qsyb1DaKJdQRbuU+kM9aZ6QUhiQ==", + "dev": true, + "requires": { + "@types/selenium-webdriver": "^3.0.0", + "selenium-webdriver": "^3.0.1" + } + }, + "webpack": { + "version": "4.19.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.19.1.tgz", + "integrity": "sha512-j7Q/5QqZRqIFXJvC0E59ipLV5Hf6lAnS3ezC3I4HMUybwEDikQBVad5d+IpPtmaQPQArvgUZLXIN6lWijHBn4g==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.7.6", + "@webassemblyjs/helper-module-context": "1.7.6", + "@webassemblyjs/wasm-edit": "1.7.6", + "@webassemblyjs/wasm-parser": "1.7.6", + "acorn": "^5.6.2", + "acorn-dynamic-import": "^3.0.0", + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0", + "chrome-trace-event": "^1.0.0", + "enhanced-resolve": "^4.1.0", + "eslint-scope": "^4.0.0", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^2.3.0", + "loader-utils": "^1.1.0", + "memory-fs": "~0.4.1", + "micromatch": "^3.1.8", + "mkdirp": "~0.5.0", + "neo-async": "^2.5.0", + "node-libs-browser": "^2.0.0", + "schema-utils": "^0.4.4", + "tapable": "^1.1.0", + "uglifyjs-webpack-plugin": "^1.2.4", + "watchpack": "^1.5.0", + "webpack-sources": "^1.2.0" + }, + "dependencies": { + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" + } + } + } + }, + "webpack-core": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz", + "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=", + "dev": true, + "requires": { + "source-list-map": "~0.1.7", + "source-map": "~0.4.1" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "webpack-dev-middleware": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.3.0.tgz", + "integrity": "sha512-5C5gXtOo1I6+0AEg4UPglYEtu3Rai6l5IiO6aUu65scHXz29dc3oIWMiRwvcNLXgL0HwRkRxa9N02ZjFt4hY8w==", + "dev": true, + "requires": { + "loud-rejection": "^1.6.0", + "memory-fs": "~0.4.1", + "mime": "^2.3.1", + "range-parser": "^1.0.3", + "url-join": "^4.0.0", + "webpack-log": "^2.0.0" + }, + "dependencies": { + "mime": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz", + "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg==", + "dev": true + } + } + }, + "webpack-dev-server": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.1.8.tgz", + "integrity": "sha512-c+tcJtDqnPdxCAzEEZKdIPmg3i5i7cAHe+B+0xFNK0BlCc2HF/unYccbU7xTgfGc5xxhCztCQzFmsqim+KhI+A==", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "bonjour": "^3.5.0", + "chokidar": "^2.0.0", + "compression": "^1.5.2", + "connect-history-api-fallback": "^1.3.0", + "debug": "^3.1.0", + "del": "^3.0.0", + "express": "^4.16.2", + "html-entities": "^1.2.0", + "http-proxy-middleware": "~0.18.0", + "import-local": "^2.0.0", + "internal-ip": "^3.0.1", + "ip": "^1.1.5", + "killable": "^1.0.0", + "loglevel": "^1.4.1", + "opn": "^5.1.0", + "portfinder": "^1.0.9", + "schema-utils": "^1.0.0", + "selfsigned": "^1.9.1", + "serve-index": "^1.7.2", + "sockjs": "0.3.19", + "sockjs-client": "1.1.5", + "spdy": "^3.4.1", + "strip-ansi": "^3.0.0", + "supports-color": "^5.1.0", + "webpack-dev-middleware": "3.2.0", + "webpack-log": "^2.0.0", + "yargs": "12.0.2" + }, + "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 + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "cliui": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", + "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", + "dev": true, + "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + }, + "dependencies": { + "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" + } + } + } + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "decamelize": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-2.0.0.tgz", + "integrity": "sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==", + "dev": true, + "requires": { + "xregexp": "4.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "invert-kv": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", + "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "lcid": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", + "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", + "dev": true, + "requires": { + "invert-kv": "^2.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "mime": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz", + "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "os-locale": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.0.1.tgz", + "integrity": "sha512-7g5e7dmXPtzcP4bgsZ8ixDVqA7oWYuEz4lOSujeWyliPai4gfVDiFIcwBg3aGCPnmSGfzOKTK3ccPn0CKv3DBw==", + "dev": true, + "requires": { + "execa": "^0.10.0", + "lcid": "^2.0.0", + "mem": "^4.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "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" + } + } + } + }, + "webpack-dev-middleware": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.2.0.tgz", + "integrity": "sha512-YJLMF/96TpKXaEQwaLEo+Z4NDK8aV133ROF6xp9pe3gQoS7sxfpXh4Rv9eC+8vCvWfmDjRQaMSlRPbO+9G6jgA==", + "dev": true, + "requires": { + "loud-rejection": "^1.6.0", + "memory-fs": "~0.4.1", + "mime": "^2.3.1", + "path-is-absolute": "^1.0.0", + "range-parser": "^1.0.3", + "url-join": "^4.0.0", + "webpack-log": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "yargs": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.2.tgz", + "integrity": "sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ==", + "dev": true, + "requires": { + "cliui": "^4.0.0", + "decamelize": "^2.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^1.0.1", + "os-locale": "^3.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1 || ^4.0.0", + "yargs-parser": "^10.1.0" + } + }, + "yargs-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, + "webpack-log": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", + "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", + "dev": true, + "requires": { + "ansi-colors": "^3.0.0", + "uuid": "^3.3.2" + } + }, + "webpack-merge": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.4.tgz", + "integrity": "sha512-TmSe1HZKeOPey3oy1Ov2iS3guIZjWvMT2BBJDzzT5jScHTjVC3mpjJofgueEzaEd6ibhxRDD6MIblDr8tzh8iQ==", + "dev": true, + "requires": { + "lodash": "^4.17.5" + } + }, + "webpack-sources": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz", + "integrity": "sha512-9BZwxR85dNsjWz3blyxdOhTgtnQvv3OEs5xofI0wPYTwu5kaWxS08UuD1oI7WLBLpRO+ylf0ofnXLXWmGb2WMw==", + "dev": true, + "requires": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "webpack-subresource-integrity": { + "version": "1.1.0-rc.6", + "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-1.1.0-rc.6.tgz", + "integrity": "sha512-Az7y8xTniNhaA0620AV1KPwWOqawurVVDzQSpPAeR5RwNbL91GoBSJAAo9cfd+GiFHwsS5bbHepBw1e6Hzxy4w==", + "dev": true, + "requires": { + "webpack-core": "^0.6.8" + } + }, + "websocket-driver": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", + "dev": true, + "requires": { + "http-parser-js": ">=0.4.0", + "websocket-extensions": ">=0.1.1" + } + }, + "websocket-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", + "dev": true + }, + "when": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/when/-/when-3.6.4.tgz", + "integrity": "sha1-RztRfsFZ4rhQBUl6E5g/CVQS404=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "widest-line": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz", + "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==", + "dev": true, + "requires": { + "string-width": "^2.1.1" + }, + "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 + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "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" + } + } + } + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + }, + "worker-farm": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz", + "integrity": "sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ==", + "dev": true, + "requires": { + "errno": "~0.1.7" + } + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write-file-atomic": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", + "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "ws": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", + "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "xdg-basedir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", + "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=", + "dev": true + }, + "xml2js": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", + "dev": true, + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~9.0.1" + }, + "dependencies": { + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + } + } + }, + "xmlbuilder": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", + "dev": true + }, + "xmlhttprequest-ssl": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz", + "integrity": "sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=", + "dev": true + }, + "xregexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz", + "integrity": "sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==", + "dev": true + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true + }, + "xxhashjs": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz", + "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==", + "dev": true, + "requires": { + "cuint": "^0.2.2" + } + }, + "y18n": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", + "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.2", + "which-module": "^1.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^5.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + } + } + }, + "yargs-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", + "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", + "dev": true, + "requires": { + "camelcase": "^3.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + } + } + }, + "yeast": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", + "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", + "dev": true + }, + "yn": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", + "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", + "dev": true + }, + "zone.js": { + "version": "0.8.26", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.26.tgz", + "integrity": "sha512-W9Nj+UmBJG251wkCacIkETgra4QgBo/vgoEkb4a2uoLzpQG7qF9nzwoLXWU5xj3Fg2mxGvEDh47mg24vXccYjA==", + "dev": true + } + } +} diff --git a/package.json b/package.json index 29ae44c..13ada5a 100644 --- a/package.json +++ b/package.json @@ -1,71 +1,91 @@ { - "name": "ng2-validation", - "version": "4.2.0", - "description": "angular2 validation", - "main": "dist/index.js", - "typings": "dist/index.d.ts", + "$schema": "./node_modules/ng-packagr/ng-package.schema.json", + "name": "ngx-custom-validators", + "version": "7.0.0", + "description": "Angular custom directives for validation", "scripts": { - "test": "karma start ./karma.conf.js", - "dev": "webpack-dev-server --port 4001 --watch", - "example": "webpack --optimize-minimize", - "ngc": "ngc", - "prerollup": "rimraf bundles", - "rollup": "rollup -c", - "prebuild": "rimraf dist", - "build": "npm run ngc && npm run rollup", - "prepublish": "npm run build" + "ng": "ng", + "start": "ng serve", + "build": "ng-packagr -p package.json", + "test": "ng test", + "lint": "ng lint", + "e2e": "ng e2e" }, "repository": { "type": "git", - "url": "git+https://github.com/yuyang041060120/angular2-validate.git" + "url": "git+https://github.com/rsaenen/ngx-custom-validators.git" }, "keywords": [ + "angular", "angular2", + "angular 2", + "angular4", + "angular 4", + "angular5", + "angular 5", + "angular6", + "angular 6", + "directive", + "reactive", + "template", + "forms", "validate", - "validation" + "validation", + "validators", + "custom" ], - "author": "yuyang041060120 ", + "author": "Ralf Saenen ", "license": "MIT", "bugs": { - "url": "https://github.com/yuyang041060120/angular2-validate/issues" + "url": "https://github.com/rsaenen/ngx-custom-validators/issues" }, - "homepage": "https://github.com/yuyang041060120/angular2-validate#readme", - "devDependencies": { - "@angular/common": "4.0.0", - "@angular/compiler": "4.0.0", - "@angular/compiler-cli": "4.0.0", - "@angular/core": "4.0.0", - "@angular/forms": "4.0.0", - "@angular/http": "4.0.0", - "@angular/platform-browser": "4.0.0", - "@angular/platform-browser-dynamic": "4.0.0", - "@types/jasmine": "^2.2.29", - "@types/node": "^7.0.12", - "bootstrap": "^3.3.7", - "core-js": "^2.4.1", - "jasmine-core": "^2.4.1", - "jasmine-data-provider": "^2.2.0", - "karma": "^1.1.1", - "karma-jasmine": "^1.0.2", - "karma-phantomjs-launcher": "^1.0.1", - "karma-sourcemap-loader": "^0.3.7", - "karma-webpack": "^2.0.3", - "less": "^2.7.2", - "less-loader": "^4.0.2", - "phantomjs-prebuilt": "^2.1.7", - "raw-loader": "^0.5.1", - "reflect-metadata": "^0.1.3", - "rimraf": "^2.5.4", - "rollup": "^0.41.4", - "rollup-plugin-typescript": "^0.8.1", - "rxjs": "^5.2.0", - "ts-loader": "^2.0.3", - "typescript": "^2.2.2", - "webpack": "^2.3.2", - "webpack-dev-server": "^2.4.2", - "zone.js": "^0.8.4" + "ngPackage": { + "lib": { + "entryFile": "public_api.ts" + } + }, + "homepage": "https://github.com/rsaenen/ngx-custom-validators#readme", + "peerDependencies": { + "@angular/core": "^7.0.0", + "@angular/forms": "^7.0.0" }, - "dependencies": { - "libphonenumber-js": "^0.4.5" + "devDependencies": { + "@angular-devkit/build-angular": "~0.10.3", + "@angular/animations": "^7.0.1", + "@angular/cli": "~7.0.3", + "@angular/common": "^7.0.1", + "@angular/compiler": "^7.0.1", + "@angular/compiler-cli": "^7.0.1", + "@angular/core": "^7.0.1", + "@angular/forms": "^7.0.1", + "@angular/http": "^7.0.1", + "@angular/language-service": "^7.0.1", + "@angular/platform-browser": "^7.0.1", + "@angular/platform-browser-dynamic": "^7.0.1", + "@angular/router": "^7.0.1", + "@types/jasmine": "~2.8.9", + "@types/jasminewd2": "~2.0.5", + "@types/node": "~10.12.0", + "bootstrap": "^4.1.3", + "codelyzer": "^4.5.0", + "core-js": "^2.5.7", + "jasmine-core": "~3.3.0", + "jasmine-spec-reporter": "~4.2.1", + "jquery": "^3.3.1", + "karma": "~3.1.1", + "karma-chrome-launcher": "~2.2.0", + "karma-coverage-istanbul-reporter": "^2.0.4", + "karma-jasmine": "~1.1.2", + "karma-jasmine-html-reporter": "^1.3.1", + "moment": "^2.22.2", + "ng-packagr": "^4.4.0", + "popper.js": "^1.14.4", + "protractor": "~5.4.1", + "rxjs": "^6.3.3", + "ts-node": "~7.0.1", + "tsickle": "^0.33.1", + "tslint": "~5.11.0", + "typescript": "~3.1.3", + "zone.js": "^0.8.26" } } diff --git a/public_api.ts b/public_api.ts new file mode 100644 index 0000000..09cd600 --- /dev/null +++ b/public_api.ts @@ -0,0 +1 @@ +export * from './src/app/custom-forms.module'; diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 6cee1a8..0000000 --- a/rollup.config.js +++ /dev/null @@ -1,20 +0,0 @@ -const pluginTypescript = require('rollup-plugin-typescript'); -const typescript = require('typescript'); - -module.exports = { - entry: 'src/index.ts', - dest: 'bundles/ng2-validation.umd.js', - format: 'umd', - sourceMap: true, - moduleName: 'ng.validation', - plugins: [ - pluginTypescript({ - typescript: typescript - }) - ], - globals: { - '@angular/core': 'ng.core', - '@angular/forms': 'ng.forms' - }, - external: [ '@angular/core', '@angular/forms' ] -}; diff --git a/src/app/array-length/directive.spec.ts b/src/app/array-length/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/array-length/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/app/array-length/directive.ts b/src/app/array-length/directive.ts new file mode 100644 index 0000000..ec6b950 --- /dev/null +++ b/src/app/array-length/directive.ts @@ -0,0 +1,44 @@ +import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; +import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; + +import { arrayLength } from './validator'; + +const ARRAY_LENGTH_VALIDATOR: any = { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => ArrayLengthValidator), + multi: true +}; + +@Directive({ + selector: '[arrayLength][formControlName],[arrayLength][formControl],[arrayLength][ngModel]', + providers: [ARRAY_LENGTH_VALIDATOR] +}) +export class ArrayLengthValidator implements Validator, OnInit, OnChanges { + @Input() arrayLength: number; + + private validator: ValidatorFn; + private onChange: () => void; + + ngOnInit() { + this.validator = arrayLength(this.arrayLength); + } + + ngOnChanges(changes: SimpleChanges) { + for (const key in changes) { + if (key === 'arrayLength') { + this.validator = arrayLength(changes[key].currentValue); + if (this.onChange) { + this.onChange(); + } + } + } + } + + validate(c: AbstractControl): {[key: string]: any} { + return this.validator(c); + } + + registerOnValidatorChange(fn: () => void): void { + this.onChange = fn; + } +} diff --git a/src/app/array-length/validator.spec.ts b/src/app/array-length/validator.spec.ts new file mode 100644 index 0000000..cd642ab --- /dev/null +++ b/src/app/array-length/validator.spec.ts @@ -0,0 +1,25 @@ +import { FormControl } from '@angular/forms'; + +import { arrayLength } from './validator'; + +describe('ArrayLength validator', () => { + it('Input is array', () => { + const control = new FormControl(['ok']); + expect(arrayLength(0)(control)).toBeNull(); + }); + + it('Input not array', () => { + const control = new FormControl({ dumb: 1 }); + expect(arrayLength(1)(control)).toEqual({ arrayLength: { minLength: 1 } }); + }); + + it('Input is array of object and greater than 1', () => { + const control = new FormControl([{ dumb: 1 }, { dumb: 2 }]); + expect(arrayLength(1)(control)).toBeNull(); + }); + + it('Input is array of object and less than 2', () => { + const control = new FormControl([{ dumb: 1 }]); + expect(arrayLength(2)(control)).toEqual({ arrayLength: { minLength: 2 } }); + }); +}); diff --git a/src/app/array-length/validator.ts b/src/app/array-length/validator.ts new file mode 100644 index 0000000..445179c --- /dev/null +++ b/src/app/array-length/validator.ts @@ -0,0 +1,14 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const arrayLength = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + + if (isPresent(Validators.required(control))) { + return null; + } + + const obj = control.value; + return Array.isArray(obj) && obj.length >= +value ? null : { arrayLength: { minLength: value } }; + }; +}; diff --git a/src/app/base64/directive.spec.ts b/src/app/base64/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/base64/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/base64/directive.ts b/src/app/base64/directive.ts similarity index 93% rename from src/base64/directive.ts rename to src/app/base64/directive.ts index fd46ac3..184f443 100644 --- a/src/base64/directive.ts +++ b/src/app/base64/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { base64 } from './'; +import { base64 } from './validator'; const BASE64_VALIDATOR: any = { provide: NG_VALIDATORS, diff --git a/src/base64/validator.spec.ts b/src/app/base64/validator.spec.ts similarity index 68% rename from src/base64/validator.spec.ts rename to src/app/base64/validator.spec.ts index b6b92dd..5a11f01 100644 --- a/src/base64/validator.spec.ts +++ b/src/app/base64/validator.spec.ts @@ -1,17 +1,17 @@ import { FormControl } from '@angular/forms'; -import { base64 } from './'; +import { base64 } from './validator'; describe('Base64', () => { const error = {base64: true}; it('"ZGFua29nYWk=" should be base64', () => { - let control = new FormControl('ZGFua29nYWk='); + const control = new FormControl('ZGFua29nYWk='); expect(base64(control)).toBeNull(); }); it('"ZGFua" should not be base64', () => { - let control = new FormControl('ZGFua'); + const control = new FormControl('ZGFua'); expect(base64(control)).toEqual(error); }); }); diff --git a/src/app/base64/validator.ts b/src/app/base64/validator.ts new file mode 100644 index 0000000..ed41ca8 --- /dev/null +++ b/src/app/base64/validator.ts @@ -0,0 +1,11 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const base64: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + return /^(?:[A-Z0-9+\/]{4})*(?:[A-Z0-9+\/]{2}==|[A-Z0-9+\/]{3}=|[A-Z0-9+\/]{4})$/i.test(v) ? null : { base64: true }; +}; diff --git a/src/app/credit-card/directive.spec.ts b/src/app/credit-card/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/credit-card/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/credit-card/directive.ts b/src/app/credit-card/directive.ts similarity index 92% rename from src/credit-card/directive.ts rename to src/app/credit-card/directive.ts index dd2f5cb..89c82d3 100644 --- a/src/credit-card/directive.ts +++ b/src/app/credit-card/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { creditCard } from './'; +import { creditCard } from './validator'; const CREDIT_CARD_VALIDATOR: any = { provide: NG_VALIDATORS, diff --git a/src/credit-card/validator.spec.ts b/src/app/credit-card/validator.spec.ts similarity index 68% rename from src/credit-card/validator.spec.ts rename to src/app/credit-card/validator.spec.ts index ef90af0..8321496 100644 --- a/src/credit-card/validator.spec.ts +++ b/src/app/credit-card/validator.spec.ts @@ -1,22 +1,22 @@ import { FormControl } from '@angular/forms'; -import { creditCard } from './'; +import { creditCard } from './validator'; describe('CreditCard', () => { const error = {creditCard: true}; it('"378282246310005" should be creditCard', () => { - let control = new FormControl('378282246310005'); + const control = new FormControl('378282246310005'); expect(creditCard(control)).toBeNull(); }); it('"37828224631000" should not be creditCard', () => { - let control = new FormControl('37828224631000'); + const control = new FormControl('37828224631000'); expect(creditCard(control)).toEqual(error); }); it('"3782822463100056" should not be creditCard', () => { - let control = new FormControl('3782822463100056'); + const control = new FormControl('3782822463100056'); expect(creditCard(control)).toEqual(error); }); }); diff --git a/src/credit-card/validator.ts b/src/app/credit-card/validator.ts similarity index 63% rename from src/credit-card/validator.ts rename to src/app/credit-card/validator.ts index 3b4d4b4..a21280e 100644 --- a/src/credit-card/validator.ts +++ b/src/app/credit-card/validator.ts @@ -1,18 +1,21 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; import { isPresent } from '../util/lang'; -export const creditCard: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; +export const creditCard: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } - let v: string = control.value; + const v: string = control.value; - let sanitized = v.replace(/[^0-9]+/g, ''); + const sanitized = v.replace(/[^0-9]+/g, ''); // problem with chrome - if (!(/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/.test(sanitized))) { - return {creditCard: true}; + /* tslint:disable */ + if (!(/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|(?:9792)\d{12})$/.test(sanitized))) { + return { creditCard: true }; } + /* tslint:enable */ let sum = 0; let digit; @@ -38,5 +41,5 @@ export const creditCard: ValidatorFn = (control: AbstractControl): {[key: string return null; } - return {creditCard: true}; + return { creditCard: true }; }; diff --git a/src/app/custom-forms.module.ts b/src/app/custom-forms.module.ts new file mode 100644 index 0000000..5759d91 --- /dev/null +++ b/src/app/custom-forms.module.ts @@ -0,0 +1,123 @@ +import { AbstractControl, ValidatorFn } from '@angular/forms'; +import { NgModule } from '@angular/core'; +import { arrayLength } from './array-length/validator'; +import { base64 } from './base64/validator'; +import { creditCard } from './credit-card/validator'; +import { date } from './date/validator'; +import { dateISO } from './date-iso/validator'; +import { digits } from './digits/validator'; +import { email } from './email/validator'; +import { equal } from './equal/validator'; +import { equalTo } from './equal-to/validator'; +import { gt } from './greater-than/validator'; +import { gte } from './greater-than-equal/validator'; +import { json } from './json/validator'; +import { lt } from './less-than/validator'; +import { lte } from './less-than-equal/validator'; +import { max } from './max/validator'; +import { maxDate } from './max-date/validator'; +import { min } from './min/validator'; +import { minDate } from './min-date/validator'; +import { notEqual } from './not-equal/validator'; +import { notEqualTo } from './not-equal-to/validator'; +import { number } from './number/validator'; +import { property } from './property/validator'; +import { range } from './range/validator'; +import { rangeLength } from './range-length/validator'; +import { uuid } from './uuid/validator'; +import { url } from './url/validator'; +import { Iban } from './iban/validator'; + +import { ArrayLengthValidator } from './array-length/directive'; +import { Base64Validator } from './base64/directive'; +import { CreditCardValidator } from './credit-card/directive'; +import { DateValidator } from './date/directive'; +import { DateISOValidator } from './date-iso/directive'; +import { DigitsValidator } from './digits/directive'; +import { EmailValidator } from './email/directive'; +import { EqualValidator } from './equal/directive'; +import { EqualToValidator } from './equal-to/directive'; +import { GreaterThanValidator } from './greater-than/directive'; +import { GreaterThanEqualValidator } from './greater-than-equal/directive'; +import { JSONValidator } from './json/directive'; +import { LessThanValidator } from './less-than/directive'; +import { LessThanEqualValidator } from './less-than-equal/directive'; +import { MaxValidator } from './max/directive'; +import { MaxDateValidator } from './max-date/directive'; +import { MinValidator } from './min/directive'; +import { MinDateValidator } from './min-date/directive'; +import { NotEqualValidator } from './not-equal/directive'; +import { NotEqualToValidator } from './not-equal-to/directive'; +import { NumberValidator } from './number/directive'; +import { PropertyValidator } from './property/directive'; +import { RangeValidator } from './range/directive'; +import { RangeLengthValidator } from './range-length/directive'; +import { UrlValidator } from './url/directive'; +import { UUIDValidator } from './uuid/directive'; +import { IbanValidator } from './iban/directive'; + +export const CustomValidators = { + arrayLength, + base64, + creditCard, + date, + dateISO, + digits, + email, + equal, + equalTo, + gt, + gte, + json, + lt, + lte, + max, + maxDate, + min, + minDate, + notEqual, + notEqualTo, + number, + property, + range, + rangeLength, + url, + uuid, + Iban +}; + +const CustomDirectives = [ + ArrayLengthValidator, + Base64Validator, + CreditCardValidator, + DateValidator, + DateISOValidator, + DigitsValidator, + EmailValidator, + EqualValidator, + EqualToValidator, + GreaterThanValidator, + GreaterThanEqualValidator, + JSONValidator, + LessThanValidator, + LessThanEqualValidator, + MaxValidator, + MaxDateValidator, + MinValidator, + MinDateValidator, + NotEqualValidator, + NotEqualToValidator, + NumberValidator, + PropertyValidator, + RangeValidator, + RangeLengthValidator, + UrlValidator, + UUIDValidator, + IbanValidator +]; + +@NgModule({ + declarations: [CustomDirectives], + exports: [CustomDirectives] +}) +export class CustomFormsModule { } diff --git a/src/app/date-iso/directive.spec.ts b/src/app/date-iso/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/date-iso/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/date-ios/directive.ts b/src/app/date-iso/directive.ts similarity index 93% rename from src/date-ios/directive.ts rename to src/app/date-iso/directive.ts index a3deed2..6eaacb9 100644 --- a/src/date-ios/directive.ts +++ b/src/app/date-iso/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { dateISO } from './'; +import { dateISO } from './validator'; const DATE_ISO_VALIDATOR: any = { provide: NG_VALIDATORS, diff --git a/src/date-ios/validator.spec.ts b/src/app/date-iso/validator.spec.ts similarity index 68% rename from src/date-ios/validator.spec.ts rename to src/app/date-iso/validator.spec.ts index 872f6fe..e6323b7 100644 --- a/src/date-ios/validator.spec.ts +++ b/src/app/date-iso/validator.spec.ts @@ -1,17 +1,17 @@ import { FormControl } from '@angular/forms'; -import { dateISO } from './'; +import { dateISO } from './validator'; describe('DateISO', () => { const error = {dateISO: true}; it('"2013-11-12" should be dateISO', () => { - let control = new FormControl('2013-11-12'); + const control = new FormControl('2013-11-12'); expect(dateISO(control)).toBeNull(); }); it('"2013-13-12" should not be dateISO', () => { - let control = new FormControl('2013-13-12'); + const control = new FormControl('2013-13-12'); expect(dateISO(control)).toEqual(error); }); }); diff --git a/src/app/date-iso/validator.ts b/src/app/date-iso/validator.ts new file mode 100644 index 0000000..13eb0f4 --- /dev/null +++ b/src/app/date-iso/validator.ts @@ -0,0 +1,11 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const dateISO: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(v) ? null : { dateISO: true }; +}; diff --git a/src/app/date/directive.spec.ts b/src/app/date/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/date/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/date/directive.ts b/src/app/date/directive.ts similarity index 93% rename from src/date/directive.ts rename to src/app/date/directive.ts index e29c151..def72b0 100644 --- a/src/date/directive.ts +++ b/src/app/date/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { date } from './'; +import { date } from './validator'; const DATE_VALIDATOR: any = { provide: NG_VALIDATORS, diff --git a/src/app/date/validator.spec.ts b/src/app/date/validator.spec.ts new file mode 100644 index 0000000..5d5766a --- /dev/null +++ b/src/app/date/validator.spec.ts @@ -0,0 +1,82 @@ +import * as moment from 'moment'; +import { date } from './validator'; +import { FormControl } from '@angular/forms'; + +describe('Date', () => { + const error = {date: true}; + + it('"2013-11-12" should be date', () => { + const control = new FormControl('2013-11-12'); + expect(date(control)).toBeNull(); + }); + + it('"2013-1-12" should be date', () => { + const control = new FormControl('2013-1-12'); + expect(date(control)).toBeNull(); + }); + + it('"2013-1-1" should be date', () => { + const control = new FormControl('2013-1-1'); + expect(date(control)).toBeNull(); + }); + + it('"2013-10-1" should be date', () => { + const control = new FormControl('2013-10-1'); + expect(date(control)).toBeNull(); + }); + + it('"new Date()" should be date', () => { + const control = new FormControl(new Date()); + expect(date(control)).toBeNull(); + }); + + it('"moment(2018-07-30)" should be date', () => { + const control = new FormControl(moment('2018-07-30')); + expect(date(control)).toBeNull(); + }); + + it('"moment(2018-01-01)" should be date', () => { + const control = new FormControl(moment('2018-01-01')); + expect(date(control)).toBeNull(); + }); + + it('"moment(2018-12-31)" should be date', () => { + const control = new FormControl(moment('2018-12-31')); + expect(date(control)).toBeNull(); + }); + + it('"object { year: 2017, month: 1, day: 11}" should be date', () => { + const control = new FormControl({ year: 2017, month: 1, day: 11}); + expect(date(control)).toBeNull(); + }); + + it('"object { year: 2017, month: 12, day: 11}" should be date', () => { + const control = new FormControl({ year: 2017, month: 12, day: 11}); + expect(date(control)).toBeNull(); + }); + + it('"2013-13-12" should not be date', () => { + const control = new FormControl('2013-13-12'); + expect(date(control)).toEqual(error); + }); + + it('"20131212" should not be date', () => { + const control = new FormControl('20131212'); + expect(date(control)).toEqual(error); + }); + + it('"moment(2018-17-56)" should not be date', () => { + const control = new FormControl(moment('2018-17-56')); + expect(date(control)).toEqual(error); + }); + + it('"moment(2018-13-01)" should not be date', () => { + const control = new FormControl(moment('2018-13-01')); + expect(date(control)).toEqual(error); + }); + + it('"object { year: 2017, month: 13, day: 11}" should not be date', () => { + const control = new FormControl({ year: 2017, month: 13, day: 11}); + expect(date(control)).toEqual(error); + }); +}); diff --git a/src/app/date/validator.ts b/src/app/date/validator.ts new file mode 100644 index 0000000..4ed0bd6 --- /dev/null +++ b/src/app/date/validator.ts @@ -0,0 +1,12 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isDate, isPresent, parseDate } from '../util/lang'; + +export const date: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + let v: string = control.value; + v = parseDate(v); + return isDate(v) ? null : { date: true }; +}; diff --git a/src/app/digits/directive.spec.ts b/src/app/digits/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/digits/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/digits/directive.ts b/src/app/digits/directive.ts similarity index 93% rename from src/digits/directive.ts rename to src/app/digits/directive.ts index d7f047e..75f176e 100644 --- a/src/digits/directive.ts +++ b/src/app/digits/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { digits } from './'; +import { digits } from './validator'; const DIGITS_VALIDATOR: any = { provide: NG_VALIDATORS, diff --git a/src/digits/validator.spec.ts b/src/app/digits/validator.spec.ts similarity index 68% rename from src/digits/validator.spec.ts rename to src/app/digits/validator.spec.ts index ec514a7..8b14b17 100644 --- a/src/digits/validator.spec.ts +++ b/src/app/digits/validator.spec.ts @@ -1,27 +1,27 @@ import { FormControl } from '@angular/forms'; -import { digits } from './'; +import { digits } from './validator'; describe('Digits', () => { const error = {digits: true}; it('"234" should be digits', () => { - let control = new FormControl('234'); + const control = new FormControl('234'); expect(digits(control)).toBeNull(); }); it('234 should be digits', () => { - let control = new FormControl(234); + const control = new FormControl(234); expect(digits(control)).toBeNull(); }); it('"abc" should not be digits', () => { - let control = new FormControl('abc'); + const control = new FormControl('abc'); expect(digits(control)).toEqual(error); }); it('"123a" should not be digits', () => { - let control = new FormControl('123a'); + const control = new FormControl('123a'); expect(digits(control)).toEqual(error); }); }); diff --git a/src/app/digits/validator.ts b/src/app/digits/validator.ts new file mode 100644 index 0000000..423463b --- /dev/null +++ b/src/app/digits/validator.ts @@ -0,0 +1,11 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const digits: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + return /^\d+$/.test(v) ? null : { digits: true }; +}; diff --git a/src/app/email/directive.spec.ts b/src/app/email/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/email/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/email/directive.ts b/src/app/email/directive.ts similarity index 77% rename from src/email/directive.ts rename to src/app/email/directive.ts index 32fcebc..bb50616 100644 --- a/src/email/directive.ts +++ b/src/app/email/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { email } from './index'; +import { email } from './validator'; const EMAIL_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -10,7 +10,7 @@ const EMAIL_VALIDATOR: any = { }; @Directive({ - selector: '[email][formControlName],[email][formControl],[email][ngModel]', + selector: '[ngvemail][formControlName],[ngvemail][formControl],[ngvemail][ngModel]', providers: [EMAIL_VALIDATOR] }) export class EmailValidator implements Validator { diff --git a/src/email/validator.spec.ts b/src/app/email/validator.spec.ts similarity index 68% rename from src/email/validator.spec.ts rename to src/app/email/validator.spec.ts index 524a0d4..d205b90 100644 --- a/src/email/validator.spec.ts +++ b/src/app/email/validator.spec.ts @@ -1,22 +1,22 @@ import { FormControl } from '@angular/forms'; -import { email } from './'; +import { email } from './validator'; describe('Email', () => { const error = {email: true}; it('"test@gmail.com" should be email', () => { - let control = new FormControl('test@gmail.com'); + const control = new FormControl('test@gmail.com'); expect(email(control)).toBeNull(); }); it('"test@xxx" should not be email', () => { - let control = new FormControl('test'); + const control = new FormControl('test'); expect(email(control)).toEqual(error); }); it('"abc" should not be email', () => { - let control = new FormControl('abc'); + const control = new FormControl('abc'); expect(email(control)).toEqual(error); }); }); diff --git a/src/app/email/validator.ts b/src/app/email/validator.ts new file mode 100644 index 0000000..fa4fb6e --- /dev/null +++ b/src/app/email/validator.ts @@ -0,0 +1,13 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const email: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + /* tslint:disable */ + return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(v) ? null : { 'email': true }; + /* tslint:enable */ +}; diff --git a/src/app/equal-to/directive.spec.ts b/src/app/equal-to/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/equal-to/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/equal-to/directive.ts b/src/app/equal-to/directive.ts similarity index 94% rename from src/equal-to/directive.ts rename to src/app/equal-to/directive.ts index 0823f15..f857b0b 100644 --- a/src/equal-to/directive.ts +++ b/src/app/equal-to/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit } from '@angular/core'; import { NG_VALIDATORS, Validator, FormControl, ValidatorFn, AbstractControl } from '@angular/forms'; -import { equalTo } from './'; +import { equalTo } from './validator'; const EQUAL_TO_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -25,4 +25,4 @@ export class EqualToValidator implements Validator, OnInit { validate(c: AbstractControl): {[key: string]: any} { return this.validator(c); } -} \ No newline at end of file +} diff --git a/src/app/equal-to/validator.spec.ts b/src/app/equal-to/validator.spec.ts new file mode 100644 index 0000000..9a0fcb2 --- /dev/null +++ b/src/app/equal-to/validator.spec.ts @@ -0,0 +1,20 @@ +import { FormControl } from '@angular/forms'; + +import { equalTo } from './validator'; + +describe('EqualTo', () => { + + it('"aaa" and "aaa" should be equalTo', () => { + const control = new FormControl('aaa'); + const control1 = new FormControl('aaa'); + + expect(equalTo(control1)(control)).toBeNull(); + }); + + it('"aaa" and "bbb" should not be equalTo', () => { + const control = new FormControl('aaa'); + const control1 = new FormControl('bbb'); + + expect(equalTo(control1)(control)).toEqual({ equalTo: { control: control1, value: control1.value } }); + }); +}); diff --git a/src/app/equal-to/validator.ts b/src/app/equal-to/validator.ts new file mode 100644 index 0000000..871bce8 --- /dev/null +++ b/src/app/equal-to/validator.ts @@ -0,0 +1,18 @@ +import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms'; + +export const equalTo = (equalControl: AbstractControl): ValidatorFn => { + let subscribe = false; + + return (control: AbstractControl): ValidationErrors => { + if (!subscribe) { + subscribe = true; + equalControl.valueChanges.subscribe(() => { + control.updateValueAndValidity(); + }); + } + + const v: string = control.value; + + return equalControl.value === v ? null : { equalTo: { control: equalControl, value: equalControl.value } }; + }; +}; diff --git a/src/app/equal/directive.spec.ts b/src/app/equal/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/equal/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/equal/directive.ts b/src/app/equal/directive.ts similarity index 87% rename from src/equal/directive.ts rename to src/app/equal/directive.ts index ad91d5c..9890703 100644 --- a/src/equal/directive.ts +++ b/src/app/equal/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, SimpleChanges, OnChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { equal } from './index'; +import { equal } from './validator'; const EQUAL_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class EqualValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'equal') { this.validator = equal(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/app/equal/validator.spec.ts b/src/app/equal/validator.spec.ts new file mode 100644 index 0000000..ae4c297 --- /dev/null +++ b/src/app/equal/validator.spec.ts @@ -0,0 +1,17 @@ +import { FormControl } from '@angular/forms'; + +import { equal } from './validator'; + +describe('Equal', () => { + const error = { equal: true }; + + it('"aaa" and "aaa" should be equal', () => { + const control = new FormControl('aaa'); + expect(equal('aaa')(control)).toBeNull(); + }); + + it('"aaa" and "bbb" should not be equal', () => { + const control = new FormControl('bbb'); + expect(equal('aaa')(control)).toEqual({ equal: { value: 'aaa' } }); + }); +}); diff --git a/src/app/equal/validator.ts b/src/app/equal/validator.ts new file mode 100644 index 0000000..099a54c --- /dev/null +++ b/src/app/equal/validator.ts @@ -0,0 +1,14 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const equal = (val: any): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: any = control.value; + + return val === v ? null : { equal: { value: val } }; + }; +}; diff --git a/src/app/greater-than-equal/directive.spec.ts b/src/app/greater-than-equal/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/greater-than-equal/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/greater-than-equal/directive.ts b/src/app/greater-than-equal/directive.ts similarity index 88% rename from src/greater-than-equal/directive.ts rename to src/app/greater-than-equal/directive.ts index a576fc7..4f8f67e 100644 --- a/src/greater-than-equal/directive.ts +++ b/src/app/greater-than-equal/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { gte } from './'; +import { gte } from './validator'; const GREATER_THAN_EQUAL_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class GreaterThanEqualValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'gte') { this.validator = gte(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/greater-than-equal/validator.spec.ts b/src/app/greater-than-equal/validator.spec.ts similarity index 56% rename from src/greater-than-equal/validator.spec.ts rename to src/app/greater-than-equal/validator.spec.ts index e05211d..9543c9e 100644 --- a/src/greater-than-equal/validator.spec.ts +++ b/src/app/greater-than-equal/validator.spec.ts @@ -1,25 +1,21 @@ import { FormControl } from '@angular/forms'; -import { gte } from './'; +import { gte } from './validator'; describe('GTE', () => { - const error = {gte: true}; it('5 should be gte 3', () => { - let control = new FormControl(5); - + const control = new FormControl(5); expect(gte(3)(control)).toBeNull(); }); it('5 should be gte 5', () => { - let control = new FormControl(5); - + const control = new FormControl(5); expect(gte(5)(control)).toBeNull(); }); it('3 should not be gte 5', () => { - let control = new FormControl(3); - - expect(gte(5)(control)).toEqual(error); + const control = new FormControl(3); + expect(gte(5)(control)).toEqual({ gte: { value: 5 } }); }); }); diff --git a/src/app/greater-than-equal/validator.ts b/src/app/greater-than-equal/validator.ts new file mode 100644 index 0000000..f2c62b7 --- /dev/null +++ b/src/app/greater-than-equal/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const gte = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v >= +value ? null : { gte: { value: value } }; + }; +}; diff --git a/src/app/greater-than/directive.spec.ts b/src/app/greater-than/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/greater-than/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/greater-than/directive.ts b/src/app/greater-than/directive.ts similarity index 88% rename from src/greater-than/directive.ts rename to src/app/greater-than/directive.ts index d19bd02..65483a7 100644 --- a/src/greater-than/directive.ts +++ b/src/app/greater-than/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { gt } from './'; +import { gt } from './validator'; const GREATER_THAN_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class GreaterThanValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'gt') { this.validator = gt(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/greater-than/validator.spec.ts b/src/app/greater-than/validator.spec.ts similarity index 53% rename from src/greater-than/validator.spec.ts rename to src/app/greater-than/validator.spec.ts index 2b22c81..1186376 100644 --- a/src/greater-than/validator.spec.ts +++ b/src/app/greater-than/validator.spec.ts @@ -1,19 +1,18 @@ import { FormControl } from '@angular/forms'; -import { gt } from './'; +import { gt } from './validator'; describe('GT', () => { - const error = {gt: true}; it('5 should be gt 3', () => { - let control = new FormControl(5); + const control = new FormControl(5); expect(gt(3)(control)).toBeNull(); }); it('3 should not be gt 5', () => { - let control = new FormControl(3); + const control = new FormControl(3); - expect(gt(5)(control)).toEqual(error); + expect(gt(5)(control)).toEqual({ gt: { value: 5 } }); }); }); diff --git a/src/app/greater-than/validator.ts b/src/app/greater-than/validator.ts new file mode 100644 index 0000000..7cab3e2 --- /dev/null +++ b/src/app/greater-than/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const gt = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v > +value ? null : { gt: { value: value } }; + }; +}; diff --git a/src/app/iban/directive.spec.ts b/src/app/iban/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/iban/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/app/iban/directive.ts b/src/app/iban/directive.ts new file mode 100644 index 0000000..e513cd4 --- /dev/null +++ b/src/app/iban/directive.ts @@ -0,0 +1,20 @@ +import { Directive, forwardRef } from '@angular/core'; +import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; + +import { Iban } from './validator'; + +const IBAN_VALIDATOR: any = { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => IbanValidator), + multi: true +}; + +@Directive({ + selector: '[iban][formControlName],[iban][formControl],[iban][ngModel]', + providers: [IBAN_VALIDATOR] +}) +export class IbanValidator implements Validator { + validate(c: AbstractControl): {[key: string]: any} { + return Iban(c); + } +} diff --git a/src/app/iban/validator.spec.ts b/src/app/iban/validator.spec.ts new file mode 100644 index 0000000..7ebb7f3 --- /dev/null +++ b/src/app/iban/validator.spec.ts @@ -0,0 +1,22 @@ +import { FormControl } from '@angular/forms'; + +import { Iban } from './validator'; + +describe('Iban', () => { + const error = {iban: true}; + + it('"AL35202111090000000001234567" should be Iban', () => { + const control = new FormControl('AL35202111090000000001234567'); + expect(Iban(control)).toBeNull(); + }); + + it('"BR150000CC0000000010932840814P2" should not be Iban', () => { + const control = new FormControl('BR150000CC0000000010932840814P2'); + expect(Iban(control)).toEqual(error); + }); + + it('"C5508000000001234567899" should not be Iban', () => { + const control = new FormControl('C5508000000001234567899'); + expect(Iban(control)).toEqual(error); + }); +}); diff --git a/src/app/iban/validator.ts b/src/app/iban/validator.ts new file mode 100644 index 0000000..262da2c --- /dev/null +++ b/src/app/iban/validator.ts @@ -0,0 +1,14 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + + +export const Iban: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + /* tslint:disable */ + return /^[a-zA-Z]{2}[0-9]{2}[a-zA-Z0-9]{4}[0-9]{7}([a-zA-Z0-9]?){0,16}/.test(v) ? null : {'iban': true}; + /* tslint:enable */ +}; diff --git a/src/app/json/directive.spec.ts b/src/app/json/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/json/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/json/directive.ts b/src/app/json/directive.ts similarity index 93% rename from src/json/directive.ts rename to src/app/json/directive.ts index ef6396c..b4f13fb 100644 --- a/src/json/directive.ts +++ b/src/app/json/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { json } from './'; +import { json } from './validator'; const JSON_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -17,4 +17,4 @@ export class JSONValidator implements Validator { validate(c: AbstractControl): {[key: string]: any} { return json(c); } -} \ No newline at end of file +} diff --git a/src/json/validator.spec.ts b/src/app/json/validator.spec.ts similarity index 68% rename from src/json/validator.spec.ts rename to src/app/json/validator.spec.ts index 1a1b884..3d49a0d 100644 --- a/src/json/validator.spec.ts +++ b/src/app/json/validator.spec.ts @@ -1,17 +1,17 @@ import { FormControl } from '@angular/forms'; -import { json } from './'; +import { json } from './validator'; describe('JSON', () => { const error = {json: true}; it('"{"name": "xxx"}" should be json', () => { - let control = new FormControl('{"name": "xxx"}'); + const control = new FormControl('{"name": "xxx"}'); expect(json(control)).toBeNull(); }); it('"123a" should not be json', () => { - let control = new FormControl('123a'); + const control = new FormControl('123a'); expect(json(control)).toEqual(error); }); }); diff --git a/src/app/json/validator.ts b/src/app/json/validator.ts new file mode 100644 index 0000000..2093144 --- /dev/null +++ b/src/app/json/validator.ts @@ -0,0 +1,19 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const json: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + + try { + const obj = JSON.parse(v); + + if (Boolean(obj) && typeof obj === 'object') { + return null; + } + } catch (e) { } + return { json: true }; +}; diff --git a/src/app/less-than-equal/directive.spec.ts b/src/app/less-than-equal/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/less-than-equal/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/less-than-equal/directive.ts b/src/app/less-than-equal/directive.ts similarity index 88% rename from src/less-than-equal/directive.ts rename to src/app/less-than-equal/directive.ts index 455cc80..6434794 100644 --- a/src/less-than-equal/directive.ts +++ b/src/app/less-than-equal/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { lte } from './'; +import { lte } from './validator'; const LESS_THAN_EQUAL_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class LessThanEqualValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'lte') { this.validator = lte(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/less-than-equal/validator.spec.ts b/src/app/less-than-equal/validator.spec.ts similarity index 53% rename from src/less-than-equal/validator.spec.ts rename to src/app/less-than-equal/validator.spec.ts index 642ed6b..563ad41 100644 --- a/src/less-than-equal/validator.spec.ts +++ b/src/app/less-than-equal/validator.spec.ts @@ -1,25 +1,22 @@ import { FormControl } from '@angular/forms'; -import { lte } from './'; +import { lte } from './validator'; describe('LTE', () => { - const error = {lte: true}; + const error = { lte: true }; it('3 should be lte 5', () => { - let control = new FormControl(3); - + const control = new FormControl(3); expect(lte(5)(control)).toBeNull(); }); it('5 should be lte 5', () => { - let control = new FormControl(5); - + const control = new FormControl(5); expect(lte(5)(control)).toBeNull(); }); it('5 should not be lte 3', () => { - let control = new FormControl(5); - - expect(lte(3)(control)).toEqual(error); + const control = new FormControl(5); + expect(lte(3)(control)).toEqual({ lte: { value: 3 } }); }); }); diff --git a/src/app/less-than-equal/validator.ts b/src/app/less-than-equal/validator.ts new file mode 100644 index 0000000..47c5047 --- /dev/null +++ b/src/app/less-than-equal/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const lte = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v <= +value ? null : { lte: { value: value } }; + }; +}; diff --git a/src/app/less-than/directive.spec.ts b/src/app/less-than/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/less-than/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/less-than/directive.ts b/src/app/less-than/directive.ts similarity index 87% rename from src/less-than/directive.ts rename to src/app/less-than/directive.ts index e55db60..c758101 100644 --- a/src/less-than/directive.ts +++ b/src/app/less-than/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { lt } from './'; +import { lt } from './validator'; const LESS_THAN_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class LessThanValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'lt') { this.validator = lt(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/less-than/validator.spec.ts b/src/app/less-than/validator.spec.ts similarity index 53% rename from src/less-than/validator.spec.ts rename to src/app/less-than/validator.spec.ts index c4be465..23259f7 100644 --- a/src/less-than/validator.spec.ts +++ b/src/app/less-than/validator.spec.ts @@ -1,19 +1,18 @@ import { FormControl } from '@angular/forms'; -import { lt } from './'; +import { lt } from './validator'; describe('LT', () => { - const error = {lt: true}; it('3 should be lt 5', () => { - let control = new FormControl(3); + const control = new FormControl(3); expect(lt(5)(control)).toBeNull(); }); it('5 should not be lt 3', () => { - let control = new FormControl(5); + const control = new FormControl(5); - expect(lt(3)(control)).toEqual(error); + expect(lt(3)(control)).toEqual({ lt: { value: 3 } }); }); }); diff --git a/src/app/less-than/validator.ts b/src/app/less-than/validator.ts new file mode 100644 index 0000000..5eb79c1 --- /dev/null +++ b/src/app/less-than/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const lt = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v < +value ? null : { lt: { value: value } }; + }; +}; diff --git a/src/app/max-date/directive.spec.ts b/src/app/max-date/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/max-date/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/max-date/directive.ts b/src/app/max-date/directive.ts similarity index 87% rename from src/max-date/directive.ts rename to src/app/max-date/directive.ts index 9b4de09..acb2a3d 100644 --- a/src/max-date/directive.ts +++ b/src/app/max-date/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { maxDate } from './'; +import { maxDate } from './validator'; const MAX_DATE_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class MaxDateValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'maxDate') { this.validator = maxDate(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/app/max-date/validator.spec.ts b/src/app/max-date/validator.spec.ts new file mode 100644 index 0000000..d065517 --- /dev/null +++ b/src/app/max-date/validator.spec.ts @@ -0,0 +1,80 @@ +import { FormControl } from '@angular/forms'; + +import { maxDate } from './validator'; + +describe('MaxDate', () => { + let control: FormControl; + + it('"" should equal to "null"', () => { + control = new FormControl(''); + expect(maxDate('2016-09-09')(control)).toBeNull(); + }); + + it('"2016-09-10" should equal to "{maxDate: true, reason: \'xxx\'}"', () => { + control = new FormControl('2016-09-10'); + expect(maxDate('2016-09-09')(control)).toEqual({ maxDate: { value: '2016-09-09', control: undefined } }); + }); + + it('"2016-09-08" should equal to "null"', () => { + control = new FormControl('2016-09-08'); + expect(maxDate('2016-09-09')(control)).toBeNull(); + }); + + it('"Date(2016-09-10)" should equal to "{maxDate: true, reason: \'xxx\'}"', () => { + const obj = new Date('2016-09-09'); + control = new FormControl('2016-09-10'); + expect(maxDate(obj)(control)).toEqual({ maxDate: { value: obj, control: undefined } }); + }); + + it('"Date(2016-09-08)" should equal to "null"', () => { + control = new FormControl('2016-09-08'); + expect(maxDate(new Date('2016-09-09'))(control)).toBeNull(); + }); + + it('"Date(2016-09-10)" should equal to "{maxDate: true, reason: \'xxx\'}"', () => { + const obj = () => new Date('2016-09-09'); + control = new FormControl('2016-09-10'); + expect(maxDate(obj)(control)).toEqual({ maxDate: { value: obj, control: undefined } }); + }); + + it('"Date(2016-09-08)" should equal to "null"', () => { + control = new FormControl('2016-09-08'); + expect(maxDate(() => new Date('2016-09-09'))(control)).toBeNull(); + }); + + it('Date control object { year: 2018, month: 10, day: 11} should equal to "{maxDate: true, reason: \'xxx\'}"', () => { + const obj = new FormControl('2017-10-01'); + control = new FormControl({ year: 2018, month: 10, day: 11 }); + expect(maxDate(obj)(control)).toEqual({ maxDate: { value: obj.value, control: obj } }); + }); + + it('Date control object { year: 2016, month: 10, day: 11} should equal to "null"', () => { + const obj = { year: 2017, month: 10, day: 11 }; + control = new FormControl({ year: 2016, month: 10, day: 11 }); + expect(maxDate(obj)(control)).toBeNull(); + }); + + it('Date(2017-11-01) should equal to "null"', () => { + const obj = { year: 2017, month: 11, day: 11 }; + control = new FormControl('2017-10-01'); + expect(maxDate(obj)(control)).toBeNull(); + }); + + it('Date(2017-11-01) should equal to "{maxDate: true, reason: \'xxx\'}"', () => { + const obj = { year: 2017, month: 10, day: 11 }; + control = new FormControl('2017-11-01'); + expect(maxDate(obj)(control)).toEqual({ maxDate: { value: obj, control: undefined } }); + }); + + it('Date form control should equal to "null"', () => { + const control2 = new FormControl('2018-01-01'); + control = new FormControl('2017-11-01'); + expect(maxDate(control2)(control)).toBeNull(); + }); + + it('Date form control should equal to "{maxDate: true, reason: \'xxx\'}"', () => { + const control2 = new FormControl('2017-01-01'); + control = new FormControl('2017-11-01'); + expect(maxDate(control2)(control)).toEqual({ maxDate: { value: control2.value, control: control2 } }); + }); +}); diff --git a/src/app/max-date/validator.ts b/src/app/max-date/validator.ts new file mode 100644 index 0000000..134c590 --- /dev/null +++ b/src/app/max-date/validator.ts @@ -0,0 +1,48 @@ +import { AbstractControl, FormControl, NgModel, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isDate, isPresent, parseDate } from '../util/lang'; + +export const maxDate = (maxInput: any): ValidatorFn => { + let value; + let subscribe = false; + let maxValue = maxInput; + const isForm = maxInput instanceof FormControl || maxInput instanceof NgModel; + return (control: AbstractControl): ValidationErrors => { + if (!subscribe && isForm) { + subscribe = true; + maxInput.valueChanges.subscribe(() => { + control.updateValueAndValidity(); + }); + } + + if (isForm) { + maxValue = maxInput.value; + } + + value = parseDate(maxValue); + + if (!isDate(value) && !(value instanceof Function)) { + if (value == null) { + return null; + } else if (isForm) { + return { maxDate: { error: 'maxDate is invalid' } }; + } else { + throw Error('maxDate value must be or return a formatted date'); + } + } + + if (isPresent(Validators.required(control))) { + return null; + } + + const d = new Date(parseDate(control.value)).getTime(); + + if (!isDate(d)) { + return { value: true }; + } + if (value instanceof Function) { + value = value(); + } + + return d <= new Date(value).getTime() ? null : (isForm ? { maxDate: { control: maxInput, value: maxInput.value } } : { maxDate: { value: maxValue, control: undefined } }); + }; +}; diff --git a/src/app/max/directive.spec.ts b/src/app/max/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/max/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/max/directive.ts b/src/app/max/directive.ts similarity index 87% rename from src/max/directive.ts rename to src/app/max/directive.ts index b0e6d78..a73d56a 100644 --- a/src/max/directive.ts +++ b/src/app/max/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { max } from './'; +import { max } from './validator'; const MAX_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class MaxValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'max') { this.validator = max(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/app/max/validator.spec.ts b/src/app/max/validator.spec.ts new file mode 100644 index 0000000..ccb4bfa --- /dev/null +++ b/src/app/max/validator.spec.ts @@ -0,0 +1,20 @@ +import { FormControl } from '@angular/forms'; + +import { max } from './validator'; + +describe('Max', () => { + it('1 should be under 5', () => { + const control = new FormControl(1); + expect(max(5)(control)).toBeNull(); + }); + + it('9 should not be over 5', () => { + const control = new FormControl(9); + expect(max(5)(control)).toEqual({ max: { value: 5 } }); + }); + + it('"19" should not be over 5', () => { + const control = new FormControl('19'); + expect(max(5)(control)).toEqual({ max: { value: 5 } }); + }); +}); diff --git a/src/app/max/validator.ts b/src/app/max/validator.ts new file mode 100644 index 0000000..4643abd --- /dev/null +++ b/src/app/max/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const max = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v <= +value ? null : { max: { value: value } }; + }; +}; diff --git a/src/app/min-date/directive.spec.ts b/src/app/min-date/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/min-date/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/min-date/directive.ts b/src/app/min-date/directive.ts similarity index 87% rename from src/min-date/directive.ts rename to src/app/min-date/directive.ts index 3b58789..f1e93a1 100644 --- a/src/min-date/directive.ts +++ b/src/app/min-date/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { minDate } from './'; +import { minDate } from './validator'; const MIN_DATE_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class MinDateValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'minDate') { this.validator = minDate(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/app/min-date/validator.spec.ts b/src/app/min-date/validator.spec.ts new file mode 100644 index 0000000..790ee7f --- /dev/null +++ b/src/app/min-date/validator.spec.ts @@ -0,0 +1,91 @@ +import * as moment from 'moment'; +import { FormControl } from '@angular/forms'; +import { minDate } from './validator'; + + +describe('MinDate', () => { + let control: FormControl; + + it('"" should equal to "null"', () => { + control = new FormControl(''); + expect(minDate('2016-09-09')(control)).toBeNull(); + }); + + it('"2016-09-08" should equal to "{minDate: true, reason: \'xxx\'}"', () => { + control = new FormControl('2016-09-08'); + expect(minDate('2016-09-09')(control)).toEqual({ minDate: { value: '2016-09-09', control: undefined } }); + }); + + it('"2016-09-10" should equal to "null"', () => { + control = new FormControl('2016-09-10'); + expect(minDate('2016-09-09')(control)).toBeNull(); + }); + + it('Date("2016-09-08)" should equal to "{minDate: true, reason: \'xxx\'}"', () => { + control = new FormControl('2016-09-08'); + expect(minDate('2016-09-09')(control)).toEqual({ minDate: { value: '2016-09-09', control: undefined } }); + }); + + it('"Date(2016-09-10)" should equal to "null"', () => { + control = new FormControl('2016-09-10'); + expect(minDate('2016-09-09')(control)).toBeNull(); + }); + + it('"Date(2016-09-10)" moment should equal to "null"', () => { + control = new FormControl('2016-09-10'); + expect(minDate(moment('2016-09-09'))(control)).toBeNull(); + }); + + it('() => Date("2016-09-08)" should equal to "{minDate: true, reason: \'xxx\'}"', () => { + control = new FormControl('2016-09-08'); + expect(minDate('2016-09-09')(control)).toEqual({ minDate: { value: '2016-09-09', control: undefined } }); + }); + + it('"() => Date(2016-09-10)" should equal to "null"', () => { + control = new FormControl('2016-09-10'); + expect(minDate('2016-09-09')(control)).toBeNull(); + }); + + it('Date object { year: 2017, month: 10, day: 11} should equal to "null"', () => { + const obj = { year: 2017, month: 10, day: 11 }; + control = new FormControl('2017-11-01'); + expect(minDate(obj)(control)).toBeNull(); + }); + + it('Date control object { year: 2017, month: 10, day: 11} should equal to "{minDate: true, reason: \'xxx\'}"', () => { + const obj = new FormControl('2018-10-01'); + control = new FormControl({ year: 2017, month: 10, day: 11 }); + expect(minDate(obj)(control)).toEqual({ minDate: { value: obj.value, control: obj } }); + }); + + it('Date control object { year: 2017, month: 10, day: 11} should equal to "null"', () => { + const obj = { year: 2016, month: 10, day: 11 }; + control = new FormControl({ year: 2017, month: 10, day: 11 }); + expect(minDate(obj)(control)).toBeNull(); + }); + + it('Date object { year: 2017, month: 11, day: 11} should equal to "{minDate: true, reason: \'xxx\'}"', () => { + const obj = { year: 2017, month: 11, day: 11 }; + control = new FormControl('2017-10-01'); + expect(minDate(obj)(control)).toEqual({ minDate: { value: obj, control: undefined } }); + }); + + it('Date object { year: 2017, month: 11, day: 11} moment should equal to "{minDate: true, reason: \'xxx\'}"', () => { + const obj = { year: 2017, month: 11, day: 11 }; + control = new FormControl(moment('2017-10-01')); + expect(minDate(obj)(control)).toEqual({ minDate: { value: obj, control: undefined } }); + }); + + it('Date form control should equal to "null"', () => { + const control2 = new FormControl('2017-01-01'); + control = new FormControl('2018-11-01'); + expect(minDate(control2)(control)).toBeNull(); + }); + + it('Date form control should equal to "{minDate: true, reason: \'xxx\'}"', () => { + const control2 = new FormControl('2018-01-01'); + control = new FormControl('2017-11-01'); + expect(minDate(control2)(control)).toEqual({ minDate: { value: control2.value, control: control2 }}); + }); +}); + diff --git a/src/app/min-date/validator.ts b/src/app/min-date/validator.ts new file mode 100644 index 0000000..7042b92 --- /dev/null +++ b/src/app/min-date/validator.ts @@ -0,0 +1,49 @@ +import { AbstractControl, FormControl, NgModel, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isDate, isPresent, parseDate } from '../util/lang'; + +export const minDate = (minInput: any): ValidatorFn => { + let value; + let subscribe = false; + let minValue = minInput; + const isForm = minInput instanceof FormControl || minInput instanceof NgModel; + return (control: AbstractControl): ValidationErrors => { + + if (!subscribe && isForm) { + subscribe = true; + minInput.valueChanges.subscribe(() => { + control.updateValueAndValidity(); + }); + } + + if (isForm) { + minValue = minInput.value; + } + + value = parseDate(minValue); + + if (!isDate(value) && !(value instanceof Function)) { + if (value == null) { + return null; + } else if (isForm) { + return { minDate: { error: 'minDate is invalid' } }; + } else { + throw Error('minDate value must be or return a formatted date'); + } + } + + if (isPresent(Validators.required(control))) { + return null; + } + + const d = new Date(parseDate(control.value)).getTime(); + + if (!isDate(d)) { + return { value: true }; + } + if (value instanceof Function) { + value = value(); + } + + return d >= new Date(value).getTime() ? null : (isForm ? { minDate: { control: minInput, value: minInput.value } } : { minDate: { value: minValue, control: undefined } }); + }; +}; diff --git a/src/app/min/directive.spec.ts b/src/app/min/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/min/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/min/directive.ts b/src/app/min/directive.ts similarity index 87% rename from src/min/directive.ts rename to src/app/min/directive.ts index d4c373d..2c72a5e 100644 --- a/src/min/directive.ts +++ b/src/app/min/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { min } from './'; +import { min } from './validator'; const MIN_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class MinValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'min') { this.validator = min(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/min/validator.spec.ts b/src/app/min/validator.spec.ts similarity index 52% rename from src/min/validator.spec.ts rename to src/app/min/validator.spec.ts index 2e3303e..b9b2b9c 100644 --- a/src/min/validator.spec.ts +++ b/src/app/min/validator.spec.ts @@ -1,17 +1,17 @@ import { FormControl } from '@angular/forms'; -import { min } from './'; +import { min } from './validator'; describe('Min', () => { it('6 should be over 5', () => { - let control = new FormControl(6); + const control = new FormControl(6); expect(min(5)(control)).toBeNull(); }); it('9 should not be over 10', () => { - let control = new FormControl(9); + const control = new FormControl(9); - expect(min(10)(control)).toEqual({min: true, actualValue: 9, requiredValue: 10}); + expect(min(10)(control)).toEqual({ min: { value: 10 } }); }); }); diff --git a/src/app/min/validator.ts b/src/app/min/validator.ts new file mode 100644 index 0000000..0eb300c --- /dev/null +++ b/src/app/min/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const min = (value: number): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v >= +value ? null : { min: { value: value } }; + }; +}; diff --git a/src/app/not-equal-to/directive.spec.ts b/src/app/not-equal-to/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/not-equal-to/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/not-equal-to/directive.ts b/src/app/not-equal-to/directive.ts similarity index 94% rename from src/not-equal-to/directive.ts rename to src/app/not-equal-to/directive.ts index ce7becd..69de8ab 100644 --- a/src/not-equal-to/directive.ts +++ b/src/app/not-equal-to/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit } from '@angular/core'; import { NG_VALIDATORS, Validator, FormControl, ValidatorFn, AbstractControl } from '@angular/forms'; -import { notEqualTo } from './'; +import { notEqualTo } from './validator'; const NOT_EQUAL_TO_VALIDATOR: any = { provide: NG_VALIDATORS, diff --git a/src/not-equal-to/validator.spec.ts b/src/app/not-equal-to/validator.spec.ts similarity index 78% rename from src/not-equal-to/validator.spec.ts rename to src/app/not-equal-to/validator.spec.ts index e2bba87..ab44f8c 100644 --- a/src/not-equal-to/validator.spec.ts +++ b/src/app/not-equal-to/validator.spec.ts @@ -1,11 +1,10 @@ import { FormControl } from '@angular/forms'; -import { notEqualTo } from './'; +import { notEqualTo } from './validator'; describe('NotEqualTo', () => { let notEqualControl: FormControl; let control: FormControl; - const error = {notEqualTo: true}; beforeEach(() => { notEqualControl = new FormControl(); @@ -13,7 +12,8 @@ describe('NotEqualTo', () => { }); it('all control is empty should valid', () => { - expect(notEqualTo(notEqualControl)(control)).toEqual(error); + console.log(notEqualTo(notEqualControl)(control)); + expect(notEqualTo(notEqualControl)(control)).toEqual(null); }); it('control.value = "xxx" and notEqualControl.value is empty should valid', () => { @@ -30,7 +30,7 @@ describe('NotEqualTo', () => { it('control.value = "xxx" and notEqualControl.value = "xxx" should equal to "{notEqualTo: true}"', () => { control.setValue('xxx'); notEqualControl.setValue('xxx'); - expect(notEqualTo(notEqualControl)(control)).toEqual(error); + expect(notEqualTo(notEqualControl)(control)).toEqual({ notEqualTo: { control: notEqualControl, value: notEqualControl.value } }); }); it('control.value is empty and notEqualControl.value = "yyy" should valid', () => { diff --git a/src/app/not-equal-to/validator.ts b/src/app/not-equal-to/validator.ts new file mode 100644 index 0000000..24331a9 --- /dev/null +++ b/src/app/not-equal-to/validator.ts @@ -0,0 +1,21 @@ +import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms'; + +export const notEqualTo = (notEqualControl: AbstractControl): ValidatorFn => { + let subscribe = false; + return (control: AbstractControl): ValidationErrors => { + if (!subscribe) { + subscribe = true; + notEqualControl.valueChanges.subscribe(() => { + control.updateValueAndValidity(); + }); + } + + const v: string = control.value; + + if (notEqualControl.value == null && v == null) { + return null; + } + + return notEqualControl.value !== v ? null : { notEqualTo: { control: notEqualControl, value: notEqualControl.value } }; + }; +}; diff --git a/src/app/not-equal/directive.spec.ts b/src/app/not-equal/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/not-equal/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/not-equal/directive.ts b/src/app/not-equal/directive.ts similarity index 87% rename from src/not-equal/directive.ts rename to src/app/not-equal/directive.ts index 5b5cb5b..6d42d0f 100644 --- a/src/not-equal/directive.ts +++ b/src/app/not-equal/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, SimpleChanges, OnChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { notEqual } from './index'; +import { notEqual } from './validator'; const NOT_EQUAL_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class NotEqualValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'notEqual') { this.validator = notEqual(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/not-equal/validator.spec.ts b/src/app/not-equal/validator.spec.ts similarity index 54% rename from src/not-equal/validator.spec.ts rename to src/app/not-equal/validator.spec.ts index 995b718..68a544c 100644 --- a/src/not-equal/validator.spec.ts +++ b/src/app/not-equal/validator.spec.ts @@ -1,17 +1,16 @@ import { FormControl } from '@angular/forms'; -import { notEqual } from './'; +import { notEqual } from './validator'; describe('NotEqual', () => { - const error = {notEqual: true}; it('"aaa" and "bbb" should be notEqual', () => { - let control = new FormControl('bbb'); + const control = new FormControl('bbb'); expect(notEqual('aaa')(control)).toBeNull(); }); it('"aaa" and "aaa" should not be notEqual', () => { - let control = new FormControl('aaa'); - expect(notEqual('aaa')(control)).toEqual(error); + const control = new FormControl('aaa'); + expect(notEqual('aaa')(control)).toEqual({ notEqual: { value: 'aaa' } }); }); }); diff --git a/src/app/not-equal/validator.ts b/src/app/not-equal/validator.ts new file mode 100644 index 0000000..147af4a --- /dev/null +++ b/src/app/not-equal/validator.ts @@ -0,0 +1,14 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const notEqual = (val: any): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: any = control.value; + + return val !== v ? null : { notEqual: { value: val } }; + }; +}; diff --git a/src/app/number/directive.spec.ts b/src/app/number/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/number/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/number/directive.ts b/src/app/number/directive.ts similarity index 92% rename from src/number/directive.ts rename to src/app/number/directive.ts index 84a071d..e0c823d 100644 --- a/src/number/directive.ts +++ b/src/app/number/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { number } from './'; +import { number } from './validator'; const NUMBER_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -17,4 +17,4 @@ export class NumberValidator implements Validator { validate(c: AbstractControl): {[key: string]: any} { return number(c); } -} \ No newline at end of file +} diff --git a/src/number/validator.spec.ts b/src/app/number/validator.spec.ts similarity index 83% rename from src/number/validator.spec.ts rename to src/app/number/validator.spec.ts index 3cda409..67b2495 100644 --- a/src/number/validator.spec.ts +++ b/src/app/number/validator.spec.ts @@ -1,18 +1,18 @@ import { FormControl } from '@angular/forms'; -import { number } from './'; +import { number } from './validator'; describe('Number', () => { let control: FormControl; it('"23" should equal to "null"', () => { control = new FormControl('23'); - expect(number(control)).toBeNull() + expect(number(control)).toBeNull(); }); it('"23.3" should equal to "null"', () => { control = new FormControl('23.3'); - expect(number(control)).toBeNull() + expect(number(control)).toBeNull(); }); it('"23a" should equal to "{number: true}"', () => { diff --git a/src/app/number/validator.ts b/src/app/number/validator.ts new file mode 100644 index 0000000..81f19d2 --- /dev/null +++ b/src/app/number/validator.ts @@ -0,0 +1,11 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const number: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + return /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(v) ? null : { 'number': true }; +}; diff --git a/src/app/property/directive.spec.ts b/src/app/property/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/property/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/app/property/directive.ts b/src/app/property/directive.ts new file mode 100644 index 0000000..646a222 --- /dev/null +++ b/src/app/property/directive.ts @@ -0,0 +1,44 @@ +import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; +import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; + +import { property } from './validator'; + +const PROPERTY_VALIDATOR: any = { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PropertyValidator), + multi: true +}; + +@Directive({ + selector: '[property][formControlName],[property][formControl],[property][ngModel]', + providers: [PROPERTY_VALIDATOR] +}) +export class PropertyValidator implements Validator, OnInit, OnChanges { + @Input() property: string; + + private validator: ValidatorFn; + private onChange: () => void; + + ngOnInit() { + this.validator = property(this.property); + } + + ngOnChanges(changes: SimpleChanges) { + for (const key in changes) { + if (key === 'property') { + this.validator = property(changes[key].currentValue); + if (this.onChange) { + this.onChange(); + } + } + } + } + + validate(c: AbstractControl): {[key: string]: any} { + return this.validator(c); + } + + registerOnValidatorChange(fn: () => void): void { + this.onChange = fn; + } +} diff --git a/src/app/property/validator.spec.ts b/src/app/property/validator.spec.ts new file mode 100644 index 0000000..297bb92 --- /dev/null +++ b/src/app/property/validator.spec.ts @@ -0,0 +1,35 @@ +import { FormControl } from '@angular/forms'; + +import { property } from './validator'; + +describe('Property validator', () => { + it('Input is object and has identifier', () => { + const control = new FormControl({ id: 1 }); + expect(property('id')(control)).toBeNull(); + }); + + it('Input is object and has name', () => { + const control = new FormControl({ name: 'name' }); + expect(property('name')(control)).toBeNull(); + }); + + it('Input is object and has no identifier', () => { + const control = new FormControl({ dumb: 1 }); + expect(property('id')(control)).toEqual({ hasProperty: { value: 'id' } }); + }); + + it('Input is string', () => { + const control = new FormControl('dumb string'); + expect(property('id')(control)).toEqual({ hasProperty: { value: 'id' } }); + }); + + it('Input is object and has identifier', () => { + const control = new FormControl({ id: 1, value: 1 }); + expect(property('id,value')(control)).toBeNull(); + }); + + it('Input is object and has no two properties', () => { + const control = new FormControl({ value: 1 }); + expect(property('id,value')(control)).toEqual({ hasProperty: { value: 'id,value' } }); + }); +}); diff --git a/src/app/property/validator.ts b/src/app/property/validator.ts new file mode 100644 index 0000000..5abf179 --- /dev/null +++ b/src/app/property/validator.ts @@ -0,0 +1,23 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const property = (value: string): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + + if (isPresent(Validators.required(control))) { + return null; + } + + const properties = value.split(','); + + const obj = control.value; + let isValid = true; + for (const prop of properties) { + if (obj[prop] == null) { + isValid = false; + break; + } + } + return isValid ? null : { hasProperty: { value: value } }; + }; +}; diff --git a/src/app/range-length/directive.spec.ts b/src/app/range-length/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/range-length/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/range-length/directive.ts b/src/app/range-length/directive.ts similarity index 88% rename from src/range-length/directive.ts rename to src/app/range-length/directive.ts index 5ce2a40..4642f88 100644 --- a/src/range-length/directive.ts +++ b/src/app/range-length/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { rangeLength } from './'; +import { rangeLength } from './validator'; const RANGE_LENGTH_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class RangeLengthValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'rangeLength') { this.validator = rangeLength(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/range-length/validator.spec.ts b/src/app/range-length/validator.spec.ts similarity index 78% rename from src/range-length/validator.spec.ts rename to src/app/range-length/validator.spec.ts index f647d6b..645ccab 100644 --- a/src/range-length/validator.spec.ts +++ b/src/app/range-length/validator.spec.ts @@ -1,6 +1,6 @@ import { FormControl, ValidatorFn } from '@angular/forms'; -import { rangeLength } from './'; +import { rangeLength } from './validator'; describe('RangeLength [4,9],', () => { let control: FormControl; @@ -12,7 +12,7 @@ describe('RangeLength [4,9],', () => { it('"abc" should equal to "{rangeLength: true}"', () => { control = new FormControl('abc'); - expect(validator(control)).toEqual({rangeLength: true}); + expect(validator(control)).toEqual({ rangeLength: { value: [4, 9] } }); }); it('"abcd" should equal to "null"', () => { @@ -27,6 +27,6 @@ describe('RangeLength [4,9],', () => { it('"abcdefghij" should equal to "{rangeLength: true}"', () => { control = new FormControl('abcdefghij'); - expect(validator(control)).toEqual({rangeLength: true}); + expect(validator(control)).toEqual({ rangeLength: { value: [4, 9] } }); }); }); diff --git a/src/app/range-length/validator.ts b/src/app/range-length/validator.ts new file mode 100644 index 0000000..25d04ca --- /dev/null +++ b/src/app/range-length/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const rangeLength = (value: Array): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: string = control.value; + return v.length >= value[0] && v.length <= value[1] ? null : { rangeLength: { value: value } }; + }; +}; diff --git a/src/app/range/directive.spec.ts b/src/app/range/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/range/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/range/directive.ts b/src/app/range/directive.ts similarity index 87% rename from src/range/directive.ts rename to src/app/range/directive.ts index ea426b8..41ad6b2 100644 --- a/src/range/directive.ts +++ b/src/app/range/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { range } from './'; +import { range } from './validator'; const RANGE_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class RangeValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'range') { this.validator = range(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/range/validator.spec.ts b/src/app/range/validator.spec.ts similarity index 57% rename from src/range/validator.spec.ts rename to src/app/range/validator.spec.ts index 205b339..8546904 100644 --- a/src/range/validator.spec.ts +++ b/src/app/range/validator.spec.ts @@ -1,6 +1,6 @@ import { FormControl, ValidatorFn } from '@angular/forms'; -import { range } from './'; +import { range } from './validator'; describe('Range [4, 9]', () => { let control: FormControl; @@ -10,9 +10,9 @@ describe('Range [4, 9]', () => { validator = range([4, 9]); }); - it('"3" should equal to "{actualValue: 3, requiredValue: [4, 9], range: true}"', () => { + it('"3" should equal to "{range: true, reason: [4, 9]}"', () => { control = new FormControl(3); - expect(validator(control)).toEqual({actualValue: 3, requiredValue: [4, 9], range: true}); + expect(validator(control)).toEqual({ range: { value: [4, 9] } }); }); it('"4" should equal to "null"', () => { @@ -25,8 +25,8 @@ describe('Range [4, 9]', () => { expect(validator(control)).toBeNull(); }); - it('"10" should equal to "{actualValue: 3, requiredValue: [4, 9], range: true}"', () => { + it('"10" should equal to "{range: true, reason: [4, 9]}"', () => { control = new FormControl(10); - expect(validator(control)).toEqual({actualValue: 10, requiredValue: [4, 9], range: true}); + expect(validator(control)).toEqual({ range: { value: [4, 9] } }); }); }); diff --git a/src/app/range/validator.ts b/src/app/range/validator.ts new file mode 100644 index 0000000..d68cfb9 --- /dev/null +++ b/src/app/range/validator.ts @@ -0,0 +1,16 @@ +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; +import { isPresent } from '../util/lang'; + +export const range = (value: Array): ValidatorFn => { + return (control: AbstractControl): ValidationErrors => { + if (!isPresent(value)) { + return null; + } + if (isPresent(Validators.required(control))) { + return null; + } + + const v: number = +control.value; + return v >= value[0] && v <= value[1] ? null : { range: { value: value } }; + }; +}; diff --git a/src/app/url/directive.spec.ts b/src/app/url/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/url/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/url/directive.ts b/src/app/url/directive.ts similarity index 93% rename from src/url/directive.ts rename to src/app/url/directive.ts index 3ef6515..7ea5074 100644 --- a/src/url/directive.ts +++ b/src/app/url/directive.ts @@ -1,7 +1,7 @@ import { Directive, forwardRef } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms'; -import { url } from './'; +import { url } from './validator'; const URL_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -17,4 +17,4 @@ export class UrlValidator implements Validator { validate(c: AbstractControl): {[key: string]: any} { return url(c); } -} \ No newline at end of file +} diff --git a/src/url/validator.spec.ts b/src/app/url/validator.spec.ts similarity index 83% rename from src/url/validator.spec.ts rename to src/app/url/validator.spec.ts index 62e07a9..eb8516f 100644 --- a/src/url/validator.spec.ts +++ b/src/app/url/validator.spec.ts @@ -1,6 +1,6 @@ import { FormControl, ValidatorFn } from '@angular/forms'; -import { url } from './'; +import { url } from './validator'; describe('Url', () => { let control: FormControl; @@ -12,12 +12,12 @@ describe('Url', () => { it('"http://www.test.com" should equal to "null"', () => { control = new FormControl('http://www.test.com'); - expect(validator(control)).toBeNull() + expect(validator(control)).toBeNull(); }); it('"https://www.test.com" should equal to "null"', () => { control = new FormControl('https://www.test.com'); - expect(validator(control)).toBeNull() + expect(validator(control)).toBeNull(); }); it('"23a" should equal to "{url: true}"', () => { diff --git a/src/url/validator.ts b/src/app/url/validator.ts similarity index 56% rename from src/url/validator.ts rename to src/app/url/validator.ts index 712c43d..49fa696 100644 --- a/src/url/validator.ts +++ b/src/app/url/validator.ts @@ -1,10 +1,13 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; import { isPresent } from '../util/lang'; -export const url: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; +export const url: ValidatorFn = (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } - let v: string = control.value; - return /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(v) ? null : {'url': true}; + const v: string = control.value; + /* tslint:disable */ + return /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(v) ? null : { 'url': true }; + /* tslint:enable */ }; diff --git a/src/app/util/lang.ts b/src/app/util/lang.ts new file mode 100644 index 0000000..13de73e --- /dev/null +++ b/src/app/util/lang.ts @@ -0,0 +1,36 @@ +export function isPresent(obj: any): boolean { + return obj !== undefined && obj !== null; +} + +export function isDate(obj: any): boolean { + try { + const date = new Date(obj); + return !isNaN(date.getTime()); + } catch (e) { + return false; + } +} + +export function parseDate(obj: any): string { + try { + // Moment.js + if (obj._d instanceof Date) { + const d = obj._d as Date; + const month = +d.getMonth() + 1; + const day = +d.getDate(); + return `${d.getFullYear()}-${formatDayOrMonth(month)}-${formatDayOrMonth(day)}`; + } + + // NgbDateStruct + if (typeof obj === 'object' && obj.year != null && obj.month != null && obj.day != null) { + const month = +obj.month; + const day = +obj.day; + return `${obj.year}-${formatDayOrMonth(month)}-${formatDayOrMonth(day)}`; + } + } catch (e) { } + return obj; +} + +function formatDayOrMonth(month: number): string|number { + return month < 10 ? `0${month}` : month; +} diff --git a/src/app/uuid/directive.spec.ts b/src/app/uuid/directive.spec.ts new file mode 100644 index 0000000..65b3dba --- /dev/null +++ b/src/app/uuid/directive.spec.ts @@ -0,0 +1 @@ +// todo diff --git a/src/uuid/directive.ts b/src/app/uuid/directive.ts similarity index 87% rename from src/uuid/directive.ts rename to src/app/uuid/directive.ts index 887eeff..a35f4c1 100644 --- a/src/uuid/directive.ts +++ b/src/app/uuid/directive.ts @@ -1,7 +1,7 @@ import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; -import { uuid } from './'; +import { uuid } from './validator'; const UUID_VALIDATOR: any = { provide: NG_VALIDATORS, @@ -24,10 +24,12 @@ export class UUIDValidator implements Validator, OnInit, OnChanges { } ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { + for (const key in changes) { if (key === 'uuid') { this.validator = uuid(changes[key].currentValue); - if (this.onChange) this.onChange(); + if (this.onChange) { + this.onChange(); + } } } } diff --git a/src/app/uuid/validator.spec.ts b/src/app/uuid/validator.spec.ts new file mode 100644 index 0000000..ee6aacc --- /dev/null +++ b/src/app/uuid/validator.spec.ts @@ -0,0 +1,11 @@ +import { FormControl } from '@angular/forms'; + +import { uuid } from './validator'; + +describe('Uuid', () => { + + it('"abc" should not be uuid', () => { + const control = new FormControl('abc'); + expect(uuid('4')(control)).toEqual({uuid: true}); + }); +}); diff --git a/src/uuid/validator.ts b/src/app/uuid/validator.ts similarity index 53% rename from src/uuid/validator.ts rename to src/app/uuid/validator.ts index 83728f4..cc5bcac 100644 --- a/src/uuid/validator.ts +++ b/src/app/uuid/validator.ts @@ -1,5 +1,4 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - +import { AbstractControl, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; import { isPresent } from '../util/lang'; const uuids = { @@ -10,12 +9,14 @@ const uuids = { }; export const uuid = (version?: string): ValidatorFn => { - return (control: AbstractControl): {[key: string]: any} => { - if (isPresent(Validators.required(control))) return null; + return (control: AbstractControl): ValidationErrors => { + if (isPresent(Validators.required(control))) { + return null; + } - let v: string = control.value; - let pattern = uuids[version] || uuids.all; + const v: string = control.value; + const pattern = uuids[version] || uuids.all; - return (new RegExp(pattern)).test(v) ? null : {uuid: true}; + return (new RegExp(pattern)).test(v) ? null : { uuid: true }; }; }; diff --git a/src/assets/.gitkeep b/src/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/base64/directive.spec.ts b/src/base64/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/base64/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/base64/index.ts b/src/base64/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/base64/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/base64/validator.ts b/src/base64/validator.ts deleted file mode 100644 index 0727082..0000000 --- a/src/base64/validator.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const base64: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return /^(?:[A-Z0-9+\/]{4})*(?:[A-Z0-9+\/]{2}==|[A-Z0-9+\/]{3}=|[A-Z0-9+\/]{4})$/i.test(v) ? null : {'base64': true}; -}; diff --git a/src/browserslist b/src/browserslist new file mode 100644 index 0000000..8e09ab4 --- /dev/null +++ b/src/browserslist @@ -0,0 +1,9 @@ +# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries +# For IE 9-11 support, please uncomment the last line of the file and adjust as needed +> 0.5% +last 2 versions +Firefox ESR +not dead +# IE 9-11 \ No newline at end of file diff --git a/src/credit-card/directive.spec.ts b/src/credit-card/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/credit-card/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/credit-card/index.ts b/src/credit-card/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/credit-card/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/date-ios/directive.spec.ts b/src/date-ios/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/date-ios/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/date-ios/index.ts b/src/date-ios/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/date-ios/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/date-ios/validator.ts b/src/date-ios/validator.ts deleted file mode 100644 index b54ad66..0000000 --- a/src/date-ios/validator.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent, isDate } from '../util/lang'; - -export const dateISO: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(v) ? null : {dateISO: true}; -}; diff --git a/src/date/directive.spec.ts b/src/date/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/date/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/date/index.ts b/src/date/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/date/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/date/validator.spec.ts b/src/date/validator.spec.ts deleted file mode 100644 index bb7f48f..0000000 --- a/src/date/validator.spec.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { date } from './'; - -describe('Date', () => { - const error = {date: true}; - - it('"2013-11-12" should be date', () => { - let control = new FormControl('2013-11-12'); - expect(date(control)).toBeNull(); - }); - - it('"new Date()" should be date', () => { - let control = new FormControl(new Date()); - expect(date(control)).toBeNull(); - }); - - it('"2013-13-12" should not be date', () => { - let control = new FormControl('2013-13-12'); - expect(date(control)).toEqual(error); - }); - - it('"20131212" should not be date', () => { - let control = new FormControl('20131212'); - expect(date(control)).toEqual(error); - }); -}); diff --git a/src/date/validator.ts b/src/date/validator.ts deleted file mode 100644 index 055aa3d..0000000 --- a/src/date/validator.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent, isDate } from '../util/lang'; - -export const date: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return isDate(v) ? null : {date: true}; -}; diff --git a/src/dev/dev.component.html b/src/dev/dev.component.html new file mode 100644 index 0000000..c6f4bfb --- /dev/null +++ b/src/dev/dev.component.html @@ -0,0 +1,283 @@ +
+
+
+ + +
+ +

required error

+
+
+ +
+ + +
+ +

minlength error

+
+
+ +
+ + +
+ +

maxlength error

+
+
+ +
+ + +
+ +

pattern error

+
+
+ +
+ + +
+ +

base64 error

+
+
+ +
+ + +
+ +

creditCard error

+
+
+ +
+ + +
+ +

date error

+
+
+ +
+ + +
+ +

dateISO error

+
+
+ +
+ + +
+ +

maxDate error

+
+
+ +
+ + +
+ +

minDate error

+
+
+ +
+ + +
+ +

digits error

+
+
+ +
+ + +
+ +

email error

+
+
+ +
+ + +
+ +

equal error

+
+
+ +
+ + +
+ +

notEqual error

+
+
+ +
+ + +
+ + +

equalTo error

+
+
+ +
+ + +
+ + +

notEqualTo error

+
+
+ +
+ + +
+ +

greater than error

+
+
+ +
+ + +
+ +

greater than equal error

+
+
+ +
+ + +
+ +

less than error

+
+
+ +
+ + +
+ +

less than equal error

+
+
+ +
+ + +
+ +

json error

+
+
+ +
+ + +
+ +

max error

+
+
+ +
+ + +
+ +

min error

+
+
+ +
+ + +
+ +

number error

+
+
+ +
+ + +
+ +

phone error

+
+
+ +
+ + +
+ +

property error

+
+
+ +
+ + +
+ +

range error

+
+
+ +
+ + +
+ +

rangeLength error

+
+
+ +
+ + +
+ +

url error

+
+
+ +
+ + +
+ +

uuid error

+
+
+ +
+ +
+ +

arrayLength error

+
+
+
+
\ No newline at end of file diff --git a/example/src/app.less b/src/dev/dev.component.less similarity index 72% rename from example/src/app.less rename to src/dev/dev.component.less index 0b8c7b3..9fbcf87 100644 --- a/example/src/app.less +++ b/src/dev/dev.component.less @@ -1,5 +1,3 @@ -@import "~bootstrap/less/bootstrap"; - .container { margin-top: 50px; margin-bottom: 50px; diff --git a/src/dev/dev.component.ts b/src/dev/dev.component.ts new file mode 100644 index 0000000..a6828b6 --- /dev/null +++ b/src/dev/dev.component.ts @@ -0,0 +1,30 @@ +import { Component, OnInit } from '@angular/core'; +import { Validators, FormControl, FormGroup } from '@angular/forms'; +import { CustomValidators } from '../app/custom-forms.module'; + +@Component({ + selector: 'dev', + templateUrl: 'dev.component.html', + styleUrls: ['dev.component.less'] +}) +export class DevComponent implements OnInit { + public form: FormGroup; + public num = 5; + public arrayLengthTest = ['ok']; + public dateTest = { year: 2017, month: 10, day: 12 }; + public objProperty = { id: 1 }; + + ngOnInit() { + const password = new FormControl('', Validators.required); + const certainPassword = new FormControl('', CustomValidators.notEqualTo(password)); + + this.form = new FormGroup({ + password: password, + certainPassword: certainPassword + }); + } + + onSubmit(form) { + console.log(form); + } +} diff --git a/src/dev/dev.module.ts b/src/dev/dev.module.ts new file mode 100644 index 0000000..fef1ce3 --- /dev/null +++ b/src/dev/dev.module.ts @@ -0,0 +1,28 @@ +import { NgModule } from '@angular/core'; +import { BrowserModule } from '@angular/platform-browser'; +import { ReactiveFormsModule, FormsModule } from '@angular/forms'; +import { Routes, RouterModule } from '@angular/router'; + +import { CustomFormsModule } from '../app/custom-forms.module'; +import { DevComponent } from './dev.component'; + +const routes: Routes = [ + { + path: '', + component: DevComponent, + } +]; + +@NgModule({ + imports: [ + BrowserModule, + CustomFormsModule, + FormsModule, + ReactiveFormsModule, + RouterModule.forRoot(routes) + ], + declarations: [DevComponent], + bootstrap: [DevComponent] +}) + +export class DevModule { } diff --git a/src/digits/directive.spec.ts b/src/digits/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/digits/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/digits/index.ts b/src/digits/index.ts deleted file mode 100644 index 486fa29..0000000 --- a/src/digits/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; \ No newline at end of file diff --git a/src/digits/validator.ts b/src/digits/validator.ts deleted file mode 100644 index 360e8d5..0000000 --- a/src/digits/validator.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const digits: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return /^\d+$/.test(v) ? null : {digits: true}; -}; diff --git a/src/email/directive.spec.ts b/src/email/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/email/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/email/index.ts b/src/email/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/email/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/email/validator.ts b/src/email/validator.ts deleted file mode 100644 index 7f13f89..0000000 --- a/src/email/validator.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const email: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(v) ? null : {'email': true}; -}; diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts new file mode 100644 index 0000000..3612073 --- /dev/null +++ b/src/environments/environment.prod.ts @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/src/environments/environment.ts b/src/environments/environment.ts new file mode 100644 index 0000000..012182e --- /dev/null +++ b/src/environments/environment.ts @@ -0,0 +1,15 @@ +// This file can be replaced during build by using the `fileReplacements` array. +// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`. +// The list of file replacements can be found in `angular.json`. + +export const environment = { + production: false +}; + +/* + * In development mode, to ignore zone related error stack frames such as + * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can + * import the following file, but please comment it out in production mode + * because it will have performance impact when throw error + */ +// import 'zone.js/dist/zone-error'; // Included with Angular CLI. diff --git a/src/equal-to/directive.spec.ts b/src/equal-to/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/equal-to/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/equal-to/index.ts b/src/equal-to/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/equal-to/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/equal-to/validator.spec.ts b/src/equal-to/validator.spec.ts deleted file mode 100644 index 4c1b8f9..0000000 --- a/src/equal-to/validator.spec.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { equalTo } from './'; - -describe('EqualTo', () => { - const error = {equalTo: true}; - - it('"aaa" and "aaa" should be equalTo', () => { - let control = new FormControl('aaa'); - let control1 = new FormControl('aaa'); - - expect(equalTo(control1)(control)).toBeNull(); - }); - - it('"aaa" and "bbb" should not be equalTo', () => { - let control = new FormControl('aaa'); - let control1 = new FormControl('bbb'); - - expect(equalTo(control1)(control)).toEqual(error); - }); -}); diff --git a/src/equal-to/validator.ts b/src/equal-to/validator.ts deleted file mode 100644 index d348a8c..0000000 --- a/src/equal-to/validator.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { AbstractControl, ValidatorFn } from '@angular/forms'; - -export const equalTo = (equalControl: AbstractControl): ValidatorFn => { - let subscribe: boolean = false; - - return (control: AbstractControl): {[key: string]: boolean} => { - if (!subscribe) { - subscribe = true; - equalControl.valueChanges.subscribe(() => { - control.updateValueAndValidity(); - }); - } - - let v: string = control.value; - - return equalControl.value === v ? null : {equalTo: true}; - }; -}; diff --git a/src/equal/directive.spec.ts b/src/equal/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/equal/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/equal/index.ts b/src/equal/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/equal/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/equal/validator.spec.ts b/src/equal/validator.spec.ts deleted file mode 100644 index 0bc59ff..0000000 --- a/src/equal/validator.spec.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { equal } from './'; - -describe('Equal', () => { - const error = {equal: true}; - - it('"aaa" and "aaa" should be equal', () => { - let control = new FormControl('aaa'); - expect(equal('aaa')(control)).toBeNull(); - }); - - it('"aaa" and "bbb" should not be email', () => { - let control = new FormControl('bbb'); - expect(equal('aaa')(control)).toEqual(error); - }); -}); diff --git a/src/equal/validator.ts b/src/equal/validator.ts deleted file mode 100644 index 6100989..0000000 --- a/src/equal/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const equal = (val: any): ValidatorFn => { - return (control: AbstractControl): {[key: string]: any} => { - if (isPresent(Validators.required(control))) return null; - - let v: any = control.value; - - return val === v ? null : {equal: true}; - }; -}; diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000..8081c7c Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/greater-than-equal/directive.spec.ts b/src/greater-than-equal/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/greater-than-equal/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/greater-than-equal/index.ts b/src/greater-than-equal/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/greater-than-equal/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/greater-than-equal/validator.ts b/src/greater-than-equal/validator.ts deleted file mode 100644 index ecb1c43..0000000 --- a/src/greater-than-equal/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const gte = (gte: number): ValidatorFn => { - return (control: AbstractControl): {[key: string]: boolean} => { - if (!isPresent(gte)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v >= +gte ? null : {gte: true}; - }; -}; diff --git a/src/greater-than/directive.spec.ts b/src/greater-than/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/greater-than/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/greater-than/index.ts b/src/greater-than/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/greater-than/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/greater-than/validator.ts b/src/greater-than/validator.ts deleted file mode 100644 index 67ae7ff..0000000 --- a/src/greater-than/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const gt = (gt: number): ValidatorFn => { - return (control: AbstractControl): {[key: string]: boolean} => { - if (!isPresent(gt)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v > +gt ? null : {gt: true}; - }; -}; diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..3ec0037 --- /dev/null +++ b/src/index.html @@ -0,0 +1,14 @@ + + + + + NgxCustomValidators + + + + + + + + + diff --git a/src/index.ts b/src/index.ts deleted file mode 100644 index d088187..0000000 --- a/src/index.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { NgModule } from '@angular/core'; - -import { base64, Base64Validator } from './base64'; -import { creditCard, CreditCardValidator } from './credit-card'; -import { date, DateValidator } from './date'; -import { dateISO, DateISOValidator } from './date-ios'; -import { digits, DigitsValidator } from './digits'; -import { email, EmailValidator } from './email'; -import { equal, EqualValidator } from './equal'; -import { equalTo, EqualToValidator } from './equal-to'; -import { gt, GreaterThanValidator } from './greater-than'; -import { gte, GreaterThanEqualValidator } from './greater-than-equal'; -import { json, JSONValidator } from './json'; -import { lt, LessThanValidator } from './less-than'; -import { lte, LessThanEqualValidator } from './less-than-equal'; -import { max, MaxValidator } from './max'; -import { maxDate, MaxDateValidator } from './max-date'; -import { min, MinValidator } from './min'; -import { minDate, MinDateValidator } from './min-date'; -import { notEqual, NotEqualValidator } from './not-equal'; -import { notEqualTo, NotEqualToValidator } from './not-equal-to'; -import { number, NumberValidator } from './number'; -import { phone, PhoneValidator } from './phone'; -import { range, RangeValidator } from './range'; -import { rangeLength, RangeLengthValidator } from './range-length'; -import { url, UrlValidator } from './url'; -import { uuid, UUIDValidator } from './uuid'; - -export const CustomValidators: any = { - base64, - creditCard, - date, - dateISO, - digits, - email, - equal, - equalTo, - gt, - gte, - json, - lt, - lte, - max, - maxDate, - min, - minDate, - notEqual, - notEqualTo, - number, - phone, - range, - rangeLength, - url, - uuid -}; - -const CUSTOM_FORM_DIRECTIVES = [ - Base64Validator, - CreditCardValidator, - DateValidator, - DateISOValidator, - DigitsValidator, - EmailValidator, - EqualValidator, - EqualToValidator, - GreaterThanValidator, - GreaterThanEqualValidator, - JSONValidator, - LessThanValidator, - LessThanEqualValidator, - MaxValidator, - MaxDateValidator, - MinValidator, - MinDateValidator, - NotEqualValidator, - NotEqualToValidator, - NumberValidator, - PhoneValidator, - RangeValidator, - RangeLengthValidator, - UrlValidator, - UUIDValidator -]; - -@NgModule({ - declarations: [CUSTOM_FORM_DIRECTIVES], - exports: [CUSTOM_FORM_DIRECTIVES] -}) -export class CustomFormsModule { -} diff --git a/src/json/directive.spec.ts b/src/json/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/json/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/json/index.ts b/src/json/index.ts deleted file mode 100644 index 486fa29..0000000 --- a/src/json/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; \ No newline at end of file diff --git a/src/json/validator.ts b/src/json/validator.ts deleted file mode 100644 index 1e5d134..0000000 --- a/src/json/validator.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const json: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - - try { - let obj = JSON.parse(v); - - if (Boolean(obj) && typeof obj === 'object') { - return null; - } - } catch (e) { - } - return {json: true}; -}; diff --git a/src/karma.conf.js b/src/karma.conf.js new file mode 100644 index 0000000..b6e0042 --- /dev/null +++ b/src/karma.conf.js @@ -0,0 +1,31 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage-istanbul-reporter'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + coverageIstanbulReporter: { + dir: require('path').join(__dirname, '../coverage'), + reports: ['html', 'lcovonly'], + fixWebpackSourcePaths: true + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['Chrome'], + singleRun: false + }); +}; \ No newline at end of file diff --git a/src/less-than-equal/directive.spec.ts b/src/less-than-equal/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/less-than-equal/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/less-than-equal/index.ts b/src/less-than-equal/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/less-than-equal/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/less-than-equal/validator.ts b/src/less-than-equal/validator.ts deleted file mode 100644 index 0e8b50d..0000000 --- a/src/less-than-equal/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const lte = (lte: number): ValidatorFn => { - return (control: AbstractControl): {[key: string]: boolean} => { - if (!isPresent(lte)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v <= +lte ? null : {lte: true}; - }; -}; diff --git a/src/less-than/directive.spec.ts b/src/less-than/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/less-than/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/less-than/index.ts b/src/less-than/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/less-than/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/less-than/validator.ts b/src/less-than/validator.ts deleted file mode 100644 index 7a295b1..0000000 --- a/src/less-than/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const lt = (lt: number): ValidatorFn => { - return (control: AbstractControl): {[key: string]: boolean} => { - if (!isPresent(lt)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v < +lt ? null : {lt: true}; - }; -}; diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..05e1685 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,12 @@ +import { enableProdMode } from '@angular/core'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { DevModule } from './dev/dev.module'; +import { environment } from './environments/environment'; + +if (environment.production) { + enableProdMode(); +} + +platformBrowserDynamic().bootstrapModule(DevModule) + .catch(err => console.log(err)); diff --git a/src/max-date/directive.spec.ts b/src/max-date/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/max-date/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/max-date/index.ts b/src/max-date/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/max-date/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/max-date/validator.spec.ts b/src/max-date/validator.spec.ts deleted file mode 100644 index 883040d..0000000 --- a/src/max-date/validator.spec.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { maxDate } from './'; - -describe('MaxDate', () => { - let control: FormControl; - - it('"" should equal to "null"', () => { - control = new FormControl(''); - expect(maxDate('2016-09-09')(control)).toBeNull(); - }); - - it('"2016-09-10" should equal to "{maxDate: true}"', () => { - control = new FormControl('2016-09-10'); - expect(maxDate('2016-09-09')(control)).toEqual({maxDate: true}); - }); - - it('"2016-09-08" should equal to "null"', () => { - control = new FormControl('2016-09-08'); - expect(maxDate('2016-09-09')(control)).toBeNull(); - }); - - it('"Date(2016-09-10)" should equal to "{maxDate: true}"', () => { - control = new FormControl('2016-09-10'); - expect(maxDate(new Date('2016-09-09'))(control)).toEqual({maxDate: true}); - }); - - it('"Date(2016-09-08)" should equal to "null"', () => { - control = new FormControl('2016-09-08'); - expect(maxDate(new Date('2016-09-09'))(control)).toBeNull(); - }); - - it('"Date(2016-09-10)" should equal to "{maxDate: true}"', () => { - control = new FormControl('2016-09-10'); - expect(maxDate(() => new Date('2016-09-09'))(control)).toEqual({maxDate: true}); - }); - - it('"Date(2016-09-08)" should equal to "null"', () => { - control = new FormControl('2016-09-08'); - expect(maxDate(() => new Date('2016-09-09'))(control)).toBeNull(); - }); -}); diff --git a/src/max-date/validator.ts b/src/max-date/validator.ts deleted file mode 100644 index db92d42..0000000 --- a/src/max-date/validator.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent, isDate } from '../util/lang'; - -export const maxDate = (maxDate: any): ValidatorFn => { - if (!isDate(maxDate) && !(maxDate instanceof Function)) { - throw Error('maxDate value must be or return a formatted date'); - } - - return (control: AbstractControl): {[key: string]: any} => { - if (isPresent(Validators.required(control))) return null; - - let d: Date = new Date(control.value); - - if (!isDate(d)) return {maxDate: true}; - if (maxDate instanceof Function) maxDate = maxDate(); - - return d <= new Date(maxDate) ? null : {maxDate: true}; - }; -}; diff --git a/src/max/directive.spec.ts b/src/max/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/max/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/max/index.ts b/src/max/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/max/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/max/validator.spec.ts b/src/max/validator.spec.ts deleted file mode 100644 index 2c2d21b..0000000 --- a/src/max/validator.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { max } from './'; - -describe('Max', () => { - it('1 should be under 5', () => { - let control = new FormControl(1); - - expect(max(5)(control)).toBeNull(); - }); - - it('9 should not be over 5', () => { - let control = new FormControl(9); - - expect(max(5)(control)).toEqual({max: true, actualValue: 9, requiredValue: 5}); - }); - - it('"19" should not be over 5', () => { - let control = new FormControl('19'); - - expect(max(5)(control)).toEqual({max: true, actualValue: 19, requiredValue: 5}); - }); -}); diff --git a/src/max/validator.ts b/src/max/validator.ts deleted file mode 100644 index 7a372c1..0000000 --- a/src/max/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const max = (max: number): ValidatorFn => { - return (control: AbstractControl): {[key: string]: any} => { - if (!isPresent(max)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v <= +max ? null : {actualValue: v, requiredValue: +max, max: true}; - }; -}; diff --git a/src/min-date/directive.spec.ts b/src/min-date/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/min-date/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/min-date/index.ts b/src/min-date/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/min-date/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/min-date/validator.spec.ts b/src/min-date/validator.spec.ts deleted file mode 100644 index 16db2d2..0000000 --- a/src/min-date/validator.spec.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { minDate } from './'; - -describe('MinDate', () => { - let control: FormControl; - - it('"" should equal to "null"', () => { - control = new FormControl(''); - expect(minDate('2016-09-09')(control)).toBeNull(); - }); - - it('"2016-09-08" should equal to "{minDate: true}"', () => { - control = new FormControl('2016-09-08'); - expect(minDate('2016-09-09')(control)).toEqual({minDate: true}); - }); - - it('"2016-09-10" should equal to "null"', () => { - control = new FormControl('2016-09-10'); - expect(minDate('2016-09-09')(control)).toBeNull(); - }); - - it('Date("2016-09-08)" should equal to "{minDate: true}"', () => { - control = new FormControl('2016-09-08'); - expect(minDate('2016-09-09')(control)).toEqual({minDate: true}); - }); - - it('"Date(2016-09-10)" should equal to "null"', () => { - control = new FormControl('2016-09-10'); - expect(minDate('2016-09-09')(control)).toBeNull(); - }); - - it('() => Date("2016-09-08)" should equal to "{minDate: true}"', () => { - control = new FormControl('2016-09-08'); - expect(minDate('2016-09-09')(control)).toEqual({minDate: true}); - }); - - it('"() => Date(2016-09-10)" should equal to "null"', () => { - control = new FormControl('2016-09-10'); - expect(minDate('2016-09-09')(control)).toBeNull(); - }); -}); - diff --git a/src/min-date/validator.ts b/src/min-date/validator.ts deleted file mode 100644 index 172e2e7..0000000 --- a/src/min-date/validator.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent, isDate } from '../util/lang'; - -export const minDate = (minDate: any): ValidatorFn => { - - if (!isDate(minDate) && !(minDate instanceof Function)) { - throw Error('minDate value must be or return a formatted date'); - } - - return (control: AbstractControl): {[key: string]: any} => { - if (isPresent(Validators.required(control))) return null; - - let d: Date = new Date(control.value); - - if (!isDate(d)) return {minDate: true}; - if (minDate instanceof Function) minDate = minDate(); - - return d >= new Date(minDate) ? null : {minDate: true}; - }; -}; diff --git a/src/min/directive.spec.ts b/src/min/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/min/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/min/index.ts b/src/min/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/min/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/min/validator.ts b/src/min/validator.ts deleted file mode 100644 index 6439187..0000000 --- a/src/min/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const min = (min: number): ValidatorFn => { - return (control: AbstractControl): {[key: string]: any} => { - if (!isPresent(min)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v >= +min ? null : {actualValue: v, requiredValue: +min, min: true}; - }; -}; diff --git a/src/not-equal-to/directive.spec.ts b/src/not-equal-to/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/not-equal-to/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/not-equal-to/index.ts b/src/not-equal-to/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/not-equal-to/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/not-equal-to/validator.ts b/src/not-equal-to/validator.ts deleted file mode 100644 index 1ec6110..0000000 --- a/src/not-equal-to/validator.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { AbstractControl, ValidatorFn } from '@angular/forms'; - -export const notEqualTo = (notEqualControl: AbstractControl): ValidatorFn => { - let subscribe: boolean = false; - return (control: AbstractControl): {[key: string]: boolean} => { - if (!subscribe) { - subscribe = true; - notEqualControl.valueChanges.subscribe(() => { - control.updateValueAndValidity(); - }); - } - - let v: string = control.value; - - return notEqualControl.value !== v ? null : {notEqualTo: true}; - }; -}; diff --git a/src/not-equal/directive.spec.ts b/src/not-equal/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/not-equal/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/not-equal/index.ts b/src/not-equal/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/not-equal/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/not-equal/validator.ts b/src/not-equal/validator.ts deleted file mode 100644 index e4f6c23..0000000 --- a/src/not-equal/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const notEqual = (val: any): ValidatorFn => { - return (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: any = control.value; - - return val !== v ? null : {notEqual: true}; - }; -}; diff --git a/src/number/directive.spec.ts b/src/number/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/number/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/number/index.ts b/src/number/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/number/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/number/validator.ts b/src/number/validator.ts deleted file mode 100644 index 4d6d8bc..0000000 --- a/src/number/validator.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const number: ValidatorFn = (control: AbstractControl): {[key: string]: boolean} => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(v) ? null : {'number': true}; -}; diff --git a/src/phone/directive.spec.ts b/src/phone/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/phone/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/phone/directive.ts b/src/phone/directive.ts deleted file mode 100644 index a2e0487..0000000 --- a/src/phone/directive.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Directive, Input, forwardRef, OnInit, OnChanges, SimpleChanges } from '@angular/core'; -import { NG_VALIDATORS, Validator, ValidatorFn, AbstractControl } from '@angular/forms'; - -import { phone } from './'; - -const PHONE_VALIDATOR: any = { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PhoneValidator), - multi: true -}; - -@Directive({ - selector: '[phone][formControlName],[phone][formControl],[phone][ngModel]', - providers: [PHONE_VALIDATOR] -}) -export class PhoneValidator implements Validator, OnInit, OnChanges { - @Input() phone: string; - - private validator: ValidatorFn; - private onChange: () => void; - - ngOnInit() { - this.validator = phone(this.phone); - } - - ngOnChanges(changes: SimpleChanges) { - for (let key in changes) { - if (key === 'phone') { - this.validator = phone(changes[key].currentValue); - if (this.onChange) this.onChange(); - } - } - } - - validate(c: AbstractControl): {[key: string]: any} { - return this.validator(c); - } - - registerOnValidatorChange(fn: () => void): void { - this.onChange = fn; - } -} diff --git a/src/phone/index.ts b/src/phone/index.ts deleted file mode 100644 index 486fa29..0000000 --- a/src/phone/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; \ No newline at end of file diff --git a/src/phone/validator.spec.ts b/src/phone/validator.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/phone/validator.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/phone/validator.ts b/src/phone/validator.ts deleted file mode 100644 index 60fd43b..0000000 --- a/src/phone/validator.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; -import { isValidNumber } from 'libphonenumber-js'; - -import { isPresent } from '../util/lang'; - -export const phone = (country: string): ValidatorFn => { - return (control: AbstractControl): { [key: string]: boolean } => { - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - - return isValidNumber({phone: v, country}) ? null : {phone: true}; - }; -}; diff --git a/src/polyfills.ts b/src/polyfills.ts new file mode 100644 index 0000000..d310405 --- /dev/null +++ b/src/polyfills.ts @@ -0,0 +1,80 @@ +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html + */ + +/*************************************************************************************************** + * BROWSER POLYFILLS + */ + +/** IE9, IE10 and IE11 requires all of the following polyfills. **/ +// import 'core-js/es6/symbol'; +// import 'core-js/es6/object'; +// import 'core-js/es6/function'; +// import 'core-js/es6/parse-int'; +// import 'core-js/es6/parse-float'; +// import 'core-js/es6/number'; +// import 'core-js/es6/math'; +// import 'core-js/es6/string'; +// import 'core-js/es6/date'; +// import 'core-js/es6/array'; +// import 'core-js/es6/regexp'; +// import 'core-js/es6/map'; +// import 'core-js/es6/weak-map'; +// import 'core-js/es6/set'; + +/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. + +/** IE10 and IE11 requires the following for the Reflect API. */ +// import 'core-js/es6/reflect'; + + +/** Evergreen browsers require these. **/ +// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove. +import 'core-js/es7/reflect'; + + +/** + * Web Animations `@angular/platform-browser/animations` + * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. + * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). + **/ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. + +/** + * By default, zone.js will patch all possible macroTask and DomEvents + * user can disable parts of macroTask/DomEvents patch by setting following flags + */ + + // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame + // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick + // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames + + /* + * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js + * with the following flag, it will bypass `zone.js` patch for IE/Edge + */ +// (window as any).__Zone_enable_cross_context_check = true; + +/*************************************************************************************************** + * Zone JS is required by default for Angular itself. + */ +import 'zone.js/dist/zone'; // Included with Angular CLI. + + + +/*************************************************************************************************** + * APPLICATION IMPORTS + */ diff --git a/src/range-length/directive.spec.ts b/src/range-length/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/range-length/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/range-length/index.ts b/src/range-length/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/range-length/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/range-length/validator.ts b/src/range-length/validator.ts deleted file mode 100644 index d289e5f..0000000 --- a/src/range-length/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const rangeLength = (rangeLength: Array): ValidatorFn => { - return (control: AbstractControl): {[key: string]: boolean} => { - if (!isPresent(rangeLength)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: string = control.value; - return v.length >= rangeLength[0] && v.length <= rangeLength[1] ? null : {rangeLength: true}; - }; -}; diff --git a/src/range/directive.spec.ts b/src/range/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/range/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/range/index.ts b/src/range/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/range/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/range/validator.ts b/src/range/validator.ts deleted file mode 100644 index 9f1c51f..0000000 --- a/src/range/validator.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AbstractControl, Validators, ValidatorFn } from '@angular/forms'; - -import { isPresent } from '../util/lang'; - -export const range = (range: Array): ValidatorFn => { - return (control: AbstractControl): {[key: string]: any} => { - if (!isPresent(range)) return null; - if (isPresent(Validators.required(control))) return null; - - let v: number = +control.value; - return v >= range[0] && v <= range[1] ? null : {actualValue: v, requiredValue: range, range: true}; - }; -}; diff --git a/src/styles.css b/src/styles.css new file mode 100644 index 0000000..e69de29 diff --git a/src/test.ts b/src/test.ts new file mode 100644 index 0000000..1631789 --- /dev/null +++ b/src/test.ts @@ -0,0 +1,20 @@ +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/dist/zone-testing'; +import { getTestBed } from '@angular/core/testing'; +import { + BrowserDynamicTestingModule, + platformBrowserDynamicTesting +} from '@angular/platform-browser-dynamic/testing'; + +declare const require: any; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment( + BrowserDynamicTestingModule, + platformBrowserDynamicTesting() +); +// Then we find all the tests. +const context = require.context('./', true, /\.spec\.ts$/); +// And load the modules. +context.keys().map(context); diff --git a/src/tsconfig.app.json b/src/tsconfig.app.json new file mode 100644 index 0000000..722c370 --- /dev/null +++ b/src/tsconfig.app.json @@ -0,0 +1,12 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/app", + "module": "es2015", + "types": [] + }, + "exclude": [ + "src/test.ts", + "**/*.spec.ts" + ] +} diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json new file mode 100644 index 0000000..8f7cede --- /dev/null +++ b/src/tsconfig.spec.json @@ -0,0 +1,19 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/spec", + "module": "commonjs", + "types": [ + "jasmine", + "node" + ] + }, + "files": [ + "test.ts", + "polyfills.ts" + ], + "include": [ + "**/*.spec.ts", + "**/*.d.ts" + ] +} diff --git a/src/tslint.json b/src/tslint.json new file mode 100644 index 0000000..f2d70a4 --- /dev/null +++ b/src/tslint.json @@ -0,0 +1,17 @@ +{ + "extends": "../tslint.json", + "rules": { + "directive-selector": [ + false, + "attribute", + "app", + "camelCase" + ], + "component-selector": [ + false, + "element", + "app", + "kebab-case" + ] + } +} diff --git a/src/url/directive.spec.ts b/src/url/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/url/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/url/index.ts b/src/url/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/url/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/util/lang.ts b/src/util/lang.ts deleted file mode 100644 index d02cdc5..0000000 --- a/src/util/lang.ts +++ /dev/null @@ -1,7 +0,0 @@ -export function isPresent(obj: any): boolean { - return obj !== undefined && obj !== null; -} - -export function isDate(obj: any): boolean { - return !/Invalid|NaN/.test(new Date(obj).toString()); -} \ No newline at end of file diff --git a/src/uuid/directive.spec.ts b/src/uuid/directive.spec.ts deleted file mode 100644 index 8826b52..0000000 --- a/src/uuid/directive.spec.ts +++ /dev/null @@ -1 +0,0 @@ -// todo \ No newline at end of file diff --git a/src/uuid/index.ts b/src/uuid/index.ts deleted file mode 100644 index 5c8cea0..0000000 --- a/src/uuid/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './directive'; -export * from './validator'; diff --git a/src/uuid/validator.spec.ts b/src/uuid/validator.spec.ts deleted file mode 100644 index 044da2e..0000000 --- a/src/uuid/validator.spec.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { FormControl } from '@angular/forms'; - -import { uuid } from './'; - -describe('Uuid', () => { - // it('"AAAAAAAA-BBBB-3CCCC-DDDD-EEEEEEEEEEEE" should be uuid', () => { - // let control = new FormControl('AAAAAAAA-BBBB-3CCCC-DDDD-EEEEEEEEEEEE'); - // expect(uuid('3')(control)).toBeNull(); - // }); - - it('"abc" should not be uuid', () => { - let control = new FormControl('abc'); - expect(uuid('4')(control)).toEqual({uuid: true}); - }); -}); diff --git a/tsconfig.json b/tsconfig.json index 1389d30..ef44e28 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,32 +1,20 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "baseUrl": "./", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "noEmitHelpers": false, - "declaration": true, - "rootDir": "src", - "outDir": "dist", + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], "lib": [ - "es6", + "es2017", "dom" - ], - "types": [ - "jasmine", - "node" ] - }, - "exclude": [ - "node_modules", - "example", - "src/**/*.spec.ts", - "aot" - ], - "angularCompilerOptions": { - "genDir": "aot", - "skipMetadataEmit" : false } } diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..3ea984c --- /dev/null +++ b/tslint.json @@ -0,0 +1,130 @@ +{ + "rulesDirectory": [ + "node_modules/codelyzer" + ], + "rules": { + "arrow-return-shorthand": true, + "callable-types": true, + "class-name": true, + "comment-format": [ + true, + "check-space" + ], + "curly": true, + "deprecation": { + "severity": "warn" + }, + "eofline": true, + "forin": true, + "import-blacklist": [ + true, + "rxjs/Rx" + ], + "import-spacing": true, + "indent": [ + true, + "spaces" + ], + "interface-over-type-literal": true, + "label-position": true, + "max-line-length": [ + true, + 140 + ], + "member-access": false, + "member-ordering": [ + true, + { + "order": [ + "static-field", + "instance-field", + "static-method", + "instance-method" + ] + } + ], + "no-arg": true, + "no-bitwise": true, + "no-console": [ + true, + "debug", + "info", + "time", + "timeEnd", + "trace" + ], + "no-construct": true, + "no-debugger": true, + "no-duplicate-super": true, + "no-empty": false, + "no-empty-interface": true, + "no-eval": true, + "no-inferrable-types": [ + true, + "ignore-params" + ], + "no-misused-new": true, + "no-non-null-assertion": true, + "no-shadowed-variable": true, + "no-string-literal": false, + "no-string-throw": true, + "no-switch-case-fall-through": true, + "no-trailing-whitespace": true, + "no-unnecessary-initializer": true, + "no-unused-expression": true, + "no-use-before-declare": true, + "no-var-keyword": true, + "object-literal-sort-keys": false, + "one-line": [ + true, + "check-open-brace", + "check-catch", + "check-else", + "check-whitespace" + ], + "prefer-const": true, + "quotemark": [ + true, + "single" + ], + "radix": true, + "semicolon": [ + true, + "always" + ], + "triple-equals": [ + true, + "allow-null-check" + ], + "typedef-whitespace": [ + true, + { + "call-signature": "nospace", + "index-signature": "nospace", + "parameter": "nospace", + "property-declaration": "nospace", + "variable-declaration": "nospace" + } + ], + "unified-signatures": true, + "variable-name": false, + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-separator", + "check-type" + ], + "no-output-on-prefix": true, + "use-input-property-decorator": true, + "use-output-property-decorator": true, + "use-host-property-decorator": true, + "no-input-rename": true, + "no-output-rename": true, + "use-life-cycle-interface": true, + "use-pipe-transform-interface": true, + "component-class-suffix": true, + "directive-class-suffix": true + } +} diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 4feae79..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,42 +0,0 @@ -const webpack = require('webpack'); - -module.exports = { - context: __dirname, - entry: { - main: './example/main', - vendor: './example/vendor', - polyfills: './example/polyfills' - }, - devtool: 'source-map', - output: { - path: __dirname + '/example/dist', - filename: 'bundle.js', - publicPath: '/ng2-validation/example/dist/' - }, - resolve: { - extensions: ['.js', '.ts'] - }, - module: { - rules: [ - { - test: /\.ts$/, - exclude: /\.d\.ts$/, - use: 'ts-loader' - }, - { - test: /\.html$/, - use: 'raw-loader' - }, - { - test: /\.less$/, - loaders: [ 'raw-loader', 'less-loader' ] - } - ] - }, - plugins: [ - new webpack.optimize.CommonsChunkPlugin({ - names: [ 'vendor', 'polyfills' ], - filename: '[name].js' - }) - ] -}; \ No newline at end of file