@eik/core 1.4.3 → 2.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/CHANGELOG.md +19 -0
- package/lib/multipart/parser.js +3 -3
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## [2.0.1](https://github.com/eik-lib/core/compare/v2.0.0...v2.0.1) (2024-12-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency mime to v4.0.6 ([#463](https://github.com/eik-lib/core/issues/463)) ([9948b5e](https://github.com/eik-lib/core/commit/9948b5ec104f28b85ad36ac57ce46896649bec51))
|
|
7
|
+
|
|
8
|
+
# [2.0.0](https://github.com/eik-lib/core/compare/v1.4.3...v2.0.0) (2024-11-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update dependencies ([#460](https://github.com/eik-lib/core/issues/460)) ([1b69224](https://github.com/eik-lib/core/commit/1b69224219dfe66b75ee048f891c97da85113e14))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* Requires Node >=20.5.0. Uses `text/javascript` instead of `application/javascript` as mimetype.
|
|
19
|
+
|
|
1
20
|
## [1.4.3](https://github.com/eik-lib/core/compare/v1.4.2...v1.4.3) (2024-11-13)
|
|
2
21
|
|
|
3
22
|
|
package/lib/multipart/parser.js
CHANGED
|
@@ -3,7 +3,7 @@ import HttpError from "http-errors";
|
|
|
3
3
|
import Busboy from "busboy";
|
|
4
4
|
import abslog from "abslog";
|
|
5
5
|
import ssri from "ssri";
|
|
6
|
-
import
|
|
6
|
+
import { Parser } from "tar";
|
|
7
7
|
|
|
8
8
|
import { createFilePathToAsset } from "../utils/path-builders-fs.js";
|
|
9
9
|
import FormField from "./form-field.js";
|
|
@@ -131,9 +131,9 @@ const MultipartParser = class MultipartParser {
|
|
|
131
131
|
file.emit("error", new HttpError.PayloadTooLarge());
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
-
const extract = new
|
|
134
|
+
const extract = new Parser({
|
|
135
135
|
strict: true,
|
|
136
|
-
|
|
136
|
+
onReadEntry: (entry) => {
|
|
137
137
|
// Entries not supported must be thrown
|
|
138
138
|
// away for extraction to continue
|
|
139
139
|
if (entry.type.toLowerCase() !== "file") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eik/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Core server package",
|
|
5
5
|
"main": "lib/main.js",
|
|
6
6
|
"types": "./types/main.d.ts",
|
|
@@ -25,36 +25,36 @@
|
|
|
25
25
|
"author": "",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@eik/common": "
|
|
28
|
+
"@eik/common": "5.0.0",
|
|
29
29
|
"@eik/sink": "1.2.5",
|
|
30
|
-
"@eik/sink-file-system": "
|
|
31
|
-
"@eik/sink-memory": "
|
|
30
|
+
"@eik/sink-file-system": "2.0.0",
|
|
31
|
+
"@eik/sink-memory": "2.0.0",
|
|
32
32
|
"@metrics/client": "2.5.4",
|
|
33
33
|
"abslog": "2.4.4",
|
|
34
34
|
"busboy": "1.6.0",
|
|
35
35
|
"http-errors": "2.0.0",
|
|
36
|
-
"mime": "
|
|
36
|
+
"mime": "4.0.6",
|
|
37
37
|
"original-url": "1.2.3",
|
|
38
38
|
"semver": "7.6.3",
|
|
39
|
-
"ssri": "
|
|
40
|
-
"tar": "
|
|
41
|
-
"unique-slug": "
|
|
39
|
+
"ssri": "12.0.0",
|
|
40
|
+
"tar": "7.4.3",
|
|
41
|
+
"unique-slug": "5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@eik/eslint-config": "1.0.
|
|
44
|
+
"@eik/eslint-config": "1.0.5",
|
|
45
45
|
"@eik/prettier-config": "1.0.1",
|
|
46
46
|
"@eik/semantic-release-config": "1.0.0",
|
|
47
47
|
"@eik/typescript-config": "1.0.0",
|
|
48
48
|
"@types/readable-stream": "4.0.18",
|
|
49
|
-
"eslint": "9.
|
|
49
|
+
"eslint": "9.16.0",
|
|
50
50
|
"form-data": "4.0.1",
|
|
51
51
|
"mkdirp": "3.0.1",
|
|
52
52
|
"node-fetch": "3.3.2",
|
|
53
|
-
"npm-run-all2": "
|
|
54
|
-
"prettier": "3.
|
|
53
|
+
"npm-run-all2": "7.0.1",
|
|
54
|
+
"prettier": "3.4.1",
|
|
55
55
|
"rimraf": "6.0.1",
|
|
56
|
-
"semantic-release": "24.
|
|
57
|
-
"tap": "
|
|
58
|
-
"typescript": "5.
|
|
56
|
+
"semantic-release": "24.2.0",
|
|
57
|
+
"tap": "21.0.1",
|
|
58
|
+
"typescript": "5.6.3"
|
|
59
59
|
}
|
|
60
60
|
}
|