Skip to content

Commit

Permalink
Upgrade ramda to 0.29.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-friedl committed Apr 3, 2024
1 parent d5444b3 commit 03eeaac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@parse/node-apn": "5.2.3",
"node-adm": "0.9.1",
"node-gcm": "1.1.3",
"ramda": "0.28.0",
"ramda": "0.29.1",
"web-push": "3.6.7",
"wns": "0.5.4"
},
Expand Down
2 changes: 1 addition & 1 deletion src/sendAPN.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const extractExpiry = R.cond([

const getPropValueOrUndefinedIfIsSilent = (propName, data) =>
R.ifElse(
R.propEq('silent', true),
R.propEq(true, 'silent'),
R.always(undefined),
R.prop(propName)
)(data);
Expand Down
2 changes: 1 addition & 1 deletion src/sendGCM.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const containsValidRecipients = R.either(
);

const propValueToSingletonArray = (propName) =>
R.compose(R.of, R.prop(propName));
R.compose(R.of(Array), R.prop(propName));

const getRecipientList = R.cond([
[R.has('registrationTokens'), R.prop('registrationTokens')],
Expand Down

0 comments on commit 03eeaac

Please sign in to comment.