Download Latest Version app.27041b87bbb500531583.css.gz (92.6 kB)
Email in envelope

Get an email when there's a new version of adminos

Name Modified Size InfoDownloads / Week
Parent folder
constants.js 2023-08-29 175 Bytes
constants.mjs 2023-08-29 90 Bytes
GraphQLUpload.js 2023-08-29 500 Bytes
GraphQLUpload.mjs 2023-08-29 397 Bytes
graphqlUploadExpress.js 2023-08-29 861 Bytes
graphqlUploadExpress.mjs 2023-08-29 751 Bytes
graphqlUploadKoa.js 2023-08-29 615 Bytes
graphqlUploadKoa.mjs 2023-08-29 517 Bytes
ignoreStream.js 2023-08-29 192 Bytes
ignoreStream.mjs 2023-08-29 91 Bytes
index.js 2023-08-29 621 Bytes
index.mjs 2023-08-29 214 Bytes
isEnumerableObject.js 2023-08-29 233 Bytes
isEnumerableObject.mjs 2023-08-29 114 Bytes
processRequest.js 2023-08-29 9.1 kB
processRequest.mjs 2023-08-29 8.1 kB
Totals: 16 Items   22.6 kB 0

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.

Source: readme.md, updated 2023-08-29