@eik/core 1.2.25 → 1.2.29

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,31 @@
1
+ ## [1.2.29](https://github.com/eik-lib/core/compare/v1.2.28...v1.2.29) (2022-01-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Upgrade to major version 1.3.0 of Busboy ([#296](https://github.com/eik-lib/core/issues/296)) ([295eec0](https://github.com/eik-lib/core/commit/295eec01d9c97d421f68cd3ecfd05e083716c462))
7
+
8
+ ## [1.2.28](https://github.com/eik-lib/core/compare/v1.2.27...v1.2.28) (2021-11-15)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency http-errors to v1.8.1 ([665552b](https://github.com/eik-lib/core/commit/665552b16c27bf3dd6ba5b6214c223d4ce023f99))
14
+
15
+ ## [1.2.27](https://github.com/eik-lib/core/compare/v1.2.26...v1.2.27) (2021-11-03)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency mime to v3 ([#284](https://github.com/eik-lib/core/issues/284)) ([ac77915](https://github.com/eik-lib/core/commit/ac77915bab4975e30d030515ff61d3dfe4ee6733))
21
+
22
+ ## [1.2.26](https://github.com/eik-lib/core/compare/v1.2.25...v1.2.26) (2021-11-02)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **deps:** update dependency mime to v2.6.0 ([464470d](https://github.com/eik-lib/core/commit/464470d499c4dcec500fc07cd29e4a072284ca20))
28
+
1
29
  ## [1.2.25](https://github.com/eik-lib/core/compare/v1.2.24...v1.2.25) (2021-10-12)
2
30
 
3
31
 
@@ -66,7 +66,7 @@ const MapPut = class MapPut {
66
66
  const path = createFilePathToImportMap(incoming);
67
67
  const queue = [];
68
68
 
69
- const busboy = new Busboy({
69
+ const busboy = Busboy({
70
70
  headers: incoming.headers,
71
71
  limits: {
72
72
  fields: 0,
@@ -83,7 +83,7 @@ const MapPut = class MapPut {
83
83
  }));
84
84
  });
85
85
 
86
- busboy.on('finish', () => {
86
+ busboy.on('close', () => {
87
87
  Promise.all(queue).then((items) => {
88
88
  // Resolve with only the first item in the array since
89
89
  // only one uploaded file is accepted
@@ -35,7 +35,7 @@ const MultipartParser = class MultipartParser {
35
35
  return new Promise((resolve, reject) => {
36
36
  const queue = [];
37
37
 
38
- const busboy = new Busboy({
38
+ const busboy = Busboy({
39
39
  headers: incoming.headers,
40
40
  limits: {
41
41
  fileSize: this._pkgMaxFileSize,
@@ -82,7 +82,7 @@ const MultipartParser = class MultipartParser {
82
82
  reject(error);
83
83
  });
84
84
 
85
- busboy.once('finish', () => {
85
+ busboy.once('close', () => {
86
86
  Promise.all(queue).then((items) => {
87
87
  resolve(items);
88
88
  }).catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eik/core",
3
- "version": "1.2.25",
3
+ "version": "1.2.29",
4
4
  "description": "Core server package",
5
5
  "main": "lib/main.js",
6
6
  "files": [
@@ -22,9 +22,9 @@
22
22
  "@eik/sink": "1.1.0",
23
23
  "@metrics/client": "2.5.0",
24
24
  "abslog": "2.4.0",
25
- "busboy": "0.3.1",
26
- "http-errors": "1.8.0",
27
- "mime": "2.5.2",
25
+ "busboy": "1.3.0",
26
+ "http-errors": "2.0.0",
27
+ "mime": "3.0.0",
28
28
  "original-url": "1.2.3",
29
29
  "rimraf": "3.0.2",
30
30
  "semver": "7.3.5",
@@ -33,22 +33,18 @@
33
33
  "unique-slug": "2.0.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@semantic-release/changelog": "6.0.0",
37
- "@semantic-release/commit-analyzer": "9.0.1",
38
- "@semantic-release/git": "10.0.0",
39
- "@semantic-release/github": "8.0.1",
40
- "@semantic-release/npm": "8.0.0",
41
- "@semantic-release/release-notes-generator": "10.0.2",
42
- "eslint": "7.32.0",
43
- "eslint-config-airbnb-base": "14.2.1",
36
+ "@semantic-release/changelog": "6.0.1",
37
+ "@semantic-release/git": "10.0.1",
38
+ "eslint": "8.6.0",
39
+ "eslint-config-airbnb-base": "15.0.0",
44
40
  "eslint-config-prettier": "8.3.0",
45
- "eslint-plugin-import": "2.24.2",
41
+ "eslint-plugin-import": "2.25.4",
46
42
  "eslint-plugin-prettier": "4.0.0",
47
43
  "form-data": "4.0.0",
48
44
  "mkdirp": "1.0.4",
49
- "node-fetch": "2.6.5",
50
- "prettier": "2.4.1",
51
- "semantic-release": "18.0.0",
52
- "tap": "15.0.10"
45
+ "node-fetch": "2.6.6",
46
+ "prettier": "2.5.1",
47
+ "semantic-release": "18.0.1",
48
+ "tap": "15.1.6"
53
49
  }
54
50
  }