Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@apollographql/graphql-upload-8-fork
Advanced tools
Fork of graphql-upload@8 that works with graphql@15 for compatibility with apollo-server@2
This is a fork of graphql-upload by Jayden Seric which Apollo has created purely for the internal use of Apollo Server.
Apollo Server v2 depends on graphql-upload
to provide an easy-to-use way to integrate graphql-upload
into your servers without having to depend on graphql-upload
yourself. It currently depends on v8 of graphql-upload
.
graphql-upload
made backwards-incompatible changes after v8, such as changing what Node versions are supported and removing the stream
property that was later replaced with createReadStream
. Because of this, we cannot upgrade the version of graphql-upload
used by Apollo Server past v8 without potentially breaking users.
However, the latest release of graphql-upload@8
(8.1.0) declares peer dependencies on graphql
that do not include graphql@15
. We want users of Apollo Server v2 to be able to use graphql v15 without getting peer dependencies warnings (or errors when they are using npm v7), so we have forked graphql-upload
v8 just to extend the peer dependency.
We do not recommend that you directly depend on this fork. Our recommendation is that if you want to use uploads in your GraphQL server, you should consider disabling Apollo Server's built-in graphql-upload
integration by passing uploads: false
to new ApolloServer
and use graphql-upload
directly. That way, you can use the latest and greatest version of graphql-upload
. We currently intend to remove the integration from Apollo Server v3.
This fork also contains the TypeScript typings from DefinitelyTyped, so you don't have to try to combine this fork with @types/graphql-upload
.
FAQs
Fork of graphql-upload@8 that works with graphql@15 for compatibility with apollo-server@2
The npm package @apollographql/graphql-upload-8-fork receives a total of 168,663 weekly downloads. As such, @apollographql/graphql-upload-8-fork popularity was classified as popular.
We found that @apollographql/graphql-upload-8-fork demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.