superagent 7.1.6 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # superagent
2
2
 
3
3
  [![build status](https://img.shields.io/travis/visionmedia/superagent.svg)](https://travis-ci.org/visionmedia/superagent)
4
- [![code coverage](https://img.shields.io/codecov/c/github/visionmedia/superagent.svg)](https://codecov.io/gh/visionmedia/superagent)
5
4
  [![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
6
5
  [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
7
6
  [![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)
@@ -72,7 +71,7 @@ superagent.post('/api/pet').then(console.log).catch(console.error);
72
71
 
73
72
  ### Browser
74
73
 
75
- **The browser-ready, minified version of `superagent` is only 6 KB (minified and gzipped)!**
74
+ **The browser-ready, minified version of `superagent` is only 50 KB (minified and gzipped).**
76
75
 
77
76
  Browser-ready versions of this module are available via [jsdelivr][], [unpkg][], and also in the `node_modules/superagent/dist` folder in downloads of the `superagent` package.
78
77
 
@@ -83,7 +82,7 @@ Browser-ready versions of this module are available via [jsdelivr][], [unpkg][],
83
82
  This is the solution for you if you're just using `<script>` tags everywhere!
84
83
 
85
84
  ```html
86
- <script src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Promise,Symbol,Object.setPrototypeOf,Object.getOwnPropertySymbols,Set,Math.trunc,BigInt,Map,Reflect,WeakMap,WeakRef,WeakSet,BigInt,Map,Reflect,WeakMap,WeakRef,WeakSet"></script>
85
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=WeakRef,BigInt"></script>
87
86
  <script src="https://cdn.jsdelivr.net/npm/superagent"></script>
88
87
  <!-- if you wish to use unpkg.com instead: -->
89
88
  <!-- <script src="https://unpkg.com/superagent"></script> -->
@@ -120,38 +119,37 @@ If you are using [browserify][], [webpack][], [rollup][], or another bundler, th
120
119
  ```
121
120
 
122
121
  ```sh
123
- and_chr 71
124
- and_ff 64
125
- and_qq 1.2
126
- and_uc 11.8
127
- android 67
128
- android 4.4.3-4.4.4
129
- baidu 7.12
130
- bb 10
131
- bb 7
132
- chrome 73
133
- chrome 72
134
- chrome 71
135
- edge 18
136
- edge 17
137
- firefox 66
138
- firefox 65
139
- ie 11
140
- ie 10
141
- ie 9
142
- ie_mob 11
143
- ie_mob 10
144
- ios_saf 12.0-12.1
145
- ios_saf 11.3-11.4
122
+ and_chr 102
123
+ and_ff 101
124
+ and_qq 10.4
125
+ and_uc 12.12
126
+ android 101
127
+ chrome 103
128
+ chrome 102
129
+ chrome 101
130
+ chrome 100
131
+ edge 103
132
+ edge 102
133
+ edge 101
134
+ firefox 101
135
+ firefox 100
136
+ firefox 91
137
+ ios_saf 15.5
138
+ ios_saf 15.4
139
+ ios_saf 15.2-15.3
140
+ ios_saf 15.0-15.1
141
+ ios_saf 14.5-14.8
142
+ ios_saf 14.0-14.4
143
+ ios_saf 12.2-12.5
144
+ kaios 2.5
146
145
  op_mini all
147
- op_mob 46
148
- op_mob 12.1
149
- opera 58
150
- opera 57
151
- safari 12
152
- safari 11.1
153
- samsung 8.2
154
- samsung 7.2-7.4
146
+ op_mob 64
147
+ opera 86
148
+ opera 85
149
+ safari 15.5
150
+ safari 15.4
151
+ samsung 17.0
152
+ samsung 16.0
155
153
  ```
156
154
 
157
155
  ### Required Browser Features
@@ -159,11 +157,11 @@ If you are using [browserify][], [webpack][], [rollup][], or another bundler, th
159
157
  We recommend using <https://polyfill.io> (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):
160
158
 
161
159
  ```html
162
- <script src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Promise,Symbol,Object.setPrototypeOf,Object.getOwnPropertySymbols,Set,Math.trunc,BigInt,Map,Reflect,WeakMap,WeakRef,WeakSet"></script>
160
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=WeakRef,BigInt"></script>
163
161
  ```
164
162
 
165
- * IE 9-10 requires a polyfill for `Promise`, `Array.from`, `Symbol`, `Object.getOwnPropertySymbols`, and `Object.setPrototypeOf`
166
- * IE 9 requires a polyfill for `window.FormData` (we recommend [formdata-polyfill][]), `Set`, `Math.trunc`, `BigInt`, `Map`, `Reflect`, `WeakMap`, `WeakRef`, and `WeakSet`
163
+ * WeakRef is not supported in Opera 85, iOS Safari 12.2-12.5
164
+ * BigInt is not supported in iOS Safari 12.2-12.5
167
165
 
168
166
 
169
167
  ## Plugins
@@ -261,8 +259,6 @@ Our breaking changes are mostly in rarely used functionality and from stricter e
261
259
 
262
260
  [yarn]: https://yarnpkg.com/
263
261
 
264
- [formdata-polyfill]: https://www.npmjs.com/package/formdata-polyfill
265
-
266
262
  [jsdelivr]: https://www.jsdelivr.com/
267
263
 
268
264
  [unpkg]: https://unpkg.com/