Socket
Socket
Sign inDemoInstall

@orion-js/file-manager

Package Overview
Dependencies
Maintainers
3
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orion-js/file-manager - npm Package Compare versions

Comparing version 3.6.1 to 3.6.2

2

lib/credentials.d.ts

@@ -8,4 +8,6 @@ export interface Credentials {

basePath: string;
endpoint?: string;
s3ForcePathStyle?: boolean;
}
export declare const setupFileManager: (options: any) => any;
export declare const getAWSCredentials: () => Partial<Credentials>;

6

lib/resolvers/generateUploadCredentials.js

@@ -43,7 +43,9 @@ "use strict";

async resolve(params, viewer) {
const { accessKeyId, secretAccessKey, region, bucket, canUpload, basePath } = (0, credentials_1.getAWSCredentials)();
const { accessKeyId, secretAccessKey, region, bucket, endpoint, s3ForcePathStyle, canUpload, basePath } = (0, credentials_1.getAWSCredentials)();
const s3 = new aws_sdk_1.default.S3({
accessKeyId,
secretAccessKey,
region
region,
endpoint,
s3ForcePathStyle
});

@@ -50,0 +52,0 @@ if (canUpload) {

{
"name": "@orion-js/file-manager",
"version": "3.6.1",
"version": "3.6.2",
"main": "lib/index.js",

@@ -21,3 +21,3 @@ "author": "nicolaslopezj",

"@orion-js/schema": "^3.6.1",
"aws-sdk": "^2.1028.0",
"aws-sdk": "^2.1367.0",
"escape-string-regexp": "^4.0.0",

@@ -42,3 +42,3 @@ "lodash": "^4.17.21",

},
"gitHead": "ce643e657e199d1893c8c0f1d067d96e542f1796"
"gitHead": "2ee319d47d7eb4d0da1c50f83d1259896ee644b4"
}
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