Skip to content

Fix npm audit vulnerabilities and update to @emotion#103

Closed
JEStaubach wants to merge 4 commits intoapollographql:masterfrom
JEStaubach:npm-audit-fixes
Closed

Fix npm audit vulnerabilities and update to @emotion#103
JEStaubach wants to merge 4 commits intoapollographql:masterfrom
JEStaubach:npm-audit-fixes

Conversation

@JEStaubach
Copy link
Copy Markdown

package*.json
Fixes #75 deprecated version of kleur via npm audit fixes.

datasources/user.js
Fixes #62 is breaking when this.context.user is undefined. It
is unclear why this only showed up after updating dependencies...

package*.json
Fixes apollographql#75 deprecated version of kleur via npm audit fixes.

datasources/user.js
Fixes apollographql#62 is breaking when this.context.user is undefined. It
is unclear why this only showed up after updating dependencies...
audit fix dependencies for start client and server
replace react-emtion with @emotion
Handle when context.user.id is undefined and userId
which is no longer used.
@JEStaubach JEStaubach changed the title Fix npm audit vulnerabilities Fix npm audit vulnerabilities and update to @emotion Oct 5, 2019
Token is only being read on app start and if not
present it doesn't get included in then authentication
header even after logging in. So changed it to use
middleware as described here:
https://www.apollographql.com/docs/react/networking/network-layer/
@jpvajda
Copy link
Copy Markdown
Contributor

jpvajda commented Oct 5, 2022

Thanks for this contribution! I'm handling this in update in #296

@jpvajda jpvajda closed this Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tutorial uses deprecated version of kleur Uncaught (in promise) Error: GraphQL error: Cannot read property 'id' of null

2 participants