diff --git a/muhammara.d.ts b/muhammara.d.ts index c709f256..873effbf 100755 --- a/muhammara.d.ts +++ b/muhammara.d.ts @@ -1040,9 +1040,17 @@ declare module "muhammara" { } export class Recipe { - constructor(src: string, output?: string, options?: Recipe.RecipeOptions); - - constructor(buffer: Buffer, options?: Recipe.RecipeOptions); + constructor( + src: string, + output?: string | null, + options?: Recipe.RecipeOptions + ); + + constructor( + buffer: Buffer, + output?: string | null, + options?: Recipe.RecipeOptions + ); comment( text: string, diff --git a/package-lock.json b/package-lock.json index 053601a4..adadd27a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3722,6 +3722,12 @@ "signal-exit": "^3.0.2" } }, + "node_modules/npm/node_modules/lodash._baseindexof": { + "version": "3.1.0", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, "node_modules/npm/node_modules/lodash._baseuniq": { "version": "4.6.0", "dev": true, @@ -3732,12 +3738,39 @@ "lodash._root": "~3.0.0" } }, + "node_modules/npm/node_modules/lodash._bindcallback": { + "version": "3.0.1", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/lodash._cacheindexof": { + "version": "3.0.2", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/lodash._createcache": { + "version": "3.1.2", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "lodash._getnative": "^3.0.0" + } + }, "node_modules/npm/node_modules/lodash._createset": { "version": "4.0.3", "dev": true, "inBundle": true, "license": "MIT" }, + "node_modules/npm/node_modules/lodash._getnative": { + "version": "3.9.1", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, "node_modules/npm/node_modules/lodash._root": { "version": "3.0.1", "dev": true, @@ -3750,6 +3783,12 @@ "inBundle": true, "license": "MIT" }, + "node_modules/npm/node_modules/lodash.restparam": { + "version": "3.6.1", + "extraneous": true, + "inBundle": true, + "license": "MIT" + }, "node_modules/npm/node_modules/lodash.union": { "version": "4.6.0", "dev": true,