@middy/http-content-encoding 6.0.0-beta.1 → 6.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -89,7 +89,7 @@ const httpContentEncodingMiddleware = (opts) => {
89
89
  for await (const chunk of stream) {
90
90
  chunks.push(chunk)
91
91
  }
92
- // TODO update to btoa if faster
92
+
93
93
  const body = Buffer.concat(chunks).toString('base64')
94
94
 
95
95
  // Only apply encoding if it's smaller
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/http-content-encoding",
3
- "version": "6.0.0-beta.1",
3
+ "version": "6.0.0",
4
4
  "description": "Http content encoding middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -66,11 +66,11 @@
66
66
  "url": "https://github.com/sponsors/willfarrell"
67
67
  },
68
68
  "dependencies": {
69
- "@middy/util": "6.0.0-beta.1"
69
+ "@middy/util": "6.0.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@datastream/core": "0.0.40",
73
- "@middy/core": "6.0.0-beta.1"
73
+ "@middy/core": "6.0.0"
74
74
  },
75
75
  "gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"
76
76
  }