Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/functions

Package Overview
Dependencies
Maintainers
7
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/functions - npm Package Compare versions

Comparing version 4.0.0-alpha.5 to 4.0.0-alpha.6

src/http/HttpResponse.ts

166

_manifest/manifest.json
{
"Outputs": [
{
"Source": "/LICENSE",
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420",
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34"
},
{
"Source": "/dist/azure-functions.js",
"AzureArtifactsHash": "042F2A2A2A2A2A2A2F20282829203D3E207B202F2F207765627061636B426F6F7473",
"Sha256Hash": "971D21690B5A05E4BD6E54C1FC3047484F1DF5C674DD2119B02A3AF2CA1B93B1"
"Sha256Hash": "17415140D1E97B04E3389281BFEC3676A4E11A0D667FB88BA9EAD30A9D540CC3"
},
{
"Source": "/dist/azure-functions.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "1502ED94536AE2E25B888BDA416438A91CC6F5D2BFB31103CE059DFFE024FB7F"
"Source": "/NOTICE.html",
"AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E",
"Sha256Hash": "268BB778AA03CAA778C9D47BA467E1E4681AA44E61A01F32191D66A2223D638A"
},
{
"Source": "/dist/azure-functions.min.js.map",
"Source": "/dist/azure-functions.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "1B740DB0E466C043899F808D94990B0CA7ABAD88B66E5DD9BF14FA09922020A0"
"Sha256Hash": "16413C17253C26910C8DD689152533C473E9E2A9E984E37DB9BA82E9A5B350F4"
},
{
"Source": "/NOTICE.html",
"AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E",
"Sha256Hash": "268BB778AA03CAA778C9D47BA467E1E4681AA44E61A01F32191D66A2223D638A"
},
{
"Source": "/README.md",

@@ -29,10 +29,5 @@ "AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A73204672616D65776F",

{
"Source": "/LICENSE",
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420",
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34"
},
{
"Source": "/package.json",
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322",
"Sha256Hash": "8D605AA29248E58C249C76D47158EFA917FC88BB9B6BB26E298A933519B36464"
"Sha256Hash": "454593D7DBD2524E774C082F8FBDB454D21B5C15E9BC418AF0E5E98089B14EA8"
},

@@ -42,73 +37,73 @@ {

"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3331333A66756E",
"Sha256Hash": "F054C65CB3D20D3B9671BA2FF02CAC0FCF91B7E2215D636DFE262C42B9748F32"
"Sha256Hash": "7D691328F2654B5A5F1946188C5B9F35A2EAFFD30159C51044AB1ABBC7219FEA"
},
{
"Source": "/src/InvocationModel.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "BA7ACB74663EEBD6EAF6DEA53EEBEA57FDFAA0E1B87E22FC36339474DC934A50"
"Source": "/dist/azure-functions.min.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "8146687D8B59F4486E2D871BCA481F4AB92551A1AE45AE8D580C5E126846406E"
},
{
"Source": "/src/errors.ts",
"Source": "/src/converters/fromRpcTriggerMetadata.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439"
"Sha256Hash": "8DBD98BA1BE3ECC1388D82FD151307F67CBC3F28568ACF5B804572B423D11BA5"
},
{
"Source": "/src/index.ts",
"Source": "/src/http/HttpRequest.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "BC231BF8931E868546AE53E22E2D7F0CF4D4751D8E73C583F355EAE677D23E1E"
"Sha256Hash": "B25012CCACE73515AC797969322B905DD1633B71991E994BDD30C0E47467A232"
},
{
"Source": "/src/converters/toRpcHttp.ts",
"Source": "/types/eventHub.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "F32B8220B5E24697244C57946708EFDE686885EA5FDA4E9333FCF23A35376039"
"Sha256Hash": "0CA276E09D1D89DAF94D087C590AF6F6B0D110142E367A63271A47A2C2C01661"
},
{
"Source": "/src/converters/toCamelCase.ts",
"Source": "/src/converters/fromRpcContext.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "F2BA3BB81D4F2006BAFED62EB940919B4D005DCDD58F4C2AE2DCAA41D9599EE7"
"Sha256Hash": "6A96CA0D0F0D032F0306E662B6F0A5168495A6E4D975E2DCADA5643D92BA385C"
},
{
"Source": "/src/converters/toRpcNullable.ts",
"Source": "/src/converters/toRpcTypedData.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "773F0C22930331BE2B0F9DAF9849B80F4B7BCC18FC2E19BA07DD502B56461EE3"
"Sha256Hash": "7405A843C01B965492DAA22D1A7F9372E3CF0AABE4586C34C0E4F924C9E6DEDD"
},
{
"Source": "/src/parsers/parseHeader.ts",
"Source": "/types/cosmosDB.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "BE8A008FD0F7B6C0F6EB584ACCC3FEFA462F88BCB0BEBED809C56B20EA2F620B"
"Sha256Hash": "36CE6F564C13906D1BEF62B8446B27ED6A62212D1749C240A87032B162634C5B"
},
{
"Source": "/src/parsers/parseMultipartForm.ts",
"Source": "/src/constants.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "B40B0E58F2154E069AD0A0938319B9AFE4846DE80B4831F76861986215F3D165"
"Sha256Hash": "E4FAE4370E063AF3A44EABC9441E9B3AB9ECD4478F5997B33B5F82464C42D436"
},
{
"Source": "/src/utils/isTrigger.ts",
"Source": "/src/converters/fromRpcTypedData.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "4FEE9EFECDFD1152E5600954185523FAE4609865A492EEBF8368DB554210AE85"
"Sha256Hash": "BE00908655FDB32260987041B22A6D9BBBED65AA1AD0F88D5DD56959189D090E"
},
{
"Source": "/types/eventHub.d.ts",
"Source": "/src/http/HttpResponse.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "010A88AB288D81D96FF27D01766082A8483B25D9CF03CD7BFCB468D7FBD89269"
"Sha256Hash": "1CFCB19BB6C744473407B91F19E749CEA96BA2A506810C321472DF6A4BB1252E"
},
{
"Source": "/types/generic.d.ts",
"Source": "/src/errors.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "A42D7F0A95DE6FA9D2B67D44AC0770F93FB1AA876A14D6632C8661C75BB63AA1"
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439"
},
{
"Source": "/types/index.d.ts",
"Source": "/src/converters/toCamelCase.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "35CFC04DE852B808C82713B9EC0638E8CC70BE55AD545254993C8C00192EBD1D"
"Sha256Hash": "F2BA3BB81D4F2006BAFED62EB940919B4D005DCDD58F4C2AE2DCAA41D9599EE7"
},
{
"Source": "/src/InvocationContext.ts",
"Source": "/src/utils/getRandomHexString.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "2BCDF514AF5638B71592CC3AEDD8610483067AD2CE3559116AEEBD6875D3A028"
"Sha256Hash": "6A6BD203AB5D85E155A99F19A0792E564550ECAB6496C11D3C07D81608756481"
},
{
"Source": "/src/converters/fromRpcTriggerMetadata.ts",
"Source": "/types/http.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "8DBD98BA1BE3ECC1388D82FD151307F67CBC3F28568ACF5B804572B423D11BA5"
"Sha256Hash": "F788BC99A0EA836403D46557622760C4F86ACEF7A1E78ACF029FBDDA924F001F"
},

@@ -121,57 +116,62 @@ {

{
"Source": "/src/constants.ts",
"Source": "/src/http/extractHttpUserFromHeaders.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "E4C184E5A8DD04D812E36AFF7EA0604E7F326DECB97758B35F83AAC1AF2E3598"
"Sha256Hash": "0701231F3D83A9050DE3A9E40D946FBD49D425049D0B58BF623770F25282252A"
},
{
"Source": "/src/converters/fromRpcContext.ts",
"Source": "/types/eventGrid.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "6A96CA0D0F0D032F0306E662B6F0A5168495A6E4D975E2DCADA5643D92BA385C"
"Sha256Hash": "1B83EE57145A0FA6C0287DF9CEA1F81ED8F189360EEBA73337E1E11ADE5FAB95"
},
{
"Source": "/src/converters/toRpcHttpCookie.ts",
"Source": "/src/index.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "B40FD0389AC5593665B7A5521D1440118CEB94E86D42E04D0AE8C08A26424944"
"Sha256Hash": "DF20B682774F014D886E8FC674F945CC063F2436B2CBBD5606CD2E003369B63F"
},
{
"Source": "/src/http/HttpRequest.ts",
"Source": "/src/converters/toRpcHttp.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "6EABFF0370ADD0E1B72D24B33C0BD1DA3A0907DAA65A56451FC5B110B8E249E1"
"Sha256Hash": "5905595C2B16C068BAAB4DD181294DD16B70205D79BB93F8E7CF45525FD05B7B"
},
{
"Source": "/src/converters/fromRpcTypedData.ts",
"Source": "/src/utils/isTrigger.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "BE00908655FDB32260987041B22A6D9BBBED65AA1AD0F88D5DD56959189D090E"
"Sha256Hash": "4FEE9EFECDFD1152E5600954185523FAE4609865A492EEBF8368DB554210AE85"
},
{
"Source": "/src/http/extractHttpUserFromHeaders.ts",
"Source": "/types/index.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0701231F3D83A9050DE3A9E40D946FBD49D425049D0B58BF623770F25282252A"
"Sha256Hash": "2B1857C3DA9DAE47D069AA111F5B9C3D8C2DED0C70E2BB02939DDB5EF98594B9"
},
{
"Source": "/src/converters/toRpcTypedData.ts",
"Source": "/src/InvocationModel.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "43D67919417F68ADCDC5ED1315DD0B07A5168B886CBA2520BCBDF3FBFF4F6CE2"
"Sha256Hash": "408D91022AE12A88A62B5E63FE7B6C03E84041B14B91A794C36A9705DF324040"
},
{
"Source": "/src/utils/getRandomHexString.ts",
"Source": "/src/converters/toRpcNullable.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "6A6BD203AB5D85E155A99F19A0792E564550ECAB6496C11D3C07D81608756481"
"Sha256Hash": "773F0C22930331BE2B0F9DAF9849B80F4B7BCC18FC2E19BA07DD502B56461EE3"
},
{
"Source": "/types/cosmosDB.d.ts",
"Source": "/src/utils/util.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0F292E09CEA5B3C3FF288616C335D860CF5D5D13417145D5FC4B22F3AA08ACE5"
"Sha256Hash": "6CF132C958C9B59C0F50372ABD16961981A3010E0F8FA16801EA295830B802F0"
},
{
"Source": "/src/parsers/parseForm.ts",
"Source": "/types/serviceBus.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "21C817FF361887893D1345495FD9E94E37628972DCB10B1830BC1F904193819B"
"Sha256Hash": "BED40FDDD9B90A1F131963A0348C4D163190F1FFB118372A1587CD7F860C8B3B"
},
{
"Source": "/src/utils/util.ts",
"Source": "/src/InvocationContext.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "6CF132C958C9B59C0F50372ABD16961981A3010E0F8FA16801EA295830B802F0"
"Sha256Hash": "2BCDF514AF5638B71592CC3AEDD8610483067AD2CE3559116AEEBD6875D3A028"
},
{
"Source": "/src/converters/toRpcHttpCookie.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "B40FD0389AC5593665B7A5521D1440118CEB94E86D42E04D0AE8C08A26424944"
},
{
"Source": "/src/utils/nonNull.ts",

@@ -182,5 +182,5 @@ "AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",

{
"Source": "/types/http.d.ts",
"Source": "/types/InvocationContext.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "803D0F4DA9F84A6610DDD45143D4BFB60D74FAF4FF4B7F0208E41038DB0A0DEF"
"Sha256Hash": "272C93C66D5BC77DE0275D34195C84DE66A261A57B63339968760A11BC687790"
},

@@ -190,31 +190,21 @@ {

"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "49ED28AD7BC438DAFC5A26F4089D2F58582B89352302BF8DB518D0D4AD4337A4"
"Sha256Hash": "817BA5CE14A7BBBAD25919A183182BD4304A3C0CC3CB5B4C11B0E0CBE1258C35"
},
{
"Source": "/types/eventGrid.d.ts",
"Source": "/types/generic.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "CD330AF09974C8664EA7C750CD21DC672A13F7A06AC4308B0137573786C20C3F"
"Sha256Hash": "A42D7F0A95DE6FA9D2B67D44AC0770F93FB1AA876A14D6632C8661C75BB63AA1"
},
{
"Source": "/types/serviceBus.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "E0BC0C6BE513A41C10879697D7BEF23AD7C9265F556350F3BA8F4894161222DC"
},
{
"Source": "/types/InvocationContext.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "272C93C66D5BC77DE0275D34195C84DE66A261A57B63339968760A11BC687790"
},
{
"Source": "/types/timer.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "49FAB7A94EAE0F861A8E7E1685905E58EFC615DCF61824EA2BD5D6F51ABAB5B5"
"Sha256Hash": "0577072B619DEAA76937C0AFFF710502746EE0427D4994060FAA4A419C3126E3"
}
],
"CloudBuildId": "103016",
"CloudBuildId": "107931",
"Repo": "https://github.com/Azure/azure-functions-nodejs-library",
"Branch": "v4.x",
"CommitId": "9d1e0e39217d4c0743ba1d0247bce5aac57ef932",
"CommitId": "efce47978528bb0cf702ec868716b4dca5e611e6",
"Version": "0.0.1",
"Timestamp": 1667342234
"Timestamp": 1671217379
}
{
"files": [
{
"fileName": "./NOTICE.html",
"SPDXID": "SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"fileName": "./dist/azure-functions.min.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-E6976A710C7DFD68306D005AB2C52BF7280A8F4D",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "268bb778aa03caa778c9d47ba467e1e4681aa44e61a01f32191d66a2223d638a"
"checksumValue": "7d691328f2654b5a5f1946188c5b9f35a2eaffd30159c51044ab1abbc7219fea"
},
{
"algorithm": "SHA1",
"checksumValue": "43b9f500d4820a1d898a0f2041c02f6349f3158c"
"checksumValue": "e6976a710c7dfd68306d005ab2c52bf7280a8f4d"
}

@@ -23,12 +23,12 @@ ],

{
"fileName": "./dist/azure-functions.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.js-21143281CED4FD40FD632A3CAA24D6E4AB23E2D3",
"fileName": "./dist/azure-functions.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-6914B687958B311B13CD5572CC6EF8EAFDDE086A",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "971d21690b5a05e4bd6e54c1fc3047484f1df5c674dd2119b02a3af2ca1b93b1"
"checksumValue": "16413c17253c26910c8dd689152533c473e9e2a9e984e37db9ba82e9a5b350f4"
},
{
"algorithm": "SHA1",
"checksumValue": "21143281ced4fd40fd632a3caa24d6e4ab23e2d3"
"checksumValue": "6914b687958b311b13cd5572cc6ef8eafdde086a"
}

@@ -43,12 +43,12 @@ ],

{
"fileName": "./package.json",
"SPDXID": "SPDXRef-File--package.json-52D290782A92767EF21DC80FE087A1A36EA2AF55",
"fileName": "./LICENSE",
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "8d605aa29248e58c249c76d47158efa917fc88bb9b6bb26e298a933519b36464"
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34"
},
{
"algorithm": "SHA1",
"checksumValue": "52d290782a92767ef21dc80fe087a1a36ea2af55"
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4"
}

@@ -63,12 +63,12 @@ ],

{
"fileName": "./src/InvocationModel.ts",
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-953FB74DE5060D3974F4277A60E4B7813AF575D4",
"fileName": "./dist/azure-functions.min.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-D4EF3E6B6611B98DC6867FAC7CFAD54820D4C8EF",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "ba7acb74663eebd6eaf6dea53eebea57fdfaa0e1b87e22fc36339474dc934a50"
"checksumValue": "8146687d8b59f4486e2d871bca481f4ab92551a1ae45ae8d580c5e126846406e"
},
{
"algorithm": "SHA1",
"checksumValue": "953fb74de5060d3974f4277a60e4b7813af575d4"
"checksumValue": "d4ef3e6b6611b98dc6867fac7cfad54820d4c8ef"
}

@@ -83,12 +83,12 @@ ],

{
"fileName": "./src/index.ts",
"SPDXID": "SPDXRef-File--src-index.ts-41BF57893CECC49CDC34525B3DAFA61D99572792",
"fileName": "./src/converters/fromRpcTriggerMetadata.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "bc231bf8931e868546ae53e22e2d7f0cf4d4751d8e73c583f355eae677d23e1e"
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5"
},
{
"algorithm": "SHA1",
"checksumValue": "41bf57893cecc49cdc34525b3dafa61d99572792"
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91"
}

@@ -103,12 +103,12 @@ ],

{
"fileName": "./src/errors.ts",
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"fileName": "./src/http/HttpRequest.ts",
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439"
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232"
},
{
"algorithm": "SHA1",
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1"
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7"
}

@@ -123,12 +123,12 @@ ],

{
"fileName": "./src/converters/toRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9",
"fileName": "./types/eventHub.d.ts",
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "773f0c22930331be2b0f9daf9849b80f4b7bcc18fc2e19ba07dd502b56461ee3"
"checksumValue": "0ca276e09d1d89daf94d087c590af6f6b0d110142e367a63271a47a2c2c01661"
},
{
"algorithm": "SHA1",
"checksumValue": "c43037c7b43ff3d59d0d7922b54c891055463ab9"
"checksumValue": "e7944b9eb6e7e540ba099d7d0fe9c768463949e7"
}

@@ -143,12 +143,12 @@ ],

{
"fileName": "./src/converters/toCamelCase.ts",
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C",
"fileName": "./src/converters/fromRpcContext.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7"
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c"
},
{
"algorithm": "SHA1",
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c"
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4"
}

@@ -163,12 +163,12 @@ ],

{
"fileName": "./src/converters/toRpcHttp.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-05AEF19E9F369C7E6E1EFE26B46D990F2D50C6B9",
"fileName": "./src/converters/toRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f32b8220b5e24697244c57946708efde686885ea5fda4e9333fcf23a35376039"
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd"
},
{
"algorithm": "SHA1",
"checksumValue": "05aef19e9f369c7e6e1efe26b46d990f2d50c6b9"
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac"
}

@@ -183,12 +183,12 @@ ],

{
"fileName": "./src/parsers/parseHeader.ts",
"SPDXID": "SPDXRef-File--src-parsers-parseHeader.ts-2E7549F0D4C31CE7DAC2EE6DFBC2A727679AEE8C",
"fileName": "./src/constants.ts",
"SPDXID": "SPDXRef-File--src-constants.ts-88F20D970EB137EF388237E990058BD5B5BD9E61",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "be8a008fd0f7b6c0f6eb584accc3fefa462f88bcb0bebed809c56b20ea2f620b"
"checksumValue": "e4fae4370e063af3a44eabc9441e9b3ab9ecd4478f5997b33b5f82464c42d436"
},
{
"algorithm": "SHA1",
"checksumValue": "2e7549f0d4c31ce7dac2ee6dfbc2a727679aee8c"
"checksumValue": "88f20d970eb137ef388237e990058bd5b5bd9e61"
}

@@ -203,12 +203,12 @@ ],

{
"fileName": "./src/parsers/parseMultipartForm.ts",
"SPDXID": "SPDXRef-File--src-parsers-parseMultipartForm.ts-148C48C0B06714C1905CF2B19F2B729F13381DA7",
"fileName": "./src/converters/fromRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "b40b0e58f2154e069ad0a0938319b9afe4846de80b4831f76861986215f3d165"
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e"
},
{
"algorithm": "SHA1",
"checksumValue": "148c48c0b06714c1905cf2b19f2b729f13381da7"
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce"
}

@@ -223,12 +223,12 @@ ],

{
"fileName": "./src/utils/isTrigger.ts",
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"fileName": "./src/http/HttpResponse.ts",
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85"
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e"
},
{
"algorithm": "SHA1",
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71"
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602"
}

@@ -243,12 +243,12 @@ ],

{
"fileName": "./types/eventHub.d.ts",
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-A08D02982B9CE2953DDA117D995DC823F138954E",
"fileName": "./NOTICE.html",
"SPDXID": "SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "010a88ab288d81d96ff27d01766082a8483b25d9cf03cd7bfcb468d7fbd89269"
"checksumValue": "268bb778aa03caa778c9d47ba467e1e4681aa44e61a01f32191d66a2223d638a"
},
{
"algorithm": "SHA1",
"checksumValue": "a08d02982b9ce2953dda117d995dc823f138954e"
"checksumValue": "43b9f500d4820a1d898a0f2041c02f6349f3158c"
}

@@ -263,12 +263,12 @@ ],

{
"fileName": "./types/generic.d.ts",
"SPDXID": "SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"fileName": "./src/errors.ts",
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "a42d7f0a95de6fa9d2b67d44ac0770f93fb1aa876a14d6632c8661c75bb63aa1"
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439"
},
{
"algorithm": "SHA1",
"checksumValue": "e11420a4c0f7b067d59d07e31e5782fab51a106a"
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1"
}

@@ -283,12 +283,12 @@ ],

{
"fileName": "./types/index.d.ts",
"SPDXID": "SPDXRef-File--types-index.d.ts-17C878592B820BFC151CB99AF3D785158BE4C499",
"fileName": "./src/converters/toCamelCase.ts",
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "35cfc04de852b808c82713b9ec0638e8cc70be55ad545254993c8c00192ebd1d"
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7"
},
{
"algorithm": "SHA1",
"checksumValue": "17c878592b820bfc151cb99af3d785158be4c499"
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c"
}

@@ -303,12 +303,12 @@ ],

{
"fileName": "./README.md",
"SPDXID": "SPDXRef-File--README.md-D34440381A32C785BBD39207574329B7051984CE",
"fileName": "./src/utils/getRandomHexString.ts",
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "4cc037eaa642faf7c6d81d2991603233e40cce01cdd2cb811cb7ec1f34ca86a7"
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481"
},
{
"algorithm": "SHA1",
"checksumValue": "d34440381a32c785bbd39207574329b7051984ce"
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0"
}

@@ -323,12 +323,12 @@ ],

{
"fileName": "./dist/azure-functions.min.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-B574120D14FB233EDAD42CFA04B72C1AC77D9E44",
"fileName": "./src/converters/fromRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "1b740db0e466c043899f808d94990b0ca7abad88b66e5dd9bf14fa09922020a0"
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9"
},
{
"algorithm": "SHA1",
"checksumValue": "b574120d14fb233edad42cfa04b72c1ac77d9e44"
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de"
}

@@ -343,12 +343,12 @@ ],

{
"fileName": "./dist/azure-functions.min.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-16C5C69429AA93B0F4778A529588EA72FF7B47D1",
"fileName": "./src/http/extractHttpUserFromHeaders.ts",
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f054c65cb3d20d3b9671ba2ff02cac0fcf91b7e2215d636dfe262c42b9748f32"
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a"
},
{
"algorithm": "SHA1",
"checksumValue": "16c5c69429aa93b0f4778a529588ea72ff7b47d1"
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83"
}

@@ -363,12 +363,12 @@ ],

{
"fileName": "./LICENSE",
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"fileName": "./types/eventGrid.d.ts",
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34"
"checksumValue": "1b83ee57145a0fa6c0287df9cea1f81ed8f189360eeba73337e1e11ade5fab95"
},
{
"algorithm": "SHA1",
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4"
"checksumValue": "1feb3c0686cd21ba42fbfb833dfec6d438df4b5e"
}

@@ -383,12 +383,12 @@ ],

{
"fileName": "./dist/azure-functions.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-647D5BE71DD0EF46F838056D3AACCBBF605E3C5A",
"fileName": "./package.json",
"SPDXID": "SPDXRef-File--package.json-F9894C06C56424983888C53AEDD928438900757C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "1502ed94536ae2e25b888bda416438a91cc6f5d2bfb31103ce059dffe024fb7f"
"checksumValue": "454593d7dbd2524e774c082f8fbdb454d21b5c15e9bc418af0e5e98089b14ea8"
},
{
"algorithm": "SHA1",
"checksumValue": "647d5be71dd0ef46f838056d3aaccbbf605e3c5a"
"checksumValue": "f9894c06c56424983888c53aedd928438900757c"
}

@@ -403,12 +403,12 @@ ],

{
"fileName": "./src/InvocationContext.ts",
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-3F9A37CAA9178E85954C8919355D5CD6C223185E",
"fileName": "./src/index.ts",
"SPDXID": "SPDXRef-File--src-index.ts-A1986423022915B39E41B70C4CFC1ACD583ACE72",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "2bcdf514af5638b71592cc3aedd8610483067ad2ce3559116aeebd6875d3a028"
"checksumValue": "df20b682774f014d886e8fc674f945cc063f2436b2cbbd5606cd2e003369b63f"
},
{
"algorithm": "SHA1",
"checksumValue": "3f9a37caa9178e85954c8919355d5cd6c223185e"
"checksumValue": "a1986423022915b39e41b70c4cfc1acd583ace72"
}

@@ -423,12 +423,12 @@ ],

{
"fileName": "./src/converters/fromRpcTriggerMetadata.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"fileName": "./src/converters/toRpcHttp.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5"
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b"
},
{
"algorithm": "SHA1",
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91"
"checksumValue": "48743c55420a205720f0453086454e535ac456b5"
}

@@ -443,12 +443,12 @@ ],

{
"fileName": "./src/constants.ts",
"SPDXID": "SPDXRef-File--src-constants.ts-F6435E4D64B0D794F934C189C5D86B129264CA17",
"fileName": "./src/utils/isTrigger.ts",
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e4c184e5a8dd04d812e36aff7ea0604e7f326decb97758b35f83aac1af2e3598"
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85"
},
{
"algorithm": "SHA1",
"checksumValue": "f6435e4d64b0d794f934c189c5d86b129264ca17"
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71"
}

@@ -463,12 +463,12 @@ ],

{
"fileName": "./src/converters/fromRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"fileName": "./types/index.d.ts",
"SPDXID": "SPDXRef-File--types-index.d.ts-117081651BB298B4802E5B925071E69B11F2D1BF",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9"
"checksumValue": "2b1857c3da9dae47d069aa111f5b9c3d8c2ded0c70e2bb02939ddb5ef98594b9"
},
{
"algorithm": "SHA1",
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de"
"checksumValue": "117081651bb298b4802e5b925071e69b11f2d1bf"
}

@@ -483,12 +483,12 @@ ],

{
"fileName": "./src/converters/fromRpcContext.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"fileName": "./dist/azure-functions.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.js-81733D50D162FC47D202DAA938B9F8274B2CE434",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c"
"checksumValue": "17415140d1e97b04e3389281bfec3676a4e11a0d667fb88ba9ead30a9d540cc3"
},
{
"algorithm": "SHA1",
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4"
"checksumValue": "81733d50d162fc47d202daa938b9f8274b2ce434"
}

@@ -503,12 +503,12 @@ ],

{
"fileName": "./src/converters/toRpcHttpCookie.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"fileName": "./src/InvocationModel.ts",
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-EA3C5E2908D61CE833E8AA6C939DF52A3DBA2354",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944"
"checksumValue": "408d91022ae12a88a62b5e63fe7b6c03e84041b14b91a794c36a9705df324040"
},
{
"algorithm": "SHA1",
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b"
"checksumValue": "ea3c5e2908d61ce833e8aa6c939df52a3dba2354"
}

@@ -523,12 +523,12 @@ ],

{
"fileName": "./src/http/HttpRequest.ts",
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-C5126BA1B5A5D30ECAECC7C278A4E9BE268380C1",
"fileName": "./src/converters/toRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6eabff0370add0e1b72d24b33c0bd1da3a0907daa65a56451fc5b110b8e249e1"
"checksumValue": "773f0c22930331be2b0f9daf9849b80f4b7bcc18fc2e19ba07dd502b56461ee3"
},
{
"algorithm": "SHA1",
"checksumValue": "c5126ba1b5a5d30ecaecc7c278a4e9be268380c1"
"checksumValue": "c43037c7b43ff3d59d0d7922b54c891055463ab9"
}

@@ -543,12 +543,12 @@ ],

{
"fileName": "./src/converters/fromRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"fileName": "./src/utils/util.ts",
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e"
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0"
},
{
"algorithm": "SHA1",
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce"
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f"
}

@@ -563,12 +563,12 @@ ],

{
"fileName": "./src/http/extractHttpUserFromHeaders.ts",
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"fileName": "./types/serviceBus.d.ts",
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a"
"checksumValue": "bed40fddd9b90a1f131963a0348c4d163190f1ffb118372a1587cd7f860c8b3b"
},
{
"algorithm": "SHA1",
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83"
"checksumValue": "eba83fd0aa92def614f975d5e3798122b49a1b18"
}

@@ -583,12 +583,12 @@ ],

{
"fileName": "./src/converters/toRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-F1FDEF6083CF28B7EBB4E38DC1E0E1C5382DAF87",
"fileName": "./README.md",
"SPDXID": "SPDXRef-File--README.md-D34440381A32C785BBD39207574329B7051984CE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "43d67919417f68adcdc5ed1315dd0b07a5168b886cba2520bcbdf3fbff4f6ce2"
"checksumValue": "4cc037eaa642faf7c6d81d2991603233e40cce01cdd2cb811cb7ec1f34ca86a7"
},
{
"algorithm": "SHA1",
"checksumValue": "f1fdef6083cf28b7ebb4e38dc1e0e1c5382daf87"
"checksumValue": "d34440381a32c785bbd39207574329b7051984ce"
}

@@ -603,12 +603,12 @@ ],

{
"fileName": "./src/utils/getRandomHexString.ts",
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"fileName": "./src/InvocationContext.ts",
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-3F9A37CAA9178E85954C8919355D5CD6C223185E",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481"
"checksumValue": "2bcdf514af5638b71592cc3aedd8610483067ad2ce3559116aeebd6875d3a028"
},
{
"algorithm": "SHA1",
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0"
"checksumValue": "3f9a37caa9178e85954c8919355d5cd6c223185e"
}

@@ -623,12 +623,12 @@ ],

{
"fileName": "./types/cosmosDB.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-4DB7D5FC461D1654232447131672BC3DB7D1E1EF",
"fileName": "./src/converters/toRpcHttpCookie.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0f292e09cea5b3c3ff288616c335d860cf5d5d13417145d5fc4b22f3aa08ace5"
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944"
},
{
"algorithm": "SHA1",
"checksumValue": "4db7d5fc461d1654232447131672bc3db7d1e1ef"
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b"
}

@@ -643,12 +643,12 @@ ],

{
"fileName": "./src/parsers/parseForm.ts",
"SPDXID": "SPDXRef-File--src-parsers-parseForm.ts-2DE90557AC3A14B33650625F1FD21E4065B1F891",
"fileName": "./src/utils/nonNull.ts",
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "21c817ff361887893d1345495fd9e94e37628972dcb10b1830bc1f904193819b"
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634"
},
{
"algorithm": "SHA1",
"checksumValue": "2de90557ac3a14b33650625f1fd21e4065b1f891"
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe"
}

@@ -663,12 +663,12 @@ ],

{
"fileName": "./src/utils/util.ts",
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"fileName": "./types/InvocationContext.d.ts",
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-C163444D34ED350C5E96B3D508ECC3799FE7BDA9",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0"
"checksumValue": "272c93c66d5bc77de0275d34195c84de66a261a57b63339968760a11bc687790"
},
{
"algorithm": "SHA1",
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f"
"checksumValue": "c163444d34ed350c5e96b3d508ecc3799fe7bda9"
}

@@ -683,12 +683,12 @@ ],

{
"fileName": "./src/utils/nonNull.ts",
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"fileName": "./types/cosmosDB.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-09DD628ABB7677F0BCA82B88DF546C9E3F5700EC",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634"
"checksumValue": "36ce6f564c13906d1bef62b8446b27ed6a62212d1749c240a87032b162634c5b"
},
{
"algorithm": "SHA1",
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe"
"checksumValue": "09dd628abb7677f0bca82b88df546c9e3f5700ec"
}

@@ -703,12 +703,12 @@ ],

{
"fileName": "./types/http.d.ts",
"SPDXID": "SPDXRef-File--types-http.d.ts-F74C6E6F510A21FCBCC20DAAF95E9BC56B4956DF",
"fileName": "./types/storage.d.ts",
"SPDXID": "SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "803d0f4da9f84a6610ddd45143d4bfb60d74faf4ff4b7f0208e41038db0a0def"
"checksumValue": "817ba5ce14a7bbbad25919a183182bd4304a3c0cc3cb5b4c11b0e0cbe1258c35"
},
{
"algorithm": "SHA1",
"checksumValue": "f74c6e6f510a21fcbcc20daaf95e9bc56b4956df"
"checksumValue": "e2fe5f2684d1677542dfc3efd7656158c0d20bdf"
}

@@ -723,12 +723,12 @@ ],

{
"fileName": "./types/storage.d.ts",
"SPDXID": "SPDXRef-File--types-storage.d.ts-5663F7A5CCE45A80F6BDAEC0BE783DEEB4074D36",
"fileName": "./types/generic.d.ts",
"SPDXID": "SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "49ed28ad7bc438dafc5a26f4089d2f58582b89352302bf8db518d0d4ad4337a4"
"checksumValue": "a42d7f0a95de6fa9d2b67d44ac0770f93fb1aa876a14d6632c8661c75bb63aa1"
},
{
"algorithm": "SHA1",
"checksumValue": "5663f7a5cce45a80f6bdaec0be783deeb4074d36"
"checksumValue": "e11420a4c0f7b067d59d07e31e5782fab51a106a"
}

@@ -743,12 +743,12 @@ ],

{
"fileName": "./types/eventGrid.d.ts",
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-8DD5B69EBC61DED2E193B4A0F30DFF8C25573278",
"fileName": "./types/timer.d.ts",
"SPDXID": "SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "cd330af09974c8664ea7c750cd21dc672a13f7a06ac4308b0137573786c20c3f"
"checksumValue": "0577072b619deaa76937c0afff710502746ee0427d4994060faa4a419c3126e3"
},
{
"algorithm": "SHA1",
"checksumValue": "8dd5b69ebc61ded2e193b4a0f30dff8c25573278"
"checksumValue": "92cce66eca2b5dbe0e129040e2b0c61e14864814"
}

@@ -763,12 +763,12 @@ ],

{
"fileName": "./types/serviceBus.d.ts",
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-810F49ED3BECCEEE0722D80662242397B86AE2F1",
"fileName": "./types/http.d.ts",
"SPDXID": "SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e0bc0c6be513a41c10879697d7bef23ad7c9265f556350f3ba8f4894161222dc"
"checksumValue": "f788bc99a0ea836403d46557622760c4f86acef7a1e78acf029fbdda924f001f"
},
{
"algorithm": "SHA1",
"checksumValue": "810f49ed3becceee0722d80662242397b86ae2f1"
"checksumValue": "c3428fe199a21cdc0b37545c615fb667955fb2c6"
}

@@ -781,46 +781,50 @@ ],

"copyrightText": "NOASSERTION"
},
}
],
"packages": [
{
"fileName": "./types/InvocationContext.d.ts",
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-C163444D34ED350C5E96B3D508ECC3799FE7BDA9",
"checksums": [
"name": "long",
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"licenseConcluded": "NOASSERTION",
"licenseInfoFromFiles": [
"NOASSERTION"
],
"licenseDeclared": "NOASSERTION",
"copyrightText": "NOASSERTION",
"versionInfo": "4.0.0",
"externalRefs": [
{
"algorithm": "SHA256",
"checksumValue": "272c93c66d5bc77de0275d34195c84de66a261a57b63339968760a11bc687790"
},
{
"algorithm": "SHA1",
"checksumValue": "c163444d34ed350c5e96b3d508ecc3799fe7bda9"
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:npm/long@4.0.0"
}
],
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)"
},
{
"name": "Azure Pipelines Hosted Image win19",
"SPDXID": "SPDXRef-Package-FA173E80B1B8C7F4D9285EBD2A3E5CE1F8D56C8B8EED63467FEA7EE00390C0A4",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"licenseInfoFromFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/timer.d.ts",
"SPDXID": "SPDXRef-File--types-timer.d.ts-49211A7F5FAFD063FC5009EB4AF6A9C6E16BD050",
"checksums": [
"licenseDeclared": "NOASSERTION",
"copyrightText": "NOASSERTION",
"versionInfo": "20221204.2",
"externalRefs": [
{
"algorithm": "SHA256",
"checksumValue": "49fab7a94eae0f861a8e7e1685905e58efc615dcf61824ea2bd5d6f51abab5b5"
},
{
"algorithm": "SHA1",
"checksumValue": "49211a7f5fafd063fc5009eb4af6a9c6e16bd050"
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "https://github.com/actions/virtual-environments"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
}
],
"packages": [
"supplier": "Microsoft/GitHub"
},
{
"name": "undici",
"SPDXID": "SPDXRef-Package-D20D634EA8C00680ECDC0942035EAF422487284D6AD0F2708DE609001F21838D",
"SPDXID": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831",
"downloadLocation": "NOASSERTION",

@@ -834,3 +838,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "5.10.0",
"versionInfo": "5.13.0",
"externalRefs": [

@@ -840,3 +844,3 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/undici%405.10.0"
"referenceLocator": "pkg:npm/undici@5.13.0"
}

@@ -847,4 +851,4 @@ ],

{
"name": "Azure Pipelines Hosted Image win19",
"SPDXID": "SPDXRef-Package-3665ABDCA3F5B5970FC6E3407652FA8E08D896478C0390158F1B999DE3B43A30",
"name": "streamsearch",
"SPDXID": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0",
"downloadLocation": "NOASSERTION",

@@ -858,3 +862,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "20221024.1",
"versionInfo": "1.1.0",
"externalRefs": [

@@ -864,10 +868,10 @@ {

"referenceType": "purl",
"referenceLocator": "https://github.com/actions/virtual-environments"
"referenceLocator": "pkg:npm/streamsearch@1.1.0"
}
],
"supplier": "Microsoft/GitHub"
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
},
{
"name": "long",
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"name": "busboy",
"SPDXID": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82",
"downloadLocation": "NOASSERTION",

@@ -881,3 +885,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "4.0.0",
"versionInfo": "1.6.0",
"externalRefs": [

@@ -887,6 +891,6 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/long%404.0.0"
"referenceLocator": "pkg:npm/busboy@1.6.0"
}
],
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)"
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
},

@@ -898,3 +902,3 @@ {

"packageVerificationCode": {
"packageVerificationCodeValue": "ea2e0b61994758c35076cbd83383a029d7e07b06"
"packageVerificationCodeValue": "49438fe02b83a64d53eaf8a316b6d2af08cfc92e"
},

@@ -908,46 +912,44 @@ "filesAnalyzed": true,

"copyrightText": "NOASSERTION",
"versionInfo": "103016",
"versionInfo": "107931",
"supplier": "Organization: Microsoft",
"hasFiles": [
"SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18",
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9",
"SPDXRef-File--src-InvocationModel.ts-EA3C5E2908D61CE833E8AA6C939DF52A3DBA2354",
"SPDXRef-File--dist-azure-functions.js-81733D50D162FC47D202DAA938B9F8274B2CE434",
"SPDXRef-File--types-InvocationContext.d.ts-C163444D34ED350C5E96B3D508ECC3799FE7BDA9",
"SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"SPDXRef-File--src-converters-toRpcTypedData.ts-F1FDEF6083CF28B7EBB4E38DC1E0E1C5382DAF87",
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"SPDXRef-File--dist-azure-functions.js.map-647D5BE71DD0EF46F838056D3AACCBBF605E3C5A",
"SPDXRef-File--types-timer.d.ts-49211A7F5FAFD063FC5009EB4AF6A9C6E16BD050",
"SPDXRef-File--types-eventGrid.d.ts-8DD5B69EBC61DED2E193B4A0F30DFF8C25573278",
"SPDXRef-File--src-parsers-parseForm.ts-2DE90557AC3A14B33650625F1FD21E4065B1F891",
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"SPDXRef-File--src-constants.ts-F6435E4D64B0D794F934C189C5D86B129264CA17",
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"SPDXRef-File--types-serviceBus.d.ts-810F49ED3BECCEEE0722D80662242397B86AE2F1",
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"SPDXRef-File--dist-azure-functions.min.js-16C5C69429AA93B0F4778A529588EA72FF7B47D1",
"SPDXRef-File--types-http.d.ts-F74C6E6F510A21FCBCC20DAAF95E9BC56B4956DF",
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"SPDXRef-File--src-InvocationContext.ts-3F9A37CAA9178E85954C8919355D5CD6C223185E",
"SPDXRef-File--README.md-D34440381A32C785BBD39207574329B7051984CE",
"SPDXRef-File--types-storage.d.ts-5663F7A5CCE45A80F6BDAEC0BE783DEEB4074D36",
"SPDXRef-File--types-cosmosDB.d.ts-4DB7D5FC461D1654232447131672BC3DB7D1E1EF",
"SPDXRef-File--src-http-HttpRequest.ts-C5126BA1B5A5D30ECAECC7C278A4E9BE268380C1",
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"SPDXRef-File--dist-azure-functions.min.js.map-B574120D14FB233EDAD42CFA04B72C1AC77D9E44",
"SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"SPDXRef-File--src-parsers-parseMultipartForm.ts-148C48C0B06714C1905CF2B19F2B729F13381DA7",
"SPDXRef-File--src-converters-toRpcHttp.ts-05AEF19E9F369C7E6E1EFE26B46D990F2D50C6B9",
"SPDXRef-File--src-index.ts-41BF57893CECC49CDC34525B3DAFA61D99572792",
"SPDXRef-File--package.json-52D290782A92767EF21DC80FE087A1A36EA2AF55",
"SPDXRef-File--types-index.d.ts-17C878592B820BFC151CB99AF3D785158BE4C499",
"SPDXRef-File--types-index.d.ts-117081651BB298B4802E5B925071E69B11F2D1BF",
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9",
"SPDXRef-File--src-InvocationModel.ts-953FB74DE5060D3974F4277A60E4B7813AF575D4",
"SPDXRef-File--dist-azure-functions.js-21143281CED4FD40FD632A3CAA24D6E4AB23E2D3",
"SPDXRef-File--types-eventHub.d.ts-A08D02982B9CE2953DDA117D995DC823F138954E",
"SPDXRef-File--src-parsers-parseHeader.ts-2E7549F0D4C31CE7DAC2EE6DFBC2A727679AEE8C",
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"SPDXRef-File--src-index.ts-A1986423022915B39E41B70C4CFC1ACD583ACE72",
"SPDXRef-File--package.json-F9894C06C56424983888C53AEDD928438900757C",
"SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6",
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C",
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C"
"SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7",
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7",
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"SPDXRef-File--dist-azure-functions.min.js.map-D4EF3E6B6611B98DC6867FAC7CFAD54820D4C8EF",
"SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602",
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"SPDXRef-File--src-constants.ts-88F20D970EB137EF388237E990058BD5B5BD9E61",
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF",
"SPDXRef-File--types-cosmosDB.d.ts-09DD628ABB7677F0BCA82B88DF546C9E3F5700EC",
"SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"SPDXRef-File--dist-azure-functions.js.map-6914B687958B311B13CD5572CC6EF8EAFDDE086A",
"SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814",
"SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E",
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"SPDXRef-File--dist-azure-functions.min.js-E6976A710C7DFD68306D005AB2C52BF7280A8F4D"
]

@@ -959,2 +961,7 @@ }

{
"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82",
"spdxElementId": "SPDXRef-RootPackage"
},
{
"relationshipType": "DESCRIBES",

@@ -966,3 +973,3 @@ "relatedSpdxElement": "SPDXRef-RootPackage",

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-3665ABDCA3F5B5970FC6E3407652FA8E08D896478C0390158F1B999DE3B43A30",
"relatedSpdxElement": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0",
"spdxElementId": "SPDXRef-RootPackage"

@@ -972,3 +979,3 @@ },

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"relatedSpdxElement": "SPDXRef-Package-FA173E80B1B8C7F4D9285EBD2A3E5CE1F8D56C8B8EED63467FEA7EE00390C0A4",
"spdxElementId": "SPDXRef-RootPackage"

@@ -978,4 +985,9 @@ },

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-D20D634EA8C00680ECDC0942035EAF422487284D6AD0F2708DE609001F21838D",
"relatedSpdxElement": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831",
"spdxElementId": "SPDXRef-RootPackage"
},
{
"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"spdxElementId": "SPDXRef-RootPackage"
}

@@ -986,9 +998,9 @@ ],

"SPDXID": "SPDXRef-DOCUMENT",
"name": "Azure Functions Node.js Framework 103016",
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:103016/qjIm1JoqkUiW42Y72EIm8Q",
"name": "Azure Functions Node.js Framework 107931",
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:107931/vI_0HMDiM0Oud8FtTlH92g",
"creationInfo": {
"created": "2022-11-01T22:37:14Z",
"created": "2022-12-16T19:02:59Z",
"creators": [
"Organization: Microsoft",
"Tool: Microsoft.SBOMTool-0.2.7"
"Tool: Microsoft.SBOMTool-0.3.1"
]

@@ -995,0 +1007,0 @@ },

@@ -1,2 +0,2 @@

(()=>{"use strict";var e={313:function(e,t){var n,r,o,i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationContext=void 0,t.InvocationContext=class{constructor(e){n.set(this,void 0),this.invocationId=e.invocationId,this.functionName=e.functionName,this.extraInputs=new a,this.extraOutputs=new u,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,i(this,n,e.logHandler,"f")}log(...e){s(this,n,"f").call(this,"information",...e)}trace(...e){s(this,n,"f").call(this,"trace",...e)}debug(...e){s(this,n,"f").call(this,"debug",...e)}info(...e){s(this,n,"f").call(this,"information",...e)}warn(...e){s(this,n,"f").call(this,"warning",...e)}error(...e){s(this,n,"f").call(this,"error",...e)}},n=new WeakMap;class a{constructor(){r.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,r,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,r,"f")[n]=t}}r=new WeakMap;class u{constructor(){o.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,o,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,o,"f")[n]=t}}o=new WeakMap},62:function(e,t,n){var r,o,i,s,a,u,c,l,f,p,d=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},g=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},h=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const m=n(764),y=n(601),b=n(130),v=n(243),w=n(408),O=n(788),T=n(186),j=n(828),x=n(313),N=n(674),P=n(557);t.InvocationModel=class{constructor(e){r.add(this),o.set(this,!1),i.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),g(this,i,e,"f"),g(this,s,(0,P.nonNullProp)(e.metadata,"name"),"f"),g(this,a,(0,P.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,P.nonNullValue)(Object.values(h(this,a,"f")).find((e=>(0,N.isTrigger)(e.type))),"triggerBinding");g(this,u,(0,P.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=h(this,i,"f").request,t=new x.InvocationContext({invocationId:(0,P.nonNullProp)(h(this,i,"f"),"invocationId"),functionName:h(this,s,"f"),logHandler:(e,...t)=>h(this,r,"m",p).call(this,e,...t),retryContext:(0,b.fromRpcRetryContext)(e.retryContext),traceContext:(0,b.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,v.fromRpcTriggerMetadata)(e.triggerMetadata,h(this,u,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,P.nonNullProp)(r,"name");let o=(0,w.fromRpcTypedData)(r.data);const i=h(this,a,"f")[e].type;(0,N.isTimerTrigger)(i)&&(o=(0,O.toCamelCaseValue)(o)),(0,N.isTrigger)(i)?n.push(o):t.extraInputs.set(e,o)}return{context:t,inputs:n}}))}invokeFunction(e,t,n){return d(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(e,t[0]))}finally{g(this,o,!0,"f")}}))}getResponse(e,t){return d(this,void 0,void 0,(function*(){const n={invocationId:h(this,i,"f").invocationId,outputData:[]};for(const[o,i]of Object.entries(h(this,a,"f")))"out"===i.direction&&(o===y.returnBindingKey?n.returnValue=h(this,r,"m",c).call(this,i,t):n.outputData.push({name:o,data:h(this,r,"m",c).call(this,i,e.extraOutputs.get(o))}));return n.returnValue||0!=n.outputData.length||(0,N.isHttpTrigger)(h(this,u,"f"))||(n.returnValue=(0,j.toRpcTypedData)(t)),n}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,r=new WeakSet,c=function(e,t){var n;return"http"===(null===(n=e.type)||void 0===n?void 0:n.toLowerCase())?(0,T.toRpcHttp)(t):(0,j.toRpcTypedData)(t)},l=function(e,t,...n){h(this,i,"f").log(e,t,(0,m.format)(...n))},f=function(e,...t){h(this,r,"m",l).call(this,e,"system",...t)},p=function(e,...t){if(h(this,o,"f")&&"postInvocationHooks"!==h(this,i,"f").state){let e="Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited. ";e+=`Function name: ${h(this,s,"f")}. Invocation Id: ${h(this,i,"f").invocationId}.`,h(this,r,"m",f).call(this,"warning",e)}h(this,r,"m",l).call(this,e,"user",...t)}},601:(e,t)=>{var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.MediaType=t.HeaderName=t.version=void 0,t.version="4.0.0-alpha.5",(r=t.HeaderName||(t.HeaderName={})).contentType="content-type",r.contentDisposition="content-disposition",(n=t.MediaType||(t.MediaType={})).multipartForm="multipart/form-data",n.urlEncodedForm="application/x-www-form-urlencoded",n.octetStream="application/octet-stream",n.json="application/json",t.returnBindingKey="$return"},130:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTraceContext=t.fromRpcRetryContext=void 0;const r=n(557);t.fromRpcRetryContext=function(e){if(e){const t={retryCount:(0,r.nonNullProp)(e,"retryCount"),maxRetryCount:(0,r.nonNullProp)(e,"maxRetryCount")};return e.exception&&(t.exception=function(e){const t={};return(0,r.copyPropIfDefined)(e,t,"message"),(0,r.copyPropIfDefined)(e,t,"source"),(0,r.copyPropIfDefined)(e,t,"stackTrace"),t}(e.exception)),t}},t.fromRpcTraceContext=function(e){if(e){const t={};return(0,r.copyPropIfDefined)(e,t,"traceParent"),(0,r.copyPropIfDefined)(e,t,"traceState"),e.attributes&&(t.attributes=e.attributes),t}}},691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromNullableMapping=void 0,t.fromNullableMapping=function(e,t){let n={};if(e&&Object.keys(e).length>0)for(const t in e)n[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(n=t);return n}},243:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTriggerMetadata=void 0;const r=n(674),o=n(408),i=n(788);t.fromRpcTriggerMetadata=function(e,t){if(e&&!(0,r.isHttpTrigger)(t)&&!(0,r.isTimerTrigger)(t)){const t={};for(const[n,r]of Object.entries(e))t[(0,i.toCamelCaseKey)(n)]=(0,i.toCamelCaseValue)((0,o.fromRpcTypedData)(r));return t}}},408:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTypedData=void 0;const r=n(726),o=n(557);function i(e){try{return JSON.parse(e)}catch(t){return e}}t.fromRpcTypedData=function(e){return e?(0,o.isDefined)(e.string)?i(e.string):(0,o.isDefined)(e.json)?JSON.parse(e.json):(0,o.isDefined)(e.bytes)?Buffer.from(e.bytes):(0,o.isDefined)(e.stream)?Buffer.from(e.stream):(0,o.isDefined)(e.http)?new r.HttpRequest(e.http):(0,o.isDefined)(e.int)?e.int:(0,o.isDefined)(e.double)?e.double:e.collectionBytes&&(0,o.isDefined)(e.collectionBytes.bytes)?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&(0,o.isDefined)(e.collectionString.string)?e.collectionString.string.map(i):e.collectionDouble&&(0,o.isDefined)(e.collectionDouble.double)?e.collectionDouble.double:e.collectionSint64&&(0,o.isDefined)(e.collectionSint64.sint64)?e.collectionSint64.sint64:void 0:void 0}},788:(e,t)=>{function n(e){return e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toCamelCaseKey=t.toCamelCaseValue=void 0,t.toCamelCaseValue=function e(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return t.map(e);{const r={};for(const[o,i]of Object.entries(t))r[n(o)]=e(i);return r}},t.toCamelCaseKey=n},186:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttp=void 0;const r=n(122),o=n(758),i=n(518),s=n(828);t.toRpcHttp=function(e){if(null==e)return e;if("object"!=typeof e)throw new o.AzFuncSystemError('The HTTP response must be an object with optional properties "body", "status", "headers", and "cookies".');const t=e,n={};if(n.body=(0,s.toRpcTypedData)(t.body),null!==t.status&&void 0!==t.status){if("string"!=typeof t.status&&"number"!=typeof t.status)throw new o.AzFuncSystemError('The HTTP response "status" property must be of type "number" or "string".');n.statusCode=t.status.toString()}if(n.headers={},null!==t.headers&&void 0!==t.headers){const e=new r.Headers(t.headers);for(const[t,r]of e.entries())n.headers[t]=r}if(n.cookies=[],null!==t.cookies&&void 0!==t.cookies)for(const e of t.cookies)n.cookies.push((0,i.toRpcHttpCookie)(e));return{http:n}}},518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookie=void 0;const r=n(679);t.toRpcHttpCookie=function(e){let t="none";if(e&&e.sameSite){const n=e.sameSite.toLocaleLowerCase();"lax"===n?t="lax":"strict"===n?t="strict":"none"===n&&(t="explicitNone")}return{name:e&&(0,r.toRpcString)(e.name,"cookie.name"),value:e&&(0,r.toRpcString)(e.value,"cookie.value"),domain:(0,r.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,r.toNullableString)(e&&e.path,"cookie.path"),expires:(0,r.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,r.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,r.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,r.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}},679:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=void 0;const r=n(758);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=e)throw new r.AzFuncSystemError(`A 'boolean' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableDouble=function(e,t){if("number"==typeof e)return{value:e};if("string"==typeof e&&!isNaN(Number(e)))return{value:parseFloat(e)};if(null!=e)throw new r.AzFuncSystemError(`A 'number' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toRpcString=function(e,t){if("string"==typeof e)return e;if(null!=e)throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`);return""},t.toNullableString=function(e,t){if("string"==typeof e)return{value:e};if(null!=e)throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableTimestamp=function(e,t){if(null!=e)try{const t="number"==typeof e?e:e.getTime();if(t&&t>=0)return{value:{seconds:Math.round(t/1e3)}}}catch(n){throw new r.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcTypedData=void 0,t.toRpcTypedData=function(e){return null==e?e:"string"==typeof e?{string:e}:Buffer.isBuffer(e)?{bytes:e}:ArrayBuffer.isView(e)?{bytes:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}:"number"==typeof e?Number.isInteger(e)?{int:e}:{double:e}:{json:JSON.stringify(e)}}},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class n extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=n;class r extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=r;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends r{constructor(e){super(`Cannot assign to read only property '${e}'`)}},t.ensureErrorType=function(e){if(e instanceof Error)return e;{let t;return t=null==e?"Unknown error":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):String(e),new Error(t)}},t.isError=function(e){return null!=e}},726:function(e,t,n){var r,o,i,s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},u=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequest=void 0;const c=n(122),l=n(360),f=n(601),p=n(691),d=n(758),g=n(563),h=n(557),m=n(21);t.HttpRequest=class{constructor(e){var t,n,s;r.set(this,void 0),o.set(this,void 0),i.set(this,void 0);const f=(0,h.nonNullProp)(e,"url");(null===(t=e.body)||void 0===t?void 0:t.bytes)?a(this,i,Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes),"f"):(null===(s=e.body)||void 0===s?void 0:s.string)&&a(this,i,e.body.string,"f"),a(this,o,new c.Request(f,{body:u(this,i,"f"),method:(0,h.nonNullProp)(e,"method"),headers:(0,p.fromNullableMapping)(e.nullableHeaders,e.headers)}),"f"),this.method=(0,h.nonNullProp)(e,"method"),this.url=f,this.headers=u(this,o,"f").headers,this.query=new l.URLSearchParams((0,p.fromNullableMapping)(e.nullableQuery,e.query)),this.params=(0,p.fromNullableMapping)(e.nullableParams,e.params)}get user(){return void 0===u(this,r,"f")&&a(this,r,(0,m.extractHttpUserFromHeaders)(this.headers),"f"),u(this,r,"f")}get body(){return u(this,o,"f").body}get bodyUsed(){return u(this,o,"f").bodyUsed}arrayBuffer(){return s(this,void 0,void 0,(function*(){return yield u(this,o,"f").arrayBuffer()}))}blob(){return s(this,void 0,void 0,(function*(){return yield u(this,o,"f").blob()}))}formData(){return s(this,void 0,void 0,(function*(){const e=this.headers.get(f.HeaderName.contentType);if(e)return u(this,i,"f")?(0,g.parseForm)(u(this,i,"f"),e):new c.FormData;throw new d.AzFuncSystemError(`"${f.HeaderName.contentType}" header must be defined.`)}))}json(){return s(this,void 0,void 0,(function*(){return yield u(this,o,"f").json()}))}text(){return s(this,void 0,void 0,(function*(){return yield u(this,o,"f").text()}))}},r=new WeakMap,o=new WeakMap,i=new WeakMap},21:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0;const r=n(557);t.extractHttpUserFromHeaders=function(e){let t=null;const n=e.get("x-ms-client-principal");if(n){const o=JSON.parse(Buffer.from(n,"base64").toString("utf-8"));t=o.identityProvider?{type:"StaticWebApps",id:o.userId,username:o.userDetails,identityProvider:o.identityProvider,claimsPrincipalData:o}:{type:"AppService",id:(0,r.nonNullValue)(e.get("x-ms-client-principal-id"),"user-id"),username:(0,r.nonNullValue)(e.get("x-ms-client-principal-name"),"user-name"),identityProvider:(0,r.nonNullValue)(e.get("x-ms-client-principal-idp"),"user-idp"),claimsPrincipalData:o}}return t}},607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.output=t.input=t.trigger=t.app=t.InvocationContext=t.HttpRequest=void 0;const r=n(601),o=n(62),i=n(674);var s=n(726);Object.defineProperty(t,"HttpRequest",{enumerable:!0,get:function(){return s.HttpRequest}});var a=n(313);let u;function c(){if(void 0===u)try{u=n(605)}catch(e){u=null}return u}Object.defineProperty(t,"InvocationContext",{enumerable:!0,get:function(){return a.InvocationContext}});class l{constructor(){this.name="@azure/functions",this.version=r.version}getInvocationModel(e){return new o.InvocationModel(e)}}let f=!1;function p(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}var d,g,h;function m(e){return w(e,"Input")}function y(e){return w(e,"Trigger")}function b(e){return w(e,"Output")}!function(e){function t(e,t){t.return||(t.return=g.http({})),n(e,Object.assign({trigger:d.http({authLevel:t.authLevel,methods:t.methods,route:t.route})},t))}function n(e,t){f||function(){const e=c();e?e.setProgrammingModel(new l):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),f=!0}();const n={},o=t.trigger;if(n[o.name]=Object.assign(Object.assign({},o),{direction:"in",type:(0,i.isTrigger)(o.type)?o.type:o.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(t.return.name=r.returnBindingKey,n[t.return.name]=Object.assign(Object.assign({},t.return),{direction:"out"})),t.extraOutputs)for(const e of t.extraOutputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"out"});const s=c();s?s.registerFunction({name:e,bindings:n},t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}e.get=function(e,n){t(e,p(n,"GET"))},e.put=function(e,n){t(e,p(n,"PUT"))},e.post=function(e,n){t(e,p(n,"POST"))},e.patch=function(e,n){t(e,p(n,"PATCH"))},e.deleteRequest=function(e,n){t(e,p(n,"DELETE"))},e.http=t,e.timer=function(e,t){n(e,Object.assign({trigger:d.timer({schedule:t.schedule,runOnStartup:t.runOnStartup,useMonitor:t.useMonitor})},t))},e.storageBlob=function(e,t){n(e,Object.assign({trigger:d.storageBlob({connection:t.connection,path:t.path})},t))},e.storageQueue=function(e,t){n(e,Object.assign({trigger:d.storageQueue({connection:t.connection,queueName:t.queueName})},t))},e.serviceBusQueue=function(e,t){n(e,Object.assign({trigger:d.serviceBusQueue({connection:t.connection,queueName:t.queueName,isSessionsEnabled:t.isSessionsEnabled})},t))},e.serviceBusTopic=function(e,t){n(e,Object.assign({trigger:d.serviceBusTopic({connection:t.connection,topicName:t.topicName,subscriptionName:t.subscriptionName,isSessionsEnabled:t.isSessionsEnabled})},t))},e.eventHub=function(e,t){n(e,Object.assign({trigger:d.eventHub({connection:t.connection,eventHubName:t.eventHubName,cardinality:t.cardinality,consumerGroup:t.consumerGroup})},t))},e.eventGrid=function(e,t){n(e,Object.assign({trigger:d.eventGrid({})},t))},e.cosmosDB=function(e,t){n(e,Object.assign({trigger:d.cosmosDB({collectionName:t.collectionName,connectionStringSetting:t.connectionStringSetting,createLeaseCollectionIfNotExists:t.createLeaseCollectionIfNotExists,databaseName:t.databaseName,id:t.id,leaseCollectionName:t.leaseCollectionName,leaseCollectionPrefix:t.leaseCollectionPrefix,leaseCollectionThroughput:t.leaseCollectionThroughput,leaseConnectionStringSetting:t.leaseConnectionStringSetting,leaseDatabaseName:t.leaseDatabaseName,partitionKey:t.partitionKey,sqlQuery:t.sqlQuery})},t))},e.generic=n}(t.app||(t.app={})),function(e){e.http=function(e){return y(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},e.timer=function(e){return y(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},e.storageBlob=function(e){return y(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},e.storageQueue=function(e){return y(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},e.serviceBusQueue=function(e){return y(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},e.serviceBusTopic=function(e){return y(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},e.eventHub=function(e){return y(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},e.eventGrid=function(e){return y(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},e.cosmosDB=function(e){return y(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},e.generic=function(e){return y(e)}}(d=t.trigger||(t.trigger={})),(h=t.input||(t.input={})).storageBlob=function(e){return m(Object.assign(Object.assign({},e),{type:"blob"}))},h.cosmosDB=function(e){return m(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},h.generic=function(e){return m(e)},function(e){e.http=function(e){return b(Object.assign(Object.assign({},e),{type:"http"}))},e.storageBlob=function(e){return b(Object.assign(Object.assign({},e),{type:"blob"}))},e.storageQueue=function(e){return b(Object.assign(Object.assign({},e),{type:"queue"}))},e.serviceBusQueue=function(e){return b(Object.assign(Object.assign({},e),{type:"serviceBus"}))},e.serviceBusTopic=function(e){return b(Object.assign(Object.assign({},e),{type:"serviceBus"}))},e.eventHub=function(e){return b(Object.assign(Object.assign({},e),{type:"eventHub"}))},e.eventGrid=function(e){return b(Object.assign(Object.assign({},e),{type:"eventGrid"}))},e.cosmosDB=function(e){return b(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},e.generic=function(e){return b(e)}}(g=t.output||(t.output={}));const v={};function w(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t);let r=v[n]||0;r+=1,v[n]=r,e.name=n+r.toString()}return e}},563:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseForm=void 0;const r=n(122),o=n(601),i=n(758),s=n(910),a=n(519);t.parseForm=function(e,t){const[n,u]=(0,s.parseContentType)(t);switch(n.toLowerCase()){case o.MediaType.multipartForm:{const t=u.get("boundary");return(0,a.parseMultipartForm)("string"==typeof e?Buffer.from(e):e,t)}case o.MediaType.urlEncodedForm:{const t=new URLSearchParams(e.toString()),n=new r.FormData;for(const[e,r]of t)n.append(e,r);return n}default:throw new i.AzFuncSystemError(`Media type "${n}" does not match types supported for form parsing: "${o.MediaType.multipartForm}", "${o.MediaType.urlEncodedForm}".`)}}},910:function(e,t,n){var r,o=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderParams=t.parseContentDisposition=t.parseContentType=t.getHeaderValue=void 0;const i=n(601),s=n(758),a='[^ \\u0000-\\u001F\\u007F\\(\\)<>@,;:\\\\"\\/\\[\\]\\?\\.=]+',u="\\s*(.*)$",c=`\\s*;?${u}`;function l(e){const t=new f;for(;e;){let n=new RegExp(`^\\s*(${a})=(${a})${c}`,"i").exec(e);if(n||(n=new RegExp(`^\\s*(${a})="((?:[^"\\\\]|\\\\.)*)"${c}`,"i").exec(e)),!n)break;t.add(n[1],n[2].replace(/\\"/g,'"')),e=n[3]}return t}t.getHeaderValue=function(e,t){const n=new RegExp(`^\\s*${t}\\s*:${u}`,"i").exec(e);return n?n[1].trim():null},t.parseContentType=function(e){const t=new RegExp(`^\\s*(${a}\\/${a})${c}`,"i").exec(e);if(t)return[t[1],l(t[2])];throw new s.AzFuncSystemError(`${i.HeaderName.contentType} must begin with format "type/subtype".`)},t.parseContentDisposition=function(e){const t=new RegExp(`^\\s*(${a})${c}`,"i").exec(e);if(t)return[t[1],l(t[2])];throw new s.AzFuncSystemError(`${i.HeaderName.contentDisposition} must begin with disposition type.`)};class f{constructor(){r.set(this,{})}get(e){const t=o(this,r,"f")[e.toLowerCase()];if(void 0===t)throw new s.AzFuncSystemError(`Failed to find parameter with name "${e}".`);return t}has(e){return void 0!==o(this,r,"f")[e.toLowerCase()]}add(e,t){o(this,r,"f")[e.toLowerCase()]=t}}t.HeaderParams=f,r=new WeakMap},519:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseMultipartForm=void 0;const r=n(893),o=n(122),i=n(601),s=n(758),a=n(910),u=Buffer.from("\r")[0],c=Buffer.from("\n")[0];t.parseMultipartForm=function(e,t){const n=new o.FormData;let l,f,p,d=!1;const g=Buffer.from(`--${t}`),h=Buffer.from(`--${t}--`);let m=0,y=0,b=0,v=0;for(let t=0;t<e.length;t++){let o;if(e[t]!==c)continue;y=e[t-1]===u?t-1:t,o=e.subarray(m,y),m=t+1;const w=o.equals(g),O=o.equals(h);if(w||O){if(l){const t=e.subarray(b,v);f?n.append(l,new r.Blob([t],{type:p}),f):n.append(l,t.toString())}if(O)break;l=void 0,f=void 0,p=void 0,d=!0}else if(d){const e=o.toString();if(e){const t=(0,a.getHeaderValue)(e,i.HeaderName.contentDisposition);if(t){const[,e]=(0,a.parseContentDisposition)(t);l=e.get("name"),e.has("fileName")&&(f=e.get("fileName"))}else{const t=(0,a.getHeaderValue)(e,i.HeaderName.contentType);t&&(p=t)}}else{if(d=!1,!l)throw new s.AzFuncSystemError(`Expected part to have header "${i.HeaderName.contentDisposition}" with parameter "name".`);b=m,v=m}}else v=y}return n}},674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTimerTrigger=t.isHttpTrigger=t.isTrigger=void 0,t.isTrigger=function(e){return!!e&&/trigger$/i.test(e)},t.isHttpTrigger=function(e){return"httptrigger"===(null==e?void 0:e.toLowerCase())},t.isTimerTrigger=function(e){return"timertrigger"===(null==e?void 0:e.toLowerCase())}},557:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=t.copyPropIfDefined=t.nonNullValue=t.nonNullProp=void 0;const r=n(758);function o(e,t){if(null==e)throw new r.AzFuncSystemError("Internal error: Expected value to be neither null nor undefined"+(t?`: ${t}`:""));return e}t.nonNullProp=function(e,t){return o(e[t],t)},t.nonNullValue=o,t.copyPropIfDefined=function(e,t,n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])},t.isDefined=function(e){return null!=e}},605:e=>{e.exports=require("@azure/functions-core")},893:e=>{e.exports=require("buffer")},122:e=>{e.exports=require("undici")},360:e=>{e.exports=require("url")},764:e=>{e.exports=require("util")}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(607);module.exports=n})();
(()=>{"use strict";var e={313:function(e,t){var n,r,o,i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationContext=void 0,t.InvocationContext=class{constructor(e){n.set(this,void 0),this.invocationId=e.invocationId,this.functionName=e.functionName,this.extraInputs=new a,this.extraOutputs=new u,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,i(this,n,e.logHandler,"f")}log(...e){s(this,n,"f").call(this,"information",...e)}trace(...e){s(this,n,"f").call(this,"trace",...e)}debug(...e){s(this,n,"f").call(this,"debug",...e)}info(...e){s(this,n,"f").call(this,"information",...e)}warn(...e){s(this,n,"f").call(this,"warning",...e)}error(...e){s(this,n,"f").call(this,"error",...e)}},n=new WeakMap;class a{constructor(){r.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,r,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,r,"f")[n]=t}}r=new WeakMap;class u{constructor(){o.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,o,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,o,"f")[n]=t}}o=new WeakMap},62:function(e,t,n){var r,o,i,s,a,u,c,l,f,p,d=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},h=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},g=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=n(764),v=n(601),b=n(130),m=n(243),w=n(408),j=n(788),O=n(186),x=n(828),T=n(313),P=n(674),C=n(557);t.InvocationModel=class{constructor(e){r.add(this),o.set(this,!1),i.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),h(this,i,e,"f"),h(this,s,(0,C.nonNullProp)(e.metadata,"name"),"f"),h(this,a,(0,C.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,C.nonNullValue)(Object.values(g(this,a,"f")).find((e=>(0,P.isTrigger)(e.type))),"triggerBinding");h(this,u,(0,C.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=g(this,i,"f").request,t=new T.InvocationContext({invocationId:(0,C.nonNullProp)(g(this,i,"f"),"invocationId"),functionName:g(this,s,"f"),logHandler:(e,...t)=>g(this,r,"m",p).call(this,e,...t),retryContext:(0,b.fromRpcRetryContext)(e.retryContext),traceContext:(0,b.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,m.fromRpcTriggerMetadata)(e.triggerMetadata,g(this,u,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,C.nonNullProp)(r,"name");let o=(0,w.fromRpcTypedData)(r.data);const i=g(this,a,"f")[e].type;(0,P.isTimerTrigger)(i)&&(o=(0,j.toCamelCaseValue)(o)),(0,P.isTrigger)(i)?n.push(o):t.extraInputs.set(e,o)}return{context:t,inputs:n}}))}invokeFunction(e,t,n){return d(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(t[0],e))}finally{h(this,o,!0,"f")}}))}getResponse(e,t){return d(this,void 0,void 0,(function*(){const n={invocationId:g(this,i,"f").invocationId,outputData:[]};for(const[o,i]of Object.entries(g(this,a,"f")))"out"===i.direction&&(o===v.returnBindingKey?n.returnValue=yield g(this,r,"m",c).call(this,i,t):n.outputData.push({name:o,data:yield g(this,r,"m",c).call(this,i,e.extraOutputs.get(o))}));return n.returnValue||0!=n.outputData.length||(0,P.isHttpTrigger)(g(this,u,"f"))||(n.returnValue=(0,x.toRpcTypedData)(t)),n}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,r=new WeakSet,c=function(e,t){var n;return d(this,void 0,void 0,(function*(){return"http"===(null===(n=e.type)||void 0===n?void 0:n.toLowerCase())?(0,O.toRpcHttp)(t):(0,x.toRpcTypedData)(t)}))},l=function(e,t,...n){g(this,i,"f").log(e,t,(0,y.format)(...n))},f=function(e,...t){g(this,r,"m",l).call(this,e,"system",...t)},p=function(e,...t){if(g(this,o,"f")&&"postInvocationHooks"!==g(this,i,"f").state){let e="Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited. ";e+=`Function name: ${g(this,s,"f")}. Invocation Id: ${g(this,i,"f").invocationId}.`,g(this,r,"m",f).call(this,"warning",e)}g(this,r,"m",l).call(this,e,"user",...t)}},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.0.0-alpha.6",t.returnBindingKey="$return"},130:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTraceContext=t.fromRpcRetryContext=void 0;const r=n(557);t.fromRpcRetryContext=function(e){if(e){const t={retryCount:(0,r.nonNullProp)(e,"retryCount"),maxRetryCount:(0,r.nonNullProp)(e,"maxRetryCount")};return e.exception&&(t.exception=function(e){const t={};return(0,r.copyPropIfDefined)(e,t,"message"),(0,r.copyPropIfDefined)(e,t,"source"),(0,r.copyPropIfDefined)(e,t,"stackTrace"),t}(e.exception)),t}},t.fromRpcTraceContext=function(e){if(e){const t={};return(0,r.copyPropIfDefined)(e,t,"traceParent"),(0,r.copyPropIfDefined)(e,t,"traceState"),e.attributes&&(t.attributes=e.attributes),t}}},691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromNullableMapping=void 0,t.fromNullableMapping=function(e,t){let n={};if(e&&Object.keys(e).length>0)for(const t in e)n[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(n=t);return n}},243:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTriggerMetadata=void 0;const r=n(674),o=n(408),i=n(788);t.fromRpcTriggerMetadata=function(e,t){if(e&&!(0,r.isHttpTrigger)(t)&&!(0,r.isTimerTrigger)(t)){const t={};for(const[n,r]of Object.entries(e))t[(0,i.toCamelCaseKey)(n)]=(0,i.toCamelCaseValue)((0,o.fromRpcTypedData)(r));return t}}},408:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTypedData=void 0;const r=n(726),o=n(557);function i(e){try{return JSON.parse(e)}catch(t){return e}}t.fromRpcTypedData=function(e){return e?(0,o.isDefined)(e.string)?i(e.string):(0,o.isDefined)(e.json)?JSON.parse(e.json):(0,o.isDefined)(e.bytes)?Buffer.from(e.bytes):(0,o.isDefined)(e.stream)?Buffer.from(e.stream):(0,o.isDefined)(e.http)?new r.HttpRequest(e.http):(0,o.isDefined)(e.int)?e.int:(0,o.isDefined)(e.double)?e.double:e.collectionBytes&&(0,o.isDefined)(e.collectionBytes.bytes)?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&(0,o.isDefined)(e.collectionString.string)?e.collectionString.string.map(i):e.collectionDouble&&(0,o.isDefined)(e.collectionDouble.double)?e.collectionDouble.double:e.collectionSint64&&(0,o.isDefined)(e.collectionSint64.sint64)?e.collectionSint64.sint64:void 0:void 0}},788:(e,t)=>{function n(e){return e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toCamelCaseKey=t.toCamelCaseValue=void 0,t.toCamelCaseValue=function e(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return t.map(e);{const r={};for(const[o,i]of Object.entries(t))r[n(o)]=e(i);return r}},t.toCamelCaseKey=n},186:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttp=void 0;const o=n(758),i=n(681),s=n(518),a=n(828);t.toRpcHttp=function(e){return r(this,void 0,void 0,(function*(){if(null==e)return e;if("object"!=typeof e)throw new o.AzFuncSystemError('The HTTP response must be an object with optional properties "body", "status", "headers", and "cookies".');const t=e instanceof i.HttpResponse?e:new i.HttpResponse(e),n={};n.statusCode=t.status.toString(),n.headers={};for(const[e,r]of t.headers.entries())n.headers[e]=r;n.cookies=[];for(const e of t.cookies)n.cookies.push((0,s.toRpcHttpCookie)(e));n.enableContentNegotiation=t.enableContentNegotiation;const r=yield t.arrayBuffer();return n.body=(0,a.toRpcTypedData)(r),{http:n}}))}},518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookie=void 0;const r=n(679);t.toRpcHttpCookie=function(e){let t="none";if(e&&e.sameSite){const n=e.sameSite.toLocaleLowerCase();"lax"===n?t="lax":"strict"===n?t="strict":"none"===n&&(t="explicitNone")}return{name:e&&(0,r.toRpcString)(e.name,"cookie.name"),value:e&&(0,r.toRpcString)(e.value,"cookie.value"),domain:(0,r.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,r.toNullableString)(e&&e.path,"cookie.path"),expires:(0,r.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,r.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,r.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,r.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}},679:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=void 0;const r=n(758);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=e)throw new r.AzFuncSystemError(`A 'boolean' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableDouble=function(e,t){if("number"==typeof e)return{value:e};if("string"==typeof e&&!isNaN(Number(e)))return{value:parseFloat(e)};if(null!=e)throw new r.AzFuncSystemError(`A 'number' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toRpcString=function(e,t){if("string"==typeof e)return e;if(null!=e)throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`);return""},t.toNullableString=function(e,t){if("string"==typeof e)return{value:e};if(null!=e)throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableTimestamp=function(e,t){if(null!=e)try{const t="number"==typeof e?e:e.getTime();if(t&&t>=0)return{value:{seconds:Math.round(t/1e3)}}}catch(n){throw new r.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcTypedData=void 0,t.toRpcTypedData=function(e){return null==e?e:"string"==typeof e?{string:e}:Buffer.isBuffer(e)?{bytes:e}:ArrayBuffer.isView(e)?{bytes:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}:e instanceof ArrayBuffer?{bytes:new Uint8Array(e)}:"number"==typeof e?Number.isInteger(e)?{int:e}:{double:e}:{json:JSON.stringify(e)}}},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class n extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=n;class r extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=r;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends r{constructor(e){super(`Cannot assign to read only property '${e}'`)}},t.ensureErrorType=function(e){if(e instanceof Error)return e;{let t;return t=null==e?"Unknown error":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):String(e),new Error(t)}},t.isError=function(e){return null!=e}},726:function(e,t,n){var r,o,i,s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},u=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequest=void 0;const c=n(122),l=n(360),f=n(691),p=n(557),d=n(21);t.HttpRequest=class{constructor(e){var t,n,s;r.set(this,void 0),o.set(this,void 0),i.set(this,void 0);const d=(0,p.nonNullProp)(e,"url");(null===(t=e.body)||void 0===t?void 0:t.bytes)?a(this,i,Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes),"f"):(null===(s=e.body)||void 0===s?void 0:s.string)&&a(this,i,e.body.string,"f"),a(this,o,new c.Request(d,{body:u(this,i,"f"),method:(0,p.nonNullProp)(e,"method"),headers:(0,f.fromNullableMapping)(e.nullableHeaders,e.headers)}),"f"),this.query=new l.URLSearchParams((0,f.fromNullableMapping)(e.nullableQuery,e.query)),this.params=(0,f.fromNullableMapping)(e.nullableParams,e.params)}get url(){return u(this,o,"f").url}get method(){return u(this,o,"f").method}get headers(){return u(this,o,"f").headers}get user(){return void 0===u(this,r,"f")&&a(this,r,(0,d.extractHttpUserFromHeaders)(this.headers),"f"),u(this,r,"f")}get body(){return u(this,o,"f").body}get bodyUsed(){return u(this,o,"f").bodyUsed}arrayBuffer(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").arrayBuffer()}))}blob(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").blob()}))}formData(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").formData()}))}json(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").json()}))}text(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").text()}))}},r=new WeakMap,o=new WeakMap,i=new WeakMap},681:function(e,t,n){var r,o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpResponse=void 0;const a=n(122),u=n(557);t.HttpResponse=class{constructor(e){r.set(this,void 0);const t={status:null==e?void 0:e.status,headers:null==e?void 0:e.headers};(0,u.isDefined)(null==e?void 0:e.jsonBody)?i(this,r,a.Response.json(null==e?void 0:e.jsonBody,t),"f"):i(this,r,new a.Response(null==e?void 0:e.body,t),"f"),this.cookies=(null==e?void 0:e.cookies)||[],this.enableContentNegotiation=!!(null==e?void 0:e.enableContentNegotiation)}get status(){return s(this,r,"f").status}get headers(){return s(this,r,"f").headers}get body(){return s(this,r,"f").body}get bodyUsed(){return s(this,r,"f").bodyUsed}arrayBuffer(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").arrayBuffer()}))}blob(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").blob()}))}formData(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").formData()}))}json(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").json()}))}text(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").text()}))}},r=new WeakMap},21:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0;const r=n(557);t.extractHttpUserFromHeaders=function(e){let t=null;const n=e.get("x-ms-client-principal");if(n){const o=JSON.parse(Buffer.from(n,"base64").toString("utf-8"));t=o.identityProvider?{type:"StaticWebApps",id:o.userId,username:o.userDetails,identityProvider:o.identityProvider,claimsPrincipalData:o}:{type:"AppService",id:(0,r.nonNullValue)(e.get("x-ms-client-principal-id"),"user-id"),username:(0,r.nonNullValue)(e.get("x-ms-client-principal-name"),"user-name"),identityProvider:(0,r.nonNullValue)(e.get("x-ms-client-principal-idp"),"user-idp"),claimsPrincipalData:o}}return t}},607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.output=t.input=t.trigger=t.app=t.InvocationContext=t.HttpResponse=t.HttpRequest=void 0;const r=n(601),o=n(62),i=n(674);var s=n(726);Object.defineProperty(t,"HttpRequest",{enumerable:!0,get:function(){return s.HttpRequest}});var a=n(681);Object.defineProperty(t,"HttpResponse",{enumerable:!0,get:function(){return a.HttpResponse}});var u=n(313);let c;function l(){if(void 0===c)try{c=n(605)}catch(e){c=null}return c}Object.defineProperty(t,"InvocationContext",{enumerable:!0,get:function(){return u.InvocationContext}});class f{constructor(){this.name="@azure/functions",this.version=r.version}getInvocationModel(e){return new o.InvocationModel(e)}}let p=!1;function d(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}var h,g,y;function v(e){return j(e,"Input")}function b(e){return j(e,"Trigger")}function m(e){return j(e,"Output")}!function(e){function t(e,t){t.return||(t.return=g.http({})),n(e,Object.assign({trigger:h.http({authLevel:t.authLevel,methods:t.methods,route:t.route})},t))}function n(e,t){p||function(){const e=l();e?e.setProgrammingModel(new f):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),p=!0}();const n={},o=t.trigger;if(n[o.name]=Object.assign(Object.assign({},o),{direction:"in",type:(0,i.isTrigger)(o.type)?o.type:o.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(t.return.name=r.returnBindingKey,n[t.return.name]=Object.assign(Object.assign({},t.return),{direction:"out"})),t.extraOutputs)for(const e of t.extraOutputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"out"});const s=l();s?s.registerFunction({name:e,bindings:n},t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}e.get=function(e,n){t(e,d(n,"GET"))},e.put=function(e,n){t(e,d(n,"PUT"))},e.post=function(e,n){t(e,d(n,"POST"))},e.patch=function(e,n){t(e,d(n,"PATCH"))},e.deleteRequest=function(e,n){t(e,d(n,"DELETE"))},e.http=t,e.timer=function(e,t){n(e,Object.assign({trigger:h.timer({schedule:t.schedule,runOnStartup:t.runOnStartup,useMonitor:t.useMonitor})},t))},e.storageBlob=function(e,t){n(e,Object.assign({trigger:h.storageBlob({connection:t.connection,path:t.path})},t))},e.storageQueue=function(e,t){n(e,Object.assign({trigger:h.storageQueue({connection:t.connection,queueName:t.queueName})},t))},e.serviceBusQueue=function(e,t){n(e,Object.assign({trigger:h.serviceBusQueue({connection:t.connection,queueName:t.queueName,isSessionsEnabled:t.isSessionsEnabled})},t))},e.serviceBusTopic=function(e,t){n(e,Object.assign({trigger:h.serviceBusTopic({connection:t.connection,topicName:t.topicName,subscriptionName:t.subscriptionName,isSessionsEnabled:t.isSessionsEnabled})},t))},e.eventHub=function(e,t){n(e,Object.assign({trigger:h.eventHub({connection:t.connection,eventHubName:t.eventHubName,cardinality:t.cardinality,consumerGroup:t.consumerGroup})},t))},e.eventGrid=function(e,t){n(e,Object.assign({trigger:h.eventGrid({})},t))},e.cosmosDB=function(e,t){n(e,Object.assign({trigger:h.cosmosDB({collectionName:t.collectionName,connectionStringSetting:t.connectionStringSetting,createLeaseCollectionIfNotExists:t.createLeaseCollectionIfNotExists,databaseName:t.databaseName,id:t.id,leaseCollectionName:t.leaseCollectionName,leaseCollectionPrefix:t.leaseCollectionPrefix,leaseCollectionThroughput:t.leaseCollectionThroughput,leaseConnectionStringSetting:t.leaseConnectionStringSetting,leaseDatabaseName:t.leaseDatabaseName,partitionKey:t.partitionKey,sqlQuery:t.sqlQuery})},t))},e.generic=n}(t.app||(t.app={})),function(e){e.http=function(e){return b(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},e.timer=function(e){return b(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},e.storageBlob=function(e){return b(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},e.storageQueue=function(e){return b(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},e.serviceBusQueue=function(e){return b(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},e.serviceBusTopic=function(e){return b(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},e.eventHub=function(e){return b(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},e.eventGrid=function(e){return b(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},e.cosmosDB=function(e){return b(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},e.generic=function(e){return b(e)}}(h=t.trigger||(t.trigger={})),(y=t.input||(t.input={})).storageBlob=function(e){return v(Object.assign(Object.assign({},e),{type:"blob"}))},y.cosmosDB=function(e){return v(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},y.generic=function(e){return v(e)},function(e){e.http=function(e){return m(Object.assign(Object.assign({},e),{type:"http"}))},e.storageBlob=function(e){return m(Object.assign(Object.assign({},e),{type:"blob"}))},e.storageQueue=function(e){return m(Object.assign(Object.assign({},e),{type:"queue"}))},e.serviceBusQueue=function(e){return m(Object.assign(Object.assign({},e),{type:"serviceBus"}))},e.serviceBusTopic=function(e){return m(Object.assign(Object.assign({},e),{type:"serviceBus"}))},e.eventHub=function(e){return m(Object.assign(Object.assign({},e),{type:"eventHub"}))},e.eventGrid=function(e){return m(Object.assign(Object.assign({},e),{type:"eventGrid"}))},e.cosmosDB=function(e){return m(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},e.generic=function(e){return m(e)}}(g=t.output||(t.output={}));const w={};function j(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t);let r=w[n]||0;r+=1,w[n]=r,e.name=n+r.toString()}return e}},674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTimerTrigger=t.isHttpTrigger=t.isTrigger=void 0,t.isTrigger=function(e){return!!e&&/trigger$/i.test(e)},t.isHttpTrigger=function(e){return"httptrigger"===(null==e?void 0:e.toLowerCase())},t.isTimerTrigger=function(e){return"timertrigger"===(null==e?void 0:e.toLowerCase())}},557:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=t.copyPropIfDefined=t.nonNullValue=t.nonNullProp=void 0;const r=n(758);function o(e,t){if(null==e)throw new r.AzFuncSystemError("Internal error: Expected value to be neither null nor undefined"+(t?`: ${t}`:""));return e}t.nonNullProp=function(e,t){return o(e[t],t)},t.nonNullValue=o,t.copyPropIfDefined=function(e,t,n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])},t.isDefined=function(e){return null!=e}},605:e=>{e.exports=require("@azure/functions-core")},122:e=>{e.exports=require("undici")},360:e=>{e.exports=require("url")},764:e=>{e.exports=require("util")}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(607);module.exports=n})();
//# sourceMappingURL=azure-functions.min.js.map
{
"name": "@azure/functions",
"version": "4.0.0-alpha.5",
"version": "4.0.0-alpha.6",
"description": "Microsoft Azure Functions NodeJS Framework",

@@ -45,3 +45,3 @@ "keywords": [

"long": "^4.0.0",
"undici": "~5.10.0"
"undici": "^5.13.0"
},

@@ -48,0 +48,0 @@ "devDependencies": {

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
export const version = '4.0.0-alpha.5';
export const version = '4.0.0-alpha.6';
export enum HeaderName {
contentType = 'content-type',
contentDisposition = 'content-disposition',
}
export enum MediaType {
multipartForm = 'multipart/form-data',
urlEncodedForm = 'application/x-www-form-urlencoded',
octetStream = 'application/octet-stream',
json = 'application/json',
}
export const returnBindingKey = '$return';
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
import { HttpResponse } from '@azure/functions';
import { RpcHttpData, RpcTypedData } from '@azure/functions-core';
import { Headers } from 'undici';
import { AzFuncSystemError } from '../errors';
import { HttpResponse } from '../http/HttpResponse';
import { toRpcHttpCookie } from './toRpcHttpCookie';
import { toRpcTypedData } from './toRpcTypedData';
export function toRpcHttp(data: unknown): RpcTypedData | null | undefined {
export async function toRpcHttp(data: unknown): Promise<RpcTypedData | null | undefined> {
if (data === null || data === undefined) {

@@ -19,30 +18,23 @@ return data;

}
const response: HttpResponse = data;
const response = data instanceof HttpResponse ? data : new HttpResponse(data);
const rpcResponse: RpcHttpData = {};
rpcResponse.body = toRpcTypedData(response.body);
if (response.status !== null && response.status !== undefined) {
if (typeof response.status !== 'string' && typeof response.status !== 'number') {
throw new AzFuncSystemError('The HTTP response "status" property must be of type "number" or "string".');
} else {
rpcResponse.statusCode = response.status.toString();
}
}
rpcResponse.statusCode = response.status.toString();
rpcResponse.headers = {};
if (response.headers !== null && response.headers !== undefined) {
const headers = new Headers(response.headers);
for (const [key, value] of headers.entries()) {
rpcResponse.headers[key] = value;
}
for (const [key, value] of response.headers.entries()) {
rpcResponse.headers[key] = value;
}
rpcResponse.cookies = [];
if (response.cookies !== null && response.cookies !== undefined) {
for (const cookie of response.cookies) {
rpcResponse.cookies.push(toRpcHttpCookie(cookie));
}
for (const cookie of response.cookies) {
rpcResponse.cookies.push(toRpcHttpCookie(cookie));
}
rpcResponse.enableContentNegotiation = response.enableContentNegotiation;
const bodyBytes = await response.arrayBuffer();
rpcResponse.body = toRpcTypedData(bodyBytes);
return { http: rpcResponse };
}

@@ -16,2 +16,5 @@ // Copyright (c) .NET Foundation. All rights reserved.

return { bytes: bytes };
} else if (data instanceof ArrayBuffer) {
const bytes = new Uint8Array(data);
return { bytes: bytes };
} else if (typeof data === 'number') {

@@ -18,0 +21,0 @@ if (Number.isInteger(data)) {

@@ -5,3 +5,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

import * as types from '@azure/functions';
import { HttpMethod, HttpRequestParams, HttpRequestUser } from '@azure/functions';
import { HttpRequestParams, HttpRequestUser } from '@azure/functions';
import { RpcHttpData } from '@azure/functions-core';

@@ -12,6 +12,3 @@ import { Blob } from 'buffer';

import { URLSearchParams } from 'url';
import { HeaderName } from '../constants';
import { fromNullableMapping } from '../converters/fromRpcNullable';
import { AzFuncSystemError } from '../errors';
import { parseForm } from '../parsers/parseForm';
import { nonNullProp } from '../utils/nonNull';

@@ -21,7 +18,4 @@ import { extractHttpUserFromHeaders } from './extractHttpUserFromHeaders';

export class HttpRequest implements types.HttpRequest {
method: HttpMethod;
url: string;
headers: Headers;
query: URLSearchParams;
params: HttpRequestParams;
readonly query: URLSearchParams;
readonly params: HttpRequestParams;

@@ -47,5 +41,2 @@ #cachedUser?: HttpRequestUser | null;

this.method = <HttpMethod>nonNullProp(rpcHttp, 'method');
this.url = url;
this.headers = this.#uReq.headers;
this.query = new URLSearchParams(fromNullableMapping(rpcHttp.nullableQuery, rpcHttp.query));

@@ -55,2 +46,14 @@ this.params = fromNullableMapping(rpcHttp.nullableParams, rpcHttp.params);

get url(): string {
return this.#uReq.url;
}
get method(): string {
return this.#uReq.method;
}
get headers(): Headers {
return this.#uReq.headers;
}
get user(): HttpRequestUser | null {

@@ -73,31 +76,20 @@ if (this.#cachedUser === undefined) {

async arrayBuffer(): Promise<ArrayBuffer> {
return await this.#uReq.arrayBuffer();
return this.#uReq.arrayBuffer();
}
async blob(): Promise<Blob> {
return await this.#uReq.blob();
return this.#uReq.blob();
}
/**
* undici doesn't support this yet, so we'll use our own implementation for now
*/
// eslint-disable-next-line @typescript-eslint/require-await
async formData(): Promise<FormData> {
const contentType = this.headers.get(HeaderName.contentType);
if (!contentType) {
throw new AzFuncSystemError(`"${HeaderName.contentType}" header must be defined.`);
} else if (!this.#body) {
return new FormData();
} else {
return parseForm(this.#body, contentType);
}
return this.#uReq.formData();
}
async json(): Promise<unknown> {
return await this.#uReq.json();
return this.#uReq.json();
}
async text(): Promise<string> {
return await this.#uReq.text();
return this.#uReq.text();
}
}

@@ -70,2 +70,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export { HttpRequest } from './http/HttpRequest';
export { HttpResponse } from './http/HttpResponse';
export { InvocationContext } from './InvocationContext';

@@ -72,0 +73,0 @@

@@ -83,3 +83,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return await Promise.resolve(handler(context, inputs[0]));
return await Promise.resolve(handler(inputs[0], context));
} finally {

@@ -90,3 +90,2 @@ this.#isDone = true;

// eslint-disable-next-line @typescript-eslint/require-await
async getResponse(context: InvocationContext, result: unknown): Promise<RpcInvocationResponse> {

@@ -99,7 +98,7 @@ const response: RpcInvocationResponse = { invocationId: this.#coreCtx.invocationId };

if (name === returnBindingKey) {
response.returnValue = this.#convertOutput(binding, result);
response.returnValue = await this.#convertOutput(binding, result);
} else {
response.outputData.push({
name,
data: this.#convertOutput(binding, context.extraOutputs.get(name)),
data: await this.#convertOutput(binding, context.extraOutputs.get(name)),
});

@@ -121,3 +120,3 @@ }

#convertOutput(binding: RpcBindingInfo, value: unknown): RpcTypedData | null | undefined {
async #convertOutput(binding: RpcBindingInfo, value: unknown): Promise<RpcTypedData | null | undefined> {
if (binding.type?.toLowerCase() === 'http') {

@@ -124,0 +123,0 @@ return toRpcHttp(value);

@@ -7,3 +7,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export type CosmosDBHandler = (context: InvocationContext, documents: unknown[]) => FunctionResult;
export type CosmosDBHandler = (documents: unknown[], context: InvocationContext) => FunctionResult;

@@ -10,0 +10,0 @@ export interface CosmosDBFunctionOptions extends CosmosDBTriggerOptions, Partial<FunctionOptions> {

@@ -7,3 +7,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export type EventGridHandler = (context: InvocationContext, event: EventGridEvent) => FunctionResult;
export type EventGridHandler = (event: EventGridEvent, context: InvocationContext) => FunctionResult;

@@ -10,0 +10,0 @@ export interface EventGridFunctionOptions extends EventGridTriggerOptions, Partial<FunctionOptions> {

@@ -7,3 +7,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export type EventHubHandler = (context: InvocationContext, messages: unknown) => FunctionResult;
export type EventHubHandler = (messages: unknown, context: InvocationContext) => FunctionResult;

@@ -10,0 +10,0 @@ export interface EventHubFunctionOptions extends EventHubTriggerOptions, Partial<FunctionOptions> {

@@ -6,3 +6,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

import { ReadableStream } from 'stream/web';
import { FormData, Headers, HeadersInit } from 'undici';
import { BodyInit, FormData, Headers, HeadersInit } from 'undici';
import { URLSearchParams } from 'url';

@@ -12,3 +12,6 @@ import { FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger } from './index';

export type HttpHandler = (context: InvocationContext, request: HttpRequest) => FunctionResult<HttpResponse>;
export type HttpHandler = (
request: HttpRequest,
context: InvocationContext
) => FunctionResult<HttpResponseInit | HttpResponse>;

@@ -84,3 +87,3 @@ export interface HttpFunctionOptions extends HttpTriggerOptions, Partial<FunctionOptions> {

*/
method: HttpMethod;
readonly method: string;

@@ -90,3 +93,3 @@ /**

*/
url: string;
readonly url: string;

@@ -96,3 +99,3 @@ /**

*/
headers: Headers;
readonly headers: Headers;

@@ -102,3 +105,3 @@ /**

*/
query: URLSearchParams;
readonly query: URLSearchParams;

@@ -108,3 +111,3 @@ /**

*/
params: HttpRequestParams;
readonly params: HttpRequestParams;

@@ -116,3 +119,3 @@ /**

*/
user: HttpRequestUser | null;
readonly user: HttpRequestUser | null;

@@ -202,11 +205,15 @@ /**

export type HttpResponseBody = string | Buffer | NodeJS.ArrayBufferView | number | object;
export interface HttpResponse {
export interface HttpResponseInit {
/**
* HTTP response body
*/
body?: HttpResponseBody;
body?: BodyInit;
/**
* A JSON-serializable HTTP Response body.
* If set, the `HttpResponseInit.body` property will be ignored in favor of this property
*/
jsonBody?: any;
/**
* HTTP response status code

@@ -223,3 +230,3 @@ * @default 200

/**
* HTTP response cookies
* HTTP response cookies
*/

@@ -237,2 +244,67 @@ cookies?: Cookie[];

/**
* HTTP response class
*/
export declare class HttpResponse {
constructor(responseInit?: HttpResponseInit);
/**
* HTTP response status code
* @default 200
*/
readonly status: number;
/**
* HTTP response headers.
*/
readonly headers: Headers;
/**
* HTTP response cookies
*/
readonly cookies: Cookie[];
/**
* Enable content negotiation of response body if true
* If false, treat response body as raw
* @default false
*/
readonly enableContentNegotiation: boolean;
/**
* Returns the body as a ReadableStream
*/
readonly body: ReadableStream | null;
/**
* Returns whether the body has been read from
*/
readonly bodyUsed: boolean;
/**
* Returns a promise fulfilled with the body as an ArrayBuffer
*/
readonly arrayBuffer: () => Promise<ArrayBuffer>;
/**
* Returns a promise fulfilled with the body as a Blob
*/
readonly blob: () => Promise<Blob>;
/**
* Returns a promise fulfilled with the body as FormData
*/
readonly formData: () => Promise<FormData>;
/**
* Returns a promise fulfilled with the body parsed as JSON
*/
readonly json: () => Promise<unknown>;
/**
* Returns a promise fulfilled with the body as a string
*/
readonly text: () => Promise<string>;
}
/**
* Http response cookie object to "Set-Cookie"

@@ -287,3 +359,3 @@ */

export interface HttpRequestInit {
method?: HttpMethod;
method?: string;

@@ -290,0 +362,0 @@ url?: string;

@@ -31,2 +31,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

HttpHandler,
HttpMethodFunctionOptions,
HttpOutput,

@@ -36,3 +37,2 @@ HttpOutputOptions,

HttpTriggerOptions,
HttpMethodFunctionOptions,
} from './http';

@@ -362,3 +362,3 @@ import { InvocationContext } from './InvocationContext';

export type FunctionHandler = (context: InvocationContext, triggerInput: any) => FunctionResult<any>;
export type FunctionHandler = (triggerInput: any, context: InvocationContext) => FunctionResult<any>;

@@ -365,0 +365,0 @@ /**

@@ -7,3 +7,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export type ServiceBusQueueHandler = (context: InvocationContext, message: unknown) => FunctionResult;
export type ServiceBusQueueHandler = (message: unknown, context: InvocationContext) => FunctionResult;

@@ -47,3 +47,3 @@ export interface ServiceBusQueueFunctionOptions extends ServiceBusQueueTriggerOptions, Partial<FunctionOptions> {

export type ServiceBusTopicHandler = (context: InvocationContext, message: unknown) => FunctionResult;
export type ServiceBusTopicHandler = (message: unknown, context: InvocationContext) => FunctionResult;

@@ -50,0 +50,0 @@ export interface ServiceBusTopicFunctionOptions extends ServiceBusTopicTriggerOptions, Partial<FunctionOptions> {

@@ -7,4 +7,4 @@ // Copyright (c) .NET Foundation. All rights reserved.

export type StorageBlobHandler = (context: InvocationContext, blob: unknown) => FunctionResult;
export type StorageQueueHandler = (context: InvocationContext, queueEntry: unknown) => FunctionResult;
export type StorageBlobHandler = (blob: unknown, context: InvocationContext) => FunctionResult;
export type StorageQueueHandler = (queueEntry: unknown, context: InvocationContext) => FunctionResult;

@@ -11,0 +11,0 @@ export interface StorageBlobFunctionOptions extends StorageBlobTriggerOptions, Partial<FunctionOptions> {

@@ -7,3 +7,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export type TimerHandler = (context: InvocationContext, myTimer: Timer) => FunctionResult;
export type TimerHandler = (myTimer: Timer, context: InvocationContext) => FunctionResult;

@@ -10,0 +10,0 @@ export interface TimerFunctionOptions extends TimerTriggerOptions, Partial<FunctionOptions> {

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc