@types/multer
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -49,3 +49,3 @@ // Type definitions for multer | ||
/** A function used to determine within which folder the uploaded files should be stored. Defaults to the system's default temporary directory. */ | ||
destination?: string | ((req: Express.Request, file: Express.Multer.File, callback: (error: Error, destination: string) => void) => void); | ||
destination?: string | ((req: Express.Request, file: Express.Multer.File, callback: (error: Error | null, destination: string) => void) => void); | ||
/** A function used to determine what the file should be named inside the folder. Defaults to a random name with no file extension. */ | ||
@@ -117,2 +117,2 @@ filename?: (req: Express.Request, file: Express.Multer.File, callback: (error: Error | null, filename: string) => void) => void; | ||
} | ||
} | ||
} |
{ | ||
"name": "@types/multer", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "TypeScript definitions for multer", | ||
"license": "MIT", | ||
"author": "jt000 <https://github.com/jt000>, vilicvane <https://vilic.github.io/>, David Broder-Rodgers <https://github.com/DavidBR-SW>", | ||
"contributors": [ | ||
{ | ||
"name": "jt000", | ||
"url": "https://github.com/jt000" | ||
}, | ||
{ | ||
"name": "vilicvane", | ||
"url": "https://vilic.github.io/" | ||
}, | ||
{ | ||
"name": "David Broder-Rodgers", | ||
"url": "https://github.com/DavidBR-SW" | ||
} | ||
], | ||
"main": "", | ||
@@ -17,4 +30,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "66bb0d7f4ae45f856645b3e208b601859802d2e2a5f9c8200e56c8918211e3ef", | ||
"typesPublisherContentHash": "742c956c1f3bf5eeedf92ed2b7a1eab95b79da62fda40b6a6276c87f06722950", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/multer | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multer | ||
Additional Details | ||
* Last updated: Mon, 30 Jan 2017 18:37:17 GMT | ||
* Last updated: Fri, 02 Jun 2017 13:55:42 GMT | ||
* Dependencies: express | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8507
103