File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11import { Busboy , BusboyConfig , BusboyFileStream } from "@fastify/busboy" ;
22import { FastifyPluginCallback } from "fastify" ;
33import { Readable } from 'stream' ;
4- import { FastifyErrorConstructor } from "fastify- error" ;
4+ import { FastifyErrorConstructor } from "@ fastify/ error" ;
55
66type MultipartHandler = (
77 field : string ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const { unlink } = require('fs').promises
99const path = require ( 'path' )
1010const hexoid = require ( 'hexoid' )
1111const util = require ( 'util' )
12- const createError = require ( 'fastify- error' )
12+ const createError = require ( '@ fastify/ error' )
1313const sendToWormhole = require ( 'stream-wormhole' )
1414const deepmerge = require ( 'deepmerge' )
1515const { PassThrough, pipeline } = require ( 'stream' )
Original file line number Diff line number Diff line change 11{
2- "name" : " fastify- multipart" ,
3- "version" : " 5.3.1 " ,
2+ "name" : " @ fastify/ multipart" ,
3+ "version" : " 6.0.0 " ,
44 "description" : " Multipart plugin for Fastify" ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
77 "dependencies" : {
88 "@fastify/busboy" : " ^1.0.0" ,
9+ "@fastify/error" : " ^2.0.0" ,
910 "deepmerge" : " ^4.2.2" ,
1011 "end-of-stream" : " ^1.4.4" ,
11- "fastify-error" : " ^1.0.0" ,
1212 "fastify-plugin" : " ^3.0.0" ,
1313 "hexoid" : " ^1.0.0" ,
1414 "secure-json-parse" : " ^2.4.0" ,
6060 "license" : " MIT" ,
6161 "tsd" : {
6262 "directory" : " test"
63+ },
64+ "publishConfig" : {
65+ "access" : " public"
6366 }
6467}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as util from 'util'
55import { pipeline , Readable } from 'stream'
66import * as fs from 'fs'
77import { expectError , expectType } from 'tsd'
8- import { FastifyErrorConstructor } from "fastify- error"
8+ import { FastifyErrorConstructor } from "@ fastify/ error"
99import { BusboyConfig , BusboyFileStream } from "@fastify/busboy" ;
1010
1111const pump = util . promisify ( pipeline )
You can’t perform that action at this time.
0 commit comments