Unverified Commit 2d932a79 authored by Karishma Chadha's avatar Karishma Chadha Committed by GitHub

Merge pull request #5002 from LLK/hotfix/dependency-updates

[Develop] Hotfix/dependency updates
parents b62a6cb7 817860b2
...@@ -6,7 +6,6 @@ group: deprecated-2017Q4 ...@@ -6,7 +6,6 @@ group: deprecated-2017Q4
cache: cache:
directories: directories:
- /home/travis/virtualenv/python2.7/lib/python2.7/site-packages - /home/travis/virtualenv/python2.7/lib/python2.7/site-packages
- node_modules
notifications: notifications:
slack: slack:
secure: ezESiG7JnuSLZc2/PPhOvWUv5BHBCr+g86MsuLLw+S+zz3DUfzWHMQ1g5tUvkeSDTPmfEIX41EnPkaoWtsD3OGO0PGXgseAfA8+6Z4N1rICNZZrhXZB2s6UdwRK1e+0Jol4W3kHmt96BHyN2scLNgJYeWMgSJllVsuPhMTlKBZIXI9u540NH8Nxjl3f2WvoIg64Q1mZvMxkpPbw4xssx6U4HSFE8kTTE6+EFsSxzombFX0cLGjPiJ9QZgGVUk4UkIjyiFLQQDfQlLllCaUpqJ9+qbuCNoMSKA2yty/qyZ8Y+r4OlMberjmBzR9GRLLyXWWcaAfMIgwlRhjtLYIDAUSsGM1iwUWCgyB9maG2IiXuYLSueuMx8DcDwbpUepoDgnqBYnM2AJmT8gcsxqlKYzJpYpHDgZgBlLZQgMXqjrVJHs/Tf9XVcLS6HAn1Ww0OOT01jThfy4gClpAuqLayYexsXOoL+RaFg25E2NzuTtaFWgRfWZgcAeqYNDiUzwun2D4vZ5I+NtdRP0gzpbG2fxhFz05vAqyf1Kp6ZYb17Li3A38dIm6Lsvv3qawAIAgNaZpIZX3f89+uq6jHU8kJy1Iv823JK2Xac3vEz3SHUKJnuXFF0LO07om9AcNEXhP/JrJ617S8nfvDtZRJODMFhz8qQwie+65Ql1I871goBpVs= secure: ezESiG7JnuSLZc2/PPhOvWUv5BHBCr+g86MsuLLw+S+zz3DUfzWHMQ1g5tUvkeSDTPmfEIX41EnPkaoWtsD3OGO0PGXgseAfA8+6Z4N1rICNZZrhXZB2s6UdwRK1e+0Jol4W3kHmt96BHyN2scLNgJYeWMgSJllVsuPhMTlKBZIXI9u540NH8Nxjl3f2WvoIg64Q1mZvMxkpPbw4xssx6U4HSFE8kTTE6+EFsSxzombFX0cLGjPiJ9QZgGVUk4UkIjyiFLQQDfQlLllCaUpqJ9+qbuCNoMSKA2yty/qyZ8Y+r4OlMberjmBzR9GRLLyXWWcaAfMIgwlRhjtLYIDAUSsGM1iwUWCgyB9maG2IiXuYLSueuMx8DcDwbpUepoDgnqBYnM2AJmT8gcsxqlKYzJpYpHDgZgBlLZQgMXqjrVJHs/Tf9XVcLS6HAn1Ww0OOT01jThfy4gClpAuqLayYexsXOoL+RaFg25E2NzuTtaFWgRfWZgcAeqYNDiUzwun2D4vZ5I+NtdRP0gzpbG2fxhFz05vAqyf1Kp6ZYb17Li3A38dIm6Lsvv3qawAIAgNaZpIZX3f89+uq6jHU8kJy1Iv823JK2Xac3vEz3SHUKJnuXFF0LO07om9AcNEXhP/JrJ617S8nfvDtZRJODMFhz8qQwie+65Ql1I871goBpVs=
...@@ -108,16 +107,9 @@ addons: ...@@ -108,16 +107,9 @@ addons:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-4.8 - g++-4.8
before_install:
# package-lock.json was introduced in npm@5
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
- npm install -g greenkeeper-lockfile
install: install:
- sudo -H pip install -r requirements.txt - sudo -H pip install -r requirements.txt
- npm --production=false install - npm --production=false ci
- npm --production=false --legacy-peer-deps update
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
jobs: jobs:
include: include:
- stage: test - stage: test
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -448,7 +448,7 @@ class DemographicsStep extends React.Component { ...@@ -448,7 +448,7 @@ class DemographicsStep extends React.Component {
})); }));
} }
getYearOptions () { getYearOptions () {
return Array.apply(null, Array(100)).map((v, id) => { return Array(...Array(100)).map((v, id) => {
const year = (new Date().getFullYear() - (id + this.props.birthOffset)).toString(); const year = (new Date().getFullYear() - (id + this.props.birthOffset)).toString();
return {value: year, label: year}; return {value: year, label: year};
}); });
......
...@@ -6,7 +6,7 @@ require('./stepnavigation.scss'); ...@@ -6,7 +6,7 @@ require('./stepnavigation.scss');
const StepNavigation = props => ( const StepNavigation = props => (
<ul className={classNames('step-navigation', props.className)}> <ul className={classNames('step-navigation', props.className)}>
{Array.apply(null, Array(props.steps)).map((v, step) => ( {Array(...Array(props.steps)).map((v, step) => (
<li <li
className={classNames({ className={classNames({
active: step < props.active, active: step < props.active,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment