Skip to content

Commit a40b56f

Browse files
authored
Merge pull request #466 from devinit/development
release/v3.4.2
2 parents 1623bb4 + 1280bef commit a40b56f

File tree

28 files changed

+2610
-961
lines changed

28 files changed

+2610
-961
lines changed

package-lock.json

Lines changed: 2094 additions & 712 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devinit/dh-app",
3-
"version": "3.4.1",
3+
"version": "3.4.2",
44
"config": {
55
"API": "http://212.111.41.68:3000/graphql",
66
"API_DEV": "http://212.111.41.68:9090/graphql",
@@ -52,27 +52,27 @@
5252
"apollo-client-preset": "1.0.8",
5353
"apollo-fetch": "0.7.0",
5454
"compression": "^1.7.3",
55-
"express": "4.16.3",
55+
"express": "^4.16.4",
5656
"glamor": "2.20.40",
5757
"glamorous": "^4.13.1",
5858
"graphql": "0.13.2",
59-
"graphql-tag": "^2.9.2",
59+
"graphql-tag": "^2.10.0",
6060
"intersection-observer": "0.5.0",
6161
"intro.js": "^2.9.3",
6262
"isomorphic-fetch": "2.2.1",
63-
"localforage": "1.5.7",
63+
"localforage": "^1.7.3",
6464
"lru-cache": "^4.1.3",
6565
"mapbox-gl": "0.44.1",
6666
"next": "^5.1.0",
67-
"ramda": "0.25.0",
68-
"react": "^16.4.2",
67+
"ramda": "^0.26.1",
68+
"react": "^16.6.3",
6969
"react-apollo": "2.0.4",
7070
"react-beautiful-dnd": "6.0.2",
71-
"react-dom": "^16.4.2",
71+
"react-dom": "^16.6.3",
7272
"react-intersection-observer": "3.0.3",
7373
"react-redux": "5.0.7",
7474
"redux": "3.7.2",
75-
"semantic-ui-react": "^0.82.0"
75+
"semantic-ui-react": "^0.84.0"
7676
},
7777
"devDependencies": {
7878
"@storybook/addon-actions": "3.3.15",
@@ -84,32 +84,32 @@
8484
"@types/jest": "22.2.3",
8585
"@types/next": "2.4.9",
8686
"@types/node": "9.6.6",
87-
"@types/ramda": "0.25.24",
87+
"@types/ramda": "^0.25.42",
8888
"@types/react": "^16.4.11",
8989
"@types/react-beautiful-dnd": "6.0.1",
90-
"@types/react-redux": "^6.0.6",
90+
"@types/react-redux": "^6.0.11",
9191
"@types/storybook__react": "^3.0.9",
9292
"@zeit/next-typescript": "0.1.1",
93-
"apollo-codegen": "0.19.0",
93+
"apollo-codegen": "^0.20.2",
9494
"concurrently": "^3.6.1",
9595
"csso": "^3.5.1",
9696
"cypress": "2.1.0",
9797
"cypress-eslint": "1.1.0",
98-
"enzyme": "3.3.0",
99-
"enzyme-adapter-react-16": "1.1.1",
98+
"enzyme": "^3.7.0",
99+
"enzyme-adapter-react-16": "^1.7.0",
100100
"eslint": "4.19.1",
101101
"eslint-config-airbnb-base": "12.1.0",
102102
"eslint-plugin-chai-friendly": "0.4.1",
103-
"eslint-plugin-cypress": "2.0.1",
104-
"eslint-plugin-import": "^2.13.0",
105-
"fork-ts-checker-webpack-plugin": "0.4.1",
103+
"eslint-plugin-cypress": "^2.1.2",
104+
"eslint-plugin-import": "^2.14.0",
105+
"fork-ts-checker-webpack-plugin": "^0.5.0",
106106
"fs-extra": "5.0.0",
107107
"git-pre-hooks": "1.2.0",
108108
"happypack": "4.0.1",
109109
"jest": "22.4.3",
110110
"jest-cli": "22.4.3",
111111
"jsdom": "11.6.2",
112-
"nodemon": "^1.18.3",
112+
"nodemon": "^1.18.7",
113113
"pre-commit": "^1.2.2",
114114
"pretty-format": "22.4.3",
115115
"progress-bar-webpack-plugin": "1.11.0",
@@ -119,7 +119,7 @@
119119
"ts-loader": "3.5.0",
120120
"ts-node": "5.0.1",
121121
"tslint": "^5.11.0",
122-
"tslint-eslint-rules": "^5.3.1",
122+
"tslint-eslint-rules": "^5.4.0",
123123
"tslint-microsoft-contrib": "^5.1.0",
124124
"tslint-react": "^3.6.0",
125125
"typescript": "2.8.3",

pages/kenya.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import withData from '../src/components/WithData';
44
import { StateToShare } from '../src/components/molecules/ChartShare';
55
import App from '../src/components/templates/RegionalProfile';
66

7-
interface Props {
7+
interface Props {
88
url: {
99
pathname: string;
1010
query: { id: string, state: StateToShare};
@@ -18,11 +18,12 @@ if (typeof window !== 'undefined') {
1818
}
1919

2020
export default withData((props: Props) =>
21-
(<App
21+
<App
2222
id={ props.url.query.id }
2323
state={ props.url.query.state }
2424
currencyCode="KES"
2525
currencyUSD="constant 2015 USD"
2626
country="kenya"
2727
supportLocalCurrencyOnly={ false }
28-
/>));
28+
/>
29+
);

src/apollo/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const cache = () => new InMemoryCache({
2727
const persist = async () => {
2828
const persistor = new CachePersistor({
2929
cache: cache(),
30-
storage: localforage
30+
storage: localforage as any
3131
});
3232
// Read the current schema version from AsyncStorage.
3333
const currentVersion = await localforage.getItem(SCHEMA_VERSION_KEY);

src/components/MethodologyData/global-picture.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
{
77
name: '% of people in the P20',
88
description:
9-
'The percentage of population of each country who are in the global poorest 20%. 2013 represents the most recent year data is available',
9+
'The percentage of population of each country who are in the global poorest 20%. 2015 represents the most recent year data is available. Data only available for years where P20 is currently defined.',
1010
methodology: '',
1111
uom: 'percent',
1212
csv:
@@ -22,7 +22,7 @@ export default {
2222
{
2323
name: '% of population living in extreme poverty',
2424
description:
25-
"Extreme poverty is defined as living on less than $1.90 a day. It is calculated using the national poverty lines of some of the world's poorest countries at 2011 PPP$. 2013 represents the most recent year data is available.",
25+
"Extreme poverty is defined as living on less than $1.90 a day. It is calculated using the national poverty lines of some of the world's poorest countries at 2011 PPP$. Interpolations are used to estimate poverty values for years which do not have data available. 2015 represents the most recent year data is available.",
2626
methodology: '',
2727
uom: 'percent',
2828
csv:
@@ -37,7 +37,7 @@ export default {
3737
{
3838
name: '% of population living on less than $3.10 a day',
3939
description:
40-
'Data for those living under $3.10 a day illustrates that while many people are not in extreme poverty (less than $1.90 a day) they are still very poor. 2013 represents the most recent year data is available.',
40+
'Data for those living under $3.10 a day illustrates that while many people are not in extreme poverty (less than $1.90 a day) they are still very poor. Interpolations are used to estimate poverty values for years which do not have data available. 2015 represents the most recent year data is available.',
4141
methodology: '',
4242
uom: 'percent',
4343
csv:
@@ -136,7 +136,7 @@ export default {
136136
source: {
137137
name:
138138
'Notre Dame Global Adaptation Index (ND-GAIN) vulnerability score.',
139-
link: 'http://index.gain.org/'
139+
link: 'https://gain.nd.edu/our-work/country-index/'
140140
}
141141
},
142142
{
@@ -757,7 +757,7 @@ export default {
757757
{
758758
name: 'Funding proceeds to Gavi, the Vaccine Alliance, US$',
759759
description:
760-
'The vast majority of official development assistance (ODA) to pneumonia disbursed over the last decade is reported to be from Gavi, the Vaccines Alliance. This data shows donor proceeds to Gavi and includes funding in the form of direct contributions, long-term pledges to the International Finance Facility for Immunisation, Advance Market Commitment and Gavi Matching Fund. A proportion of this funding received by Gavi will, in turn, be spent on pneumonia-relevant vaccines.',
760+
'The vast majority of official development assistance (ODA) to pneumonia disbursed over the last decade is reported to be from Gavi, the Vaccines Alliance. This data shows donor proceeds to Gavi and includes funding in the form of direct contributions, long-term pledges to the International Finance Facility for Immunisation, Advance Market Commitment and Gavi Matching Fund. A proportion of this funding received by Gavi will, in turn, be directed towards pneumonia-relevant vaccines.',
761761
methodology: '',
762762
uom: 'constant 2015 US$',
763763
csv:

0 commit comments

Comments
 (0)