Socket
Socket
Sign inDemoInstall

h3-formidable

Package Overview
Dependencies
7
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.5 to 0.3.6

2

dist/index.d.ts

@@ -14,3 +14,3 @@ import * as h3 from 'h3';

includeFields?: T;
cb?: (incomingForm: IncomingForm) => void;
getForm?: (incomingForm: IncomingForm) => void;
}

@@ -17,0 +17,0 @@ declare function readFiles<T extends boolean | undefined = undefined>(event: H3Event, options?: ReadFilesOptions<T>): ReadFilesReturn<T>;

@@ -43,3 +43,3 @@ "use strict";

const form = (0, import_formidable.default)(options);
(_a = options == null ? void 0 : options.cb) == null ? void 0 : _a.call(options, form);
(_a = options == null ? void 0 : options.getForm) == null ? void 0 : _a.call(options, form);
form.parse(event.node.req, (err, fields, files) => {

@@ -46,0 +46,0 @@ if (err)

{
"name": "h3-formidable",
"version": "0.3.5",
"version": "0.3.6",
"description": "File upload parsing utility for h3 and Nuxt.",

@@ -5,0 +5,0 @@ "author": "Robert Soriano <sorianorobertc@gmail.com>",

Sorry, the diff of this file is not supported yet

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