Socket
Socket
Sign inDemoInstall

s3proxy

Package Overview
Dependencies
40
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.1 to 1.6.2

24

package.json
{
"name": "s3proxy",
"version": "1.6.1",
"version": "1.6.2",
"description": "Streaming web proxy for AWS S3",
"main": "index.js",
"devDependencies": {
"artillery": "^1.7.8",
"artillery": "^1.7.9",
"artillery-plugin-expect": "^1.5.0",

@@ -12,5 +12,5 @@ "benchmark": "^2.1.4",

"chai-http": "^4.3.0",
"eslint": "^7.32.0",
"eslint": "^8.0.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-import": "^2.25.2",
"express": "^4.17.1",

@@ -20,3 +20,3 @@ "express-request-id": "^1.4.1",

"microtime": "^3.0.0",
"mocha": "^9.1.1",
"mocha": "^9.1.2",
"morgan": "^1.10.0",

@@ -30,3 +30,3 @@ "nock": "^13.1.3",

"dependencies": {
"aws-sdk": "^2.983.0",
"aws-sdk": "^2.1008.0",
"url": "^0.11.0"

@@ -40,6 +40,9 @@ },

"mocha": "mocha",
"artillery": "artillery run --config test/artillery-config-quick.yml test/artillery.yml",
"artillery-ci": "start-server-and-test start :8080 artillery",
"artillery-docker": "npm run dockerize-for-test && npm run credentials && docker run -v $PWD/credentials.json:/src/credentials.json:ro --rm --name s3proxy-test -d -p 8080:8080 -e BUCKET=s3proxy-public -e PORT=8080 -t s3proxy:test && wait-on http://localhost:8080/index.html && npm run artillery; docker kill s3proxy-test",
"artillery-performance": "artillery run --quiet --output artillery.json --config test/artillery-config-performance.yml test/artillery.yml && artillery report --output artillery.html artillery.json",
"artillery-local": "artillery run --config test/artillery-config-quick-local.yml test/artillery.yml",
"artillery-apigw": "artillery run --config test/artillery-config-quick-apigw.yml test/artillery.yml",
"artillery-ecs": "artillery run --config test/artillery-config-quick-ecs.yml test/artillery.yml",
"artillery-ci": "start-server-and-test start :8080 artillery-local",
"artillery-docker": "npm run dockerize-for-test && npm run credentials && docker run -v $PWD/credentials.json:/src/credentials.json:ro --rm --name s3proxy-test -d -p 8080:8080 -e BUCKET=s3proxy-public -e PORT=8080 -t s3proxy:test && wait-on http://localhost:8080/index.html && npm run artillery-local; docker kill s3proxy-test",
"artillery-perf-ecs": "artillery run --config test/artillery-config-perf-ecs.yml test/artillery.yml",
"artillery-perf-apigw": "artillery run --config test/artillery-config-perf-apigw.yml test/artillery.yml",
"package": "npm pack && mv s3proxy-*.tgz examples/docker/",

@@ -51,2 +54,3 @@ "credentials": "aws sts get-session-token --duration 900 > credentials.json",

"dockerize-for-prod-dockerhub": "cd examples/docker && docker buildx build --build-arg VERSION=$npm_package_version --push --target production -t forkzero/s3proxy:$npm_package_version --platform=linux/amd64,linux/arm64 .",
"software-bill-of-materials": "cd examples/docker && docker buildx build --build-arg VERSION=$npm_package_version --load --target production -t forkzero/s3proxy:$npm_package_version . && syft forkzero/s3proxy:$npm_package_version",
"docker-login-aws": "aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${AWS_ACCOUNT}.dkr.ecr.us-east-1.amazonaws.com",

@@ -53,0 +57,0 @@ "docker-login-dockerhub": "docker login --username ${DOCKERHUB_USER} --password ${DOCKERHUB_ACCESS_TOKEN}",

@@ -310,3 +310,3 @@ # s3proxy

cd s3proxy
npm run artillery
npm run artillery-local
```

@@ -365,6 +365,6 @@ Response time p95 is less than 35ms and median response time is 12.3ms.

To execute the tests:
1. start your local web server on port 3000
1. start your local web server on port 8080
1. run artillery
```
npm run artillery
npm run artillery-local
```

@@ -371,0 +371,0 @@ ### Run GitHub Actions locally

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc