Skip to content

Commit

Permalink
Use locked version of S3rver
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Sep 28, 2023
1 parent fa1a559 commit c00d88f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion serverless-s3-local/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const S3rver = require("s3rver");
const S3rver = require("@20minutes/s3rver");
const fs = require("fs-extra"); // Using fs-extra to ensure destination directory exist
const shell = require("shelljs");
const path = require("path");
Expand Down
2 changes: 1 addition & 1 deletion serverless-s3-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"author": "Masahiro Wada",
"main": "index.js",
"dependencies": {
"@20minutes/s3rver": "^4.0.0",
"@aws-sdk/client-s3": "^3.417.0",
"fs-extra": "^11.0.0",
"rxjs": "^6.6.7",
"rxjs-compat": "^6.6.7",
"s3rver": "20minutes/s3rver#main",
"serverless-offline": "^13.0.0",
"shelljs": "^0.8.5"
},
Expand Down
41 changes: 21 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@
d "1"
es5-ext "^0.10.47"

"@20minutes/s3rver@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@20minutes/s3rver/-/s3rver-4.0.0.tgz#99e66306488de4489f404506182bfd86333d26d5"
integrity sha512-ih7PNhgplfhf/W0Ed6M6plnF+ymhHbz1Jq5bOrt5NcQV91br1VVi/Cenfq3Ub17/l8PnvN29xmICoZh6Pahc9w==
dependencies:
"@koa/router" "^12.0.0"
busboy "^1.6.0"
commander "^11.0.0"
fast-xml-parser "^4.3.1"
he "^1.2.0"
koa "^2.12.1"
koa-logger "^3.2.0"
lodash "^4.17.20"
statuses "^2.0.0"
winston "^3.10.0"

"@aashutoshrathi/word-wrap@^1.2.3":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf"
Expand Down Expand Up @@ -5006,10 +5022,10 @@ fast-xml-parser@4.2.5:
dependencies:
strnum "^1.0.5"

fast-xml-parser@^4.2.5:
version "4.3.0"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.3.0.tgz#fdaec352125c9f2157e472cd9894e84f91fd6da4"
integrity sha512-5Wln/SBrtlN37aboiNNFHfSALwLzpUx1vJhDgDVPKKG3JrNe8BWTUoNKqkeKk/HqNbKxC8nEAJaBydq30yHoLA==
fast-xml-parser@^4.3.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.3.1.tgz#4f89c31e4c392d6e3d68b299733cad0c2d50d495"
integrity sha512-viVv3xb8D+SiS1W4cv4tva3bni08kAkx0gQnWrykMM8nXPc1FxqZPU00dCEVjkiCg4HoXd2jC4x29Nzg/l2DAA==
dependencies:
strnum "^1.0.5"

Expand Down Expand Up @@ -7930,21 +7946,6 @@ rxjs@^7.5.5:
dependencies:
tslib "^2.1.0"

s3rver@20minutes/s3rver#main:
version "4.0.0"
resolved "https://codeload.github.com/20minutes/s3rver/tar.gz/36731571f8d3d8dbc6f2239ac5f0ccc07ecb28d7"
dependencies:
"@koa/router" "^12.0.0"
busboy "^1.6.0"
commander "^11.0.0"
fast-xml-parser "^4.2.5"
he "^1.2.0"
koa "^2.12.1"
koa-logger "^3.2.0"
lodash "^4.17.20"
statuses "^2.0.0"
winston "^3.0.0"

safe-array-concat@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c"
Expand Down Expand Up @@ -9181,7 +9182,7 @@ winston-transport@^4.5.0:
readable-stream "^3.6.0"
triple-beam "^1.3.0"

winston@^3.0.0:
winston@^3.10.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/winston/-/winston-3.10.0.tgz#d033cb7bd3ced026fed13bf9d92c55b903116803"
integrity sha512-nT6SIDaE9B7ZRO0u3UvdrimG0HkB7dSTAgInQnNR2SOPJ4bvq5q79+pXLftKmP52lJGW15+H5MCK0nM9D3KB/g==
Expand Down

0 comments on commit c00d88f

Please sign in to comment.