extra-request 3.0.2 → 5.0.0
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/LICENSE +1 -1
- package/dist/es2015/index.min.mjs +2 -2
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +2751 -283
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +2752 -284
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +2 -2
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +2 -2
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +2751 -283
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +2752 -284
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +2 -2
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/transformers/form-data-field.js +2 -1
- package/lib/es2015/transformers/form-data-field.js.map +1 -1
- package/lib/es2018/transformers/form-data-field.js +2 -1
- package/lib/es2018/transformers/form-data-field.js.map +1 -1
- package/package.json +27 -24
- package/CHANGELOG.md +0 -231
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.formDataField = void 0;
|
|
4
4
|
const extra_fetch_1 = require("extra-fetch");
|
|
5
|
+
const types_1 = require("@blackglory/types");
|
|
5
6
|
function formDataField(name, value) {
|
|
6
7
|
return (options) => {
|
|
7
8
|
const formData = options.payload instanceof extra_fetch_1.FormData
|
|
8
9
|
? cloneFormData(options.payload)
|
|
9
10
|
: new extra_fetch_1.FormData();
|
|
10
|
-
if (
|
|
11
|
+
if ((0, types_1.isArray)(value)) {
|
|
11
12
|
value.forEach(x => formData.append(name, x));
|
|
12
13
|
}
|
|
13
14
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-data-field.js","sourceRoot":"","sources":["../../../src/transformers/form-data-field.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;
|
|
1
|
+
{"version":3,"file":"form-data-field.js","sourceRoot":"","sources":["../../../src/transformers/form-data-field.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;AAEtC,6CAA2C;AAE3C,SAAgB,aAAa,CAC3B,IAAY,EACZ,KAA+B;IAE/B,OAAO,CAAC,OAAqB,EAAE,EAAE;QAC/B,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,YAAY,sBAAQ;YAClD,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC;YAChC,CAAC,CAAC,IAAI,sBAAQ,EAAE,CAAA;QAElB,IAAI,IAAA,eAAO,EAAC,KAAK,CAAC,EAAE;YAClB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;SAC7C;aAAM;YACL,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;SAC7B;QAED,uCACK,OAAO,KACV,OAAO,EAAE,QAAoB,IAC9B;IACH,CAAC,CAAA;AACH,CAAC;AApBD,sCAoBC;AAED,SAAS,aAAa,CAAC,QAAkB;IACvC,MAAM,MAAM,GAAG,IAAI,sBAAQ,EAAE,CAAA;IAC7B,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;KAC3B;IACD,OAAO,MAAM,CAAA;AACf,CAAC"}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.formDataField = void 0;
|
|
4
4
|
const extra_fetch_1 = require("extra-fetch");
|
|
5
|
+
const types_1 = require("@blackglory/types");
|
|
5
6
|
function formDataField(name, value) {
|
|
6
7
|
return (options) => {
|
|
7
8
|
const formData = options.payload instanceof extra_fetch_1.FormData
|
|
8
9
|
? cloneFormData(options.payload)
|
|
9
10
|
: new extra_fetch_1.FormData();
|
|
10
|
-
if (
|
|
11
|
+
if ((0, types_1.isArray)(value)) {
|
|
11
12
|
value.forEach(x => formData.append(name, x));
|
|
12
13
|
}
|
|
13
14
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-data-field.js","sourceRoot":"","sources":["../../../src/transformers/form-data-field.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;
|
|
1
|
+
{"version":3,"file":"form-data-field.js","sourceRoot":"","sources":["../../../src/transformers/form-data-field.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;AAEtC,6CAA2C;AAE3C,SAAgB,aAAa,CAC3B,IAAY,EACZ,KAA+B;IAE/B,OAAO,CAAC,OAAqB,EAAE,EAAE;QAC/B,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,YAAY,sBAAQ;YAClD,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC;YAChC,CAAC,CAAC,IAAI,sBAAQ,EAAE,CAAA;QAElB,IAAI,IAAA,eAAO,EAAC,KAAK,CAAC,EAAE;YAClB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;SAC7C;aAAM;YACL,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;SAC7B;QAED,OAAO;YACL,GAAG,OAAO;YACV,OAAO,EAAE,QAAoB;SAC9B,CAAA;IACH,CAAC,CAAA;AACH,CAAC;AApBD,sCAoBC;AAED,SAAS,aAAa,CAAC,QAAkB;IACvC,MAAM,MAAM,GAAG,IAAI,sBAAQ,EAAE,CAAA;IAC7B,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;KAC3B;IACD,OAAO,MAAM,CAAA;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extra-request",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Utilities for Request",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fetch",
|
|
@@ -19,15 +19,18 @@
|
|
|
19
19
|
"./es2018/transformers/*": "./lib/es2018/transformers/*",
|
|
20
20
|
"./es2015/transformers/*": "./lib/es2015/transformers/*"
|
|
21
21
|
},
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=16"
|
|
24
|
+
},
|
|
22
25
|
"types": "lib/es2018/index.d.ts",
|
|
23
26
|
"repository": "git@github.com:BlackGlory/extra-request.git",
|
|
24
27
|
"author": "BlackGlory <woshenmedoubuzhidao@blackglory.me>",
|
|
25
28
|
"license": "MIT",
|
|
26
29
|
"scripts": {
|
|
27
30
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx --quiet src __tests__",
|
|
28
|
-
"test": "jest --config jest.config.js",
|
|
31
|
+
"test": "jest --runInBand --config jest.config.js",
|
|
29
32
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
30
|
-
"test:coverage": "jest --coverage --config jest.config.js",
|
|
33
|
+
"test:coverage": "jest --runInBand --coverage --config jest.config.js",
|
|
31
34
|
"prepublishOnly": "run-s clean build bundle",
|
|
32
35
|
"clean": "run-p clean:*",
|
|
33
36
|
"clean:build": "rimraf lib",
|
|
@@ -49,41 +52,41 @@
|
|
|
49
52
|
}
|
|
50
53
|
},
|
|
51
54
|
"devDependencies": {
|
|
52
|
-
"@blackglory/jest-matchers": "^0.
|
|
53
|
-
"@commitlint/cli": "^
|
|
54
|
-
"@commitlint/config-conventional": "^
|
|
55
|
-
"@rollup/plugin-commonjs": "^21.0.
|
|
55
|
+
"@blackglory/jest-matchers": "^0.2.0",
|
|
56
|
+
"@commitlint/cli": "^16.1.0",
|
|
57
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
58
|
+
"@rollup/plugin-commonjs": "^21.0.1",
|
|
56
59
|
"@rollup/plugin-json": "^4.1.0",
|
|
57
|
-
"@rollup/plugin-node-resolve": "^13.
|
|
58
|
-
"@rollup/plugin-replace": "^3.0.
|
|
59
|
-
"@rollup/plugin-typescript": "^8.
|
|
60
|
-
"@types/jest": "^27.0
|
|
61
|
-
"@types/papaparse": "^5.3.
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
63
|
-
"@typescript-eslint/parser": "^5.
|
|
64
|
-
"eslint": "^8.0
|
|
65
|
-
"extra-fetch": "^
|
|
60
|
+
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
61
|
+
"@rollup/plugin-replace": "^3.0.1",
|
|
62
|
+
"@rollup/plugin-typescript": "^8.3.0",
|
|
63
|
+
"@types/jest": "^27.4.0",
|
|
64
|
+
"@types/papaparse": "^5.3.2",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
66
|
+
"@typescript-eslint/parser": "^5.11.0",
|
|
67
|
+
"eslint": "^8.8.0",
|
|
68
|
+
"extra-fetch": "^2.0.0",
|
|
66
69
|
"husky": "4",
|
|
67
|
-
"jest": "^27.
|
|
70
|
+
"jest": "^27.5.1",
|
|
68
71
|
"npm-run-all": "^4.1.5",
|
|
69
72
|
"rimraf": "^3.0.2",
|
|
70
|
-
"rollup": "^2.
|
|
73
|
+
"rollup": "^2.67.2",
|
|
71
74
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
72
75
|
"rollup-plugin-terser": "^7.0.2",
|
|
73
|
-
"standard-version": "^9.3.
|
|
74
|
-
"ts-jest": "^27.
|
|
76
|
+
"standard-version": "^9.3.2",
|
|
77
|
+
"ts-jest": "^27.1.3",
|
|
75
78
|
"tscpaths": "^0.0.9",
|
|
76
79
|
"tslib": "^2.3.1",
|
|
77
|
-
"typescript": "^4.
|
|
80
|
+
"typescript": "^4.5.5"
|
|
78
81
|
},
|
|
79
82
|
"dependencies": {
|
|
80
|
-
"@blackglory/errors": "^
|
|
81
|
-
"@blackglory/types": "^0.5
|
|
83
|
+
"@blackglory/errors": "^2.2.0",
|
|
84
|
+
"@blackglory/types": "^0.6.5",
|
|
82
85
|
"js-base64": "^3.7.2",
|
|
83
86
|
"justypes": "^0.1.6",
|
|
84
87
|
"papaparse": "^5.3.1"
|
|
85
88
|
},
|
|
86
89
|
"peerDependencies": {
|
|
87
|
-
"extra-fetch": "^
|
|
90
|
+
"extra-fetch": "^2.0.0"
|
|
88
91
|
}
|
|
89
92
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [3.0.2](https://github.com/BlackGlory/extra-request/compare/v3.0.1...v3.0.2) (2021-10-14)
|
|
6
|
-
|
|
7
|
-
### [3.0.1](https://github.com/BlackGlory/extra-request/compare/v3.0.0...v3.0.1) (2021-09-16)
|
|
8
|
-
|
|
9
|
-
## [3.0.0](https://github.com/BlackGlory/extra-request/compare/v2.3.1...v3.0.0) (2021-08-28)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### ⚠ BREAKING CHANGES
|
|
13
|
-
|
|
14
|
-
* add `exports` field
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
* add `exports` field ([a342b4a](https://github.com/BlackGlory/extra-request/commit/a342b4aea418c573a2fa61261e8afd8fee62fe21))
|
|
19
|
-
|
|
20
|
-
### [2.3.1](https://github.com/BlackGlory/extra-request/compare/v2.3.0...v2.3.1) (2021-08-28)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Bug Fixes
|
|
24
|
-
|
|
25
|
-
* remove `exports` field ([4d74e4c](https://github.com/BlackGlory/extra-request/commit/4d74e4c4b3b3ad51784d4eadc0c6dbefe2a86087))
|
|
26
|
-
|
|
27
|
-
## [2.3.0](https://github.com/BlackGlory/extra-request/compare/v2.2.0...v2.3.0) (2021-08-26)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### Features
|
|
31
|
-
|
|
32
|
-
* add bearerAuth ([dedacf0](https://github.com/BlackGlory/extra-request/commit/dedacf0441173bac3d42ca3de0389d83c89bdb87))
|
|
33
|
-
|
|
34
|
-
## [2.2.0](https://github.com/BlackGlory/extra-request/compare/v2.1.5...v2.2.0) (2021-08-26)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
### Features
|
|
38
|
-
|
|
39
|
-
* transformers related to SearchParams support numbers as values ([ea53da0](https://github.com/BlackGlory/extra-request/commit/ea53da08567d0c01ad60d1cbade3df1860a0da7b))
|
|
40
|
-
|
|
41
|
-
### [2.1.5](https://github.com/BlackGlory/extra-request/compare/v2.1.4...v2.1.5) (2021-07-03)
|
|
42
|
-
|
|
43
|
-
### [2.1.4](https://github.com/BlackGlory/extra-request/compare/v2.1.3...v2.1.4) (2021-04-27)
|
|
44
|
-
|
|
45
|
-
### [2.1.3](https://github.com/BlackGlory/extra-request/compare/v2.1.2...v2.1.3) (2021-03-28)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Bug Fixes
|
|
49
|
-
|
|
50
|
-
* keepalive ([0c6339b](https://github.com/BlackGlory/extra-request/commit/0c6339be8739e5ae7f6f06357f362490e27a2389))
|
|
51
|
-
|
|
52
|
-
### [2.1.2](https://github.com/BlackGlory/extra-request/compare/v2.1.1...v2.1.2) (2021-03-17)
|
|
53
|
-
|
|
54
|
-
### [2.1.1](https://github.com/BlackGlory/extra-request/compare/v2.1.0...v2.1.1) (2021-03-17)
|
|
55
|
-
|
|
56
|
-
## [2.1.0](https://github.com/BlackGlory/extra-request/compare/v2.0.0...v2.1.0) (2021-03-10)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Features
|
|
60
|
-
|
|
61
|
-
* add keepalive ([b2921eb](https://github.com/BlackGlory/extra-request/commit/b2921eb756398499f557b13e21040a7660c44f2a))
|
|
62
|
-
|
|
63
|
-
## [2.0.0](https://github.com/BlackGlory/extra-request/compare/v1.1.7...v2.0.0) (2021-03-10)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
### ⚠ BREAKING CHANGES
|
|
67
|
-
|
|
68
|
-
* Rename `header` to `appendHeader`
|
|
69
|
-
Rename `searchParam` to `appendSearchParam`
|
|
70
|
-
Add `header`(use `Headers.set`)
|
|
71
|
-
Add `searchParam`(use `URLSearchParams.set`)
|
|
72
|
-
`headers` use `Headers.set` now
|
|
73
|
-
`searchParams` use `URLSearchParams.set` now
|
|
74
|
-
|
|
75
|
-
### Features
|
|
76
|
-
|
|
77
|
-
* rewrite transformers ([be67b38](https://github.com/BlackGlory/extra-request/commit/be67b383adceb1ed7211fd8abd531330d119e673))
|
|
78
|
-
|
|
79
|
-
### [1.1.7](https://github.com/BlackGlory/extra-request/compare/v1.1.6...v1.1.7) (2021-03-05)
|
|
80
|
-
|
|
81
|
-
### [1.1.6](https://github.com/BlackGlory/extra-request/compare/v1.1.5...v1.1.6) (2021-03-05)
|
|
82
|
-
|
|
83
|
-
### [1.1.5](https://github.com/BlackGlory/extra-request/compare/v1.1.4...v1.1.5) (2021-03-05)
|
|
84
|
-
|
|
85
|
-
### [1.1.4](https://github.com/BlackGlory/extra-request/compare/v1.1.3...v1.1.4) (2021-03-05)
|
|
86
|
-
|
|
87
|
-
### [1.1.3](https://github.com/BlackGlory/extra-request/compare/v1.1.2...v1.1.3) (2021-03-05)
|
|
88
|
-
|
|
89
|
-
### [1.1.2](https://github.com/BlackGlory/extra-request/compare/v1.1.1...v1.1.2) (2021-03-04)
|
|
90
|
-
|
|
91
|
-
### [1.1.1](https://github.com/BlackGlory/extra-request/compare/v1.1.0...v1.1.1) (2021-02-25)
|
|
92
|
-
|
|
93
|
-
## [1.1.0](https://github.com/BlackGlory/extra-request/compare/v1.0.2...v1.1.0) (2021-02-19)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Features
|
|
97
|
-
|
|
98
|
-
* add port ([9423054](https://github.com/BlackGlory/extra-request/commit/94230548e9a2db10667c38d582e775954ad41c4d))
|
|
99
|
-
|
|
100
|
-
### [1.0.2](https://github.com/BlackGlory/extra-request/compare/v1.0.1...v1.0.2) (2021-02-04)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### Bug Fixes
|
|
104
|
-
|
|
105
|
-
* bundle ([225be5b](https://github.com/BlackGlory/extra-request/commit/225be5b1b1badbe72abf255f22c3c0b5ca6d6a09))
|
|
106
|
-
|
|
107
|
-
### [1.0.1](https://github.com/BlackGlory/extra-request/compare/v1.0.0...v1.0.1) (2021-02-03)
|
|
108
|
-
|
|
109
|
-
## [1.0.0](https://github.com/BlackGlory/extra-request/compare/v0.3.5...v1.0.0) (2021-02-02)
|
|
110
|
-
|
|
111
|
-
### [0.3.5](https://github.com/BlackGlory/extra-request/compare/v0.3.4...v0.3.5) (2021-01-21)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### Features
|
|
115
|
-
|
|
116
|
-
* add basicAuth ([c0f25c6](https://github.com/BlackGlory/extra-request/commit/c0f25c6f68177d4da8efc8cc76ff84ff9caf78d2))
|
|
117
|
-
|
|
118
|
-
### [0.3.4](https://github.com/BlackGlory/extra-request/compare/v0.3.3...v0.3.4) (2021-01-20)
|
|
119
|
-
|
|
120
|
-
### [0.3.3](https://github.com/BlackGlory/extra-request/compare/v0.3.2...v0.3.3) (2021-01-20)
|
|
121
|
-
|
|
122
|
-
### [0.3.2](https://github.com/BlackGlory/extra-request/compare/v0.3.1...v0.3.2) (2021-01-15)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
### Bug Fixes
|
|
126
|
-
|
|
127
|
-
* esm bundle ([7d0dc35](https://github.com/BlackGlory/extra-request/commit/7d0dc356d67c5ed6f95766efbe500d3cb6c0de5f))
|
|
128
|
-
|
|
129
|
-
### [0.3.1](https://github.com/BlackGlory/extra-request/compare/v0.3.0...v0.3.1) (2021-01-14)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
### Features
|
|
133
|
-
|
|
134
|
-
* add csv ([38e8659](https://github.com/BlackGlory/extra-request/commit/38e86595df9007d368de58ec117714014ad10c6a))
|
|
135
|
-
|
|
136
|
-
## [0.3.0](https://github.com/BlackGlory/extra-request/compare/v0.2.11...v0.3.0) (2021-01-08)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
### ⚠ BREAKING CHANGES
|
|
140
|
-
|
|
141
|
-
* formDataField(name: string, value: string | string[] | Blob |
|
|
142
|
-
ReadableStream | NodeJS.ReadableStream) => formDataField(name:
|
|
143
|
-
string, value: string | string[] | Blob)
|
|
144
|
-
|
|
145
|
-
### Features
|
|
146
|
-
|
|
147
|
-
* remove support for stream in FormData ([cb3d694](https://github.com/BlackGlory/extra-request/commit/cb3d69496e9e70f8860bd724615e0a0d7bd2ef88))
|
|
148
|
-
|
|
149
|
-
### [0.2.11](https://github.com/BlackGlory/extra-request/compare/v0.2.10...v0.2.11) (2021-01-08)
|
|
150
|
-
|
|
151
|
-
### [0.2.10](https://github.com/BlackGlory/extra-request/compare/v0.2.9...v0.2.10) (2021-01-07)
|
|
152
|
-
|
|
153
|
-
### [0.2.9](https://github.com/BlackGlory/extra-request/compare/v0.2.8...v0.2.9) (2021-01-07)
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Features
|
|
157
|
-
|
|
158
|
-
* replace cross-fetch with extra-fetch ([c4df002](https://github.com/BlackGlory/extra-request/commit/c4df0022fb45f805f05be8cf2efecad95dd81709))
|
|
159
|
-
|
|
160
|
-
### [0.2.8](https://github.com/BlackGlory/extra-request/compare/v0.2.7...v0.2.8) (2021-01-07)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
### Bug Fixes
|
|
164
|
-
|
|
165
|
-
* bundle ([6d89860](https://github.com/BlackGlory/extra-request/commit/6d898602e1e13b2bea45c08bf807d0b8e7afc24f))
|
|
166
|
-
|
|
167
|
-
### [0.2.7](https://github.com/BlackGlory/extra-request/compare/v0.2.6...v0.2.7) (2021-01-07)
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
### Features
|
|
171
|
-
|
|
172
|
-
* support array ([c9635a6](https://github.com/BlackGlory/extra-request/commit/c9635a6dd444aee0924fd01c0c90cdc8196028e4))
|
|
173
|
-
|
|
174
|
-
### [0.2.6](https://github.com/BlackGlory/extra-request/compare/v0.2.5...v0.2.6) (2021-01-07)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
### Features
|
|
178
|
-
|
|
179
|
-
* add formDataField ([ac81904](https://github.com/BlackGlory/extra-request/commit/ac819041eaa7d6c13b315b926fe650f8bd9aa9c0))
|
|
180
|
-
|
|
181
|
-
### [0.2.5](https://github.com/BlackGlory/extra-request/compare/v0.2.4...v0.2.5) (2021-01-04)
|
|
182
|
-
|
|
183
|
-
### [0.2.4](https://github.com/BlackGlory/extra-request/compare/v0.2.3...v0.2.4) (2021-01-04)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
### Bug Fixes
|
|
187
|
-
|
|
188
|
-
* bundle for browser ([532fdf0](https://github.com/BlackGlory/extra-request/commit/532fdf0c19bd2c7cfab5b5dd7b368bce48c75659))
|
|
189
|
-
|
|
190
|
-
### [0.2.3](https://github.com/BlackGlory/extra-request/compare/v0.2.2...v0.2.3) (2020-12-23)
|
|
191
|
-
|
|
192
|
-
### [0.2.2](https://github.com/BlackGlory/extra-request/compare/v0.2.1...v0.2.2) (2020-12-22)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
### Bug Fixes
|
|
196
|
-
|
|
197
|
-
* bundle ([4f0984a](https://github.com/BlackGlory/extra-request/commit/4f0984abaec413eb61b521992316c2444975e59c))
|
|
198
|
-
|
|
199
|
-
### [0.2.1](https://github.com/BlackGlory/extra-request/compare/v0.2.0...v0.2.1) (2020-12-22)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
### Features
|
|
203
|
-
|
|
204
|
-
* replace Json with any ([500aa24](https://github.com/BlackGlory/extra-request/commit/500aa24d04c6ad248e89434cfbbc4745ce0f9671))
|
|
205
|
-
|
|
206
|
-
## [0.2.0](https://github.com/BlackGlory/extra-request/compare/v0.1.1...v0.2.0) (2020-12-05)
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
### ⚠ BREAKING CHANGES
|
|
210
|
-
|
|
211
|
-
* searchParams becomes append only
|
|
212
|
-
|
|
213
|
-
### Features
|
|
214
|
-
|
|
215
|
-
* add accept ([be3a5ae](https://github.com/BlackGlory/extra-request/commit/be3a5aed6a435d2942883341f5d6d95c98105ed9))
|
|
216
|
-
* add searchParam ([b8bc0e9](https://github.com/BlackGlory/extra-request/commit/b8bc0e901648810219b68e10b8a2b2af924466e4))
|
|
217
|
-
* modify searchParams ([12d538a](https://github.com/BlackGlory/extra-request/commit/12d538a39a86558cef0c041a36c8657d73a51d37))
|
|
218
|
-
|
|
219
|
-
### [0.1.1](https://github.com/BlackGlory/extra-request/compare/v0.1.0...v0.1.1) (2020-12-04)
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
### Features
|
|
223
|
-
|
|
224
|
-
* support Falsy ([e9f923d](https://github.com/BlackGlory/extra-request/commit/e9f923d4b1718c2c610b751040e1e3a04453462a))
|
|
225
|
-
|
|
226
|
-
## 0.1.0 (2020-12-03)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
### Features
|
|
230
|
-
|
|
231
|
-
* init ([62bba21](https://github.com/BlackGlory/extra-request/commit/62bba214f6ce2a9db34ab29e39378addadb0ce1f))
|