Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
leeseohyeon
2020-05-31 22:43:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78d4d83080bca3327df7e3eac175a3dde4a86529
78d4d830
1 parent
4a9dd77a
파일 다운로드 수정
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
158 additions
and
333 deletions
backend/package-lock.json
backend/package.json
backend/routes/file/downloadFile.js
backend/routes/modules/awsconfig.json
backend/routes/modules/s3/download/IU/folder1/test4.txt
backend/routes/modules/s3/download/shlee/test100(1).txt
backend/routes/modules/s3/s3.js
front-end/package-lock.json
backend/package-lock.json
View file @
78d4d83
...
...
@@ -4,17 +4,24 @@
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
"@
types/babel-types
"
:
{
"version"
:
"7.
0.7
"
,
"resolved"
:
"https://registry.npmjs.org/@
types/babel-types/-/babel-types-7.0.7
.tgz"
,
"integrity"
:
"sha512-
dBtBbrc+qTHy1WdfHYjBwRln4+LWqASWakLHsWHR2NWHIFkv4W3O070IGoGLEBrJBvct3r0L1BUPuvURi7kYUQ
=="
"@
babel/helper-validator-identifier
"
:
{
"version"
:
"7.
10.1
"
,
"resolved"
:
"https://registry.npmjs.org/@
babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1
.tgz"
,
"integrity"
:
"sha512-
5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw
=="
},
"@types/babylon"
:
{
"version"
:
"6.16.5"
,
"resolved"
:
"https://registry.npmjs.org/@types/babylon/-/babylon-6.16.5.tgz"
,
"integrity"
:
"sha512-xH2e58elpj1X4ynnKp9qSnWlsRTIs6n3tgLGNfwAGHwePw0mulHQllV34n0T25uYSu1k0hRKkWXF890B1yS47w=="
,
"@babel/parser"
:
{
"version"
:
"7.10.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz"
,
"integrity"
:
"sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ=="
},
"@babel/types"
:
{
"version"
:
"7.10.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz"
,
"integrity"
:
"sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng=="
,
"requires"
:
{
"@types/babel-types"
:
"*"
"@babel/helper-validator-identifier"
:
"^7.10.1"
,
"lodash"
:
"^4.17.13"
,
"to-fast-properties"
:
"^2.0.0"
}
},
"accepts"
:
{
...
...
@@ -27,24 +34,9 @@
}
},
"acorn"
:
{
"version"
:
"3.3.0"
,
"resolved"
:
"https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz"
,
"integrity"
:
"sha1-ReN/s56No/JbruP/U2niu18iAXo="
},
"acorn-globals"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.1.0.tgz"
,
"integrity"
:
"sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8="
,
"requires"
:
{
"acorn"
:
"^4.0.4"
},
"dependencies"
:
{
"acorn"
:
{
"version"
:
"4.0.13"
,
"resolved"
:
"https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz"
,
"integrity"
:
"sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c="
}
}
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/acorn/-/acorn-7.2.0.tgz"
,
"integrity"
:
"sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ=="
},
"ajv"
:
{
"version"
:
"6.12.2"
,
...
...
@@ -57,21 +49,6 @@
"uri-js"
:
"^4.2.2"
}
},
"align-text"
:
{
"version"
:
"0.1.4"
,
"resolved"
:
"https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz"
,
"integrity"
:
"sha1-DNkKVhCT810KmSVsIrcGlDP60Rc="
,
"requires"
:
{
"kind-of"
:
"^3.0.2"
,
"longest"
:
"^1.0.1"
,
"repeat-string"
:
"^1.5.2"
}
},
"amdefine"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz"
,
"integrity"
:
"sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU="
},
"ansi-styles"
:
{
"version"
:
"3.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz"
,
...
...
@@ -98,6 +75,11 @@
"safer-buffer"
:
"~2.1.0"
}
},
"assert-never"
:
{
"version"
:
"1.2.1"
,
"resolved"
:
"https://registry.npmjs.org/assert-never/-/assert-never-1.2.1.tgz"
,
"integrity"
:
"sha512-TaTivMB6pYI1kXwrFlEhLeGfOqoDNdTxjCdwRfFFkEA30Eu+k48W34nlok2EYWJfFFzqaEmichdNM7th6M5HNw=="
},
"assert-plus"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"
,
...
...
@@ -139,31 +121,14 @@
"resolved"
:
"https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz"
,
"integrity"
:
"sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA=="
},
"babel-runtime"
:
{
"version"
:
"6.26.0"
,
"resolved"
:
"https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz"
,
"integrity"
:
"sha1-llxwWGaOgrVde/4E/yM3vItWR/4="
,
"requires"
:
{
"core-js"
:
"^2.4.0"
,
"regenerator-runtime"
:
"^0.11.0"
}
},
"babel-types"
:
{
"version"
:
"6.26.0"
,
"resolved"
:
"https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz"
,
"integrity"
:
"sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc="
,
"babel-walk"
:
{
"version"
:
"3.0.0-canary-5"
,
"resolved"
:
"https://registry.npmjs.org/babel-walk/-/babel-walk-3.0.0-canary-5.tgz"
,
"integrity"
:
"sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw=="
,
"requires"
:
{
"babel-runtime"
:
"^6.26.0"
,
"esutils"
:
"^2.0.2"
,
"lodash"
:
"^4.17.4"
,
"to-fast-properties"
:
"^1.0.3"
"@babel/types"
:
"^7.9.6"
}
},
"babylon"
:
{
"version"
:
"6.18.0"
,
"resolved"
:
"https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz"
,
"integrity"
:
"sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ=="
},
"balanced-match"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz"
,
...
...
@@ -236,25 +201,11 @@
"resolved"
:
"https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz"
,
"integrity"
:
"sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
},
"camelcase"
:
{
"version"
:
"1.2.1"
,
"resolved"
:
"https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz"
,
"integrity"
:
"sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk="
},
"caseless"
:
{
"version"
:
"0.12.0"
,
"resolved"
:
"https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz"
,
"integrity"
:
"sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"center-align"
:
{
"version"
:
"0.1.3"
,
"resolved"
:
"https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz"
,
"integrity"
:
"sha1-qg0yYptu6XIgBBHL1EYckHvCt60="
,
"requires"
:
{
"align-text"
:
"^0.1.3"
,
"lazy-cache"
:
"^1.0.3"
}
},
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
...
...
@@ -273,25 +224,6 @@
"is-regex"
:
"^1.0.3"
}
},
"clean-css"
:
{
"version"
:
"3.4.28"
,
"resolved"
:
"https://registry.npmjs.org/clean-css/-/clean-css-3.4.28.tgz"
,
"integrity"
:
"sha1-vxlF6C/ICPVWlebd6uwBQA79A/8="
,
"requires"
:
{
"commander"
:
"2.8.x"
,
"source-map"
:
"0.4.x"
}
},
"cliui"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz"
,
"integrity"
:
"sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE="
,
"requires"
:
{
"center-align"
:
"^0.1.1"
,
"right-align"
:
"^0.1.1"
,
"wordwrap"
:
"0.0.2"
}
},
"color-convert"
:
{
"version"
:
"1.9.3"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz"
,
...
...
@@ -313,28 +245,18 @@
"delayed-stream"
:
"~1.0.0"
}
},
"commander"
:
{
"version"
:
"2.8.1"
,
"resolved"
:
"https://registry.npmjs.org/commander/-/commander-2.8.1.tgz"
,
"integrity"
:
"sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ="
,
"requires"
:
{
"graceful-readlink"
:
">= 1.0.0"
}
},
"concat-map"
:
{
"version"
:
"0.0.1"
,
"resolved"
:
"https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
,
"integrity"
:
"sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"constantinople"
:
{
"version"
:
"
3.1.2
"
,
"resolved"
:
"https://registry.npmjs.org/constantinople/-/constantinople-
3.1.2
.tgz"
,
"integrity"
:
"sha512-
yePcBqEFhLOqSBtwYOGGS1exHo/s1xjekXiinh4itpNQGCu4KA1euPh1fg07N2wMITZXQkBz75Ntdt1ctGZou
w=="
,
"version"
:
"
4.0.1
"
,
"resolved"
:
"https://registry.npmjs.org/constantinople/-/constantinople-
4.0.1
.tgz"
,
"integrity"
:
"sha512-
vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZI
w=="
,
"requires"
:
{
"@types/babel-types"
:
"^7.0.0"
,
"@types/babylon"
:
"^6.16.2"
,
"babel-types"
:
"^6.26.0"
,
"babylon"
:
"^6.18.0"
"@babel/parser"
:
"^7.6.0"
,
"@babel/types"
:
"^7.6.1"
}
},
"content-disposition"
:
{
...
...
@@ -366,11 +288,6 @@
"resolved"
:
"https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz"
,
"integrity"
:
"sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
"core-js"
:
{
"version"
:
"2.6.11"
,
"resolved"
:
"https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz"
,
"integrity"
:
"sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
},
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
,
...
...
@@ -397,11 +314,6 @@
"ms"
:
"2.0.0"
}
},
"decamelize"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz"
,
"integrity"
:
"sha1-9lNNFRSCabIDUue+4m9QH5oZEpA="
},
"delayed-stream"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
,
...
...
@@ -459,11 +371,6 @@
"resolved"
:
"https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz"
,
"integrity"
:
"sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"esutils"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz"
,
"integrity"
:
"sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
},
"etag"
:
{
"version"
:
"1.8.1"
,
"resolved"
:
"https://registry.npmjs.org/etag/-/etag-1.8.1.tgz"
,
...
...
@@ -630,11 +537,6 @@
"assert-plus"
:
"^1.0.0"
}
},
"graceful-readlink"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz"
,
"integrity"
:
"sha1-TK+tdrxi8C+gObL5Tpo906ORpyU="
},
"har-schema"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz"
,
...
...
@@ -706,25 +608,13 @@
"resolved"
:
"https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz"
,
"integrity"
:
"sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
},
"is-buffer"
:
{
"version"
:
"1.1.6"
,
"resolved"
:
"https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz"
,
"integrity"
:
"sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-expression"
:
{
"version"
:
"
3
.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-expression/-/is-expression-
3
.0.0.tgz"
,
"integrity"
:
"sha
1-Oayqa+f9HzRx3ELHQW5hwkMXrJ8
="
,
"version"
:
"
4
.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-expression/-/is-expression-
4
.0.0.tgz"
,
"integrity"
:
"sha
512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A=
="
,
"requires"
:
{
"acorn"
:
"~4.0.2"
,
"object-assign"
:
"^4.0.1"
},
"dependencies"
:
{
"acorn"
:
{
"version"
:
"4.0.13"
,
"resolved"
:
"https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz"
,
"integrity"
:
"sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c="
}
"acorn"
:
"^7.1.1"
,
"object-assign"
:
"^4.1.1"
}
},
"is-promise"
:
{
...
...
@@ -816,29 +706,11 @@
"promise"
:
"^7.0.1"
}
},
"kind-of"
:
{
"version"
:
"3.2.2"
,
"resolved"
:
"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz"
,
"integrity"
:
"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ="
,
"requires"
:
{
"is-buffer"
:
"^1.1.5"
}
},
"lazy-cache"
:
{
"version"
:
"1.0.4"
,
"resolved"
:
"https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz"
,
"integrity"
:
"sha1-odePw6UEdMuAhF07O24dpJpEbo4="
},
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
},
"longest"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/longest/-/longest-1.0.1.tgz"
,
"integrity"
:
"sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc="
},
"media-typer"
:
{
"version"
:
"0.3.0"
,
"resolved"
:
"https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
,
...
...
@@ -1008,118 +880,116 @@
"integrity"
:
"sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
},
"pug"
:
{
"version"
:
"
2.0.0-beta11
"
,
"resolved"
:
"https://registry.npmjs.org/pug/-/pug-
2.0.0-beta11
.tgz"
,
"integrity"
:
"sha
1-Favmr1AEx+LPRhPksnRlyVRrXwE
="
,
"version"
:
"
3.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug/-/pug-
3.0.0
.tgz"
,
"integrity"
:
"sha
512-inmsJyFBSHZaiGLaguoFgJGViX0If6AcfcElimvwj9perqjDpUpw79UIEDZbWFmoGVidh08aoE+e8tVkjVJPCw=
="
,
"requires"
:
{
"pug-code-gen"
:
"^
1.1.1
"
,
"pug-filters"
:
"^
2.1.1
"
,
"pug-lexer"
:
"^
3
.0.0"
,
"pug-linker"
:
"^
2.0.2
"
,
"pug-load"
:
"^
2.0.5
"
,
"pug-parser"
:
"^
2.0.2
"
,
"pug-runtime"
:
"^
2.0.3
"
,
"pug-strip-comments"
:
"^
1.0.2
"
"pug-code-gen"
:
"^
3.0.0
"
,
"pug-filters"
:
"^
4.0.0
"
,
"pug-lexer"
:
"^
5
.0.0"
,
"pug-linker"
:
"^
4.0.0
"
,
"pug-load"
:
"^
3.0.0
"
,
"pug-parser"
:
"^
6.0.0
"
,
"pug-runtime"
:
"^
3.0.0
"
,
"pug-strip-comments"
:
"^
2.0.0
"
}
},
"pug-attrs"
:
{
"version"
:
"
2.0.4
"
,
"resolved"
:
"https://registry.npmjs.org/pug-attrs/-/pug-attrs-
2.0.4
.tgz"
,
"integrity"
:
"sha512-
TaZ4Z2TWUPDJcV3wjU3RtUXMrd3kM4Wzjbe3EWnSsZPsJ3LDI0F3yCnf2/W7PPFF+edUFQ0HgDL1IoxSz5K8EQ
=="
,
"version"
:
"
3.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-attrs/-/pug-attrs-
3.0.0
.tgz"
,
"integrity"
:
"sha512-
azINV9dUtzPMFQktvTXciNAfAuVh/L/JCl0vtPCwvOA21uZrC08K/UnmrL+SXGEVc1FwzjW62+xw5S/uaLj6cA
=="
,
"requires"
:
{
"constantinople"
:
"^
3
.0.1"
,
"js-stringify"
:
"^1.0.
1
"
,
"pug-runtime"
:
"^
2.0.5
"
"constantinople"
:
"^
4
.0.1"
,
"js-stringify"
:
"^1.0.
2
"
,
"pug-runtime"
:
"^
3.0.0
"
}
},
"pug-code-gen"
:
{
"version"
:
"
1.1
.1"
,
"resolved"
:
"https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-
1.1
.1.tgz"
,
"integrity"
:
"sha
1-HPcnRO8qA56uajNAyqoRBYcSWOg
="
,
"version"
:
"
3.0
.1"
,
"resolved"
:
"https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-
3.0
.1.tgz"
,
"integrity"
:
"sha
512-xJIGvmXTQlkJllq6hqxxjRWcay2F9CU69TuAuiVZgHK0afOhG5txrQOcZyaPHBvSWCU/QQOqEp5XCH94rRZpBQ=
="
,
"requires"
:
{
"constantinople"
:
"^
3
.0.1"
,
"constantinople"
:
"^
4
.0.1"
,
"doctypes"
:
"^1.1.0"
,
"js-stringify"
:
"^1.0.
1
"
,
"pug-attrs"
:
"^
2.0.2
"
,
"pug-error"
:
"^
1.3.2
"
,
"pug-runtime"
:
"^
2.0.3
"
,
"void-elements"
:
"^
2.0.1
"
,
"with"
:
"^
5
.0.0"
"js-stringify"
:
"^1.0.
2
"
,
"pug-attrs"
:
"^
3.0.0
"
,
"pug-error"
:
"^
2.0.0
"
,
"pug-runtime"
:
"^
3.0.0
"
,
"void-elements"
:
"^
3.1.0
"
,
"with"
:
"^
7
.0.0"
}
},
"pug-error"
:
{
"version"
:
"
1.3.3
"
,
"resolved"
:
"https://registry.npmjs.org/pug-error/-/pug-error-
1.3.3
.tgz"
,
"integrity"
:
"sha512-
qE3YhESP2mRAWMFJgKdtT5D7ckThRScXRwkfo+Erqga7dyJdY3ZquspprMCj/9sJ2ijm5hXFWQE/A3l4poMWi
Q=="
"version"
:
"
2.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-error/-/pug-error-
2.0.0
.tgz"
,
"integrity"
:
"sha512-
sjiUsi9M4RAGHktC1drQfCr5C5eriu24Lfbt4s+7SykztEOwVZtbFk1RRq0tzLxcMxMYTBR+zMQaG07J/btay
Q=="
},
"pug-filters"
:
{
"version"
:
"
2.1.5
"
,
"resolved"
:
"https://registry.npmjs.org/pug-filters/-/pug-filters-
2.1.5
.tgz"
,
"integrity"
:
"sha512-
xkw71KtrC4sxleKiq+cUlQzsiLn8pM5+vCgkChW2E6oNOzaqTSIBKIQ5cl4oheuDzvJYCTSYzRaVinMUrV4YLQ
=="
,
"version"
:
"
4.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-filters/-/pug-filters-
4.0.0
.tgz"
,
"integrity"
:
"sha512-
yeNFtq5Yxmfz0f9z2rMXGw/8/4i1cCFecw/Q7+D0V2DdtII5UvqE12VaZ2AY7ri6o5RNXiweGH79OCq+2RQU4A
=="
,
"requires"
:
{
"clean-css"
:
"^3.3.0"
,
"constantinople"
:
"^3.0.1"
,
"constantinople"
:
"^4.0.1"
,
"jstransformer"
:
"1.0.0"
,
"pug-error"
:
"^1.3.2"
,
"pug-walk"
:
"^1.1.5"
,
"resolve"
:
"^1.1.6"
,
"uglify-js"
:
"^2.6.1"
"pug-error"
:
"^2.0.0"
,
"pug-walk"
:
"^2.0.0"
,
"resolve"
:
"^1.15.1"
}
},
"pug-lexer"
:
{
"version"
:
"
3.1
.0"
,
"resolved"
:
"https://registry.npmjs.org/pug-lexer/-/pug-lexer-
3.1
.0.tgz"
,
"integrity"
:
"sha
1-/QhzdtSmdbT1n4/vQiiDQ06VgaI
="
,
"version"
:
"
5.0
.0"
,
"resolved"
:
"https://registry.npmjs.org/pug-lexer/-/pug-lexer-
5.0
.0.tgz"
,
"integrity"
:
"sha
512-52xMk8nNpuyQ/M2wjZBN5gXQLIylaGkAoTk5Y1pBhVqaopaoj8Z0iVzpbFZAqitL4RHNVDZRnJDsqEYe99Ti0A=
="
,
"requires"
:
{
"character-parser"
:
"^2.
1.1
"
,
"is-expression"
:
"^
3
.0.0"
,
"pug-error"
:
"^
1.3.2
"
"character-parser"
:
"^2.
2.0
"
,
"is-expression"
:
"^
4
.0.0"
,
"pug-error"
:
"^
2.0.0
"
}
},
"pug-linker"
:
{
"version"
:
"
2.0.3
"
,
"resolved"
:
"https://registry.npmjs.org/pug-linker/-/pug-linker-
2.0.3
.tgz"
,
"integrity"
:
"sha
1-szH/olc33eacEntWwQ/xf652bco
="
,
"version"
:
"
4.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-linker/-/pug-linker-
4.0.0
.tgz"
,
"integrity"
:
"sha
512-gjD1yzp0yxbQqnzBAdlhbgoJL5qIFJw78juN1NpTLt/mfPJ5VgC4BvkoD3G23qKzJtIIXBbcCt6FioLSFLOHdw=
="
,
"requires"
:
{
"pug-error"
:
"^
1.3.2
"
,
"pug-walk"
:
"^
1.1.2
"
"pug-error"
:
"^
2.0.0
"
,
"pug-walk"
:
"^
2.0.0
"
}
},
"pug-load"
:
{
"version"
:
"
2.0.12
"
,
"resolved"
:
"https://registry.npmjs.org/pug-load/-/pug-load-
2.0.12
.tgz"
,
"integrity"
:
"sha512-
UqpgGpyyXRYgJs/X60sE6SIf8UBsmcHYKNaOccyVLEuT6OPBIMo6xMPhoJnqtB3Q3BbO4Z3Bjz5qDsUWh4rXsg
=="
,
"version"
:
"
3.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-load/-/pug-load-
3.0.0
.tgz"
,
"integrity"
:
"sha512-
OCjTEnhLWZBvS4zni/WUMjH2YSUosnsmjGBB1An7CsKQarYSWQ0GCVyd4eQPMFJqZ8w9xgs01QdiZXKVjk92EQ
=="
,
"requires"
:
{
"object-assign"
:
"^4.1.
0
"
,
"pug-walk"
:
"^
1.1.8
"
"object-assign"
:
"^4.1.
1
"
,
"pug-walk"
:
"^
2.0.0
"
}
},
"pug-parser"
:
{
"version"
:
"
2.0.2
"
,
"resolved"
:
"https://registry.npmjs.org/pug-parser/-/pug-parser-
2.0.2
.tgz"
,
"integrity"
:
"sha
1-U6aAz9BQOdywwn0CkJS8SnkmibA
="
,
"version"
:
"
6.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-parser/-/pug-parser-
6.0.0
.tgz"
,
"integrity"
:
"sha
512-ukiYM/9cH6Cml+AOl5kETtM9NR3WulyVP2y4HOU45DyMim1IeP/OOiyEWRr6qk5I5klpsBnbuHpwKmTx6WURnw=
="
,
"requires"
:
{
"pug-error"
:
"^
1.3.2
"
,
"token-stream"
:
"
0.0.1
"
"pug-error"
:
"^
2.0.0
"
,
"token-stream"
:
"
1.0.0
"
}
},
"pug-runtime"
:
{
"version"
:
"
2.0.5
"
,
"resolved"
:
"https://registry.npmjs.org/pug-runtime/-/pug-runtime-
2.0.5
.tgz"
,
"integrity"
:
"sha512-
P+rXKn9un4fQY77wtpcuFyvFaBww7/91f3jHa154qU26qFAnOe6SW1CbIDcxiG5lLK9HazYrMCCuDvNgDQNptw
=="
"version"
:
"
3.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-runtime/-/pug-runtime-
3.0.0
.tgz"
,
"integrity"
:
"sha512-
GoEPcmQNnaTsePEdVA05bDpY+Op5VLHKayg08AQiqJBWU/yIaywEYv7TetC5dEQS3fzBBoyb2InDcZEg3mPTIA
=="
},
"pug-strip-comments"
:
{
"version"
:
"
1.0.4
"
,
"resolved"
:
"https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-
1.0.4
.tgz"
,
"integrity"
:
"sha512-
i5j/9CS4yFhSxHp5iKPHwigaig/VV9g+FgReLJWWHEHbvKsbqL0oP/K5ubuLco6Wu3Kan5p7u7qk8A4oLLh6vw
=="
,
"version"
:
"
2.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-
2.0.0
.tgz"
,
"integrity"
:
"sha512-
zo8DsDpH7eTkPHCXFeAk1xZXJbyoTfdPlNR0bK7rpOMuhBYb0f5qUVCO1xlsitYd3w5FQTK7zpNVKb3rZoUrrQ
=="
,
"requires"
:
{
"pug-error"
:
"^
1.3.3
"
"pug-error"
:
"^
2.0.0
"
}
},
"pug-walk"
:
{
"version"
:
"
1.1.8
"
,
"resolved"
:
"https://registry.npmjs.org/pug-walk/-/pug-walk-
1.1.8
.tgz"
,
"integrity"
:
"sha512-
GMu3M5nUL3fju4/egXwZO0XLi6fW/K3T3VTgFQ14GxNi8btlxgT5qZL//JwZFm/2Fa64J/PNS8AZeys3wiMkVA
=="
"version"
:
"
2.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/pug-walk/-/pug-walk-
2.0.0
.tgz"
,
"integrity"
:
"sha512-
yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ
=="
},
"punycode"
:
{
"version"
:
"1.3.2"
,
...
...
@@ -1171,16 +1041,6 @@
"util-deprecate"
:
"~1.0.1"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.11.1"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz"
,
"integrity"
:
"sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
},
"repeat-string"
:
{
"version"
:
"1.6.1"
,
"resolved"
:
"https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz"
,
"integrity"
:
"sha1-jcrkcOHIirwtYA//Sndihtp15jc="
},
"request"
:
{
"version"
:
"2.88.2"
,
"resolved"
:
"https://registry.npmjs.org/request/-/request-2.88.2.tgz"
,
...
...
@@ -1216,14 +1076,6 @@
"path-parse"
:
"^1.0.6"
}
},
"right-align"
:
{
"version"
:
"0.1.3"
,
"resolved"
:
"https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz"
,
"integrity"
:
"sha1-YTObci/mo1FWiSENJOFMlhSGE+8="
,
"requires"
:
{
"align-text"
:
"^0.1.1"
}
},
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
...
...
@@ -1275,14 +1127,6 @@
"resolved"
:
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz"
,
"integrity"
:
"sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
},
"source-map"
:
{
"version"
:
"0.4.4"
,
"resolved"
:
"https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz"
,
"integrity"
:
"sha1-66T12pwNyZneaAMti092FzZSA2s="
,
"requires"
:
{
"amdefine"
:
">=0.0.4"
}
},
"sqlstring"
:
{
"version"
:
"2.3.1"
,
"resolved"
:
"https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz"
,
...
...
@@ -1326,14 +1170,14 @@
}
},
"to-fast-properties"
:
{
"version"
:
"
1.0.3
"
,
"resolved"
:
"https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-
1.0.3
.tgz"
,
"integrity"
:
"sha1-
uDVx+k2MJbguIxsG46MFXeTKGkc
="
"version"
:
"
2.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-
2.0.0
.tgz"
,
"integrity"
:
"sha1-
3F5pjL0HkmW8c+A3doGk5Og/YW4
="
},
"token-stream"
:
{
"version"
:
"
0.0.1
"
,
"resolved"
:
"https://registry.npmjs.org/token-stream/-/token-stream-
0.0.1
.tgz"
,
"integrity"
:
"sha1-z
u78cXp2xDFvEm0LnbqlXX598Bo
="
"version"
:
"
1.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/token-stream/-/token-stream-
1.0.0
.tgz"
,
"integrity"
:
"sha1-z
CAOqyYT9BZtJ/+a/HylbUnfbrQ
="
},
"tough-cookie"
:
{
"version"
:
"2.5.0"
,
...
...
@@ -1373,29 +1217,6 @@
"mime-types"
:
"~2.1.24"
}
},
"uglify-js"
:
{
"version"
:
"2.8.29"
,
"resolved"
:
"https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz"
,
"integrity"
:
"sha1-KcVzMUgFe7Th913zW3qcty5qWd0="
,
"requires"
:
{
"source-map"
:
"~0.5.1"
,
"uglify-to-browserify"
:
"~1.0.0"
,
"yargs"
:
"~3.10.0"
},
"dependencies"
:
{
"source-map"
:
{
"version"
:
"0.5.7"
,
"resolved"
:
"https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz"
,
"integrity"
:
"sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
}
}
},
"uglify-to-browserify"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz"
,
"integrity"
:
"sha1-bgkk1r2mta/jSeOabWMoUKD4grc="
,
"optional"
:
true
},
"uid-safe"
:
{
"version"
:
"2.1.5"
,
"resolved"
:
"https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz"
,
...
...
@@ -1464,29 +1285,21 @@
}
},
"void-elements"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz"
,
"integrity"
:
"sha1-wGavtYK7HLQSjWDqkjkulNXp2+w="
},
"window-size"
:
{
"version"
:
"0.1.0"
,
"resolved"
:
"https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz"
,
"integrity"
:
"sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0="
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz"
,
"integrity"
:
"sha1-YU9/v42AHwu18GYfWy9XhXUOTwk="
},
"with"
:
{
"version"
:
"
5.1.1
"
,
"resolved"
:
"https://registry.npmjs.org/with/-/with-
5.1.1
.tgz"
,
"integrity"
:
"sha
1-+k2qktrzLE6pTtRTyB8EaGtXXf4
="
,
"version"
:
"
7.0.2
"
,
"resolved"
:
"https://registry.npmjs.org/with/-/with-
7.0.2
.tgz"
,
"integrity"
:
"sha
512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w=
="
,
"requires"
:
{
"acorn"
:
"^3.1.0"
,
"acorn-globals"
:
"^3.0.0"
"@babel/parser"
:
"^7.9.6"
,
"@babel/types"
:
"^7.9.6"
,
"assert-never"
:
"^1.2.1"
,
"babel-walk"
:
"3.0.0-canary-5"
}
},
"wordwrap"
:
{
"version"
:
"0.0.2"
,
"resolved"
:
"https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz"
,
"integrity"
:
"sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8="
},
"xml2js"
:
{
"version"
:
"0.4.19"
,
"resolved"
:
"https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz"
,
...
...
@@ -1500,17 +1313,6 @@
"version"
:
"9.0.7"
,
"resolved"
:
"https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz"
,
"integrity"
:
"sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0="
},
"yargs"
:
{
"version"
:
"3.10.0"
,
"resolved"
:
"https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz"
,
"integrity"
:
"sha1-9+572FfdfB0tOMDnTvvWgdFDH9E="
,
"requires"
:
{
"camelcase"
:
"^1.0.2"
,
"cliui"
:
"^2.1.0"
,
"decamelize"
:
"^1.0.0"
,
"window-size"
:
"0.1.0"
}
}
}
}
...
...
backend/package.json
View file @
78d4d83
...
...
@@ -19,7 +19,7 @@
"morgan"
:
"~1.9.1"
,
"mysql"
:
"^2.18.1"
,
"passport"
:
"^0.4.1"
,
"pug"
:
"
2.0.0-beta11
"
,
"pug"
:
"
^3.0.0
"
,
"request"
:
"^2.88.2"
}
}
...
...
backend/routes/file/downloadFile.js
View file @
78d4d83
...
...
@@ -9,6 +9,25 @@ var S3 = require('../modules/s3/s3');
router
.
get
(
'/:name'
,
function
(
req
,
res
,
next
)
{
var
file_name
=
req
.
params
.
name
;
// test.txt
var
user_id
=
req
.
query
.
id
;
var
curPath
=
req
.
query
.
cur
;
// /folder1/folder2/
var
targetFile
=
(
curPath
+
file_name
).
substring
(
1
);
// folder1/folder2/test.txt
var
s3
=
new
AWS
.
S3
();
var
params
=
{
Bucket
:
S3
.
BUCKET_NAME
,
Key
:
'drive/'
+
user_id
+
'/'
+
targetFile
,
};
res
.
attachment
(
file_name
);
var
fileStream
=
s3
.
getObject
(
params
).
createReadStream
();
fileStream
.
pipe
(
res
);
});
/*
// /file/download/:name
router.get('/:name', function (req, res) {
var file_name = req.params.name; // test.txt
...
...
@@ -20,14 +39,18 @@ router.get('/:name', function (req, res) {
S3.downloadFile2(S3.BUCKET_NAME, user_id, targetFile, function (result, downloadDir) {
if (result){
res.download(downloadDir, function (err) {
fs
.
unlink
(
downloadDir
,
function
(
err
)
{
if (err){
console.log(err);
}else{
console.log('download success');
}
);
}
});
}else{
res
.
s
tatus
(
404
).
s
end
({
error
:
'download error'
});
res.send({error: 'download error'});
}
});
});
*/
module
.
exports
=
router
;
\ No newline at end of file
...
...
backend/routes/modules/awsconfig.json
View file @
78d4d83
{
"accessKeyId"
:
"ASIAZQ5XTMMF
77IHPTR6
"
,
"secretAccessKey"
:
"
IIDj5U3n6603WcAOf2OMTj2V6urKuGQaRGXABtVd
"
,
"sessionToken"
:
"FwoGZXIvYXdzEN
H//////////wEaDLvwZHLSr6GbUZyD0yLDAVKxxzxNeyC41xtvOmvV9Xmeor5N/Uy6byi1/D/9K6OoGSwdgPNlyyz5EzCsB3UDWtyWGSmIX9PreX0FX2wnD5/VHDl9QibRMUpXOBlg95BNHrfx0e7Srfn6a1GY8eN9ntiqiv7DuS3jV7I7L9NOE218dxDnt4hul8gStVZ4urSXlz4KUAXLucCbF4y2c/KuDVqKPM/9+MQgnL6f3bHThwNEhZhm4CjyHQYZgB2eGd9HYi95RYC9NglBi1gH60Iao8AELSi8wc32BTItNSdy9ymXld6zjj9OnqNzUZdm+GdCX8qFQ87nzVzmX7kHEOWnK9x+4zTHbGXx
"
,
"accessKeyId"
:
"ASIAZQ5XTMMF
XPQFN3NS
"
,
"secretAccessKey"
:
"
TcMI1ZR/XCHWTp+RXbXDYmoUUb589qOEKVCgrp9s
"
,
"sessionToken"
:
"FwoGZXIvYXdzEN
b//////////wEaDNgXTHMODoBOdUpzkCLDAbECc2/FubNowruTAgVlYoP1DSxpCPyKWCZAgNyMak8XUFwQycZDMvPgj/hl+Jn+a8yn2xktkSZP3yRQ2UcTm0WQeWKt94HzatAXBT17B2BBLZOPjMgFWiG4Rgqw48tyT5po3/M84gs5p+x/0AGh7oVQ9VlqoZcgdCRfXUBD9oQ7xkb74AiZ6kZKu5DSNMyIhzzXFrtIXMK+0La9AmfuAhytmTlG9XXp1UhYzubBajB6b2OW/Ce4yKs7Y7UzRr3LERyLCCj9zM72BTIt+BGOkTrbTV65QeFYRmPbKB7OlRsIfdyd67uKLQfSGmsSgp0SFw7sZKcRRODL
"
,
"region"
:
"us-east-1"
}
\ No newline at end of file
...
...
backend/routes/modules/s3/download/IU/folder1/test4.txt
deleted
100644 → 0
View file @
4a9dd77
안녕
\ No newline at end of file
backend/routes/modules/s3/download/shlee/test100(1).txt
0 → 100644
View file @
78d4d83
[object Object]
\ No newline at end of file
backend/routes/modules/s3/s3.js
View file @
78d4d83
...
...
@@ -106,7 +106,7 @@ var S3 = {
}
else
{
if
(
data
)
{
console
.
log
(
"Get File Success"
);
callback
(
true
,
data
.
body
);
callback
(
true
,
data
.
body
.
toString
()
);
}
}
})
...
...
front-end/package-lock.json
View file @
78d4d83
...
...
@@ -5775,9 +5775,9 @@
}
},
"http-proxy"
:
{
"version"
:
"1.18.
0
"
,
"resolved"
:
"https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.
0
.tgz"
,
"integrity"
:
"sha512-
84I2iJM/n1d4Hdgc6y2+qY5mDaz2PUVjlg9znE9byl+q0uC3DeByqBGReQu5tpLK0TAqTIXScRUV+dg7+bUPp
Q=="
,
"version"
:
"1.18.
1
"
,
"resolved"
:
"https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.
1
.tgz"
,
"integrity"
:
"sha512-
7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5N
Q=="
,
"dev"
:
true
,
"requires"
:
{
"eventemitter3"
:
"^4.0.0"
,
...
...
Please
register
or
login
to post a comment