Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multer-flydrive-engine

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multer-flydrive-engine - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

package.json
{
"name": "multer-flydrive-engine",
"version": "1.0.0",
"version": "1.0.1",
"description": "A multer storage engine for flydrive's fluent storage interface",

@@ -38,3 +38,2 @@ "main": "build/index.js",

"devDependencies": {
"@slynova/flydrive": "^0.3.1",
"@types/express": "^4.17.2",

@@ -50,3 +49,8 @@ "@types/multer": "^1.4.2",

},
"dependencies": {},
"dependencies": {
"@slynova/flydrive": "^0.3.1"
},
"peerDependencies": {
"multer": "^1.4.2"
},
"eslintConfig": {

@@ -53,0 +57,0 @@ "extends": [

@@ -11,12 +11,12 @@ # multer-flydrive-engine

local: {
driver: 'local',
root: process.cwd(),
},
driver: 'local',
root: process.cwd(),
},
s3: {
driver: 's3',
key: 'AWS_S3_KEY',
secret: 'AWS_S3_SECRET',
region: 'AWS_S3_REGION',
bucket: 'AWS_S3_BUCKET',
}
driver: 's3',
key: 'AWS_S3_KEY',
secret: 'AWS_S3_SECRET',
region: 'AWS_S3_REGION',
bucket: 'AWS_S3_BUCKET',
}
}

@@ -27,3 +27,3 @@ });

async disk (req, file) {
return req.query.dest === 's3' ? storage.disk('s3) : storage.disk('local');
return req.query.dest === 's3' ? storage.disk('s3') : storage.disk('local');
},

@@ -36,3 +36,3 @@ async destination (req, file) {

}
})
});

@@ -39,0 +39,0 @@ var upload = multer({ storage: storageEngine });

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc