Skip to content

Commit

Permalink
Merge pull request #252 from andreialecu/fix-peer
Browse files Browse the repository at this point in the history
Make `@apollo/client` a peer dependency, fixes #251 .
  • Loading branch information
jaydenseric committed May 13, 2021
2 parents 81dc6dd + 6a0f67c commit a1f6d52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Updated Node.js support to `^12.20 || >= 14.13`.
- Stopped supporting Internet Explorer.
- Changed [`@apollo/client`](https://npm.im/@apollo/client) from a dependency to a peer dependency, fixing [#251](https://github.com/jaydenseric/apollo-upload-client/issues/251) via [#252](https://github.com/jaydenseric/apollo-upload-client/pull/252).
- Updated dependencies, some of which require newer Node.js versions than previously supported.
- Replaced the the `package.json` `exports` field public [subpath folder mapping](https://nodejs.org/api/packages.html#packages_subpath_folder_mappings) (deprecated by Node.js) with a [subpath pattern](https://nodejs.org/api/packages.html#packages_subpath_patterns). Deep `require` paths within `apollo-upload-client/public/` must now include the `.js` file extension.
- Removed Babel related dependencies, config, and scripts. Published modules now contain more modern ES syntax.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@
},
"browserslist": "Node 12.20 - 13 and Node < 13, Node >= 14.13, > 0.5%, not OperaMini all, not IE > 0, not dead",
"peerDependencies": {
"@apollo/client": "^3.0.0",
"graphql": "14 - 15"
},
"dependencies": {
"@apollo/client": "^3.3.16",
"extract-files": "^10.0.0"
},
"devDependencies": {
"@apollo/client": "^3.3.16",
"abort-controller": "^3.0.0",
"coverage-node": "^5.0.1",
"esbuild": "^0.11.20",
Expand Down

0 comments on commit a1f6d52

Please sign in to comment.