You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nestjs-form-data

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-form-data - npm Package Compare versions

Comparing version

to
1.8.6

6

dist/interfaces/FormDataInterceptorConfig.d.ts

@@ -8,2 +8,8 @@ import { StoredFile } from '../classes/storage';

limits?: FormDataInterceptorLimitsConfig;
/**
* If you want the module to be available globally
* Once you import the module and configure it, it will be available globally
* Only for sync configuration
*/
isGlobal?: boolean;
}

@@ -10,0 +16,0 @@ export interface FormDataInterceptorLimitsConfig {

@@ -9,3 +9,9 @@ import { FormDataInterceptorConfig } from './FormDataInterceptorConfig';

inject?: any[];
/**
* If you want the module to be available globally
* Once you import the module and configure it, it will be available globally
* Only for async configuration
*/
isGlobal?: boolean;
}
//# sourceMappingURL=NestjsFormDataAsyncOptions.d.ts.map

2

dist/nestjs-form-data.module.js

@@ -19,2 +19,3 @@ "use strict";

return {
global: !!config.isGlobal,
module: NestjsFormDataModule_1,

@@ -31,2 +32,3 @@ providers: [

return {
global: !!options.isGlobal,
module: NestjsFormDataModule_1,

@@ -33,0 +35,0 @@ imports: options.imports || [],

2

package.json
{
"name": "nestjs-form-data",
"version": "1.8.5",
"version": "1.8.6",
"description": "NestJS middleware for handling multipart/form-data, which is primarily used for uploading files",

@@ -5,0 +5,0 @@ "main": "dist/index",

@@ -141,2 +141,3 @@ [![npm version](https://badge.fury.io/js/nestjs-form-data.svg)](https://badge.fury.io/js/nestjs-form-data)

### Configuration fields
- `isGlobal` - If you want the module to be available globally. Once you import the module and configure it, it will be available globally
- `storage` - The type of storage logic for the uploaded file (Default MemoryStoredFile)

@@ -143,0 +144,0 @@ - `fileSystemStoragePath` - The path to the directory for storing temporary files, used only for `storage: FileSystemStoredFile` (Default: /tmp/nestjs-tmp-storage)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet