alp-body-parser 11.0.1 → 12.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index-node.mjs","sources":["../src/index.ts"],"sourcesContent":["import parse from \"co-body\";\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\nimport Application, { Context } from \"koa\";\n\ndeclare module \"koa\" {\n interface Request {\n body: any;\n }\n\n interface BaseContext {\n parseBody: <T>() => Promise<T>;\n parseBodyJson: <T>() => Promise<T>;\n parseBodyText: <T>() => Promise<T>;\n }\n}\n\nconst assertBodyNotParsed = (ctx: Context): void => {\n if (ctx.request.body) {\n throw new Error(\"Request is already parsed\");\n }\n};\n\nexport default function alpBodyParser(app: Application): void {\n app.context.parseBody = async function parseBody<T>(\n this: Context,\n ): Promise<T> {\n assertBodyNotParsed(this);\n const body: T = (await parse.form(this)) as T;\n this.request.body = body;\n return body;\n };\n\n app.context.parseBodyJson = async function parseBodyJson<T>(\n this: Context,\n ): Promise<T> {\n assertBodyNotParsed(this);\n const body: T = (await parse.json(this)) as T;\n this.request.body = body;\n return body;\n };\n\n app.context.parseBodyText = async function parseBodyText<T>(\n this: Context,\n ): Promise<T> {\n assertBodyNotParsed(this);\n const body: T = (await parse.text(this)) as T;\n this.request.body = body;\n return body;\n };\n}\n"],"names":[],"mappings":";;AAgBA,MAAM,mBAAA,GAAsB,CAAC,GAAA,KAAuB;AAClD,EAAA,IAAI,GAAA,CAAI,QAAQ,IAAA,EAAM;AACpB,IAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA;AAE/C,CAAA;AAEA,SAAwB,cAAc,GAAA,EAAwB;AAC5D,EAAA,GAAA,CAAI,OAAA,CAAQ,SAAA,GAAY,eAAe,SAAA,GAEzB;AACZ,IAAA,mBAAA,CAAoB,IAAI,CAAA;AACxB,IAAA,MAAM,IAAA,GAAW,MAAM,KAAA,CAAM,IAAA,CAAK,IAAI,CAAA;AACtC,IAAA,IAAA,CAAK,QAAQ,IAAA,GAAO,IAAA;AACpB,IAAA,OAAO,IAAA;AAAA,GACT;AAEA,EAAA,GAAA,CAAI,OAAA,CAAQ,aAAA,GAAgB,eAAe,aAAA,GAE7B;AACZ,IAAA,mBAAA,CAAoB,IAAI,CAAA;AACxB,IAAA,MAAM,IAAA,GAAW,MAAM,KAAA,CAAM,IAAA,CAAK,IAAI,CAAA;AACtC,IAAA,IAAA,CAAK,QAAQ,IAAA,GAAO,IAAA;AACpB,IAAA,OAAO,IAAA;AAAA,GACT;AAEA,EAAA,GAAA,CAAI,OAAA,CAAQ,aAAA,GAAgB,eAAe,aAAA,GAE7B;AACZ,IAAA,mBAAA,CAAoB,IAAI,CAAA;AACxB,IAAA,MAAM,IAAA,GAAW,MAAM,KAAA,CAAM,IAAA,CAAK,IAAI,CAAA;AACtC,IAAA,IAAA,CAAK,QAAQ,IAAA,GAAO,IAAA;AACpB,IAAA,OAAO,IAAA;AAAA,GACT;AACF;;;;"}
1
+ {"version":3,"file":"index-node.mjs","sources":["../src/index.ts"],"sourcesContent":["import parse from \"co-body\";\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\nimport Application, { Context } from \"koa\";\n\ndeclare module \"koa\" {\n interface Request {\n body: any;\n }\n\n interface BaseContext {\n parseBody: <T>() => Promise<T>;\n parseBodyJson: <T>() => Promise<T>;\n parseBodyText: <T>() => Promise<T>;\n }\n}\n\nconst assertBodyNotParsed = (ctx: Context): void => {\n if (ctx.request.body) {\n throw new Error(\"Request is already parsed\");\n }\n};\n\nexport default function alpBodyParser(app: Application): void {\n app.context.parseBody = async function parseBody<T>(\n this: Context,\n ): Promise<T> {\n assertBodyNotParsed(this);\n const body: T = (await parse.form(this)) as T;\n this.request.body = body;\n return body;\n };\n\n app.context.parseBodyJson = async function parseBodyJson<T>(\n this: Context,\n ): Promise<T> {\n assertBodyNotParsed(this);\n const body: T = (await parse.json(this)) as T;\n this.request.body = body;\n return body;\n };\n\n app.context.parseBodyText = async function parseBodyText<T>(\n this: Context,\n ): Promise<T> {\n assertBodyNotParsed(this);\n const body: T = (await parse.text(this)) as T;\n this.request.body = body;\n return body;\n };\n}\n"],"names":[],"mappings":";;AAgBA,MAAM,mBAAA,GAAsB,CAAC,GAAA,KAAuB;AAClD,EAAA,IAAI,GAAA,CAAI,QAAQ,IAAA,EAAM;AACpB,IAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,EAC7C;AACF,CAAA;AAEA,SAAwB,cAAc,GAAA,EAAwB;AAC5D,EAAA,GAAA,CAAI,OAAA,CAAQ,SAAA,GAAY,eAAe,SAAA,GAEzB;AACZ,IAAA,mBAAA,CAAoB,IAAI,CAAA;AACxB,IAAA,MAAM,IAAA,GAAW,MAAM,KAAA,CAAM,IAAA,CAAK,IAAI,CAAA;AACtC,IAAA,IAAA,CAAK,QAAQ,IAAA,GAAO,IAAA;AACpB,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,GAAA,CAAI,OAAA,CAAQ,aAAA,GAAgB,eAAe,aAAA,GAE7B;AACZ,IAAA,mBAAA,CAAoB,IAAI,CAAA;AACxB,IAAA,MAAM,IAAA,GAAW,MAAM,KAAA,CAAM,IAAA,CAAK,IAAI,CAAA;AACtC,IAAA,IAAA,CAAK,QAAQ,IAAA,GAAO,IAAA;AACpB,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,GAAA,CAAI,OAAA,CAAQ,aAAA,GAAgB,eAAe,aAAA,GAE7B;AACZ,IAAA,mBAAA,CAAoB,IAAI,CAAA;AACxB,IAAA,MAAM,IAAA,GAAW,MAAM,KAAA,CAAM,IAAA,CAAK,IAAI,CAAA;AACtC,IAAA,IAAA,CAAK,QAAQ,IAAA,GAAO,IAAA;AACpB,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AACF;;;;"}
package/package.json CHANGED
@@ -1,26 +1,27 @@
1
1
  {
2
2
  "name": "alp-body-parser",
3
- "version": "11.0.1",
3
+ "version": "12.1.0",
4
4
  "description": "body parser in alp framework",
5
5
  "keywords": [
6
6
  "alp",
7
7
  "body-parser"
8
8
  ],
9
- "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
9
+ "homepage": "https://github.com/christophehurpeau/alp",
10
+ "bugs": {
11
+ "url": "https://github.com/christophehurpeau/alp/issues"
12
+ },
10
13
  "license": "ISC",
14
+ "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
11
15
  "repository": {
12
16
  "type": "git",
13
17
  "url": "https://github.com/christophehurpeau/alp.git",
14
18
  "directory": "packages/alp-body-parser"
15
19
  },
16
- "homepage": "https://github.com/christophehurpeau/alp",
17
- "bugs": {
18
- "url": "https://github.com/alpjs/alp-body-parser/issues"
19
- },
20
+ "files": [
21
+ "src",
22
+ "dist"
23
+ ],
20
24
  "type": "module",
21
- "engines": {
22
- "node": ">=22.18.0"
23
- },
24
25
  "sideEffects": false,
25
26
  "main": "./dist/index-node.mjs",
26
27
  "types": "./dist/definitions/index.d.ts",
@@ -33,18 +34,21 @@
33
34
  }
34
35
  }
35
36
  },
36
- "files": [
37
- "src",
38
- "dist"
39
- ],
40
- "scripts": {
41
- "build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
42
- "build:definitions": "tsc -p tsconfig.json",
43
- "clean": "yarn clean:build",
44
- "clean:build": "pob-esbuild-clean-out dist",
45
- "lint": "yarn run lint:eslint",
46
- "lint:eslint": "yarn ../.. run eslint --quiet packages/alp-body-parser",
47
- "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
37
+ "dependencies": {
38
+ "@types/co-body": "^6.1.3",
39
+ "@types/koa": "^3.0.3",
40
+ "co-body": "^6.2.0",
41
+ "koa": "^3.2.1"
42
+ },
43
+ "devDependencies": {
44
+ "@pob/rollup-esbuild": "9.1.1",
45
+ "typescript": "6.0.3"
46
+ },
47
+ "peerDependencies": {
48
+ "alp-node": "^10.0.0"
49
+ },
50
+ "engines": {
51
+ "node": ">=22.18.0"
48
52
  },
49
53
  "pob": {
50
54
  "bundler": "rollup-esbuild",
@@ -60,18 +64,14 @@
60
64
  ],
61
65
  "typescript": true
62
66
  },
63
- "prettier": "@pob/root/prettier-config",
64
- "peerDependencies": {
65
- "alp-node": "^9.0.0"
66
- },
67
- "dependencies": {
68
- "@types/co-body": "^6.1.3",
69
- "@types/koa": "^3.0.0",
70
- "co-body": "^6.2.0",
71
- "koa": "^3.0.1"
72
- },
73
- "devDependencies": {
74
- "@pob/rollup-esbuild": "6.7.0",
75
- "typescript": "5.9.3"
67
+ "scripts": {
68
+ "build": "yarn run clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
69
+ "build:definitions": "tsc -p tsconfig.json",
70
+ "clean": "yarn clean:build",
71
+ "clean:build": "pob-esbuild-clean-out dist",
72
+ "lint": "yarn run lint:eslint",
73
+ "lint:eslint": "yarn '../..' run eslint --quiet 'packages/alp-body-parser'",
74
+ "tsc": "tsc",
75
+ "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
76
76
  }
77
77
  }
package/CHANGELOG.md DELETED
@@ -1,532 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [11.0.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@11.0.0...alp-body-parser@11.0.1) (2025-11-12)
7
-
8
- Note: no notable changes
9
-
10
-
11
- ## [11.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@10.0.0...alp-body-parser@11.0.0) (2025-10-27)
12
-
13
- ### ⚠ BREAKING CHANGES
14
-
15
- * drop node 20 and build using esbuild
16
-
17
- ### Features
18
-
19
- * drop node 20 and build using esbuild ([812c4c1](https://github.com/christophehurpeau/alp/commit/812c4c1b0ad19984e389af4382a8d1e60643e4f1))
20
-
21
- Version bump for dependency: alp-node
22
-
23
-
24
- ## [10.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@9.0.0...alp-body-parser@10.0.0) (2025-08-02)
25
-
26
- ### ⚠ BREAKING CHANGES
27
-
28
- * update dependencies and drop node 20
29
- * update dev dependencies, replace parse-json-object-as-map with native JSON.parse, update koa
30
- * update koa
31
-
32
- ### Features
33
-
34
- * update dependencies and drop node 20 ([fc5b322](https://github.com/christophehurpeau/alp/commit/fc5b322e076e9a3c7c4a235d16734b89fd85e211))
35
- * update dev dependencies, replace parse-json-object-as-map with native JSON.parse, update koa ([5ae7723](https://github.com/christophehurpeau/alp/commit/5ae77238cafc573fe72c5eb63b103802b8b2e537))
36
- * update koa ([e678114](https://github.com/christophehurpeau/alp/commit/e67811429d951287de715c3dffdbee7b798f3358))
37
-
38
- Version bump for dependency: alp-node
39
-
40
-
41
- ## [9.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@8.1.1...alp-body-parser@9.0.0) (2024-01-06)
42
-
43
-
44
- ### ⚠ BREAKING CHANGES
45
-
46
- * merge to alp-node to improve maintenability, remove alp-types
47
-
48
- ### Features
49
-
50
- * merge to alp-node to improve maintenability, remove alp-types ([ead9a2f](https://github.com/christophehurpeau/alp/commit/ead9a2fd1bcbedce0be29ea0e444c5cead99c64d))
51
-
52
- Version bump for dependency: alp-node
53
-
54
-
55
- ## [8.1.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@8.1.0...alp-body-parser@8.1.1) (2024-01-06)
56
-
57
- Note: no notable changes
58
-
59
-
60
-
61
-
62
- ## [8.1.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@8.0.1...alp-body-parser@8.1.0) (2023-12-25)
63
-
64
-
65
- ### Features
66
-
67
- * update dependencies ([ddc8f92](https://github.com/christophehurpeau/alp/commit/ddc8f92cccacf6ed2baabf8555f0b37fe281ce9d))
68
-
69
-
70
-
71
-
72
- ## [8.0.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@8.0.0...alp-body-parser@8.0.1) (2023-07-29)
73
-
74
-
75
- ### Bug Fixes
76
-
77
- * dedupe and fix update alp ([aed32bc](https://github.com/christophehurpeau/alp/commit/aed32bc12e596acfd60f0d032a8d78a1ef68f9ee))
78
-
79
-
80
-
81
- ## [8.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@7.2.0...alp-body-parser@8.0.0) (2023-07-29)
82
-
83
-
84
- ### ⚠ BREAKING CHANGES
85
-
86
- * drop node 16
87
-
88
- ### Code Refactoring
89
-
90
- * update to node 18 ([26280d6](https://github.com/christophehurpeau/alp/commit/26280d638aba1bd46fa42ad5a571b9626f1fff6d))
91
-
92
-
93
-
94
- ## [7.2.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@7.1.2...alp-body-parser@7.2.0) (2023-03-19)
95
-
96
-
97
- ### Features
98
-
99
- * update dev dependencies ([9d7e24f](https://github.com/christophehurpeau/alp/commit/9d7e24f8e504d47feae64ca618dc2b3a69babc38))
100
-
101
-
102
-
103
- ## [7.1.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@7.1.1...alp-body-parser@7.1.2) (2023-01-31)
104
-
105
- **Note:** Version bump only for package alp-body-parser
106
-
107
-
108
-
109
-
110
-
111
- ## [7.1.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@7.1.0...alp-body-parser@7.1.1) (2023-01-31)
112
-
113
- **Note:** Version bump only for package alp-body-parser
114
-
115
-
116
-
117
-
118
-
119
- # [7.1.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@7.0.0...alp-body-parser@7.1.0) (2023-01-29)
120
-
121
-
122
- ### Features
123
-
124
- * update configs ([e9cbde7](https://github.com/christophehurpeau/alp/commit/e9cbde74ddbbb730bc2b65bb6d0b87f2bba8006e))
125
- * update nightingale and router-segments ([eb95316](https://github.com/christophehurpeau/alp/commit/eb953169651a5b335d2348f823dc65dc1261cfc0))
126
-
127
-
128
-
129
-
130
-
131
- # [7.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.1.2...alp-body-parser@7.0.0) (2022-11-27)
132
-
133
-
134
- ### Features
135
-
136
- * drop node 14 ([5d5f90b](https://github.com/christophehurpeau/alp/commit/5d5f90b09d8532278aba75a97f10ea90bbb27919))
137
-
138
-
139
- ### BREAKING CHANGES
140
-
141
- * drop node 14
142
-
143
-
144
-
145
-
146
-
147
- ## [6.1.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.1.1...alp-body-parser@6.1.2) (2022-10-29)
148
-
149
- **Note:** Version bump only for package alp-body-parser
150
-
151
-
152
-
153
-
154
-
155
- ## [6.1.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.1.0...alp-body-parser@6.1.1) (2022-10-19)
156
-
157
- **Note:** Version bump only for package alp-body-parser
158
-
159
-
160
-
161
-
162
-
163
- # [6.1.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.6...alp-body-parser@6.1.0) (2022-10-16)
164
-
165
-
166
- ### Features
167
-
168
- * update to react 18 ([6ac42b8](https://github.com/christophehurpeau/alp/commit/6ac42b84b80bf76853773f3b93819666684327d1))
169
-
170
-
171
-
172
-
173
-
174
- ## [6.0.6](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.5...alp-body-parser@6.0.6) (2022-10-13)
175
-
176
- **Note:** Version bump only for package alp-body-parser
177
-
178
-
179
-
180
-
181
-
182
- ## [6.0.5](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.4...alp-body-parser@6.0.5) (2022-03-05)
183
-
184
- **Note:** Version bump only for package alp-body-parser
185
-
186
-
187
-
188
-
189
-
190
- ## [6.0.4](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.3...alp-body-parser@6.0.4) (2022-02-20)
191
-
192
- **Note:** Version bump only for package alp-body-parser
193
-
194
-
195
-
196
-
197
-
198
- ## [6.0.3](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.2...alp-body-parser@6.0.3) (2022-02-13)
199
-
200
-
201
- ### Bug Fixes
202
-
203
- * dont override react/react-in-jsx-scope ([5d21c9e](https://github.com/christophehurpeau/alp/commit/5d21c9ece092cd3397d1794211dae17cea6649f8))
204
-
205
-
206
-
207
-
208
-
209
- ## [6.0.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.1...alp-body-parser@6.0.2) (2022-02-06)
210
-
211
- **Note:** Version bump only for package alp-body-parser
212
-
213
-
214
-
215
-
216
-
217
- ## [6.0.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@6.0.0...alp-body-parser@6.0.1) (2022-01-15)
218
-
219
-
220
- ### Bug Fixes
221
-
222
- * update peer dependencies ([74892bc](https://github.com/christophehurpeau/alp/commit/74892bc8dd99ca862ba427914eb893b083e9b9da))
223
-
224
-
225
-
226
-
227
-
228
- # [6.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.2.1...alp-body-parser@6.0.0) (2022-01-02)
229
-
230
-
231
- ### Bug Fixes
232
-
233
- * update nightingale and fix tests ([3691716](https://github.com/christophehurpeau/alp/commit/36917162d0ee3dccc07384caf018b7760d98b744))
234
-
235
-
236
- ### Features
237
-
238
- * **deps:** update dependency @types/co-body to v6 ([#263](https://github.com/christophehurpeau/alp/issues/263)) ([7f832bd](https://github.com/christophehurpeau/alp/commit/7f832bda15a2a69f9d144e96d91d17a7709bcb0b))
239
- * use ESM and drop node 12 ([f45054e](https://github.com/christophehurpeau/alp/commit/f45054e931eea88451d183722797eba057511236))
240
-
241
-
242
- ### BREAKING CHANGES
243
-
244
- * requires node 14 and ESM
245
-
246
-
247
-
248
-
249
-
250
- ## [5.2.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.2.0...alp-body-parser@5.2.1) (2021-04-10)
251
-
252
- **Note:** Version bump only for package alp-body-parser
253
-
254
-
255
-
256
-
257
-
258
- # [5.2.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.1.0...alp-body-parser@5.2.0) (2021-03-28)
259
-
260
-
261
- ### Features
262
-
263
- * update koa ([8be5ecf](https://github.com/christophehurpeau/alp/commit/8be5ecf11e53a2deced805683195cc5c67ba9ea2))
264
- * **deps:** update dependency @types/co-body to v5 ([#193](https://github.com/christophehurpeau/alp/issues/193)) ([52d1c87](https://github.com/christophehurpeau/alp/commit/52d1c8768765b907b83f50c00856a9dfb9d2f328))
265
-
266
-
267
-
268
-
269
-
270
- # [5.1.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.0.3...alp-body-parser@5.1.0) (2021-03-21)
271
-
272
-
273
- ### Features
274
-
275
- * update dependencies and browserlist config ([ec17710](https://github.com/christophehurpeau/alp/commit/ec177106dbfb094fface3d2791800916929305fc))
276
-
277
-
278
-
279
-
280
-
281
- ## [5.0.3](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.0.2...alp-body-parser@5.0.3) (2021-01-23)
282
-
283
-
284
- ### Bug Fixes
285
-
286
- * **alp-body-parser:** return parsed body ([7f38264](https://github.com/christophehurpeau/alp/commit/7f38264ee09b153a58c06c12927ade43b9ab8314))
287
-
288
-
289
-
290
-
291
-
292
- ## [5.0.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.0.1...alp-body-parser@5.0.2) (2021-01-18)
293
-
294
-
295
- ### Bug Fixes
296
-
297
- * deps and export import browser ([c8e51a6](https://github.com/christophehurpeau/alp/commit/c8e51a61befee852cbdbfb7697c7fd273a8d49ef))
298
- * multiple stuff ([e914474](https://github.com/christophehurpeau/alp/commit/e9144747913b8edae7dc1ba94767d03e085cbdcd))
299
-
300
-
301
-
302
-
303
-
304
- ## [5.0.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@5.0.0...alp-body-parser@5.0.1) (2021-01-17)
305
-
306
- **Note:** Version bump only for package alp-body-parser
307
-
308
-
309
-
310
-
311
-
312
- # [5.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@4.2.0...alp-body-parser@5.0.0) (2021-01-17)
313
-
314
-
315
- ### Code Refactoring
316
-
317
- * update dev deps and typescript and eslint ([8cdc20e](https://github.com/christophehurpeau/alp/commit/8cdc20e030769d98d637b9580931cc5cc608278d))
318
-
319
-
320
- ### BREAKING CHANGES
321
-
322
- * requires node 12
323
-
324
-
325
-
326
-
327
-
328
- # [4.2.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@4.1.1...alp-body-parser@4.2.0) (2021-01-12)
329
-
330
-
331
- ### Features
332
-
333
- * **deps:** update dependency @types/co-body to ^0.0.4 [skip ci] ([#168](https://github.com/christophehurpeau/alp/issues/168)) ([472da72](https://github.com/christophehurpeau/alp/commit/472da72e3939127b26d5ce7b26751636bbca6770))
334
-
335
-
336
-
337
-
338
-
339
- ## [4.1.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@4.1.0...alp-body-parser@4.1.1) (2020-08-08)
340
-
341
- **Note:** Version bump only for package alp-body-parser
342
-
343
-
344
-
345
-
346
-
347
- # [4.1.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@4.0.2...alp-body-parser@4.1.0) (2020-05-30)
348
-
349
-
350
- ### Features
351
-
352
- * update dependencies ([70b1f7f](https://github.com/christophehurpeau/alp/commit/70b1f7f))
353
-
354
-
355
-
356
-
357
-
358
- ## [4.0.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@4.0.1...alp-body-parser@4.0.2) (2020-05-02)
359
-
360
- **Note:** Version bump only for package alp-body-parser
361
-
362
-
363
-
364
-
365
-
366
- ## [4.0.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@4.0.0...alp-body-parser@4.0.1) (2019-12-16)
367
-
368
-
369
- ### Bug Fixes
370
-
371
- * update pobpack ([6e0b501](https://github.com/christophehurpeau/alp/commit/6e0b501))
372
-
373
-
374
-
375
-
376
-
377
- # [4.0.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.3.1...alp-body-parser@4.0.0) (2019-12-15)
378
-
379
-
380
- ### Features
381
-
382
- * update dependencies ([2d1539c](https://github.com/christophehurpeau/alp/commit/2d1539c))
383
- * update dependencies and pob ([edee8ce](https://github.com/christophehurpeau/alp/commit/edee8ce))
384
-
385
-
386
- ### BREAKING CHANGES
387
-
388
- * drop node 8
389
-
390
-
391
-
392
-
393
-
394
- ## [3.3.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.3.0...alp-body-parser@3.3.1) (2019-09-15)
395
-
396
- **Note:** Version bump only for package alp-body-parser
397
-
398
-
399
-
400
-
401
-
402
- # [3.3.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.2.2...alp-body-parser@3.3.0) (2019-09-13)
403
-
404
-
405
- ### Features
406
-
407
- * add react-alp-antd-form and update dependencies ([6f60e46](https://github.com/christophehurpeau/alp/commit/6f60e46))
408
-
409
-
410
-
411
-
412
-
413
- ## [3.2.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.2.1...alp-body-parser@3.2.2) (2019-09-09)
414
-
415
-
416
- ### Bug Fixes
417
-
418
- * pob update ([ffe6857](https://github.com/christophehurpeau/alp/commit/ffe6857))
419
- * typescript issues ([23246f6](https://github.com/christophehurpeau/alp/commit/23246f6))
420
-
421
-
422
-
423
-
424
-
425
- ## [3.2.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.2.0...alp-body-parser@3.2.1) (2019-05-01)
426
-
427
-
428
- ### Bug Fixes
429
-
430
- * hot loader ([c880769](https://github.com/christophehurpeau/alp/commit/c880769))
431
-
432
-
433
-
434
-
435
-
436
- # [3.2.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.1.3...alp-body-parser@3.2.0) (2019-05-01)
437
-
438
-
439
- ### Features
440
-
441
- * update deps and pobpack ([1e19ea4](https://github.com/christophehurpeau/alp/commit/1e19ea4))
442
-
443
-
444
-
445
-
446
-
447
- ## [3.1.3](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.1.2...alp-body-parser@3.1.3) (2019-04-20)
448
-
449
- **Note:** Version bump only for package alp-body-parser
450
-
451
-
452
-
453
-
454
-
455
- ## [3.1.2](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.1.1...alp-body-parser@3.1.2) (2019-04-07)
456
-
457
- **Note:** Version bump only for package alp-body-parser
458
-
459
-
460
-
461
-
462
-
463
- ## [3.1.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.1.0...alp-body-parser@3.1.1) (2019-04-06)
464
-
465
- **Note:** Version bump only for package alp-body-parser
466
-
467
-
468
-
469
-
470
-
471
- # [3.1.0](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.0.1...alp-body-parser@3.1.0) (2019-04-05)
472
-
473
-
474
- ### Features
475
-
476
- * update dependencies ([9278dc6](https://github.com/christophehurpeau/alp/commit/9278dc6))
477
-
478
-
479
-
480
-
481
-
482
- ## [3.0.1](https://github.com/christophehurpeau/alp/compare/alp-body-parser@3.0.0...alp-body-parser@3.0.1) (2019-03-08)
483
-
484
-
485
- ### Bug Fixes
486
-
487
- * peerdep alp-node ([e0e3670](https://github.com/christophehurpeau/alp/commit/e0e3670))
488
-
489
-
490
-
491
-
492
-
493
- # 3.0.0 (2019-02-17)
494
-
495
-
496
- ### Bug Fixes
497
-
498
- * alp-body-parser return body ([939638e](https://github.com/christophehurpeau/alp/commit/939638e))
499
- * build ([882938d](https://github.com/christophehurpeau/alp/commit/882938d))
500
- * package.json to reduce vulnerabilities ([#1](https://github.com/christophehurpeau/alp/issues/1)) ([fab43b1](https://github.com/christophehurpeau/alp/commit/fab43b1))
501
-
502
-
503
- ### Features
504
-
505
- * MongoUsersManager allow to extends user ([c00bc69](https://github.com/christophehurpeau/alp/commit/c00bc69))
506
- * typescript ([3541e73](https://github.com/christophehurpeau/alp/commit/3541e73))
507
- * update dependencies ([89f0c58](https://github.com/christophehurpeau/alp/commit/89f0c58))
508
-
509
-
510
- ### BREAKING CHANGES
511
-
512
- * too many breaking changes
513
-
514
-
515
-
516
-
517
-
518
- <a name="2.0.0"></a>
519
- # [2.0.0](https://github.com/alpjs/alp-body-parser/compare/v1.0.2...v2.0.0) (2017-08-16)
520
-
521
-
522
- ### Features
523
-
524
- * update dependencies ([e37d7e8](https://github.com/alpjs/alp-body-parser/commit/e37d7e8))
525
-
526
-
527
- ### v1.0.2
528
-
529
- - [`c06ac23`](https://github.com/alpjs/alp-body-parser/commit/c06ac236517579f8ba9f2216d0e461d248ef8d75) fix ctx.request (Christophe Hurpeau)
530
-
531
-
532
- ### v1.0.1