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

@file-storage/local

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-storage/local - npm Package Compare versions

Comparing version 1.2.1 to 1.2.3

1

dist/local-driver.d.ts

@@ -7,2 +7,3 @@ /// <reference types="node" />

private root;
private publicUrl;
static readonly driverName = DriverName.LOCAL;

@@ -9,0 +10,0 @@ constructor(config: LocalDiskConfig);

5

dist/local-driver.js

@@ -22,4 +22,5 @@ "use strict";

super(config);
const { root = '' } = config;
const { root = '', publicUrl } = config;
this.root = root;
this.publicUrl = publicUrl;
}

@@ -48,3 +49,3 @@ rootPath(path) {

url(path) {
return `${process.env.APP_URL}/${path}`;
return `${this.publicUrl}/${path}`;
}

@@ -51,0 +52,0 @@ exists(path) {

{
"name": "@file-storage/local",
"version": "1.2.1",
"version": "1.2.3",
"description": "Local driver for file-storage",

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

"devDependencies": {
"@file-storage/common": "^1.2.1",
"@file-storage/common": "^1.2.3",
"rimraf": "~3.0.2",
"typescript": "~4.3.5"
},
"gitHead": "5c1da4d6f54f2489984d044d11de324402f32a0b"
"gitHead": "9339db93fb233c8e7cd4d97e07b7eb7a8ca68945"
}
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