Socket
Socket
Sign inDemoInstall

@file-storage/core

Package Overview
Dependencies
2
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.2 to 1.3.3

8

package.json
{
"name": "@file-storage/core",
"version": "1.3.2",
"version": "1.3.3",
"description": "> TODO: description",

@@ -30,11 +30,11 @@ "author": "Dang Nguyen <haidang009@gmail.com>",

"dependencies": {
"@file-storage/local": "^1.3.1",
"@file-storage/local": "^1.3.3",
"uuid": "^8.3.2"
},
"devDependencies": {
"@file-storage/common": "^1.3.1",
"@file-storage/common": "^1.3.3",
"rimraf": "~3.0.2",
"typescript": "~4.3.5"
},
"gitHead": "ee09f39e82603ea3d657ffeb680cdfad54c78b5f"
"gitHead": "4d470e71a9a24b7acc0d6f82ac536dacfdd19a4d"
}

@@ -79,3 +79,3 @@ ```

If you want to interact with a specific disk instead of the default, use `disk` method to get that instance:
To interact with a specific disk instead of the default, use `disk` method to get that instance:

@@ -108,3 +108,3 @@ ```javascript

interface MyCustomDriverConfig extends DiskConfig {
interface MyCustomDiskConfig extends DiskConfig {
driver: typeof MyCustomDriver;

@@ -115,3 +115,3 @@ ...

class MyCustomDriver extends Driver {
constructor(config: MyCustomDriverConfig) {
constructor(config: MyCustomDiskConfig) {
super(config);

@@ -129,3 +129,3 @@ ...

```typescript
Storage.config<MyCustomDriverConfig>({
Storage.config<MyCustomDiskConfig>({
diskConfigs: [

@@ -143,3 +143,3 @@ {

If you want to upload image and also creates many diferent sizes for web resonsive, install this package, it is acting as a plugin, will generates those images automatically. Images will be generated if the size reach given breakpoints. We provide 3 breakpoints by default: large: 1000, medium: 750, small: 500. And the thumbnail is also generaged by default.
To upload image and also creates many diferent sizes for web resonsive, install this package, it is acting as a plugin, will generates those images automatically. Images will be generated if the size reach given breakpoints. We provide 3 breakpoints by default: large: 1000, medium: 750, small: 500. And the thumbnail is also generaged by default.

@@ -185,2 +185,4 @@ ```bash

- [x] Unique file name.
- [ ] Update `aws-sdk` to v3.
- [ ] Replace `request` module with another module as it was deprecated.

@@ -187,0 +189,0 @@ ## License

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