Skip to content

Commit d389481

Browse files
authored
Merge pull request #202 from appfeel/dev/bump-deps
Bump dependencies
2 parents 99b1db7 + 03eeaac commit d389481

File tree

4 files changed

+27
-43
lines changed

4 files changed

+27
-43
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
"@parse/node-apn": "5.2.3",
5555
"node-adm": "0.9.1",
5656
"node-gcm": "1.1.3",
57-
"ramda": "0.28.0",
58-
"web-push": "3.6.6",
57+
"ramda": "0.29.1",
58+
"web-push": "3.6.7",
5959
"wns": "0.5.4"
6060
},
6161
"devDependencies": {

src/sendAPN.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const extractExpiry = R.cond([
1515

1616
const getPropValueOrUndefinedIfIsSilent = (propName, data) =>
1717
R.ifElse(
18-
R.propEq('silent', true),
18+
R.propEq(true, 'silent'),
1919
R.always(undefined),
2020
R.prop(propName)
2121
)(data);

src/sendGCM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const containsValidRecipients = R.either(
2121
);
2222

2323
const propValueToSingletonArray = (propName) =>
24-
R.compose(R.of, R.prop(propName));
24+
R.compose(R.of(Array), R.prop(propName));
2525

2626
const getRecipientList = R.cond([
2727
[R.has('registrationTokens'), R.prop('registrationTokens')],

0 commit comments

Comments
 (0)