lambda-compression 0.2.27 → 0.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/README.md +2 -0
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@ This library provides a wrapper that can be used to compress content in response
|
|
|
6
6
|
|
|
7
7
|
The library supports compression with `br`, `gzip` and `deflate`. It will return responses with compressed data matching the supported `accept-encoding` header provided by the client.
|
|
8
8
|
|
|
9
|
+
This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️
|
|
9
10
|
## Installation
|
|
10
11
|
|
|
11
12
|
Simply add the `lambda-compression` package to your project:
|
|
@@ -115,3 +116,4 @@ If the client sends `accept-encoding: identity` or no header, the response remai
|
|
|
115
116
|
- [compression.js in lambda-api project](https://github.com/jeremydaly/lambda-api/blob/main/lib/compression.js)
|
|
116
117
|
- [Serverless Content Encoding for Serverless](https://www.npmjs.com/package/serverless-content-encoding)
|
|
117
118
|
- [serverless-content-encoding](https://github.com/dong-dohai/serverless-content-encoding) - no longer maintained
|
|
119
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lambda-compression",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"description": "HTTP payload compression for AWS Lambda functions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lambda",
|
|
@@ -30,21 +30,20 @@
|
|
|
30
30
|
"compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
|
|
31
31
|
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
|
|
32
32
|
"prepublishOnly": "yarn run build",
|
|
33
|
-
"publish": "
|
|
33
|
+
"publish": "yarn npm publish --tolerate-republish",
|
|
34
34
|
"test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
|
|
35
|
-
"version:apply": "
|
|
35
|
+
"version:apply": "yarn version $@ && yarn version apply"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@types/aws-lambda": "^8.10.159"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@goldstack/utils-git": "0.2.22",
|
|
42
41
|
"@swc/core": "^1.15.8",
|
|
43
42
|
"@swc/jest": "^0.2.39",
|
|
44
43
|
"@types/jest": "^30.0.0",
|
|
45
44
|
"@types/node": "^25.0.3",
|
|
46
45
|
"jest": "^30.2.0",
|
|
47
|
-
"rimraf": "^
|
|
46
|
+
"rimraf": "^6.1.2",
|
|
48
47
|
"typescript": "^5.9.3"
|
|
49
48
|
},
|
|
50
49
|
"publishConfig": {
|