@eik/core 1.4.2 → 2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # [2.0.0](https://github.com/eik-lib/core/compare/v1.4.3...v2.0.0) (2024-11-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update dependencies ([#460](https://github.com/eik-lib/core/issues/460)) ([1b69224](https://github.com/eik-lib/core/commit/1b69224219dfe66b75ee048f891c97da85113e14))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * Requires Node >=20.5.0. Uses `text/javascript` instead of `application/javascript` as mimetype.
12
+
13
+ ## [1.4.3](https://github.com/eik-lib/core/compare/v1.4.2...v1.4.3) (2024-11-13)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **deps:** update dependency @metrics/client to v2.5.4 ([#458](https://github.com/eik-lib/core/issues/458)) ([066fee4](https://github.com/eik-lib/core/commit/066fee4c954206d59618d6b95681f4c747db3c0f))
19
+
1
20
  ## [1.4.2](https://github.com/eik-lib/core/compare/v1.4.1...v1.4.2) (2024-08-16)
2
21
 
3
22
 
@@ -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 tar from "tar";
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 tar.Parse({
134
+ const extract = new Parser({
135
135
  strict: true,
136
- onentry: (entry) => {
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": "1.4.2",
3
+ "version": "2.0.0",
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": "4.1.1",
28
+ "@eik/common": "5.0.0",
29
29
  "@eik/sink": "1.2.5",
30
- "@eik/sink-file-system": "1.0.1",
31
- "@eik/sink-memory": "1.1.2",
32
- "@metrics/client": "2.5.3",
30
+ "@eik/sink-file-system": "2.0.0",
31
+ "@eik/sink-memory": "2.0.0",
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": "3.0.0",
36
+ "mime": "4.0.4",
37
37
  "original-url": "1.2.3",
38
38
  "semver": "7.6.3",
39
- "ssri": "10.0.6",
40
- "tar": "6.2.1",
41
- "unique-slug": "4.0.0"
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.2",
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
- "@types/readable-stream": "4.0.15",
49
- "eslint": "9.8.0",
50
- "form-data": "4.0.0",
48
+ "@types/readable-stream": "4.0.18",
49
+ "eslint": "9.14.0",
50
+ "form-data": "4.0.1",
51
51
  "mkdirp": "3.0.1",
52
52
  "node-fetch": "3.3.2",
53
- "npm-run-all": "4.1.5",
53
+ "npm-run-all2": "7.0.1",
54
54
  "prettier": "3.3.3",
55
55
  "rimraf": "6.0.1",
56
- "semantic-release": "24.0.0",
57
- "tap": "18.8.0",
58
- "typescript": "5.5.4"
56
+ "semantic-release": "24.2.0",
57
+ "tap": "21.0.1",
58
+ "typescript": "5.6.3"
59
59
  }
60
60
  }