diff --git a/fec/fec/static/js/modules/accessibility.js b/fec/fec/static/js/modules/accessibility.js
index 32fb0a7370..5a20eb153d 100644
--- a/fec/fec/static/js/modules/accessibility.js
+++ b/fec/fec/static/js/modules/accessibility.js
@@ -1,7 +1,5 @@
'use strict';
-/* global module */
-
/**
* Utilities for setting or removing tabindex on all focusable elements
* in a parent div. Useful for hiding elements off-canvas without setting
diff --git a/fec/fec/static/js/modules/analytics.js b/fec/fec/static/js/modules/analytics.js
index 5c5d8d7feb..94bd3f980a 100644
--- a/fec/fec/static/js/modules/analytics.js
+++ b/fec/fec/static/js/modules/analytics.js
@@ -1,9 +1,5 @@
'use strict';
-/* global ga */
-
-// TODO - should this all be moved into Tag Manager?
-
var _ = require('underscore');
var URI = require('urijs');
diff --git a/fec/fec/static/js/modules/cycle-select.js b/fec/fec/static/js/modules/cycle-select.js
index 4282642fc1..ed8f9fb12a 100644
--- a/fec/fec/static/js/modules/cycle-select.js
+++ b/fec/fec/static/js/modules/cycle-select.js
@@ -1,7 +1,5 @@
'use strict';
-/* global context */
-
var $ = require('jquery');
var _ = require('underscore');
var URI = require('urijs');
diff --git a/fec/fec/static/js/modules/election-search.js b/fec/fec/static/js/modules/election-search.js
index 828e225287..5cf9f68378 100644
--- a/fec/fec/static/js/modules/election-search.js
+++ b/fec/fec/static/js/modules/election-search.js
@@ -1,7 +1,5 @@
'use strict';
-/* global window */
-
var $ = require('jquery');
var URI = require('urijs');
var _ = require('underscore');
diff --git a/fec/fec/static/js/modules/election-summary.js b/fec/fec/static/js/modules/election-summary.js
index 4e83cebfe7..1ae3ea30df 100644
--- a/fec/fec/static/js/modules/election-summary.js
+++ b/fec/fec/static/js/modules/election-summary.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, module */
-
var $ = require('jquery');
var URI = require('urijs');
diff --git a/fec/fec/static/js/modules/election-utils.js b/fec/fec/static/js/modules/election-utils.js
index a7f4f07fe0..aaa75867a4 100644
--- a/fec/fec/static/js/modules/election-utils.js
+++ b/fec/fec/static/js/modules/election-utils.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, module */
-
var $ = require('jquery');
var _ = require('underscore');
var fips = require('./fips');
diff --git a/fec/fec/static/js/modules/events.js b/fec/fec/static/js/modules/events.js
index c7390966e0..de9763367b 100644
--- a/fec/fec/static/js/modules/events.js
+++ b/fec/fec/static/js/modules/events.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, module, window */
-
var eventemitter = require('eventemitter2');
var EventEmitter2 = eventemitter.EventEmitter2 || eventemitter;
module.exports = window.events = window.events || new EventEmitter2();
diff --git a/fec/fec/static/js/modules/filings.js b/fec/fec/static/js/modules/filings.js
index 20e5a7ada6..864f1dfc07 100644
--- a/fec/fec/static/js/modules/filings.js
+++ b/fec/fec/static/js/modules/filings.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, module */
-
var $ = require('jquery');
var _ = require('underscore');
diff --git a/fec/fec/static/js/modules/filters/date-filter.js b/fec/fec/static/js/modules/filters/date-filter.js
index 6905664ab1..9a2f6f19d6 100644
--- a/fec/fec/static/js/modules/filters/date-filter.js
+++ b/fec/fec/static/js/modules/filters/date-filter.js
@@ -3,7 +3,7 @@
var $ = require('jquery');
var moment = require('moment');
-var Filter = require('./filter-base.js');
+var Filter = require('./filter-base');
require('jquery.inputmask');
require('jquery.inputmask/dist/inputmask/inputmask.date.extensions');
diff --git a/fec/fec/static/js/modules/filters/validate-date-filters.js b/fec/fec/static/js/modules/filters/validate-date-filters.js
index c07e400e5a..099c30eb66 100644
--- a/fec/fec/static/js/modules/filters/validate-date-filters.js
+++ b/fec/fec/static/js/modules/filters/validate-date-filters.js
@@ -3,11 +3,10 @@
var $ = require('jquery');
var moment = require('moment');
-var Filter = require('./filter-base.js');
+var Filter = require('./filter-base');
require('jquery.inputmask');
-require('jquery.inputmask/dist/inputmask/inputmask.date.extensions.js');
-require('jquery.inputmask/dist/inputmask/inputmask.numeric.extensions.js');
+require('jquery.inputmask/dist/inputmask/inputmask.date.extensions');
/**
* ValidateDateFilter
diff --git a/fec/fec/static/js/modules/fips.js b/fec/fec/static/js/modules/fips.js
index 4081751e08..5fdd259468 100644
--- a/fec/fec/static/js/modules/fips.js
+++ b/fec/fec/static/js/modules/fips.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, module */
-
var _ = require('underscore');
function byField(values, key) {
diff --git a/fec/fec/static/js/modules/helpers.js b/fec/fec/static/js/modules/helpers.js
index be637ae726..8f60720970 100644
--- a/fec/fec/static/js/modules/helpers.js
+++ b/fec/fec/static/js/modules/helpers.js
@@ -518,6 +518,7 @@ function sanitizeQueryParams(query) {
var param;
for (param in query) {
+ // eslint-disable-next-line no-prototype-builtins
if (query.hasOwnProperty(param)) {
query[param] = sanitizeValue(query[param]);
}
diff --git a/fec/fec/static/js/modules/keyword-modal.js b/fec/fec/static/js/modules/keyword-modal.js
index a00ecbff33..ba9f2e6e98 100644
--- a/fec/fec/static/js/modules/keyword-modal.js
+++ b/fec/fec/static/js/modules/keyword-modal.js
@@ -1,7 +1,5 @@
'use strict';
-/* global ga */
-
var $ = require('jquery');
var URI = require('urijs');
var A11yDialog = require('a11y-dialog');
diff --git a/fec/fec/static/js/modules/line-chart-committees.js b/fec/fec/static/js/modules/line-chart-committees.js
index 7d665f3c2c..2c45c4cac2 100644
--- a/fec/fec/static/js/modules/line-chart-committees.js
+++ b/fec/fec/static/js/modules/line-chart-committees.js
@@ -1,6 +1,6 @@
'use strict';
-/* global module, DEFAULT_TIME_PERIOD */
+/* global DEFAULT_TIME_PERIOD */
var $ = require('jquery');
var _ = require('underscore');
var d3 = require('d3');
diff --git a/fec/fec/static/js/modules/line-chart.js b/fec/fec/static/js/modules/line-chart.js
index fd9908c805..c9ee991a33 100644
--- a/fec/fec/static/js/modules/line-chart.js
+++ b/fec/fec/static/js/modules/line-chart.js
@@ -1,6 +1,6 @@
'use strict';
-/* global module, DEFAULT_TIME_PERIOD */
+/* global DEFAULT_TIME_PERIOD */
var $ = require('jquery');
var _ = require('underscore');
var d3 = require('d3');
diff --git a/fec/fec/static/js/modules/other-spending-totals.js b/fec/fec/static/js/modules/other-spending-totals.js
index 477f8baf9c..0cc4527009 100644
--- a/fec/fec/static/js/modules/other-spending-totals.js
+++ b/fec/fec/static/js/modules/other-spending-totals.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, context */
-
var $ = require('jquery');
var _ = require('underscore');
diff --git a/fec/fec/static/js/modules/performance.js b/fec/fec/static/js/modules/performance.js
index 16f7df0c4f..fbabe45c08 100644
--- a/fec/fec/static/js/modules/performance.js
+++ b/fec/fec/static/js/modules/performance.js
@@ -1,6 +1,6 @@
'use strict';
-/* global require, module, window, perfBar */
+/* global perfBar */
var _ = require('underscore');
diff --git a/fec/fec/static/js/modules/skip-nav.js b/fec/fec/static/js/modules/skip-nav.js
index 22cb6307a2..679c1384b7 100644
--- a/fec/fec/static/js/modules/skip-nav.js
+++ b/fec/fec/static/js/modules/skip-nav.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, module, document */
-
var $ = require('jquery');
/**
diff --git a/fec/fec/static/js/modules/toggle.js b/fec/fec/static/js/modules/toggle.js
index 6c23b38d26..6e463edab0 100644
--- a/fec/fec/static/js/modules/toggle.js
+++ b/fec/fec/static/js/modules/toggle.js
@@ -1,6 +1,5 @@
'use strict';
-/* global require, module, document */
var $ = require('jquery');
module.exports = {
diff --git a/fec/fec/static/js/pages/bythenumbers.js b/fec/fec/static/js/pages/bythenumbers.js
index 61cbd0b4f3..18093eccde 100644
--- a/fec/fec/static/js/pages/bythenumbers.js
+++ b/fec/fec/static/js/pages/bythenumbers.js
@@ -1,7 +1,5 @@
'use strict';
-/* global context, ga */
-
var $ = require('jquery');
var analytics = require('../modules/analytics'); // TODO - move this to Tag Manager?
var TopEntities = require('../modules/top-entities').TopEntities;
diff --git a/fec/fec/static/js/pages/candidate-single.js b/fec/fec/static/js/pages/candidate-single.js
index d477c9213e..45ec023e54 100644
--- a/fec/fec/static/js/pages/candidate-single.js
+++ b/fec/fec/static/js/pages/candidate-single.js
@@ -1,6 +1,6 @@
'use strict';
-/* global require, document, context, WEBMANAGER_EMAIL */
+/* global WEBMANAGER_EMAIL */
var $ = require('jquery');
var URI = require('urijs');
diff --git a/fec/fec/static/js/pages/committee-single.js b/fec/fec/static/js/pages/committee-single.js
index a1df29c7af..9c09013ac9 100644
--- a/fec/fec/static/js/pages/committee-single.js
+++ b/fec/fec/static/js/pages/committee-single.js
@@ -1,7 +1,5 @@
'use strict';
-/* global document, context */
-
var $ = require('jquery');
var _ = require('underscore');
var URI = require('urijs');
diff --git a/fec/fec/static/js/pages/contact-form.js b/fec/fec/static/js/pages/contact-form.js
index 9b504fb224..e57bf2a52b 100644
--- a/fec/fec/static/js/pages/contact-form.js
+++ b/fec/fec/static/js/pages/contact-form.js
@@ -1,7 +1,5 @@
'use strict';
-/* global window */
-
var $ = require('jquery');
var Typeahead = require('../modules/typeahead').Typeahead;
var URI = require('urijs');
diff --git a/fec/fec/static/js/pages/data-browse-data.js b/fec/fec/static/js/pages/data-browse-data.js
index 239b74e14a..86527779bd 100644
--- a/fec/fec/static/js/pages/data-browse-data.js
+++ b/fec/fec/static/js/pages/data-browse-data.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require */
-
var $ = require('jquery');
var LineChartCommittees = require('../modules/line-chart-committees')
diff --git a/fec/fec/static/js/pages/data-landing.js b/fec/fec/static/js/pages/data-landing.js
index 509668b296..d11e44b6fa 100644
--- a/fec/fec/static/js/pages/data-landing.js
+++ b/fec/fec/static/js/pages/data-landing.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, ga */
-
var $ = require('jquery');
var lookup = require('../modules/election-lookup');
var analytics = require('../modules/analytics'); // TODO - move this to Tag Manager?
diff --git a/fec/fec/static/js/pages/datatable-candidates-office.js b/fec/fec/static/js/pages/datatable-candidates-office.js
index aaa944e807..739acc3ac9 100644
--- a/fec/fec/static/js/pages/datatable-candidates-office.js
+++ b/fec/fec/static/js/pages/datatable-candidates-office.js
@@ -1,7 +1,5 @@
'use strict';
-/* global context */
-
var $ = require('jquery');
var tables = require('../modules/tables');
diff --git a/fec/fec/static/js/pages/datatable-committees.js b/fec/fec/static/js/pages/datatable-committees.js
index 17f00f2faf..447e8f1aa8 100644
--- a/fec/fec/static/js/pages/datatable-committees.js
+++ b/fec/fec/static/js/pages/datatable-committees.js
@@ -1,7 +1,5 @@
'use strict';
-/* global document */
-
var $ = require('jquery');
var tables = require('../modules/tables');
diff --git a/fec/fec/static/js/pages/datatable-disbursements.js b/fec/fec/static/js/pages/datatable-disbursements.js
index cea44b0616..a16e4c0107 100644
--- a/fec/fec/static/js/pages/datatable-disbursements.js
+++ b/fec/fec/static/js/pages/datatable-disbursements.js
@@ -1,7 +1,5 @@
'use strict';
-/* global document */
-
var $ = require('jquery');
var tables = require('../modules/tables');
diff --git a/fec/fec/static/js/pages/datatable-filings.js b/fec/fec/static/js/pages/datatable-filings.js
index c317081c03..8846a6ee41 100644
--- a/fec/fec/static/js/pages/datatable-filings.js
+++ b/fec/fec/static/js/pages/datatable-filings.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, document */
-
var $ = require('jquery');
var filings = require('../modules/filings');
diff --git a/fec/fec/static/js/pages/datatable-operating-expenditures.js b/fec/fec/static/js/pages/datatable-operating-expenditures.js
index f6ec39b950..7f05054e4a 100644
--- a/fec/fec/static/js/pages/datatable-operating-expenditures.js
+++ b/fec/fec/static/js/pages/datatable-operating-expenditures.js
@@ -1,7 +1,5 @@
'use strict';
-/* global document */
-
var $ = require('jquery');
var tables = require('../modules/tables');
diff --git a/fec/fec/static/js/pages/datatable-reports.js b/fec/fec/static/js/pages/datatable-reports.js
index 363a81a7da..8d6b931036 100644
--- a/fec/fec/static/js/pages/datatable-reports.js
+++ b/fec/fec/static/js/pages/datatable-reports.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, document, context */
-
var $ = require('jquery');
var tables = require('../modules/tables');
diff --git a/fec/fec/static/js/pages/election-lookup.js b/fec/fec/static/js/pages/election-lookup.js
index 6891cef218..d66c734e16 100644
--- a/fec/fec/static/js/pages/election-lookup.js
+++ b/fec/fec/static/js/pages/election-lookup.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require, document */
-
var $ = require('jquery');
var lookup = require('../modules/election-search');
diff --git a/fec/fec/static/js/pages/elections.js b/fec/fec/static/js/pages/elections.js
index c09ceef192..dbb8b39858 100644
--- a/fec/fec/static/js/pages/elections.js
+++ b/fec/fec/static/js/pages/elections.js
@@ -1,7 +1,5 @@
'use strict';
-/* global document, context */
-
var $ = require('jquery');
var _ = require('underscore');
diff --git a/fec/fec/static/js/pages/legal.js b/fec/fec/static/js/pages/legal.js
index 31ce07c90e..79ecf45951 100644
--- a/fec/fec/static/js/pages/legal.js
+++ b/fec/fec/static/js/pages/legal.js
@@ -1,6 +1,5 @@
'use strict';
-/* global require */
var FilterPanel = require('../modules/filters/filter-panel').FilterPanel;
var KeywordModal = require('../modules/keyword-modal').KeywordModal;
diff --git a/fec/fec/tests/js/date-filter.js b/fec/fec/tests/js/date-filter.js
index 3b740307e2..cda22181a3 100644
--- a/fec/fec/tests/js/date-filter.js
+++ b/fec/fec/tests/js/date-filter.js
@@ -12,7 +12,8 @@ var $ = require('jquery');
require('./setup')();
-var DateFilter = require('../../static/js/modules/filters/date-filter').DateFilter;
+var DateFilter = require('../../static/js/modules/filters/date-filter')
+ .DateFilter;
describe('date filter', function() {
before(function() {
@@ -21,69 +22,70 @@ describe('date filter', function() {
});
beforeEach(function() {
- this.$fixture.empty().append(
- '
' +
- '
' +
+ '
'
+ );
this.filter = new DateFilter(this.$fixture.find('.js-filter'));
});
@@ -106,8 +108,12 @@ describe('date filter', function() {
min_date: '01/01/2015',
max_date: '01/31/2016'
});
- expect(this.filter.$elm.find('[name="min_date"]').val()).to.equal('01/01/2015');
- expect(this.filter.$elm.find('[name="max_date"]').val()).to.equal('01/31/2016');
+ expect(this.filter.$elm.find('[name="min_date"]').val()).to.equal(
+ '01/01/2015'
+ );
+ expect(this.filter.$elm.find('[name="max_date"]').val()).to.equal(
+ '01/31/2016'
+ );
});
describe('handleInputChange()', function() {
@@ -119,18 +125,20 @@ describe('date filter', function() {
$.prototype.trigger.restore();
});
- it('triggers an add event with all the right properties', function(){
+ it('triggers an add event with all the right properties', function() {
this.filter.$minDate.val('01/01/2015').change();
- expect(this.trigger).to.have.been.calledWith('filter:added', [{
- key: 'min_date',
- value: 'Beginning 01/01/2015',
- loadedOnce: false,
- range: 'min',
- rangeName: 'date',
- name: 'date',
- nonremovable: true,
- removeOnSwitch: true
- }]);
+ expect(this.trigger).to.have.been.calledWith('filter:added', [
+ {
+ key: 'min_date',
+ value: 'Beginning 01/01/2015',
+ loadedOnce: false,
+ range: 'min',
+ rangeName: 'date',
+ name: 'date',
+ nonremovable: true,
+ removeOnSwitch: true
+ }
+ ]);
});
it('triggers a remove event if the field has no value', function() {
@@ -149,7 +157,7 @@ describe('date filter', function() {
it('sets up the date grid', function() {
sinon.spy(DateFilter.prototype, 'setupDateGrid');
- this.filter.handleInputChange({target: this.filter.$minDate});
+ this.filter.handleInputChange({ target: this.filter.$minDate });
expect(this.filter.setupDateGrid).to.have.been.called;
DateFilter.prototype.setupDateGrid.restore();
});
@@ -161,10 +169,10 @@ describe('date filter', function() {
this.today = moment(today).format('MM/DD/YYYY');
this.thisYear = today.getFullYear();
this.lastYear = today.getFullYear() - 1;
- this.firstDayOfLastYear = "01/01/" + this.lastYear.valueOf()
+ this.firstDayOfLastYear = '01/01/' + this.lastYear.valueOf();
var opts = {
filterName: 'date',
- filterValue: this.thisYear,
+ filterValue: this.thisYear
};
this.filter.handleModifyEvent({}, opts);
@@ -184,10 +192,13 @@ describe('date filter', function() {
});
it('sets the max date to the last of the year if not this year', function() {
- this.filter.handleModifyEvent({}, {
- filterName: 'date',
- filterValue: '2014'
- });
+ this.filter.handleModifyEvent(
+ {},
+ {
+ filterName: 'date',
+ filterValue: '2014'
+ }
+ );
expect(this.filter.$maxDate.val()).to.equal('12/31/2014');
});
@@ -213,9 +224,11 @@ describe('date filter', function() {
this.filter.$maxDate.val('09/01/2016');
this.filter.validate();
expect(this.hideWarning).to.have.been.called;
- expect(this.trigger).to.have.been.calledWith('filters:validation', [{
- isValid: true
- }]);
+ expect(this.trigger).to.have.been.calledWith('filters:validation', [
+ {
+ isValid: true
+ }
+ ]);
});
it('triggers an invalid event if not valid', function() {
@@ -225,9 +238,11 @@ describe('date filter', function() {
this.filter.$maxDate.val('09/01/2016');
this.filter.validate();
expect(this.showWarning).to.have.been.called;
- expect(this.trigger).to.have.been.calledWith('filters:validation', [{
- isValid: false
- }]);
+ expect(this.trigger).to.have.been.calledWith('filters:validation', [
+ {
+ isValid: false
+ }
+ ]);
});
});
@@ -240,15 +255,27 @@ describe('date filter', function() {
this.filter.setupDateGrid();
// Store these for checking later
- this.$firstRange = this.filter.$elm.find('.date-range__row:first-of-type');
- this.$secondRange = this.filter.$elm.find('.date-range__row:last-of-type');
- this.$dateBegin = this.filter.$grid.find('ul[data-year="2013"] li[data-month="01"]');
- this.$dateEnd = this.filter.$grid.find('ul[data-year="2014"] li[data-month="12"]');
+ this.$firstRange = this.filter.$elm.find(
+ '.date-range__row:first-of-type'
+ );
+ this.$secondRange = this.filter.$elm.find(
+ '.date-range__row:last-of-type'
+ );
+ this.$dateBegin = this.filter.$grid.find(
+ 'ul[data-year="2013"] li[data-month="01"]'
+ );
+ this.$dateEnd = this.filter.$grid.find(
+ 'ul[data-year="2014"] li[data-month="12"]'
+ );
});
it('sets up a date grid with the correct years', function() {
- expect(this.$firstRange.find('.date-range__year').html()).to.equal('2013');
- expect(this.$secondRange.find('.date-range__year').html()).to.equal('2014');
+ expect(this.$firstRange.find('.date-range__year').html()).to.equal(
+ '2013'
+ );
+ expect(this.$secondRange.find('.date-range__year').html()).to.equal(
+ '2014'
+ );
});
it('adds the right classes to all months in the range', function() {
@@ -278,7 +305,9 @@ describe('date filter', function() {
it('adds the correct classes', function() {
expect(this.filter.$grid.attr('class')).to.not.include('pick-max');
expect(this.filter.$grid.attr('class')).to.include('pick-min');
- expect(this.filter.$grid.find('.month--begin').attr('class')).to.include('is-active');
+ expect(this.filter.$grid.find('.month--begin').attr('class')).to.include(
+ 'is-active'
+ );
});
});
@@ -299,7 +328,9 @@ describe('date filter', function() {
it('adds the correct classes', function() {
expect(this.filter.$grid.attr('class')).to.not.include('pick-min');
expect(this.filter.$grid.attr('class')).to.include('pick-max');
- expect(this.filter.$grid.find('.month--end').attr('class')).to.include('is-active');
+ expect(this.filter.$grid.find('.month--end').attr('class')).to.include(
+ 'is-active'
+ );
});
});
@@ -310,32 +341,34 @@ describe('date filter', function() {
this.filter.$minDate.val('01/01/2013');
this.filter.$maxDate.val('12/31/2014');
this.filter.setupDateGrid();
- this.target = this.filter.$grid.find('ul[data-year="2014"] li[data-month="09"] div');
+ this.target = this.filter.$grid.find(
+ 'ul[data-year="2014"] li[data-month="09"] div'
+ );
});
it('sets the date range for a min data selection', function() {
this.filter.$grid.addClass('pick-min');
- this.filter.handleGridItemSelect({target: this.target});
+ this.filter.handleGridItemSelect({ target: this.target });
expect(this.filter.$minDate.val()).to.equal('09/01/2014');
expect(this.filter.$maxDate.val()).to.equal('12/31/2014');
});
it('sets the date range for a max data selection', function() {
this.filter.$grid.addClass('pick-max');
- this.filter.handleGridItemSelect({target: this.target});
+ this.filter.handleGridItemSelect({ target: this.target });
expect(this.filter.$minDate.val()).to.equal('01/01/2013');
expect(this.filter.$maxDate.val()).to.equal('09/30/2014');
});
it('focuses on the max input after selecting a min', function() {
this.filter.$grid.addClass('pick-min');
- this.filter.handleGridItemSelect({target: this.target});
+ this.filter.handleGridItemSelect({ target: this.target });
expect(this.filter.$maxDate.is(document.activeElement)).to.be.true;
});
it('focuses on the submit button after selecting a max', function() {
this.filter.$grid.addClass('pick-max');
- this.filter.handleGridItemSelect({target: this.target});
+ this.filter.handleGridItemSelect({ target: this.target });
expect(this.filter.$submit.is(document.activeElement)).to.be.true;
});
});
diff --git a/fec/fec/tests/js/dropdowns.js b/fec/fec/tests/js/dropdowns.js
index 19698057c0..0c02e63b3a 100644
--- a/fec/fec/tests/js/dropdowns.js
+++ b/fec/fec/tests/js/dropdowns.js
@@ -1,6 +1,6 @@
'use strict';
-/* global require, document, describe, before, beforeEach, after, afterEach, it */
+/* global document, describe, before, beforeEach, after, afterEach, it */
var chai = require('chai');
var sinon = require('sinon');
diff --git a/fec/fec/tests/js/election-search.js b/fec/fec/tests/js/election-search.js
index 9565f2c3fa..98e0182a36 100644
--- a/fec/fec/tests/js/election-search.js
+++ b/fec/fec/tests/js/election-search.js
@@ -1,7 +1,5 @@
'use strict';
-/* global window */
-
var chai = require('chai');
var sinon = require('sinon');
var sinonChai = require('sinon-chai');
@@ -17,8 +15,8 @@ require('./setup')();
_.extend(window, {
context: {
districts: {
- NJ: {state: 'New Jersey', districts: 12},
- VA: {state: 'Virginia', districts: 11}
+ NJ: { state: 'New Jersey', districts: 12 },
+ VA: { state: 'Virginia', districts: 11 }
}
}
});
@@ -38,22 +36,24 @@ describe('election search', function() {
});
beforeEach(function() {
- this.$fixture.empty().append(
- ''
+ );
window.history.pushState({}, null, '/');
this.el = new search.ElectionSearch('#election-lookup');
});
@@ -65,7 +65,8 @@ describe('election search', function() {
it('should memorize its inputs', function() {
expect(this.el.$zip.is($('#election-lookup [name="zip"]'))).to.be.true;
expect(this.el.$state.is($('#election-lookup [name="state"]'))).to.be.true;
- expect(this.el.$district.is($('#election-lookup [name="district"]'))).to.be.true;
+ expect(this.el.$district.is($('#election-lookup [name="district"]'))).to.be
+ .true;
});
it('should disable the district select when state is not set', function() {
@@ -91,24 +92,28 @@ describe('election search', function() {
it('should serialize zip codes', function() {
this.el.$zip.val('22902');
- expect(this.el.serialize()).to.deep.equal({cycle: '2016', zip: '22902'});
+ expect(this.el.serialize()).to.deep.equal({ cycle: '2016', zip: '22902' });
});
it('should serialize state and district inputs', function() {
this.el.$state.val('VA').change();
this.el.$district.val('01');
- expect(this.el.serialize()).to.deep.equal({cycle: '2016', state: 'VA', district: '01'});
+ expect(this.el.serialize()).to.deep.equal({
+ cycle: '2016',
+ state: 'VA',
+ district: '01'
+ });
});
describe('drawing search results', function() {
beforeEach(function() {
this.drawItem = sinon.spy(search.ElectionSearch.prototype, 'drawResult');
this.results = [
- {cycle: 2016, office: 'P', state: 'US'},
- {cycle: 2016, office: 'S', state: 'NJ'},
- {cycle: 2016, office: 'H', state: 'NJ', district: '09'}
+ { cycle: 2016, office: 'P', state: 'US' },
+ { cycle: 2016, office: 'S', state: 'NJ' },
+ { cycle: 2016, office: 'H', state: 'NJ', district: '09' }
];
- this.el.serialized = {cycle: '2016', state: 'NJ', district: '09'};
+ this.el.serialized = { cycle: '2016', state: 'NJ', district: '09' };
});
afterEach(function() {
@@ -122,16 +127,20 @@ describe('election search', function() {
});
it('should show no results warning on no results by zip', function() {
- this.el.serialized = {cycle: '2016', zip: '19041'};
+ this.el.serialized = { cycle: '2016', zip: '19041' };
this.el.draw([]);
- expect(this.el.$resultsItems.text()).to.contain("We can't find any results for this ZIP code");
+ expect(this.el.$resultsItems.text()).to.contain(
+ "We can't find any results for this ZIP code"
+ );
expect(this.el.$resultsTitle.text()).to.equal('');
});
it('should show no results warning on no results by state', function() {
- this.el.serialized = {cycle: '2016', state: 'VI'};
+ this.el.serialized = { cycle: '2016', state: 'VI' };
this.el.draw([]);
- expect(this.el.$resultsItems.text()).to.contain("We can't find any results for this location");
+ expect(this.el.$resultsItems.text()).to.contain(
+ "We can't find any results for this location"
+ );
expect(this.el.$resultsTitle.text()).to.equal('');
});
@@ -139,9 +148,9 @@ describe('election search', function() {
beforeEach(function() {
this.response = {
results: [
- {cycle: 2016, office: 'P', state: 'US'},
- {cycle: 2016, office: 'S', state: 'NJ'},
- {cycle: 2016, office: 'H', state: 'NJ', district: '09'}
+ { cycle: 2016, office: 'P', state: 'US' },
+ { cycle: 2016, office: 'S', state: 'NJ' },
+ { cycle: 2016, office: 'H', state: 'NJ', district: '09' }
]
};
this.deferred = $.Deferred();
@@ -161,8 +170,16 @@ describe('election search', function() {
var call = $.ajax.getCall(0);
var uri = URI(call.args[0].url);
expect(uri.path()).to.equal('/v1/elections/search/');
- expect(URI.parseQuery(uri.search())).to.deep.equal({api_key: '12345', per_page: '100', cycle: '2016', zip: '19041'});
- expect(URI.parseQuery(window.location.search)).to.deep.equal({cycle: '2016', zip: '19041'});
+ expect(URI.parseQuery(uri.search())).to.deep.equal({
+ api_key: '12345',
+ per_page: '100',
+ cycle: '2016',
+ zip: '19041'
+ });
+ expect(URI.parseQuery(window.location.search)).to.deep.equal({
+ cycle: '2016',
+ zip: '19041'
+ });
expect(this.el.draw).to.have.been.calledWith(this.response.results);
});
@@ -175,7 +192,12 @@ describe('election search', function() {
var call = $.ajax.getCall(0);
var uri = URI(call.args[0].url);
expect(uri.path()).to.equal('/v1/elections/search/');
- expect(URI.parseQuery(uri.search())).to.deep.equal({api_key: '12345', per_page: '100', cycle: '2016', zip: '19041'});
+ expect(URI.parseQuery(uri.search())).to.deep.equal({
+ api_key: '12345',
+ per_page: '100',
+ cycle: '2016',
+ zip: '19041'
+ });
});
it('should skip search if missing params', function() {
@@ -187,11 +209,8 @@ describe('election search', function() {
});
it('removes incorrect presidential elections', function() {
- var raw = [
- {cycle: 2018, office: 'P'},
- {cycle: 2018, office: 'S'}
- ];
+ var raw = [{ cycle: 2018, office: 'P' }, { cycle: 2018, office: 'S' }];
var results = this.el.removeWrongPresidentialElections(raw, '2018');
- expect(results).to.deep.equal([{cycle: 2018, office: 'S'}]);
+ expect(results).to.deep.equal([{ cycle: 2018, office: 'S' }]);
});
});
diff --git a/fec/fec/tests/js/line-chart.js b/fec/fec/tests/js/line-chart.js
index 1d56761f51..e94474bc4e 100644
--- a/fec/fec/tests/js/line-chart.js
+++ b/fec/fec/tests/js/line-chart.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require */
-
var chai = require('chai');
var expect = chai.expect;
var sinon = require('sinon');
diff --git a/fec/fec/tests/js/site-nav.js b/fec/fec/tests/js/site-nav.js
index 388d05b352..ff19ddeed6 100644
--- a/fec/fec/tests/js/site-nav.js
+++ b/fec/fec/tests/js/site-nav.js
@@ -1,6 +1,6 @@
'use strict';
-/* global require, describe, before, beforeEach, it */
+/* global describe, before, beforeEach, it */
var chai = require('chai');
var expect = chai.expect;
diff --git a/fec/fec/tests/js/table-switcher.js b/fec/fec/tests/js/table-switcher.js
index 669db38672..f67361d6d3 100644
--- a/fec/fec/tests/js/table-switcher.js
+++ b/fec/fec/tests/js/table-switcher.js
@@ -1,7 +1,5 @@
'use strict';
-/* global require */
-
var chai = require('chai');
var expect = chai.expect;
var sinon = require('sinon');
diff --git a/fec/fec/tests/js/typeahead-filter.js b/fec/fec/tests/js/typeahead-filter.js
index 7d3910b221..be6313add0 100644
--- a/fec/fec/tests/js/typeahead-filter.js
+++ b/fec/fec/tests/js/typeahead-filter.js
@@ -1,6 +1,6 @@
'use strict';
-/* global require, window, describe, before, beforeEach, afterEach, it */
+/* global window, describe, before, beforeEach, afterEach, it */
var $ = require('jquery');
var _ = require('underscore');
diff --git a/package-lock.json b/package-lock.json
index f7989c7dbc..6207bcafac 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -475,28 +475,41 @@
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.0.tgz",
"integrity": "sha512-MW/FjM+IvU9CgBzjO3UIPCE2pyEwUsoFl+VGdczOPEdxfGFjuKny/gN54mOuX7Qxmb9Rg9MCn2oKiSUeW+pjrw=="
},
- "acorn-dynamic-import": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz",
- "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==",
- "dev": true
- },
"acorn-jsx": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz",
- "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==",
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.2.tgz",
+ "integrity": "sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw==",
"dev": true
},
"acorn-node": {
- "version": "1.6.2",
- "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.6.2.tgz",
- "integrity": "sha512-rIhNEZuNI8ibQcL7ANm/mGyPukIaZsRNX9psFNQURyJW0nu6k8wjSDld20z6v2mDBWqX13pIEnk9gGZJHIlEXg==",
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz",
+ "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==",
"dev": true,
"requires": {
- "acorn": "^6.0.2",
- "acorn-dynamic-import": "^4.0.0",
- "acorn-walk": "^6.1.0",
- "xtend": "^4.0.1"
+ "acorn": "^7.0.0",
+ "acorn-walk": "^7.0.0",
+ "xtend": "^4.0.2"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.0.0.tgz",
+ "integrity": "sha512-PaF/MduxijYYt7unVGRuds1vBC9bFxbNf+VWqhOClfdgy7RlVkQqt610ig1/yxTgsDIfW1cWDel5EBbOy3jdtQ==",
+ "dev": true
+ },
+ "acorn-walk": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.0.0.tgz",
+ "integrity": "sha512-7Bv1We7ZGuU79zZbb6rRqcpxo3OY+zrdtloZWoyD8fmGX+FeXRjE+iuGkZjSXLVovLzrsvMGMy0EkwA0E0umxg==",
+ "dev": true
+ },
+ "xtend": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
+ "dev": true
+ }
}
},
"acorn-walk": {
@@ -2240,9 +2253,9 @@
"dev": true
},
"browserify": {
- "version": "16.2.3",
- "resolved": "https://registry.npmjs.org/browserify/-/browserify-16.2.3.tgz",
- "integrity": "sha512-zQt/Gd1+W+IY+h/xX2NYMW4orQWhqSwyV+xsblycTtpOuB27h1fZhhNQuipJ4t79ohw4P4mMem0jp/ZkISQtjQ==",
+ "version": "16.5.0",
+ "resolved": "https://registry.npmjs.org/browserify/-/browserify-16.5.0.tgz",
+ "integrity": "sha512-6bfI3cl76YLAnCZ75AGu/XPOsqUhRyc0F/olGIJeCxtfxF2HvPKEcmjU9M8oAPxl4uBY1U7Nry33Q6koV3f2iw==",
"dev": true,
"requires": {
"JSONStream": "^1.0.3",
@@ -2282,7 +2295,7 @@
"shasum": "^1.0.0",
"shell-quote": "^1.6.1",
"stream-browserify": "^2.0.0",
- "stream-http": "^2.0.0",
+ "stream-http": "^3.0.0",
"string_decoder": "^1.1.1",
"subarg": "^1.0.0",
"syntax-error": "^1.1.1",
@@ -2295,23 +2308,36 @@
"xtend": "^4.0.0"
},
"dependencies": {
- "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"
- }
- },
"punycode": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
"dev": true
+ },
+ "stream-http": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.1.0.tgz",
+ "integrity": "sha512-cuB6RgO7BqC4FBYzmnvhob5Do3wIdIsXAgGycHJnW+981gHqoYcYz9lqjJrk8WXRddbwPuqPYRl+bag6mYv4lw==",
+ "dev": true,
+ "requires": {
+ "builtin-status-codes": "^3.0.0",
+ "inherits": "^2.0.1",
+ "readable-stream": "^3.0.6",
+ "xtend": "^4.0.0"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz",
+ "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==",
+ "dev": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
}
}
},
@@ -2432,9 +2458,9 @@
}
},
"buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz",
- "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==",
+ "version": "5.4.2",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.4.2.tgz",
+ "integrity": "sha512-iy9koArjAFCzGnx3ZvNA6Z0clIbbFgbdWQ0mKD3hO0krOrZh8UgA6qMKcZvwLJxS+D6iVR76+5/pV56yMNYTag==",
"dev": true,
"requires": {
"base64-js": "^1.0.2",
@@ -2660,9 +2686,9 @@
"dev": true
},
"callsites": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz",
- "integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
"dev": true
},
"camel-case": {
@@ -2738,6 +2764,12 @@
"supports-color": "^2.0.0"
}
},
+ "chardet": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
+ "dev": true
+ },
"check-types": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/check-types/-/check-types-7.4.0.tgz",
@@ -3469,6 +3501,12 @@
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.5.tgz",
"integrity": "sha1-vhq6aoT7ZlMoOz6+u39XDjvaGH4="
},
+ "dash-ast": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz",
+ "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==",
+ "dev": true
+ },
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@@ -4335,53 +4373,66 @@
}
},
"eslint": {
- "version": "5.14.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.14.1.tgz",
- "integrity": "sha512-CyUMbmsjxedx8B0mr79mNOqetvkbij/zrXnFeK2zc3pGRn3/tibjiNAv/3UxFEyfMDjh+ZqTrJrEGBFiGfD5Og==",
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.2.1.tgz",
+ "integrity": "sha512-ES7BzEzr0Q6m5TK9i+/iTpKjclXitOdDK4vT07OqbkBT2/VcN/gO9EL1C4HlK3TAOXYv2ItcmbVR9jO1MR0fJg==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
- "ajv": "^6.9.1",
+ "ajv": "^6.10.0",
"chalk": "^2.1.0",
"cross-spawn": "^6.0.5",
"debug": "^4.0.1",
"doctrine": "^3.0.0",
- "eslint-scope": "^4.0.0",
- "eslint-utils": "^1.3.1",
- "eslint-visitor-keys": "^1.0.0",
- "espree": "^5.0.1",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^1.4.2",
+ "eslint-visitor-keys": "^1.1.0",
+ "espree": "^6.1.0",
"esquery": "^1.0.1",
"esutils": "^2.0.2",
"file-entry-cache": "^5.0.1",
"functional-red-black-tree": "^1.0.1",
- "glob": "^7.1.2",
+ "glob-parent": "^5.0.0",
"globals": "^11.7.0",
"ignore": "^4.0.6",
"import-fresh": "^3.0.0",
"imurmurhash": "^0.1.4",
- "inquirer": "^6.2.2",
- "js-yaml": "^3.12.0",
+ "inquirer": "^6.4.1",
+ "is-glob": "^4.0.0",
+ "js-yaml": "^3.13.1",
"json-stable-stringify-without-jsonify": "^1.0.1",
"levn": "^0.3.0",
- "lodash": "^4.17.11",
+ "lodash": "^4.17.14",
"minimatch": "^3.0.4",
"mkdirp": "^0.5.1",
"natural-compare": "^1.4.0",
"optionator": "^0.8.2",
- "path-is-inside": "^1.0.2",
"progress": "^2.0.0",
"regexpp": "^2.0.1",
- "semver": "^5.5.1",
- "strip-ansi": "^4.0.0",
- "strip-json-comments": "^2.0.1",
+ "semver": "^6.1.2",
+ "strip-ansi": "^5.2.0",
+ "strip-json-comments": "^3.0.1",
"table": "^5.2.3",
- "text-table": "^0.2.0"
+ "text-table": "^0.2.0",
+ "v8-compile-cache": "^2.0.3"
},
"dependencies": {
+ "ajv": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
+ "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
+ "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"
+ }
+ },
"ansi-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
"dev": true
},
"ansi-styles": {
@@ -4413,25 +4464,51 @@
"ms": "^2.1.1"
}
},
+ "glob-parent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
+ "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
+ "dev": true,
+ "requires": {
+ "is-glob": "^4.0.1"
+ },
+ "dependencies": {
+ "is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dev": true,
+ "requires": {
+ "is-extglob": "^2.1.1"
+ }
+ }
+ }
+ },
"globals": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz",
- "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==",
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
"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==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"dev": true
},
"strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"dev": true,
"requires": {
- "ansi-regex": "^3.0.0"
+ "ansi-regex": "^4.1.0"
}
},
"supports-color": {
@@ -4484,9 +4561,9 @@
}
},
"eslint-loader": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/eslint-loader/-/eslint-loader-2.1.2.tgz",
- "integrity": "sha512-rA9XiXEOilLYPOIInvVH5S/hYfyTPyxag6DZhoQOduM+3TkghAEQ3VcFO8VnX4J4qg/UIBzp72aOf/xvYmpmsg==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-loader/-/eslint-loader-2.2.1.tgz",
+ "integrity": "sha512-RLgV9hoCVsMLvOxCuNjdqOrUqIj9oJg8hF44vzJaYqsAHuY9G2YAeN3joQ9nxP0p5Th9iFSIpKo+SD8KISxXRg==",
"dev": true,
"requires": {
"loader-fs-cache": "^1.0.0",
@@ -4497,9 +4574,9 @@
}
},
"eslint-module-utils": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.3.0.tgz",
- "integrity": "sha512-lmDJgeOOjk8hObTysjqH7wyMi+nsHwwvfBykwfhjR1LNdd7C2uFJBvx4OpWYpXOw4df1yE1cDEVd1yLHitk34w==",
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz",
+ "integrity": "sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==",
"dev": true,
"requires": {
"debug": "^2.6.8",
@@ -4518,21 +4595,22 @@
}
},
"eslint-plugin-import": {
- "version": "2.16.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.16.0.tgz",
- "integrity": "sha512-z6oqWlf1x5GkHIFgrSvtmudnqM6Q60KM4KvpWi5ubonMjycLjndvd5+8VAZIsTlHC03djdgJuyKG6XO577px6A==",
+ "version": "2.18.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz",
+ "integrity": "sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==",
"dev": true,
"requires": {
+ "array-includes": "^3.0.3",
"contains-path": "^0.1.0",
"debug": "^2.6.9",
"doctrine": "1.5.0",
"eslint-import-resolver-node": "^0.3.2",
- "eslint-module-utils": "^2.3.0",
+ "eslint-module-utils": "^2.4.0",
"has": "^1.0.3",
- "lodash": "^4.17.11",
"minimatch": "^3.0.4",
+ "object.values": "^1.1.0",
"read-pkg-up": "^2.0.0",
- "resolve": "^1.9.0"
+ "resolve": "^1.11.0"
},
"dependencies": {
"debug": {
@@ -4653,6 +4731,15 @@
"find-up": "^2.0.0",
"read-pkg": "^2.0.0"
}
+ },
+ "resolve": {
+ "version": "1.12.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz",
+ "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==",
+ "dev": true,
+ "requires": {
+ "path-parse": "^1.0.6"
+ }
}
}
},
@@ -4672,18 +4759,20 @@
}
},
"eslint-plugin-react": {
- "version": "7.12.4",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.12.4.tgz",
- "integrity": "sha512-1puHJkXJY+oS1t467MjbqjvX53uQ05HXwjqDgdbGBqf5j9eeydI54G3KwiJmWciQ0HTBacIKw2jgwSBSH3yfgQ==",
+ "version": "7.14.3",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz",
+ "integrity": "sha512-EzdyyBWC4Uz2hPYBiEJrKCUi2Fn+BJ9B/pJQcjw5X+x/H2Nm59S4MJIvL4O5NEE0+WbnQwEBxWY03oUk+Bc3FA==",
"dev": true,
"requires": {
"array-includes": "^3.0.3",
"doctrine": "^2.1.0",
"has": "^1.0.3",
- "jsx-ast-utils": "^2.0.1",
+ "jsx-ast-utils": "^2.1.0",
+ "object.entries": "^1.1.0",
"object.fromentries": "^2.0.0",
- "prop-types": "^15.6.2",
- "resolve": "^1.9.0"
+ "object.values": "^1.1.0",
+ "prop-types": "^15.7.2",
+ "resolve": "^1.10.1"
},
"dependencies": {
"doctrine": {
@@ -4694,13 +4783,22 @@
"requires": {
"esutils": "^2.0.2"
}
+ },
+ "resolve": {
+ "version": "1.12.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz",
+ "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==",
+ "dev": true,
+ "requires": {
+ "path-parse": "^1.0.6"
+ }
}
}
},
"eslint-scope": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.2.tgz",
- "integrity": "sha512-5q1+B/ogmHl8+paxtOKx38Z8LtWkVGuNt3+GQNErqwLl6ViNp/gdJGMCjZNxZ8j/VYjDNZ2Fo+eQc1TAVPIzbg==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
+ "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
"dev": true,
"requires": {
"esrecurse": "^4.1.0",
@@ -4708,26 +4806,37 @@
}
},
"eslint-utils": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz",
- "integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==",
- "dev": true
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
+ "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
+ "dev": true,
+ "requires": {
+ "eslint-visitor-keys": "^1.0.0"
+ }
},
"eslint-visitor-keys": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
- "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+ "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
"dev": true
},
"espree": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
- "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.0.tgz",
+ "integrity": "sha512-boA7CHRLlVWUSg3iL5Kmlt/xT3Q+sXnKoRYYzj1YeM10A76TEJBbotV5pKbnK42hEUIr121zTv+QLRM5LsCPXQ==",
"dev": true,
"requires": {
- "acorn": "^6.0.7",
+ "acorn": "^7.0.0",
"acorn-jsx": "^5.0.0",
- "eslint-visitor-keys": "^1.0.0"
+ "eslint-visitor-keys": "^1.1.0"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.0.0.tgz",
+ "integrity": "sha512-PaF/MduxijYYt7unVGRuds1vBC9bFxbNf+VWqhOClfdgy7RlVkQqt610ig1/yxTgsDIfW1cWDel5EBbOy3jdtQ==",
+ "dev": true
+ }
}
},
"esprima": {
@@ -5032,6 +5141,17 @@
"is-extendable": "^0.1.0"
}
},
+ "external-editor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "dev": true,
+ "requires": {
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
+ }
+ },
"extglob": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
@@ -7384,9 +7504,9 @@
"integrity": "sha1-E7TTyxK++hVIKib+Gy665kAHHks="
},
"import-fresh": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz",
- "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz",
+ "integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==",
"dev": true,
"requires": {
"parent-module": "^1.0.0",
@@ -7450,10 +7570,16 @@
"source-map": "~0.5.3"
}
},
+ "inputmask": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/inputmask/-/inputmask-4.0.8.tgz",
+ "integrity": "sha512-y7TbHasd4tGgOxk1PBF6zZLBzfKt3a5qySF3KuKVNaeuptDpp52jhYOmw1tBJwRxrpJ4s+BOFmWKYsQqjp+r/w==",
+ "dev": true
+ },
"inquirer": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz",
- "integrity": "sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA==",
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz",
+ "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==",
"dev": true,
"requires": {
"ansi-escapes": "^3.2.0",
@@ -7462,19 +7588,19 @@
"cli-width": "^2.0.0",
"external-editor": "^3.0.3",
"figures": "^2.0.0",
- "lodash": "^4.17.11",
+ "lodash": "^4.17.12",
"mute-stream": "0.0.7",
"run-async": "^2.2.0",
"rxjs": "^6.4.0",
"string-width": "^2.1.0",
- "strip-ansi": "^5.0.0",
+ "strip-ansi": "^5.1.0",
"through": "^2.3.6"
},
"dependencies": {
"ansi-regex": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz",
- "integrity": "sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
"dev": true
},
"ansi-styles": {
@@ -7497,30 +7623,13 @@
"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
- },
- "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"
- }
- },
"strip-ansi": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz",
- "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"dev": true,
"requires": {
- "ansi-regex": "^4.0.0"
+ "ansi-regex": "^4.1.0"
}
},
"supports-color": {
@@ -7550,20 +7659,6 @@
"through2": "^2.0.0",
"undeclared-identifiers": "^1.1.2",
"xtend": "^4.0.0"
- },
- "dependencies": {
- "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"
- }
- }
}
},
"interpret": {
@@ -8445,12 +8540,13 @@
}
},
"jsx-ast-utils": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz",
- "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz",
+ "integrity": "sha512-v3FxCcAf20DayI+uxnCuw795+oOIkVu6EnJ1+kSzhqqTZHNkTZ7B66ZgLp4oLJ/gbA64cI0B7WRoHZMSRdyVRQ==",
"dev": true,
"requires": {
- "array-includes": "^3.0.3"
+ "array-includes": "^3.0.3",
+ "object.assign": "^4.1.0"
}
},
"just-debounce": {
@@ -8645,22 +8741,13 @@
}
},
"labeled-stream-splicer": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.1.tgz",
- "integrity": "sha512-MC94mHZRvJ3LfykJlTUipBqenZz1pacOZEMhhQ8dMGcDHs0SBE5GbsavUXV7YtP3icBW17W0Zy1I0lfASmo9Pg==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz",
+ "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==",
"dev": true,
"requires": {
"inherits": "^2.0.1",
- "isarray": "^2.0.4",
"stream-splicer": "^2.0.0"
- },
- "dependencies": {
- "isarray": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.4.tgz",
- "integrity": "sha512-GMxXOiUirWg1xTKRipM0Ek07rX+ubx4nNVElTJdNLYmNO/2YrDkgJGw9CljXn+r4EWiDQg/8lsRdHyg2PJuUaA==",
- "dev": true
- }
}
},
"last-run": {
@@ -8761,9 +8848,9 @@
}
},
"loader-fs-cache": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.1.tgz",
- "integrity": "sha1-VuC/CL2XCLJqdltoUJhAyN7J/bw=",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.2.tgz",
+ "integrity": "sha512-70IzT/0/L+M20jUlEqZhZyArTU6VKLRTYRDAYN26g4jfzpJqjipLL3/hgYpySqI9PwsVRHHFja0LfEmsx9X2Cw==",
"dev": true,
"requires": {
"find-cache-dir": "^0.1.1",
@@ -9733,14 +9820,14 @@
"dev": true
},
"module-deps": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.0.tgz",
- "integrity": "sha512-hKPmO06so6bL/ZvqVNVqdTVO8UAYsi3tQWlCa+z9KuWhoN4KDQtb5hcqQQv58qYiDE21wIvnttZEPiDgEbpwbA==",
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.1.tgz",
+ "integrity": "sha512-UnEn6Ah36Tu4jFiBbJVUtt0h+iXqxpLqDvPS8nllbw5RZFmNJ1+Mz5BjYnM9ieH80zyxHkARGLnMIHlPK5bu6A==",
"dev": true,
"requires": {
"JSONStream": "^1.0.3",
"browser-resolve": "^1.7.0",
- "cached-path-relative": "^1.0.0",
+ "cached-path-relative": "^1.0.2",
"concat-stream": "~1.6.0",
"defined": "^1.0.0",
"detective": "^5.0.2",
@@ -9753,20 +9840,6 @@
"subarg": "^1.0.0",
"through2": "^2.0.0",
"xtend": "^4.0.0"
- },
- "dependencies": {
- "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"
- }
- }
}
},
"moment": {
@@ -10881,9 +10954,9 @@
}
},
"parent-module": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.0.tgz",
- "integrity": "sha512-8Mf5juOMmiE4FcmzYc4IaiS9L3+9paz2KOiXzkRviCP6aDmN49Hz6EMWz0lGNp9pX80GvvAuLADtyGfW/Em3TA==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
"dev": true,
"requires": {
"callsites": "^3.0.0"
@@ -11037,12 +11110,6 @@
"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",
@@ -12097,9 +12164,9 @@
}
},
"rxjs": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz",
- "integrity": "sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==",
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
+ "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
"dev": true,
"requires": {
"tslib": "^1.9.0"
@@ -12905,9 +12972,9 @@
"dev": true
},
"stream-splicer": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.0.tgz",
- "integrity": "sha1-G2O+Q4oTPktnHMGTUZdgAXWRDYM=",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz",
+ "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==",
"dev": true,
"requires": {
"inherits": "^2.0.1",
@@ -13080,9 +13147,9 @@
}
},
"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=",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+ "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
"dev": true
},
"subarg": {
@@ -13193,41 +13260,53 @@
}
},
"table": {
- "version": "5.2.3",
- "resolved": "https://registry.npmjs.org/table/-/table-5.2.3.tgz",
- "integrity": "sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ==",
+ "version": "5.4.6",
+ "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
+ "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
"dev": true,
"requires": {
- "ajv": "^6.9.1",
- "lodash": "^4.17.11",
+ "ajv": "^6.10.2",
+ "lodash": "^4.17.14",
"slice-ansi": "^2.1.0",
"string-width": "^3.0.0"
},
"dependencies": {
+ "ajv": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
+ "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
+ "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"
+ }
+ },
"ansi-regex": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz",
- "integrity": "sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
"dev": true
},
"string-width": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.0.0.tgz",
- "integrity": "sha512-rr8CUxBbvOZDUvc5lNIJ+OC1nPVpz+Siw9VBtUjB9b6jZehZLFt0JMCZzShFHIsI8cbhm0EsNIfWJMFV3cu3Ew==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
"dev": true,
"requires": {
"emoji-regex": "^7.0.1",
"is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.0.0"
+ "strip-ansi": "^5.1.0"
}
},
"strip-ansi": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz",
- "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"dev": true,
"requires": {
- "ansi-regex": "^4.0.0"
+ "ansi-regex": "^4.1.0"
}
}
}
@@ -13547,9 +13626,9 @@
"dev": true
},
"tslib": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
- "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
+ "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",
"dev": true
},
"tty-browserify": {
@@ -13723,12 +13802,13 @@
"dev": true
},
"undeclared-identifiers": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz",
- "integrity": "sha512-13EaeocO4edF/3JKime9rD7oB6QI8llAGhgn5fKOPyfkJbRb6NFv9pYV6dFEmpa4uRjKeBqLZP8GpuzqHlKDMQ==",
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz",
+ "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==",
"dev": true,
"requires": {
"acorn-node": "^1.3.0",
+ "dash-ast": "^1.0.0",
"get-assigned-identifiers": "^1.2.0",
"simple-concat": "^1.0.0",
"xtend": "^4.0.1"
@@ -13949,6 +14029,12 @@
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
"integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
},
+ "v8-compile-cache": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
+ "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
+ "dev": true
+ },
"v8flags": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.2.tgz",
diff --git a/package.json b/package.json
index b325176ba8..1277cc9351 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"fullcalendar": "3.3.1",
"glossary-panel": "1.0.0",
"jquery": "^3.4.1",
- "jquery.inputmask": "3.3.4",
+ "jquery.inputmask": "^3.3.4",
"leaflet-providers": "1.8.0 ",
"lodash": "^4.17.14",
"minimatch": "^3.0.4",
@@ -71,20 +71,20 @@
"babel-preset-react": "^6.23.0",
"babelify": "^7.3.0",
"braces": "^2.3.2",
- "browserify": "^16.2.3",
+ "browserify": "^16.5.0",
"browserify-istanbul": "^3.0.1",
"cache-loader": "^1.2.5",
"chai": "^3.4.1",
"clean-webpack-plugin": "^0.1.16",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.9.1",
- "eslint": "^5.14.1",
+ "eslint": "^6.2.1",
"eslint-config-prettier": "^4.0.0",
- "eslint-loader": "^2.1.2",
- "eslint-plugin-import": "^2.16.0",
+ "eslint-loader": "^2.2.1",
+ "eslint-plugin-import": "^2.18.2",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-prettier": "^3.0.1",
- "eslint-plugin-react": "^7.12.4",
+ "eslint-plugin-react": "^7.14.3",
"fs": "0.0.1-security",
"gulp": "^4.0.0",
"gulp-clean": "^0.4.0",
@@ -144,7 +144,7 @@
"browserslist": "last 2 versions, > 1%, IE 10",
"engines": {
"node": "10.16.0",
- "npm": "6.9.2"
+ "npm": "6.10.2"
},
"license": "CC0-1.0"
}