@jayfong/x-request 2.80.2 → 2.80.4

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/lib/_cjs/index.js CHANGED
@@ -121,6 +121,7 @@ class XRequest {
121
121
  }
122
122
  if (options.cookieJar) {
123
123
  gotOptions.cookieJar = options.cookieJar;
124
+ gotOptions.ignoreInvalidCookies = true;
124
125
  }
125
126
 
126
127
  // 头处理
package/lib/index.js CHANGED
@@ -112,6 +112,7 @@ export class XRequest {
112
112
  }
113
113
  if (options.cookieJar) {
114
114
  gotOptions.cookieJar = options.cookieJar;
115
+ gotOptions.ignoreInvalidCookies = true;
115
116
  }
116
117
 
117
118
  // 头处理
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayfong/x-request",
3
- "version": "2.80.2",
3
+ "version": "2.80.4",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "lib/_cjs/index.js",