@azure/functions
Advanced tools
Comparing version 3.5.0 to 3.5.1
{ | ||
"Outputs": [ | ||
{ | ||
"Source": "/dist/azure-functions.min.js", | ||
"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3938333A28652C", | ||
"Sha256Hash": "AFFDDBDD4B2AA403E62861DD7242ABEC38EBE066601F45C687174B82FD95AA99" | ||
"Source": "/LICENSE", | ||
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420", | ||
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34" | ||
}, | ||
@@ -11,20 +11,35 @@ { | ||
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469", | ||
"Sha256Hash": "6F4560627101BB9E874ED2BEEFB7C6E28B1FCC048A735CCDCA51C0001EC5AB78" | ||
"Sha256Hash": "6EC45739507740FA535AECCF7B81AAACC761E59EC0674314E4BA1AFEAF0216F3" | ||
}, | ||
{ | ||
"Source": "/dist/azure-functions.js", | ||
"AzureArtifactsHash": "042F2A2A2A2A2A2A2F20282829203D3E207B202F2F207765627061636B426F6F7473", | ||
"Sha256Hash": "D6859CC27922ED26E17DB36E95EDCD0014CE78126A40B073ABFDC13A79D57FA0" | ||
"Source": "/README.md", | ||
"AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A732050726F6772616D", | ||
"Sha256Hash": "72C860A95A93AA518A30FCE7F6CB76C34A88C35D7DC2E6B5BDD2C4B33A57CBDE" | ||
}, | ||
{ | ||
"Source": "/src/InvocationModel.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "3B8570D6F4C7648977DD339F4E43E6AE1B3D420CE489FE89B81CD7D16B428642" | ||
"Source": "/dist/azure-functions.min.js.map", | ||
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469", | ||
"Sha256Hash": "941E5367A92B3C949C2FDEE58958AA5A2FD0446E3792F2A8E1DE86134FC12247" | ||
}, | ||
{ | ||
"Source": "/src/index.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "9ED483C2C5AFF0C4611C52694F897151DA20BA7E77F1827F47679DDAD0883CF3" | ||
"Source": "/dist/azure-functions.min.js", | ||
"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3938333A28652C", | ||
"Sha256Hash": "CD14635B1EA2B97D9A246746C1037362F14AA999859D353E97FEB7A3A1718E8F" | ||
}, | ||
{ | ||
"Source": "/package.json", | ||
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322", | ||
"Sha256Hash": "0203120EF8A8335958446C4585864B6738347A7741257F15480DF63FACE630A2" | ||
}, | ||
{ | ||
"Source": "/NOTICE.html", | ||
"AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E", | ||
"Sha256Hash": "688BA11707547792129B8611A5F4D97B8108CED977009274750E47E197FB92E4" | ||
}, | ||
{ | ||
"Source": "/dist/azure-functions.js", | ||
"AzureArtifactsHash": "042F2A2A2A2A2A2A2F20282829203D3E207B202F2F207765627061636B426F6F7473", | ||
"Sha256Hash": "FB58EAA091571F4B27DCA4C0ABAD782D404F2BA3523CD46D5787F6353DE22765" | ||
}, | ||
{ | ||
"Source": "/src/converters/BindingConverters.ts", | ||
@@ -35,65 +50,65 @@ "AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
{ | ||
"Source": "/src/parsers/parseForm.ts", | ||
"Source": "/src/constants.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "53D4D6E6CDAAD05A53EDFD971F3B60EBFBF03E1002F0A9F283E3B09533471A87" | ||
"Sha256Hash": "62A4ACCC432C8D8099BF8497FC331994B41F1C7CF201F13E6AA0905145743665" | ||
}, | ||
{ | ||
"Source": "/src/parsers/parseMultipartForm.ts", | ||
"Source": "/src/errors.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "1E7F465FACCE07367E9797D1016AB016E0E295C30F88BAF9F05706723DA5A78E" | ||
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439" | ||
}, | ||
{ | ||
"Source": "/src/parsers/parseHeader.ts", | ||
"Source": "/src/converters/RpcHttpConverters.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "293FEE17FEFC5D56CA196B57695B1C96C54BBAD721B625D9A4382B5FADF8A1EE" | ||
"Sha256Hash": "348F3C2E5AF4E1F3C3C2C80ACE1DDECE99EA13F7C34F5D6443679DD83D8179D9" | ||
}, | ||
{ | ||
"Source": "/types/timer.d.ts", | ||
"Source": "/src/http/Request.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "79136E02501BE24ED04EBAFB5E31A43432C473EBFCE05D8B62A47CE91A6D34FF" | ||
"Sha256Hash": "1D4D5CECB81618518B01A2AEEA7F31711309FE9180B610D8CBBA02CBF2C2F69B" | ||
}, | ||
{ | ||
"Source": "/README.md", | ||
"AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A73204672616D65776F", | ||
"Sha256Hash": "9355C442290A095667EE3992595F26F08547FF4A0EFEAE0BE6B6799FDAE06552" | ||
"Source": "/src/parsers/parseMultipartForm.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "1E7F465FACCE07367E9797D1016AB016E0E295C30F88BAF9F05706723DA5A78E" | ||
}, | ||
{ | ||
"Source": "/LICENSE", | ||
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420", | ||
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34" | ||
"Source": "/src/utils/util.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "6CF132C958C9B59C0F50372ABD16961981A3010E0F8FA16801EA295830B802F0" | ||
}, | ||
{ | ||
"Source": "/package.json", | ||
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322", | ||
"Sha256Hash": "DA10218CAA56233500C1ED1A6EFC0FAA818E7084E13BAD09348678E66DBA3160" | ||
"Source": "/types/http.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "8D87ECFF5F9D70740E1ED6FFF7E7DF8184D432FDC282D83599FD99C313E4BF9A" | ||
}, | ||
{ | ||
"Source": "/dist/azure-functions.min.js.map", | ||
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469", | ||
"Sha256Hash": "9017647E740B4EEB5D641E231F2676DCB5DC20F27543CD78C3189D38F511E816" | ||
"Source": "/src/index.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "9ED483C2C5AFF0C4611C52694F897151DA20BA7E77F1827F47679DDAD0883CF3" | ||
}, | ||
{ | ||
"Source": "/NOTICE.html", | ||
"AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E", | ||
"Sha256Hash": "688BA11707547792129B8611A5F4D97B8108CED977009274750E47E197FB92E4" | ||
"Source": "/src/parsers/parseForm.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "53D4D6E6CDAAD05A53EDFD971F3B60EBFBF03E1002F0A9F283E3B09533471A87" | ||
}, | ||
{ | ||
"Source": "/src/FunctionInfo.ts", | ||
"Source": "/types/timer.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "8D65ADF7B0532A651E7D6B50B1E4F51F870987D10EFADDEE710518AD2EAE325E" | ||
"Sha256Hash": "79136E02501BE24ED04EBAFB5E31A43432C473EBFCE05D8B62A47CE91A6D34FF" | ||
}, | ||
{ | ||
"Source": "/src/Context.ts", | ||
"Source": "/src/InvocationModel.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "56199CD4E3683464A43480EE86F3B05B31DA2FB09E4F12516DD1FB23E22BF2EB" | ||
"Sha256Hash": "3B8570D6F4C7648977DD339F4E43E6AE1B3D420CE489FE89B81CD7D16B428642" | ||
}, | ||
{ | ||
"Source": "/src/errors.ts", | ||
"Source": "/src/parsers/parseHeader.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439" | ||
"Sha256Hash": "293FEE17FEFC5D56CA196B57695B1C96C54BBAD721B625D9A4382B5FADF8A1EE" | ||
}, | ||
{ | ||
"Source": "/src/constants.ts", | ||
"Source": "/src/Context.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "88A8841DCDCE9AFC528DB553A3F36463A891DED951DEB6B9A572BE1110CC5803" | ||
"Sha256Hash": "56199CD4E3683464A43480EE86F3B05B31DA2FB09E4F12516DD1FB23E22BF2EB" | ||
}, | ||
@@ -106,10 +121,10 @@ { | ||
{ | ||
"Source": "/src/http/Response.ts", | ||
"Source": "/src/FunctionInfo.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "7FE66856681041DFE760189B6BEDE5F068E47EDB0B0CCA769D035525D7F29D1C" | ||
"Sha256Hash": "8D65ADF7B0532A651E7D6B50B1E4F51F870987D10EFADDEE710518AD2EAE325E" | ||
}, | ||
{ | ||
"Source": "/src/http/Request.ts", | ||
"Source": "/src/utils/nonNull.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "1D4D5CECB81618518B01A2AEEA7F31711309FE9180B610D8CBBA02CBF2C2F69B" | ||
"Sha256Hash": "64FF5AD425AC5A58232DA2560AD9ED528AAEBD4F57E18F18CDA7B0278FB7875D" | ||
}, | ||
@@ -122,10 +137,10 @@ { | ||
{ | ||
"Source": "/src/converters/RpcHttpConverters.ts", | ||
"Source": "/src/http/Response.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "348F3C2E5AF4E1F3C3C2C80ACE1DDECE99EA13F7C34F5D6443679DD83D8179D9" | ||
"Sha256Hash": "7FE66856681041DFE760189B6BEDE5F068E47EDB0B0CCA769D035525D7F29D1C" | ||
}, | ||
{ | ||
"Source": "/src/utils/nonNull.ts", | ||
"Source": "/types/Context.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "64FF5AD425AC5A58232DA2560AD9ED528AAEBD4F57E18F18CDA7B0278FB7875D" | ||
"Sha256Hash": "E46AA4B05BB31664E775A437F2490DAA32F133C1605C9FED3AC12E8C35B23991" | ||
}, | ||
@@ -136,25 +151,10 @@ { | ||
"Sha256Hash": "EC76173D16EC1D7785A7D254BEBD0B8744273D7A4E8662F56CF5FAD46226CCF7" | ||
}, | ||
{ | ||
"Source": "/types/Context.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "E46AA4B05BB31664E775A437F2490DAA32F133C1605C9FED3AC12E8C35B23991" | ||
}, | ||
{ | ||
"Source": "/types/http.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "8D87ECFF5F9D70740E1ED6FFF7E7DF8184D432FDC282D83599FD99C313E4BF9A" | ||
}, | ||
{ | ||
"Source": "/src/utils/util.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "6CF132C958C9B59C0F50372ABD16961981A3010E0F8FA16801EA295830B802F0" | ||
} | ||
], | ||
"CloudBuildId": "107047", | ||
"CloudBuildId": "121465", | ||
"Repo": "https://github.com/Azure/azure-functions-nodejs-library", | ||
"Branch": "v3.x", | ||
"CommitId": "a0861b4321acc39f9eccb909da603ac253abff43", | ||
"CommitId": "d2cb03fbfa3c881d063c571de6daf6382ec5e0ae", | ||
"Version": "0.0.1", | ||
"Timestamp": 1670277875 | ||
"Timestamp": 1679608091 | ||
} |
@@ -5,11 +5,11 @@ { | ||
"fileName": "./dist/azure-functions.min.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-DDEA08BB11335B1EAF5D4E8512EF97ACF09DCB51", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-70E86EB59601169CAFBE9920B338138FC19F4FA0", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "affddbdd4b2aa403e62861dd7242abec38ebe066601f45c687174b82fd95aa99" | ||
"checksumValue": "cd14635b1ea2b97d9a246746c1037362f14aa999859d353e97feb7a3a1718e8f" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "ddea08bb11335b1eaf5d4e8512ef97acf09dcb51" | ||
"checksumValue": "70e86eb59601169cafbe9920b338138fc19f4fa0" | ||
} | ||
@@ -24,12 +24,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-6EFACD6B1F2422C0C18E71555497CB481B34BEE8", | ||
"fileName": "./LICENSE", | ||
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6f4560627101bb9e874ed2beefb7c6e28b1fcc048a735ccdca51c0001ec5ab78" | ||
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6efacd6b1f2422c0c18e71555497cb481b34bee8" | ||
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4" | ||
} | ||
@@ -44,12 +44,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js-0B6729324625593BC42E2F24E4726615C679E576", | ||
"fileName": "./package.json", | ||
"SPDXID": "SPDXRef-File--package.json-CFCD383C229A0A33FCAB3AE7C3B3934FF6EA9655", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "d6859cc27922ed26e17db36e95edcd0014ce78126a40b073abfdc13a79d57fa0" | ||
"checksumValue": "0203120ef8a8335958446c4585864b6738347a7741257f15480df63face630a2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0b6729324625593bc42e2f24e4726615c679e576" | ||
"checksumValue": "cfcd383c229a0a33fcab3ae7c3b3934ff6ea9655" | ||
} | ||
@@ -64,12 +64,12 @@ ], | ||
{ | ||
"fileName": "./src/InvocationModel.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-9ABC52D6C5A4DEA4C2FED786415A0CF58DB20A03", | ||
"fileName": "./src/constants.ts", | ||
"SPDXID": "SPDXRef-File--src-constants.ts-E419672B9A0629A522105448726CC42BBCC6A2AF", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "3b8570d6f4c7648977dd339f4e43e6ae1b3d420ce489fe89b81cd7d16b428642" | ||
"checksumValue": "62a4accc432c8d8099bf8497fc331994b41f1c7cf201f13e6aa0905145743665" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "9abc52d6c5a4dea4c2fed786415a0cf58db20a03" | ||
"checksumValue": "e419672b9a0629a522105448726cc42bbcc6a2af" | ||
} | ||
@@ -84,12 +84,12 @@ ], | ||
{ | ||
"fileName": "./src/index.ts", | ||
"SPDXID": "SPDXRef-File--src-index.ts-5D80F38735A075C1CF48944B6C0874FBEB13194F", | ||
"fileName": "./src/errors.ts", | ||
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9ed483c2c5aff0c4611c52694f897151da20ba7e77f1827f47679ddad0883cf3" | ||
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "5d80f38735a075c1cf48944b6c0874fbeb13194f" | ||
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1" | ||
} | ||
@@ -123,12 +123,12 @@ ], | ||
{ | ||
"fileName": "./src/parsers/parseHeader.ts", | ||
"SPDXID": "SPDXRef-File--src-parsers-parseHeader.ts-D3CB49330115A9E0ACBB9B52CBD4F440D88968B3", | ||
"fileName": "./src/converters/RpcHttpConverters.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-RpcHttpConverters.ts-2829D3953DAD13910EC66FA156A580A4F8DFA273", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "293fee17fefc5d56ca196b57695b1c96c54bbad721b625d9a4382b5fadf8a1ee" | ||
"checksumValue": "348f3c2e5af4e1f3c3c2c80ace1ddece99ea13f7c34f5d6443679dd83d8179d9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "d3cb49330115a9e0acbb9b52cbd4f440d88968b3" | ||
"checksumValue": "2829d3953dad13910ec66fa156a580a4f8dfa273" | ||
} | ||
@@ -143,12 +143,12 @@ ], | ||
{ | ||
"fileName": "./src/parsers/parseMultipartForm.ts", | ||
"SPDXID": "SPDXRef-File--src-parsers-parseMultipartForm.ts-41087F875818034B2EC26B9753ADA670A0888CBD", | ||
"fileName": "./src/http/Request.ts", | ||
"SPDXID": "SPDXRef-File--src-http-Request.ts-4DCFED2A8F50F1B1982FFD578FFB4A21F9659215", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1e7f465facce07367e9797d1016ab016e0e295c30f88baf9f05706723da5a78e" | ||
"checksumValue": "1d4d5cecb81618518b01a2aeea7f31711309fe9180b610d8cbba02cbf2c2f69b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "41087f875818034b2ec26b9753ada670a0888cbd" | ||
"checksumValue": "4dcfed2a8f50f1b1982ffd578ffb4a21f9659215" | ||
} | ||
@@ -163,12 +163,12 @@ ], | ||
{ | ||
"fileName": "./src/parsers/parseForm.ts", | ||
"SPDXID": "SPDXRef-File--src-parsers-parseForm.ts-0C5B0A9FD97B6080C5484782D59F18D867AA7907", | ||
"fileName": "./src/parsers/parseMultipartForm.ts", | ||
"SPDXID": "SPDXRef-File--src-parsers-parseMultipartForm.ts-41087F875818034B2EC26B9753ADA670A0888CBD", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "53d4d6e6cdaad05a53edfd971f3b60ebfbf03e1002f0a9f283e3b09533471a87" | ||
"checksumValue": "1e7f465facce07367e9797d1016ab016e0e295c30f88baf9f05706723da5a78e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0c5b0a9fd97b6080c5484782d59f18d867aa7907" | ||
"checksumValue": "41087f875818034b2ec26b9753ada670a0888cbd" | ||
} | ||
@@ -183,12 +183,12 @@ ], | ||
{ | ||
"fileName": "./types/timer.d.ts", | ||
"SPDXID": "SPDXRef-File--types-timer.d.ts-30568EA8963367C127F87B7D5E29468ED1802773", | ||
"fileName": "./src/utils/util.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "79136e02501be24ed04ebafb5e31a43432c473ebfce05d8b62a47ce91a6d34ff" | ||
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "30568ea8963367c127f87b7d5e29468ed1802773" | ||
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f" | ||
} | ||
@@ -203,12 +203,12 @@ ], | ||
{ | ||
"fileName": "./README.md", | ||
"SPDXID": "SPDXRef-File--README.md-D9ACF340F993F8677451E6621DBD8475DA31A2CC", | ||
"fileName": "./types/http.d.ts", | ||
"SPDXID": "SPDXRef-File--types-http.d.ts-0715B884769DEC086F1B2E2D6B6DB99B2536F110", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9355c442290a095667ee3992595f26f08547ff4a0efeae0be6b6799fdae06552" | ||
"checksumValue": "8d87ecff5f9d70740e1ed6fff7e7df8184d432fdc282d83599fd99c313e4bf9a" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "d9acf340f993f8677451e6621dbd8475da31a2cc" | ||
"checksumValue": "0715b884769dec086f1b2e2d6b6db99b2536f110" | ||
} | ||
@@ -223,12 +223,12 @@ ], | ||
{ | ||
"fileName": "./LICENSE", | ||
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"fileName": "./dist/azure-functions.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js-5960AAC3EF54CF4C2667CF81B53040E0870ED45C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34" | ||
"checksumValue": "fb58eaa091571f4b27dca4c0abad782d404f2ba3523cd46d5787f6353de22765" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4" | ||
"checksumValue": "5960aac3ef54cf4c2667cf81b53040e0870ed45c" | ||
} | ||
@@ -243,12 +243,12 @@ ], | ||
{ | ||
"fileName": "./NOTICE.html", | ||
"SPDXID": "SPDXRef-File--NOTICE.html-248AFB41CE25A073DFD9C301AFCC8E36B8F09551", | ||
"fileName": "./src/index.ts", | ||
"SPDXID": "SPDXRef-File--src-index.ts-5D80F38735A075C1CF48944B6C0874FBEB13194F", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "688ba11707547792129b8611a5f4d97b8108ced977009274750e47e197fb92e4" | ||
"checksumValue": "9ed483c2c5aff0c4611c52694f897151da20ba7e77f1827f47679ddad0883cf3" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "248afb41ce25a073dfd9c301afcc8e36b8f09551" | ||
"checksumValue": "5d80f38735a075c1cf48944b6c0874fbeb13194f" | ||
} | ||
@@ -263,12 +263,12 @@ ], | ||
{ | ||
"fileName": "./package.json", | ||
"SPDXID": "SPDXRef-File--package.json-C8F01E53B467F0D59B82E432FDEF0501646C0168", | ||
"fileName": "./dist/azure-functions.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-42A30E5CF8F442F7399649E5018A54E329FE17B8", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "da10218caa56233500c1ed1a6efc0faa818e7084e13bad09348678e66dba3160" | ||
"checksumValue": "6ec45739507740fa535aeccf7b81aaacc761e59ec0674314e4ba1afeaf0216f3" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c8f01e53b467f0d59b82e432fdef0501646c0168" | ||
"checksumValue": "42a30e5cf8f442f7399649e5018a54e329fe17b8" | ||
} | ||
@@ -283,12 +283,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.min.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-F90A42B37BEC93C7B104BA62C0BA8B311B01ADFE", | ||
"fileName": "./src/parsers/parseForm.ts", | ||
"SPDXID": "SPDXRef-File--src-parsers-parseForm.ts-0C5B0A9FD97B6080C5484782D59F18D867AA7907", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9017647e740b4eeb5d641e231f2676dcb5dc20f27543cd78c3189d38f511e816" | ||
"checksumValue": "53d4d6e6cdaad05a53edfd971f3b60ebfbf03e1002f0a9f283e3b09533471a87" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "f90a42b37bec93c7b104ba62c0ba8b311b01adfe" | ||
"checksumValue": "0c5b0a9fd97b6080c5484782d59f18d867aa7907" | ||
} | ||
@@ -303,12 +303,12 @@ ], | ||
{ | ||
"fileName": "./src/FunctionInfo.ts", | ||
"SPDXID": "SPDXRef-File--src-FunctionInfo.ts-49E92725D1C10E9745E49C185B3E109E84E86908", | ||
"fileName": "./types/timer.d.ts", | ||
"SPDXID": "SPDXRef-File--types-timer.d.ts-30568EA8963367C127F87B7D5E29468ED1802773", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "8d65adf7b0532a651e7d6b50b1e4f51f870987d10efaddee710518ad2eae325e" | ||
"checksumValue": "79136e02501be24ed04ebafb5e31a43432c473ebfce05d8b62a47ce91a6d34ff" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "49e92725d1c10e9745e49c185b3e109e84e86908" | ||
"checksumValue": "30568ea8963367c127f87b7d5e29468ed1802773" | ||
} | ||
@@ -323,12 +323,12 @@ ], | ||
{ | ||
"fileName": "./src/Context.ts", | ||
"SPDXID": "SPDXRef-File--src-Context.ts-F2FD656EA2EB77F4B683F4A0D82A9A149C67E6B8", | ||
"fileName": "./src/InvocationModel.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-9ABC52D6C5A4DEA4C2FED786415A0CF58DB20A03", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "56199cd4e3683464a43480ee86f3b05b31da2fb09e4f12516dd1fb23e22bf2eb" | ||
"checksumValue": "3b8570d6f4c7648977dd339f4e43e6ae1b3d420ce489fe89b81cd7d16b428642" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "f2fd656ea2eb77f4b683f4a0d82a9a149c67e6b8" | ||
"checksumValue": "9abc52d6c5a4dea4c2fed786415a0cf58db20a03" | ||
} | ||
@@ -343,12 +343,12 @@ ], | ||
{ | ||
"fileName": "./src/errors.ts", | ||
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"fileName": "./NOTICE.html", | ||
"SPDXID": "SPDXRef-File--NOTICE.html-248AFB41CE25A073DFD9C301AFCC8E36B8F09551", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439" | ||
"checksumValue": "688ba11707547792129b8611a5f4d97b8108ced977009274750e47e197fb92e4" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1" | ||
"checksumValue": "248afb41ce25a073dfd9c301afcc8e36b8f09551" | ||
} | ||
@@ -363,12 +363,12 @@ ], | ||
{ | ||
"fileName": "./src/constants.ts", | ||
"SPDXID": "SPDXRef-File--src-constants.ts-3D69E2F81938CD5701C3C566E71215AEEFA5447A", | ||
"fileName": "./dist/azure-functions.min.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-7B0282D2C541821EA8B65A7C7E3C1C8BDDB8D4F1", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "88a8841dcdce9afc528db553a3f36463a891ded951deb6b9a572be1110cc5803" | ||
"checksumValue": "941e5367a92b3c949c2fdee58958aa5a2fd0446e3792f2a8e1de86134fc12247" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "3d69e2f81938cd5701c3c566e71215aeefa5447a" | ||
"checksumValue": "7b0282d2c541821ea8b65a7c7e3c1c8bddb8d4f1" | ||
} | ||
@@ -383,12 +383,12 @@ ], | ||
{ | ||
"fileName": "./src/http/Response.ts", | ||
"SPDXID": "SPDXRef-File--src-http-Response.ts-BA83AF8A80DF14E9F6358F537F03741A13475AB9", | ||
"fileName": "./README.md", | ||
"SPDXID": "SPDXRef-File--README.md-32D6D2DFA28FCE540EAE1309DE307858AFC9AE48", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7fe66856681041dfe760189b6bede5f068e47edb0b0cca769d035525d7f29d1c" | ||
"checksumValue": "72c860a95a93aa518a30fce7f6cb76c34a88c35d7dc2e6b5bdd2c4b33a57cbde" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "ba83af8a80df14e9f6358f537f03741a13475ab9" | ||
"checksumValue": "32d6d2dfa28fce540eae1309de307858afc9ae48" | ||
} | ||
@@ -403,12 +403,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/RpcConverters.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-RpcConverters.ts-A2C5DF2B4E35B7360688364CF8817C551151F202", | ||
"fileName": "./src/parsers/parseHeader.ts", | ||
"SPDXID": "SPDXRef-File--src-parsers-parseHeader.ts-D3CB49330115A9E0ACBB9B52CBD4F440D88968B3", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f656285d020acbc98d470b3d4c45df9bf6e8d71d62858f8cfaeee1c21bda9404" | ||
"checksumValue": "293fee17fefc5d56ca196b57695b1c96c54bbad721b625d9a4382b5fadf8a1ee" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a2c5df2b4e35b7360688364cf8817c551151f202" | ||
"checksumValue": "d3cb49330115a9e0acbb9b52cbd4f440d88968b3" | ||
} | ||
@@ -423,12 +423,12 @@ ], | ||
{ | ||
"fileName": "./src/http/extractHttpUserFromHeaders.ts", | ||
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-83D6B60D4D0C79B5F679AB7E299C229A81CE3C9D", | ||
"fileName": "./src/Context.ts", | ||
"SPDXID": "SPDXRef-File--src-Context.ts-F2FD656EA2EB77F4B683F4A0D82A9A149C67E6B8", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9c75d3e9258b05aed2954763af6324ad7e54dfb96850f7ec071d19bad1fefab8" | ||
"checksumValue": "56199cd4e3683464a43480ee86f3b05b31da2fb09e4f12516dd1fb23e22bf2eb" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "83d6b60d4d0c79b5f679ab7e299c229a81ce3c9d" | ||
"checksumValue": "f2fd656ea2eb77f4b683f4a0d82a9a149c67e6b8" | ||
} | ||
@@ -443,12 +443,12 @@ ], | ||
{ | ||
"fileName": "./src/http/Request.ts", | ||
"SPDXID": "SPDXRef-File--src-http-Request.ts-4DCFED2A8F50F1B1982FFD578FFB4A21F9659215", | ||
"fileName": "./src/converters/RpcConverters.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-RpcConverters.ts-A2C5DF2B4E35B7360688364CF8817C551151F202", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1d4d5cecb81618518b01a2aeea7f31711309fe9180b610d8cbba02cbf2c2f69b" | ||
"checksumValue": "f656285d020acbc98d470b3d4c45df9bf6e8d71d62858f8cfaeee1c21bda9404" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "4dcfed2a8f50f1b1982ffd578ffb4a21f9659215" | ||
"checksumValue": "a2c5df2b4e35b7360688364cf8817c551151f202" | ||
} | ||
@@ -463,12 +463,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/RpcHttpConverters.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-RpcHttpConverters.ts-2829D3953DAD13910EC66FA156A580A4F8DFA273", | ||
"fileName": "./src/FunctionInfo.ts", | ||
"SPDXID": "SPDXRef-File--src-FunctionInfo.ts-49E92725D1C10E9745E49C185B3E109E84E86908", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "348f3c2e5af4e1f3c3c2c80ace1ddece99ea13f7c34f5d6443679dd83d8179d9" | ||
"checksumValue": "8d65adf7b0532a651e7d6b50b1e4f51f870987d10efaddee710518ad2eae325e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "2829d3953dad13910ec66fa156a580a4f8dfa273" | ||
"checksumValue": "49e92725d1c10e9745e49c185b3e109e84e86908" | ||
} | ||
@@ -483,12 +483,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/nonNull.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-6DBAA484B3EBC6C8A3F764FBA9140C4D235B2576", | ||
"fileName": "./src/http/extractHttpUserFromHeaders.ts", | ||
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-83D6B60D4D0C79B5F679AB7E299C229A81CE3C9D", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "64ff5ad425ac5a58232da2560ad9ed528aaebd4f57e18f18cda7b0278fb7875d" | ||
"checksumValue": "9c75d3e9258b05aed2954763af6324ad7e54dfb96850f7ec071d19bad1fefab8" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6dbaa484b3ebc6c8a3f764fba9140c4d235b2576" | ||
"checksumValue": "83d6b60d4d0c79b5f679ab7e299c229a81ce3c9d" | ||
} | ||
@@ -503,12 +503,12 @@ ], | ||
{ | ||
"fileName": "./types/index.d.ts", | ||
"SPDXID": "SPDXRef-File--types-index.d.ts-3C5BE1EC98F825EE5C044DD8A3903DB4C5521417", | ||
"fileName": "./src/utils/nonNull.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-6DBAA484B3EBC6C8A3F764FBA9140C4D235B2576", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "ec76173d16ec1d7785a7d254bebd0b8744273d7a4e8662f56cf5fad46226ccf7" | ||
"checksumValue": "64ff5ad425ac5a58232da2560ad9ed528aaebd4f57e18f18cda7b0278fb7875d" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "3c5be1ec98f825ee5c044dd8a3903db4c5521417" | ||
"checksumValue": "6dbaa484b3ebc6c8a3f764fba9140c4d235b2576" | ||
} | ||
@@ -523,12 +523,12 @@ ], | ||
{ | ||
"fileName": "./types/http.d.ts", | ||
"SPDXID": "SPDXRef-File--types-http.d.ts-0715B884769DEC086F1B2E2D6B6DB99B2536F110", | ||
"fileName": "./src/http/Response.ts", | ||
"SPDXID": "SPDXRef-File--src-http-Response.ts-BA83AF8A80DF14E9F6358F537F03741A13475AB9", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "8d87ecff5f9d70740e1ed6fff7e7df8184d432fdc282d83599fd99c313e4bf9a" | ||
"checksumValue": "7fe66856681041dfe760189b6bede5f068e47edb0b0cca769d035525d7f29d1c" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0715b884769dec086f1b2e2d6b6db99b2536f110" | ||
"checksumValue": "ba83af8a80df14e9f6358f537f03741a13475ab9" | ||
} | ||
@@ -562,12 +562,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/util.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"fileName": "./types/index.d.ts", | ||
"SPDXID": "SPDXRef-File--types-index.d.ts-3C5BE1EC98F825EE5C044DD8A3903DB4C5521417", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0" | ||
"checksumValue": "ec76173d16ec1d7785a7d254bebd0b8744273d7a4e8662f56cf5fad46226ccf7" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f" | ||
"checksumValue": "3c5be1ec98f825ee5c044dd8a3903db4c5521417" | ||
} | ||
@@ -584,4 +584,4 @@ ], | ||
{ | ||
"name": "long", | ||
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68", | ||
"name": "iconv-lite", | ||
"SPDXID": "SPDXRef-Package-258FE309BEE2AEAB9851C2B85FE2F1B65229406867D180D7F84D975D6DDE8134", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -595,3 +595,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "4.0.0", | ||
"versionInfo": "0.6.3", | ||
"externalRefs": [ | ||
@@ -601,10 +601,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/long@4.0.0" | ||
"referenceLocator": "pkg:npm/iconv-lite@0.6.3" | ||
} | ||
], | ||
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)" | ||
"supplier": "Organization: Alexander Shtuchkin (ashtuchkin@gmail.com)" | ||
}, | ||
{ | ||
"name": "iconv-lite", | ||
"SPDXID": "SPDXRef-Package-258FE309BEE2AEAB9851C2B85FE2F1B65229406867D180D7F84D975D6DDE8134", | ||
"name": "long", | ||
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -618,3 +618,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "0.6.3", | ||
"versionInfo": "4.0.0", | ||
"externalRefs": [ | ||
@@ -624,6 +624,6 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/iconv-lite@0.6.3" | ||
"referenceLocator": "pkg:npm/long@4.0.0" | ||
} | ||
], | ||
"supplier": "Organization: Alexander Shtuchkin (ashtuchkin@gmail.com)" | ||
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)" | ||
}, | ||
@@ -652,4 +652,4 @@ { | ||
{ | ||
"name": "fsevents", | ||
"SPDXID": "SPDXRef-Package-EEEEEE210EC980714C74E979E40F36ED52F648607F8D185171F56D224912356C", | ||
"name": "Azure Pipelines Hosted Image win19", | ||
"SPDXID": "SPDXRef-Package-077E5FBE67402BB1BEE96985940D44A5E5CD472E956500A45CBF18090F9A36E8", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -663,3 +663,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "2.3.2", | ||
"versionInfo": "20230314.1", | ||
"externalRefs": [ | ||
@@ -669,10 +669,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/fsevents@2.3.2" | ||
"referenceLocator": "https://github.com/actions/virtual-environments" | ||
} | ||
], | ||
"supplier": "NOASSERTION" | ||
"supplier": "Microsoft/GitHub" | ||
}, | ||
{ | ||
"name": "safer-buffer", | ||
"SPDXID": "SPDXRef-Package-DBA0EACCA85A46E91A7567F20D60695AF5D117996500EFA78FD8F82CB177F801", | ||
"name": "fsevents", | ||
"SPDXID": "SPDXRef-Package-EEEEEE210EC980714C74E979E40F36ED52F648607F8D185171F56D224912356C", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -686,3 +686,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "2.1.2", | ||
"versionInfo": "2.3.2", | ||
"externalRefs": [ | ||
@@ -692,10 +692,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/safer-buffer@2.1.2" | ||
"referenceLocator": "pkg:npm/fsevents@2.3.2" | ||
} | ||
], | ||
"supplier": "Organization: Nikita Skovoroda (chalkerx@gmail.com)" | ||
"supplier": "NOASSERTION" | ||
}, | ||
{ | ||
"name": "Azure Pipelines Hosted Image win19", | ||
"SPDXID": "SPDXRef-Package-FC432E9EA541E37B881ADCC8BD8944E89363698F5DC09A6CB6A6E325975427EC", | ||
"name": "safer-buffer", | ||
"SPDXID": "SPDXRef-Package-DBA0EACCA85A46E91A7567F20D60695AF5D117996500EFA78FD8F82CB177F801", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -709,3 +709,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "20221119.1", | ||
"versionInfo": "2.1.2", | ||
"externalRefs": [ | ||
@@ -715,6 +715,6 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "https://github.com/actions/virtual-environments" | ||
"referenceLocator": "pkg:npm/safer-buffer@2.1.2" | ||
} | ||
], | ||
"supplier": "Microsoft/GitHub" | ||
"supplier": "Organization: Nikita Skovoroda (chalkerx@gmail.com)" | ||
}, | ||
@@ -726,3 +726,3 @@ { | ||
"packageVerificationCode": { | ||
"packageVerificationCodeValue": "99e48e0fc1db95dd24204b4e414655cc3e0a750c" | ||
"packageVerificationCodeValue": "3ba4d700a75af451b359fa88b80248cbffc6fe2c" | ||
}, | ||
@@ -736,12 +736,12 @@ "filesAnalyzed": true, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "107047", | ||
"versionInfo": "121465", | ||
"supplier": "Organization: Microsoft", | ||
"hasFiles": [ | ||
"SPDXRef-File--types-index.d.ts-3C5BE1EC98F825EE5C044DD8A3903DB4C5521417", | ||
"SPDXRef-File--src-http-Response.ts-BA83AF8A80DF14E9F6358F537F03741A13475AB9", | ||
"SPDXRef-File--src-FunctionInfo.ts-49E92725D1C10E9745E49C185B3E109E84E86908", | ||
"SPDXRef-File--README.md-32D6D2DFA28FCE540EAE1309DE307858AFC9AE48", | ||
"SPDXRef-File--src-utils-nonNull.ts-6DBAA484B3EBC6C8A3F764FBA9140C4D235B2576", | ||
"SPDXRef-File--src-converters-RpcConverters.ts-A2C5DF2B4E35B7360688364CF8817C551151F202", | ||
"SPDXRef-File--dist-azure-functions.min.js.map-F90A42B37BEC93C7B104BA62C0BA8B311B01ADFE", | ||
"SPDXRef-File--types-http.d.ts-0715B884769DEC086F1B2E2D6B6DB99B2536F110", | ||
"SPDXRef-File--src-http-Request.ts-4DCFED2A8F50F1B1982FFD578FFB4A21F9659215", | ||
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"SPDXRef-File--package.json-C8F01E53B467F0D59B82E432FDEF0501646C0168", | ||
"SPDXRef-File--dist-azure-functions.min.js.map-7B0282D2C541821EA8B65A7C7E3C1C8BDDB8D4F1", | ||
"SPDXRef-File--types-Context.d.ts-1B56A6400EEAAFB089F7C7B172483ABE8E004BD8", | ||
@@ -751,20 +751,20 @@ "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-83D6B60D4D0C79B5F679AB7E299C229A81CE3C9D", | ||
"SPDXRef-File--NOTICE.html-248AFB41CE25A073DFD9C301AFCC8E36B8F09551", | ||
"SPDXRef-File--src-parsers-parseHeader.ts-D3CB49330115A9E0ACBB9B52CBD4F440D88968B3", | ||
"SPDXRef-File--src-InvocationModel.ts-9ABC52D6C5A4DEA4C2FED786415A0CF58DB20A03", | ||
"SPDXRef-File--dist-azure-functions.js.map-42A30E5CF8F442F7399649E5018A54E329FE17B8", | ||
"SPDXRef-File--types-timer.d.ts-30568EA8963367C127F87B7D5E29468ED1802773", | ||
"SPDXRef-File--src-parsers-parseForm.ts-0C5B0A9FD97B6080C5484782D59F18D867AA7907", | ||
"SPDXRef-File--src-index.ts-5D80F38735A075C1CF48944B6C0874FBEB13194F", | ||
"SPDXRef-File--dist-azure-functions.js-5960AAC3EF54CF4C2667CF81B53040E0870ED45C", | ||
"SPDXRef-File--types-http.d.ts-0715B884769DEC086F1B2E2D6B6DB99B2536F110", | ||
"SPDXRef-File--src-http-Request.ts-4DCFED2A8F50F1B1982FFD578FFB4A21F9659215", | ||
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"SPDXRef-File--package.json-CFCD383C229A0A33FCAB3AE7C3B3934FF6EA9655", | ||
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"SPDXRef-File--src-converters-RpcHttpConverters.ts-2829D3953DAD13910EC66FA156A580A4F8DFA273", | ||
"SPDXRef-File--src-constants.ts-3D69E2F81938CD5701C3C566E71215AEEFA5447A", | ||
"SPDXRef-File--src-constants.ts-E419672B9A0629A522105448726CC42BBCC6A2AF", | ||
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"SPDXRef-File--types-index.d.ts-3C5BE1EC98F825EE5C044DD8A3903DB4C5521417", | ||
"SPDXRef-File--src-http-Response.ts-BA83AF8A80DF14E9F6358F537F03741A13475AB9", | ||
"SPDXRef-File--src-FunctionInfo.ts-49E92725D1C10E9745E49C185B3E109E84E86908", | ||
"SPDXRef-File--README.md-D9ACF340F993F8677451E6621DBD8475DA31A2CC", | ||
"SPDXRef-File--types-timer.d.ts-30568EA8963367C127F87B7D5E29468ED1802773", | ||
"SPDXRef-File--src-parsers-parseForm.ts-0C5B0A9FD97B6080C5484782D59F18D867AA7907", | ||
"SPDXRef-File--src-index.ts-5D80F38735A075C1CF48944B6C0874FBEB13194F", | ||
"SPDXRef-File--dist-azure-functions.js-0B6729324625593BC42E2F24E4726615C679E576", | ||
"SPDXRef-File--src-parsers-parseHeader.ts-D3CB49330115A9E0ACBB9B52CBD4F440D88968B3", | ||
"SPDXRef-File--src-InvocationModel.ts-9ABC52D6C5A4DEA4C2FED786415A0CF58DB20A03", | ||
"SPDXRef-File--dist-azure-functions.js.map-6EFACD6B1F2422C0C18E71555497CB481B34BEE8", | ||
"SPDXRef-File--src-parsers-parseMultipartForm.ts-41087F875818034B2EC26B9753ADA670A0888CBD", | ||
"SPDXRef-File--src-converters-BindingConverters.ts-4A1F3E8A11A7B43187BE8D6FB198B91CBDCF7229", | ||
"SPDXRef-File--dist-azure-functions.min.js-DDEA08BB11335B1EAF5D4E8512EF97ACF09DCB51" | ||
"SPDXRef-File--dist-azure-functions.min.js-70E86EB59601169CAFBE9920B338138FC19F4FA0" | ||
] | ||
@@ -782,3 +782,3 @@ } | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-FC432E9EA541E37B881ADCC8BD8944E89363698F5DC09A6CB6A6E325975427EC", | ||
"relatedSpdxElement": "SPDXRef-Package-DBA0EACCA85A46E91A7567F20D60695AF5D117996500EFA78FD8F82CB177F801", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -788,3 +788,3 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-DBA0EACCA85A46E91A7567F20D60695AF5D117996500EFA78FD8F82CB177F801", | ||
"relatedSpdxElement": "SPDXRef-Package-EEEEEE210EC980714C74E979E40F36ED52F648607F8D185171F56D224912356C", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -794,3 +794,3 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-EEEEEE210EC980714C74E979E40F36ED52F648607F8D185171F56D224912356C", | ||
"relatedSpdxElement": "SPDXRef-Package-077E5FBE67402BB1BEE96985940D44A5E5CD472E956500A45CBF18090F9A36E8", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -805,3 +805,3 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-258FE309BEE2AEAB9851C2B85FE2F1B65229406867D180D7F84D975D6DDE8134", | ||
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -811,3 +811,3 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68", | ||
"relatedSpdxElement": "SPDXRef-Package-258FE309BEE2AEAB9851C2B85FE2F1B65229406867D180D7F84D975D6DDE8134", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -819,9 +819,9 @@ } | ||
"SPDXID": "SPDXRef-DOCUMENT", | ||
"name": "Azure Functions Node.js Framework 107047", | ||
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:107047/vF4IMoZJC0egXwGZDvy3Yw", | ||
"name": "Azure Functions Node.js Framework 121465", | ||
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:121465/BanPQy1lLk-YCviSjp3QqA", | ||
"creationInfo": { | ||
"created": "2022-12-05T22:04:35Z", | ||
"created": "2023-03-23T21:48:11Z", | ||
"creators": [ | ||
"Organization: Microsoft", | ||
"Tool: Microsoft.SBOMTool-0.3.1" | ||
"Tool: Microsoft.SBOMTool-0.3.3" | ||
] | ||
@@ -828,0 +828,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
(()=>{"use strict";var e={983:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateContextAndInputs=void 0;const n=r(251),o=r(345),i=r(240),s=r(300),a=r(979);t.CreateContextAndInputs=function(e,t,r,u){const l=new c(e,t,r,u),d={},p=[];let f;for(const r of t.inputData)if(r.data&&r.name){let t;t=r.data&&r.data.http?f=new s.Request(r.data.http):e.getTimerTriggerName()===r.name?(0,o.convertKeysToCamelCase)(r).data:(0,i.fromTypedData)(r.data),d[r.name]=t,p.push(t)}return l.bindings=d,f&&(l.req=f,l.res=new a.Response(l.done),l.bindingData.sys={methodName:e.name,utcNow:(new Date).toISOString(),randGuid:(0,n.v4)()},l.bindingData.query||(l.bindingData.query=Object.assign({},f.query)),l.bindingData.headers||(l.bindingData.headers=Object.assign({},f.headers))),{context:l,inputs:p}};class c{constructor(e,t,r,n){this.invocationId=t.invocationId,this.traceContext=(0,i.fromRpcTraceContext)(t.traceContext);const s={invocationId:this.invocationId,functionName:e.name,functionDirectory:e.directory,retryContext:t.retryContext};this.executionContext=s,this.bindings={},this.log=Object.assign(((...e)=>r("information",...e)),{error:(...e)=>r("error",...e),warn:(...e)=>r("warning",...e),info:(...e)=>r("information",...e),verbose:(...e)=>r("trace",...e)}),this.bindingData=(0,o.getNormalizedBindingData)(t),this.bindingDefinitions=(0,o.getBindingDefinitions)(e),this.done=(e,t)=>{n.emit("done",e,t)}}}},335:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionInfo=void 0;const n=r(240),o=r(815);t.FunctionInfo=class{constructor(e){if(this.name=e.name,this.directory=e.directory,this.bindings={},this.outputBindings={},this.httpOutputName="",this.hasHttpTrigger=!1,e.bindings){const t=this.bindings=e.bindings;Object.keys(t).filter((e=>"in"!==t[e].direction)).forEach((e=>{const r=t[e].type;r&&"http"===r.toLowerCase()?(this.httpOutputName=e,this.outputBindings[e]=Object.assign(t[e],{converter:o.toRpcHttp})):this.outputBindings[e]=Object.assign(t[e],{converter:n.toTypedData})})),this.hasHttpTrigger=Object.keys(t).filter((e=>{const r=t[e].type;return r&&"httptrigger"===r.toLowerCase()})).length>0}}getReturnBinding(){return this.outputBindings.$return}getTimerTriggerName(){for(const e in this.bindings){const t=this.bindings[e].type;if(t&&"timertrigger"===t.toLowerCase())return e}}}},62:function(e,t,r){var n,o,i,s,a,c,u,l,d,p,f=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},h=this&&this.__classPrivateFieldSet||function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!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"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},m=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=r(764),g=r(983),v=r(240),b=r(758),w=r(335),T=r(702),x="https://go.microsoft.com/fwlink/?linkid=2097909";t.InvocationModel=class{constructor(e){n.add(this),o.set(this,new T),i.set(this,!1),s.set(this,!1),a.set(this,void 0),c.set(this,void 0),h(this,a,e,"f"),h(this,c,new w.FunctionInfo(e.metadata),"f")}getArguments(){return f(this,void 0,void 0,(function*(){const{context:e,inputs:t}=(0,g.CreateContextAndInputs)(m(this,c,"f"),m(this,a,"f").request,((e,...t)=>m(this,n,"m",d).call(this,e,...t)),m(this,o,"f"));return{context:e,inputs:t}}))}invokeFunction(e,t,r){return f(this,void 0,void 0,(function*(){const a=new Promise(((t,r)=>{m(this,o,"f").on("done",((o,i)=>{m(this,n,"m",p).call(this,e.suppressAsyncDoneError),(0,b.isError)(o)?r(o):t(i)}))}));try{let o,c=r(e,...t);return h(this,s,!!c&&"function"==typeof c.then,"f"),m(this,s,"f")?(c=Promise.resolve(c).then((t=>(m(this,n,"m",p).call(this,e.suppressAsyncDoneError),t))),o=Promise.race([c,a])):o=a,yield o}finally{h(this,i,!0,"f")}}))}getResponse(e,t){var r,n;return f(this,void 0,void 0,(function*(){const o={invocationId:m(this,a,"f").invocationId,outputData:[]},i=m(this,c,"f");i.httpOutputName&&e.res&&void 0===e.bindings[i.httpOutputName]&&(e.bindings[i.httpOutputName]=e.res);const s="activityTrigger"==(null===(n=null===(r=null==i?void 0:i.bindings)||void 0===r?void 0:r.name)||void 0===n?void 0:n.type),u=i.getReturnBinding();return(t||s&&null!=t)&&(u?o.returnValue=u.converter(t):"object"==typeof t&&(o.outputData=Object.keys(i.outputBindings).filter((e=>void 0!==t[e])).map((e=>({name:e,data:i.outputBindings[e].converter(t[e])})))),o.returnValue||0!=o.outputData.length||i.hasHttpTrigger||(o.returnValue=(0,v.toTypedData)(t))),e.bindings&&(o.outputData=o.outputData.concat(Object.keys(i.outputBindings).filter((r=>{const n=void 0!==e.bindings[r],o=!!t&&!u&&"object"==typeof t&&void 0!==t[r];return n&&!o})).map((t=>({name:t,data:i.outputBindings[t].converter(e.bindings[t])}))))),o}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,c=new WeakMap,n=new WeakSet,u=function(e,t,...r){m(this,a,"f").log(e,t,y.format.apply(null,r))},l=function(e,...t){m(this,n,"m",u).call(this,e,"system",...t)},d=function(e,...t){if(m(this,i,"f")&&"postInvocationHooks"!==m(this,a,"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 or calls to 'done' made before function execution completes. ";e+=`Function name: ${m(this,c,"f").name}. Invocation Id: ${m(this,a,"f").invocationId}. `,e+=`Learn more: ${x}`,m(this,n,"m",l).call(this,"warning",e)}m(this,n,"m",u).call(this,e,"user",...t)},p=function(e=!1){if(m(this,i,"f")){if(m(this,s,"f")&&e)return;const t=m(this,s,"f")?`Error: Choose either to return a promise or call 'done'. Do not use both in your script. Learn more: ${x}`:"Error: 'done' has already been called. Please check your script for extraneous calls to 'done'.";m(this,n,"m",l).call(this,"error",t)}h(this,i,!0,"f")}},601:(e,t)=>{var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.MediaType=t.HeaderName=t.version=void 0,t.version="3.5.0",(n=t.HeaderName||(t.HeaderName={})).contentType="content-type",n.contentDisposition="content-disposition",(r=t.MediaType||(t.MediaType={})).multipartForm="multipart/form-data",r.multipartPrefix="multipart/",r.urlEncodedForm="application/x-www-form-urlencoded",r.octetStream="application/octet-stream",r.json="application/json"},345:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertKeysToCamelCase=t.getNormalizedBindingData=t.getBindingDefinitions=void 0;const n=r(240);function o(e){const t={};for(const r in e){const i=r.charAt(0).toLocaleLowerCase()+r.slice(1);try{const s=(0,n.fromTypedData)(e[r]),a=void 0===s?e[r]:s;!Array.isArray(a)&&"object"==typeof a&&a&&null==a.http?t[i]=o(a):t[i]=a}catch(n){t[i]=e[r]}}return t}t.getBindingDefinitions=function(e){const t=e.bindings;return t?Object.keys(t).map((e=>({name:e,type:t[e].type||"",direction:t[e].direction||void 0}))):[]},t.getNormalizedBindingData=function(e){const t={invocationId:e.invocationId};return e.triggerMetadata&&Object.assign(t,o(e.triggerMetadata)),t},t.convertKeysToCamelCase=o},240:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=t.toTypedData=t.fromRpcTraceContext=t.fromTypedData=void 0;const n=r(470),o=r(758);t.fromTypedData=function(e,t=!0){let r=(e=e||{}).string||e.json;if(void 0!==r){if(t)try{null!=r&&(r=JSON.parse(r))}catch(e){}return r}return e.bytes?Buffer.from(e.bytes):e.collectionBytes&&e.collectionBytes.bytes?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&e.collectionString.string?e.collectionString.string:e.collectionDouble&&e.collectionDouble.double?e.collectionDouble.double:e.collectionSint64&&e.collectionSint64.sint64?e.collectionSint64.sint64.map((e=>(0,n.isLong)(e)?e.toString():e)):void 0},t.fromRpcTraceContext=function(e){return e?{traceparent:e.traceParent,tracestate:e.traceState,attributes:e.attributes}:{}},t.toTypedData=function(e){return"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)}},t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=e)throw new o.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(e))return{value:parseFloat(e)};if(null!=e)throw new o.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 o.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 o.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(r){throw new o.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},815:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookieList=t.toRpcHttp=t.fromNullableMapping=t.fromRpcHttpBody=void 0;const n=r(758),o=r(240);function i(e){const t={};if(e)for(const r in e)null!=e[r]&&(t[r]=e[r].toString());return t}function s(e){const t=[];return e.forEach((e=>{t.push(function(e){let t="none";if(e&&e.sameSite){const r=e.sameSite.toLocaleLowerCase();"lax"===r?t="lax":"strict"===r?t="strict":"none"===r&&(t="explicitNone")}return{name:e&&(0,o.toRpcString)(e.name,"cookie.name"),value:e&&(0,o.toRpcString)(e.value,"cookie.value"),domain:(0,o.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,o.toNullableString)(e&&e.path,"cookie.path"),expires:(0,o.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,o.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,o.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,o.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}(e))})),t}t.fromRpcHttpBody=function(e){return e&&e.bytes?e.bytes.toString():(0,o.fromTypedData)(e,!1)},t.fromNullableMapping=function(e,t){let r={};if(e&&Object.keys(e).length>0)for(const t in e)r[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(r=t);return r},t.toRpcHttp=function(e){if("object"!=typeof e||Array.isArray(e))throw new n.AzFuncSystemError("The HTTP response must be an 'object' type that can include properties such as 'body', 'status', and 'headers'. Learn more: https://go.microsoft.com/fwlink/?linkid=2112563");const t=e||{};let r=t.statusCode;return"function"!=typeof t.status&&(r||(r=t.status)),{http:Object.assign(Object.assign({},t),{statusCode:(null==r?void 0:r.toString())||null,headers:i(t.headers),cookies:s(t.cookies||[]),body:(0,o.toTypedData)(t.body)})}},t.toRpcHttpCookieList=s},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class r extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=r;class n extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=n;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends n{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}},300:function(e,t,r){var n,o=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},i=this&&this.__classPrivateFieldSet||function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!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"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const s=r(198),a=r(601),c=r(240),u=r(815),l=r(758),d=r(563),p=r(21);function f(e){let t="utf8";return 254===e[0]&&255===e[1]?(t="utf16be",e=h(e,2)):255===e[0]&&254===e[1]?0!==e[2]||0!==e[3]?(t="utf16le",e=h(e,2)):(t="utf32le",e=h(e,4)):239===e[0]&&187===e[1]&&191===e[2]?(t="utf8",e=h(e,3)):0===e[0]&&0===e[1]&&254===e[2]&&255===e[3]&&(t="utf32be",e=h(e,4)),(0,s.decode)(e,t)}function h(e,t){return e.subarray(t)}t.Request=class{constructor(e){var t,r;if(n.set(this,void 0),this.method=e.method,this.url=e.url,this.originalUrl=e.url,this.headers=(0,u.fromNullableMapping)(e.nullableHeaders,e.headers),this.query=(0,u.fromNullableMapping)(e.nullableQuery,e.query),this.params=(0,u.fromNullableMapping)(e.nullableParams,e.params),null===(t=e.body)||void 0===t?void 0:t.bytes){this.bufferBody=Buffer.from(e.body.bytes);const t=null===(r=this.get(a.HeaderName.contentType))||void 0===r?void 0:r.toLowerCase();let n;n=t===a.MediaType.octetStream||(null==t?void 0:t.startsWith(a.MediaType.multipartPrefix))?e.body:{string:f(this.bufferBody)},this.body=(0,c.fromTypedData)(n),this.rawBody=(0,u.fromRpcHttpBody)(n)}}get user(){return void 0===o(this,n,"f")&&i(this,n,(0,p.extractHttpUserFromHeaders)(this.headers),"f"),o(this,n,"f")}get(e){return this.headers&&this.headers[e.toLowerCase()]}parseFormBody(){const e=this.get(a.HeaderName.contentType);if(e)return(0,d.parseForm)(this.body,e);throw new l.AzFuncSystemError(`"${a.HeaderName.contentType}" header must be defined.`)}},n=new WeakMap},979:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Response=void 0;const n=r(601);t.Response=class{constructor(e){this.headers={},this.cookies=[],this.send=this.end,this.header=this.setHeader,this.set=this.setHeader,this.get=this.getHeader,this._done=e}end(e){return void 0!==e&&(this.body=e),this.setContentType(),this._done(),this}setHeader(e,t){return this.headers[e.toLowerCase()]=t,this}getHeader(e){return this.headers[e.toLowerCase()]}removeHeader(e){return delete this.headers[e.toLowerCase()],this}status(e){return this.statusCode=e,this}sendStatus(e){return this.status(e),this.end()}type(e){return this.set(n.HeaderName.contentType,e)}json(e){this.type(n.MediaType.json),this.send(e)}setContentType(){if(void 0!==this.body){if(this.get(n.HeaderName.contentType))return;Buffer.isBuffer(this.body)&&this.type(n.MediaType.octetStream)}}}},21:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0,t.extractHttpUserFromHeaders=function(e){let t=null;if(e["x-ms-client-principal"]){const r=JSON.parse(Buffer.from(e["x-ms-client-principal"],"base64").toString("utf-8"));t=r.identityProvider?{type:"StaticWebApps",id:r.userId,username:r.userDetails,identityProvider:r.identityProvider,claimsPrincipalData:r}:{type:"AppService",id:e["x-ms-client-principal-id"],username:e["x-ms-client-principal-name"],identityProvider:e["x-ms-client-principal-idp"],claimsPrincipalData:r}}return t}},563:function(e,t,r){var n,o=this&&this.__classPrivateFieldSet||function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!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"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.Form=t.parseForm=void 0;const s=r(601),a=r(758),c=r(910),u=r(519);t.parseForm=function(e,t){const[r,n]=(0,c.parseContentType)(t);switch(r.toLowerCase()){case s.MediaType.multipartForm:{const t=n.get("boundary"),r=(0,u.parseMultipartForm)("string"==typeof e?Buffer.from(e):e,t);return new l(r)}case s.MediaType.urlEncodedForm:{const t=new URLSearchParams(e.toString()),r=[];for(const[e,n]of t)r.push([e,{value:Buffer.from(n)}]);return new l(r)}default:throw new a.AzFuncSystemError(`Media type "${r}" does not match types supported for form parsing: "${s.MediaType.multipartForm}", "${s.MediaType.urlEncodedForm}".`)}};class l{constructor(e){n.set(this,void 0),o(this,n,e,"f")}get(e){for(const[t,r]of i(this,n,"f"))if(t===e)return r;return null}getAll(e){const t=[];for(const[r,o]of i(this,n,"f"))r===e&&t.push(o);return t}has(e){for(const[t]of i(this,n,"f"))if(t===e)return!0;return!1}[(n=new WeakMap,Symbol.iterator)](){return i(this,n,"f")[Symbol.iterator]()}get length(){return i(this,n,"f").length}}t.Form=l},910:function(e,t,r){var n,o=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderParams=t.parseContentDisposition=t.parseContentType=t.getHeaderValue=void 0;const i=r(601),s=r(758),a='[^ \\u0000-\\u001F\\u007F\\(\\)<>@,;:\\\\"\\/\\[\\]\\?\\.=]+',c="\\s*(.*)$",u=`\\s*;?${c}`;function l(e){const t=new d;for(;e;){let r=new RegExp(`^\\s*(${a})=(${a})${u}`,"i").exec(e);if(r||(r=new RegExp(`^\\s*(${a})="((?:[^"\\\\]|\\\\.)*)"${u}`,"i").exec(e)),!r)break;t.add(r[1],r[2].replace(/\\"/g,'"')),e=r[3]}return t}t.getHeaderValue=function(e,t){const r=new RegExp(`^\\s*${t}\\s*:${c}`,"i").exec(e);return r?r[1].trim():null},t.parseContentType=function(e){const t=new RegExp(`^\\s*(${a}\\/${a})${u}`,"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})${u}`,"i").exec(e);if(t)return[t[1],l(t[2])];throw new s.AzFuncSystemError(`${i.HeaderName.contentDisposition} must begin with disposition type.`)};class d{constructor(){n.set(this,{})}get(e){const t=o(this,n,"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,n,"f")[e.toLowerCase()]}add(e,t){o(this,n,"f")[e.toLowerCase()]=t}}t.HeaderParams=d,n=new WeakMap},519:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseMultipartForm=void 0;const n=r(601),o=r(758),i=r(910),s=Buffer.from("\r")[0],a=Buffer.from("\n")[0];t.parseMultipartForm=function(e,t){const r=[];let c,u,l=!1;const d=Buffer.from(`--${t}`),p=Buffer.from(`--${t}--`);let f=0,h=0,m=0,y=0;for(let g=0;g<e.length;g++){let v;if(e[g]!==a)continue;h=e[g-1]===s?g-1:g,v=e.slice(f,h),f=g+1;const b=v.equals(d),w=v.equals(p);if(b||w){if(u&&(u.value=e.slice(m,y)),w)break;u={value:Buffer.from("")},l=!0}else if(l){if(!u)throw new o.AzFuncSystemError(`Expected form data to start with boundary "${t}".`);const e=v.toString();if(e){const t=(0,i.getHeaderValue)(e,n.HeaderName.contentDisposition);if(t){const[,e]=(0,i.parseContentDisposition)(t);c=e.get("name"),e.has("fileName")&&(u.fileName=e.get("fileName"))}else{const t=(0,i.getHeaderValue)(e,n.HeaderName.contentType);t&&(u.contentType=t)}}else{if(l=!1,!c)throw new o.AzFuncSystemError(`Expected part to have header "${n.HeaderName.contentDisposition}" with parameter "name".`);m=f,y=f,r.push([c,u])}}else y=h}return r}},605:e=>{e.exports=require("@azure/functions-core")},702:e=>{e.exports=require("events")},198:e=>{e.exports=require("iconv-lite")},470:e=>{e.exports=require("long")},764:e=>{e.exports=require("util")},251:e=>{e.exports=require("uuid")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}var n={};(()=>{var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.setup=void 0;const t=r(605),o=r(601),i=r(62);class s{constructor(){this.name="@azure/functions",this.version=o.version}getInvocationModel(e){return new i.InvocationModel(e)}}e.setup=function(){(0,t.setProgrammingModel)(new s)}})(),module.exports=n})(); | ||
(()=>{"use strict";var e={983:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateContextAndInputs=void 0;const n=r(251),o=r(345),i=r(240),s=r(300),a=r(979);t.CreateContextAndInputs=function(e,t,r,u){const l=new c(e,t,r,u),d={},p=[];let f;for(const r of t.inputData)if(r.data&&r.name){let t;t=r.data&&r.data.http?f=new s.Request(r.data.http):e.getTimerTriggerName()===r.name?(0,o.convertKeysToCamelCase)(r).data:(0,i.fromTypedData)(r.data),d[r.name]=t,p.push(t)}return l.bindings=d,f&&(l.req=f,l.res=new a.Response(l.done),l.bindingData.sys={methodName:e.name,utcNow:(new Date).toISOString(),randGuid:(0,n.v4)()},l.bindingData.query||(l.bindingData.query=Object.assign({},f.query)),l.bindingData.headers||(l.bindingData.headers=Object.assign({},f.headers))),{context:l,inputs:p}};class c{constructor(e,t,r,n){this.invocationId=t.invocationId,this.traceContext=(0,i.fromRpcTraceContext)(t.traceContext);const s={invocationId:this.invocationId,functionName:e.name,functionDirectory:e.directory,retryContext:t.retryContext};this.executionContext=s,this.bindings={},this.log=Object.assign(((...e)=>r("information",...e)),{error:(...e)=>r("error",...e),warn:(...e)=>r("warning",...e),info:(...e)=>r("information",...e),verbose:(...e)=>r("trace",...e)}),this.bindingData=(0,o.getNormalizedBindingData)(t),this.bindingDefinitions=(0,o.getBindingDefinitions)(e),this.done=(e,t)=>{n.emit("done",e,t)}}}},335:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionInfo=void 0;const n=r(240),o=r(815);t.FunctionInfo=class{constructor(e){if(this.name=e.name,this.directory=e.directory,this.bindings={},this.outputBindings={},this.httpOutputName="",this.hasHttpTrigger=!1,e.bindings){const t=this.bindings=e.bindings;Object.keys(t).filter((e=>"in"!==t[e].direction)).forEach((e=>{const r=t[e].type;r&&"http"===r.toLowerCase()?(this.httpOutputName=e,this.outputBindings[e]=Object.assign(t[e],{converter:o.toRpcHttp})):this.outputBindings[e]=Object.assign(t[e],{converter:n.toTypedData})})),this.hasHttpTrigger=Object.keys(t).filter((e=>{const r=t[e].type;return r&&"httptrigger"===r.toLowerCase()})).length>0}}getReturnBinding(){return this.outputBindings.$return}getTimerTriggerName(){for(const e in this.bindings){const t=this.bindings[e].type;if(t&&"timertrigger"===t.toLowerCase())return e}}}},62:function(e,t,r){var n,o,i,s,a,c,u,l,d,p,f=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},h=this&&this.__classPrivateFieldSet||function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!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"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},m=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=r(764),g=r(983),v=r(240),b=r(758),w=r(335),T=r(702),x="https://go.microsoft.com/fwlink/?linkid=2097909";t.InvocationModel=class{constructor(e){n.add(this),o.set(this,new T),i.set(this,!1),s.set(this,!1),a.set(this,void 0),c.set(this,void 0),h(this,a,e,"f"),h(this,c,new w.FunctionInfo(e.metadata),"f")}getArguments(){return f(this,void 0,void 0,(function*(){const{context:e,inputs:t}=(0,g.CreateContextAndInputs)(m(this,c,"f"),m(this,a,"f").request,((e,...t)=>m(this,n,"m",d).call(this,e,...t)),m(this,o,"f"));return{context:e,inputs:t}}))}invokeFunction(e,t,r){return f(this,void 0,void 0,(function*(){const a=new Promise(((t,r)=>{m(this,o,"f").on("done",((o,i)=>{m(this,n,"m",p).call(this,e.suppressAsyncDoneError),(0,b.isError)(o)?r(o):t(i)}))}));try{let o,c=r(e,...t);return h(this,s,!!c&&"function"==typeof c.then,"f"),m(this,s,"f")?(c=Promise.resolve(c).then((t=>(m(this,n,"m",p).call(this,e.suppressAsyncDoneError),t))),o=Promise.race([c,a])):o=a,yield o}finally{h(this,i,!0,"f")}}))}getResponse(e,t){var r,n;return f(this,void 0,void 0,(function*(){const o={invocationId:m(this,a,"f").invocationId,outputData:[]},i=m(this,c,"f");i.httpOutputName&&e.res&&void 0===e.bindings[i.httpOutputName]&&(e.bindings[i.httpOutputName]=e.res);const s="activityTrigger"==(null===(n=null===(r=null==i?void 0:i.bindings)||void 0===r?void 0:r.name)||void 0===n?void 0:n.type),u=i.getReturnBinding();return(t||s&&null!=t)&&(u?o.returnValue=u.converter(t):"object"==typeof t&&(o.outputData=Object.keys(i.outputBindings).filter((e=>void 0!==t[e])).map((e=>({name:e,data:i.outputBindings[e].converter(t[e])})))),o.returnValue||0!=o.outputData.length||i.hasHttpTrigger||(o.returnValue=(0,v.toTypedData)(t))),e.bindings&&(o.outputData=o.outputData.concat(Object.keys(i.outputBindings).filter((r=>{const n=void 0!==e.bindings[r],o=!!t&&!u&&"object"==typeof t&&void 0!==t[r];return n&&!o})).map((t=>({name:t,data:i.outputBindings[t].converter(e.bindings[t])}))))),o}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,c=new WeakMap,n=new WeakSet,u=function(e,t,...r){m(this,a,"f").log(e,t,y.format.apply(null,r))},l=function(e,...t){m(this,n,"m",u).call(this,e,"system",...t)},d=function(e,...t){if(m(this,i,"f")&&"postInvocationHooks"!==m(this,a,"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 or calls to 'done' made before function execution completes. ";e+=`Function name: ${m(this,c,"f").name}. Invocation Id: ${m(this,a,"f").invocationId}. `,e+=`Learn more: ${x}`,m(this,n,"m",l).call(this,"warning",e)}m(this,n,"m",u).call(this,e,"user",...t)},p=function(e=!1){if(m(this,i,"f")){if(m(this,s,"f")&&e)return;const t=m(this,s,"f")?`Error: Choose either to return a promise or call 'done'. Do not use both in your script. Learn more: ${x}`:"Error: 'done' has already been called. Please check your script for extraneous calls to 'done'.";m(this,n,"m",l).call(this,"error",t)}h(this,i,!0,"f")}},601:(e,t)=>{var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.MediaType=t.HeaderName=t.version=void 0,t.version="3.5.1",(n=t.HeaderName||(t.HeaderName={})).contentType="content-type",n.contentDisposition="content-disposition",(r=t.MediaType||(t.MediaType={})).multipartForm="multipart/form-data",r.multipartPrefix="multipart/",r.urlEncodedForm="application/x-www-form-urlencoded",r.octetStream="application/octet-stream",r.json="application/json"},345:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertKeysToCamelCase=t.getNormalizedBindingData=t.getBindingDefinitions=void 0;const n=r(240);function o(e){const t={};for(const r in e){const i=r.charAt(0).toLocaleLowerCase()+r.slice(1);try{const s=(0,n.fromTypedData)(e[r]),a=void 0===s?e[r]:s;!Array.isArray(a)&&"object"==typeof a&&a&&null==a.http?t[i]=o(a):t[i]=a}catch(n){t[i]=e[r]}}return t}t.getBindingDefinitions=function(e){const t=e.bindings;return t?Object.keys(t).map((e=>({name:e,type:t[e].type||"",direction:t[e].direction||void 0}))):[]},t.getNormalizedBindingData=function(e){const t={invocationId:e.invocationId};return e.triggerMetadata&&Object.assign(t,o(e.triggerMetadata)),t},t.convertKeysToCamelCase=o},240:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=t.toTypedData=t.fromRpcTraceContext=t.fromTypedData=void 0;const n=r(470),o=r(758);t.fromTypedData=function(e,t=!0){let r=(e=e||{}).string||e.json;if(void 0!==r){if(t)try{null!=r&&(r=JSON.parse(r))}catch(e){}return r}return e.bytes?Buffer.from(e.bytes):e.collectionBytes&&e.collectionBytes.bytes?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&e.collectionString.string?e.collectionString.string:e.collectionDouble&&e.collectionDouble.double?e.collectionDouble.double:e.collectionSint64&&e.collectionSint64.sint64?e.collectionSint64.sint64.map((e=>(0,n.isLong)(e)?e.toString():e)):void 0},t.fromRpcTraceContext=function(e){return e?{traceparent:e.traceParent,tracestate:e.traceState,attributes:e.attributes}:{}},t.toTypedData=function(e){return"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)}},t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=e)throw new o.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(e))return{value:parseFloat(e)};if(null!=e)throw new o.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 o.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 o.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(r){throw new o.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},815:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookieList=t.toRpcHttp=t.fromNullableMapping=t.fromRpcHttpBody=void 0;const n=r(758),o=r(240);function i(e){const t={};if(e)for(const r in e)null!=e[r]&&(t[r]=e[r].toString());return t}function s(e){const t=[];return e.forEach((e=>{t.push(function(e){let t="none";if(e&&e.sameSite){const r=e.sameSite.toLocaleLowerCase();"lax"===r?t="lax":"strict"===r?t="strict":"none"===r&&(t="explicitNone")}return{name:e&&(0,o.toRpcString)(e.name,"cookie.name"),value:e&&(0,o.toRpcString)(e.value,"cookie.value"),domain:(0,o.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,o.toNullableString)(e&&e.path,"cookie.path"),expires:(0,o.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,o.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,o.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,o.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}(e))})),t}t.fromRpcHttpBody=function(e){return e&&e.bytes?e.bytes.toString():(0,o.fromTypedData)(e,!1)},t.fromNullableMapping=function(e,t){let r={};if(e&&Object.keys(e).length>0)for(const t in e)r[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(r=t);return r},t.toRpcHttp=function(e){if("object"!=typeof e||Array.isArray(e))throw new n.AzFuncSystemError("The HTTP response must be an 'object' type that can include properties such as 'body', 'status', and 'headers'. Learn more: https://go.microsoft.com/fwlink/?linkid=2112563");const t=e||{};let r=t.statusCode;return"function"!=typeof t.status&&(r||(r=t.status)),{http:Object.assign(Object.assign({},t),{statusCode:(null==r?void 0:r.toString())||null,headers:i(t.headers),cookies:s(t.cookies||[]),body:(0,o.toTypedData)(t.body)})}},t.toRpcHttpCookieList=s},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class r extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=r;class n extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=n;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends n{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}},300:function(e,t,r){var n,o=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},i=this&&this.__classPrivateFieldSet||function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!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"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const s=r(198),a=r(601),c=r(240),u=r(815),l=r(758),d=r(563),p=r(21);function f(e){let t="utf8";return 254===e[0]&&255===e[1]?(t="utf16be",e=h(e,2)):255===e[0]&&254===e[1]?0!==e[2]||0!==e[3]?(t="utf16le",e=h(e,2)):(t="utf32le",e=h(e,4)):239===e[0]&&187===e[1]&&191===e[2]?(t="utf8",e=h(e,3)):0===e[0]&&0===e[1]&&254===e[2]&&255===e[3]&&(t="utf32be",e=h(e,4)),(0,s.decode)(e,t)}function h(e,t){return e.subarray(t)}t.Request=class{constructor(e){var t,r;if(n.set(this,void 0),this.method=e.method,this.url=e.url,this.originalUrl=e.url,this.headers=(0,u.fromNullableMapping)(e.nullableHeaders,e.headers),this.query=(0,u.fromNullableMapping)(e.nullableQuery,e.query),this.params=(0,u.fromNullableMapping)(e.nullableParams,e.params),null===(t=e.body)||void 0===t?void 0:t.bytes){this.bufferBody=Buffer.from(e.body.bytes);const t=null===(r=this.get(a.HeaderName.contentType))||void 0===r?void 0:r.toLowerCase();let n;n=t===a.MediaType.octetStream||(null==t?void 0:t.startsWith(a.MediaType.multipartPrefix))?e.body:{string:f(this.bufferBody)},this.body=(0,c.fromTypedData)(n),this.rawBody=(0,u.fromRpcHttpBody)(n)}}get user(){return void 0===o(this,n,"f")&&i(this,n,(0,p.extractHttpUserFromHeaders)(this.headers),"f"),o(this,n,"f")}get(e){return this.headers&&this.headers[e.toLowerCase()]}parseFormBody(){const e=this.get(a.HeaderName.contentType);if(e)return(0,d.parseForm)(this.body,e);throw new l.AzFuncSystemError(`"${a.HeaderName.contentType}" header must be defined.`)}},n=new WeakMap},979:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Response=void 0;const n=r(601);t.Response=class{constructor(e){this.headers={},this.cookies=[],this.send=this.end,this.header=this.setHeader,this.set=this.setHeader,this.get=this.getHeader,this._done=e}end(e){return void 0!==e&&(this.body=e),this.setContentType(),this._done(),this}setHeader(e,t){return this.headers[e.toLowerCase()]=t,this}getHeader(e){return this.headers[e.toLowerCase()]}removeHeader(e){return delete this.headers[e.toLowerCase()],this}status(e){return this.statusCode=e,this}sendStatus(e){return this.status(e),this.end()}type(e){return this.set(n.HeaderName.contentType,e)}json(e){this.type(n.MediaType.json),this.send(e)}setContentType(){if(void 0!==this.body){if(this.get(n.HeaderName.contentType))return;Buffer.isBuffer(this.body)&&this.type(n.MediaType.octetStream)}}}},21:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0,t.extractHttpUserFromHeaders=function(e){let t=null;if(e["x-ms-client-principal"]){const r=JSON.parse(Buffer.from(e["x-ms-client-principal"],"base64").toString("utf-8"));t=r.identityProvider?{type:"StaticWebApps",id:r.userId,username:r.userDetails,identityProvider:r.identityProvider,claimsPrincipalData:r}:{type:"AppService",id:e["x-ms-client-principal-id"],username:e["x-ms-client-principal-name"],identityProvider:e["x-ms-client-principal-idp"],claimsPrincipalData:r}}return t}},563:function(e,t,r){var n,o=this&&this.__classPrivateFieldSet||function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!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"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.Form=t.parseForm=void 0;const s=r(601),a=r(758),c=r(910),u=r(519);t.parseForm=function(e,t){const[r,n]=(0,c.parseContentType)(t);switch(r.toLowerCase()){case s.MediaType.multipartForm:{const t=n.get("boundary"),r=(0,u.parseMultipartForm)("string"==typeof e?Buffer.from(e):e,t);return new l(r)}case s.MediaType.urlEncodedForm:{const t=new URLSearchParams(e.toString()),r=[];for(const[e,n]of t)r.push([e,{value:Buffer.from(n)}]);return new l(r)}default:throw new a.AzFuncSystemError(`Media type "${r}" does not match types supported for form parsing: "${s.MediaType.multipartForm}", "${s.MediaType.urlEncodedForm}".`)}};class l{constructor(e){n.set(this,void 0),o(this,n,e,"f")}get(e){for(const[t,r]of i(this,n,"f"))if(t===e)return r;return null}getAll(e){const t=[];for(const[r,o]of i(this,n,"f"))r===e&&t.push(o);return t}has(e){for(const[t]of i(this,n,"f"))if(t===e)return!0;return!1}[(n=new WeakMap,Symbol.iterator)](){return i(this,n,"f")[Symbol.iterator]()}get length(){return i(this,n,"f").length}}t.Form=l},910:function(e,t,r){var n,o=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderParams=t.parseContentDisposition=t.parseContentType=t.getHeaderValue=void 0;const i=r(601),s=r(758),a='[^ \\u0000-\\u001F\\u007F\\(\\)<>@,;:\\\\"\\/\\[\\]\\?\\.=]+',c="\\s*(.*)$",u=`\\s*;?${c}`;function l(e){const t=new d;for(;e;){let r=new RegExp(`^\\s*(${a})=(${a})${u}`,"i").exec(e);if(r||(r=new RegExp(`^\\s*(${a})="((?:[^"\\\\]|\\\\.)*)"${u}`,"i").exec(e)),!r)break;t.add(r[1],r[2].replace(/\\"/g,'"')),e=r[3]}return t}t.getHeaderValue=function(e,t){const r=new RegExp(`^\\s*${t}\\s*:${c}`,"i").exec(e);return r?r[1].trim():null},t.parseContentType=function(e){const t=new RegExp(`^\\s*(${a}\\/${a})${u}`,"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})${u}`,"i").exec(e);if(t)return[t[1],l(t[2])];throw new s.AzFuncSystemError(`${i.HeaderName.contentDisposition} must begin with disposition type.`)};class d{constructor(){n.set(this,{})}get(e){const t=o(this,n,"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,n,"f")[e.toLowerCase()]}add(e,t){o(this,n,"f")[e.toLowerCase()]=t}}t.HeaderParams=d,n=new WeakMap},519:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseMultipartForm=void 0;const n=r(601),o=r(758),i=r(910),s=Buffer.from("\r")[0],a=Buffer.from("\n")[0];t.parseMultipartForm=function(e,t){const r=[];let c,u,l=!1;const d=Buffer.from(`--${t}`),p=Buffer.from(`--${t}--`);let f=0,h=0,m=0,y=0;for(let g=0;g<e.length;g++){let v;if(e[g]!==a)continue;h=e[g-1]===s?g-1:g,v=e.slice(f,h),f=g+1;const b=v.equals(d),w=v.equals(p);if(b||w){if(u&&(u.value=e.slice(m,y)),w)break;u={value:Buffer.from("")},l=!0}else if(l){if(!u)throw new o.AzFuncSystemError(`Expected form data to start with boundary "${t}".`);const e=v.toString();if(e){const t=(0,i.getHeaderValue)(e,n.HeaderName.contentDisposition);if(t){const[,e]=(0,i.parseContentDisposition)(t);c=e.get("name"),e.has("fileName")&&(u.fileName=e.get("fileName"))}else{const t=(0,i.getHeaderValue)(e,n.HeaderName.contentType);t&&(u.contentType=t)}}else{if(l=!1,!c)throw new o.AzFuncSystemError(`Expected part to have header "${n.HeaderName.contentDisposition}" with parameter "name".`);m=f,y=f,r.push([c,u])}}else y=h}return r}},605:e=>{e.exports=require("@azure/functions-core")},702:e=>{e.exports=require("events")},198:e=>{e.exports=require("iconv-lite")},470:e=>{e.exports=require("long")},764:e=>{e.exports=require("util")},251:e=>{e.exports=require("uuid")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}var n={};(()=>{var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.setup=void 0;const t=r(605),o=r(601),i=r(62);class s{constructor(){this.name="@azure/functions",this.version=o.version}getInvocationModel(e){return new i.InvocationModel(e)}}e.setup=function(){(0,t.setProgrammingModel)(new s)}})(),module.exports=n})(); | ||
//# sourceMappingURL=azure-functions.min.js.map |
{ | ||
"name": "@azure/functions", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "Microsoft Azure Functions NodeJS Framework", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,27 +0,43 @@ | ||
# Azure Functions Node.js Framework | ||
# Azure Functions Node.js Programming Model | ||
|Branch|Status|Support level|Node.js Versions| | ||
|---|---|---|---| | ||
|v4.x|[![Build Status](https://img.shields.io/azure-devops/build/azfunc/Azure%2520Functions/145/v4.x)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=145&branchName=v4.x) [![Test Status](https://img.shields.io/azure-devops/tests/azfunc/Azure%2520Functions/146/v4.x?compact_message)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=146&branchName=v4.x)|Preview|18 (preview)| | ||
|v3.x (default)|[![Build Status](https://img.shields.io/azure-devops/build/azfunc/Azure%2520Functions/145/v3.x)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=145&branchName=v3.x) [![Test Status](https://img.shields.io/azure-devops/tests/azfunc/Azure%2520Functions/146/v3.x?compact_message)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=146&branchName=v3.x)|GA (Recommended)|18 (preview), 16, 14| | ||
|v4.x|[![Build Status](https://img.shields.io/azure-devops/build/azfunc/Azure%2520Functions/145/v4.x)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=145&branchName=v4.x) [![Test Status](https://img.shields.io/azure-devops/tests/azfunc/Azure%2520Functions/146/v4.x?compact_message)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=146&branchName=v4.x)|Preview|18| | ||
|v3.x (default)|[![Build Status](https://img.shields.io/azure-devops/build/azfunc/Azure%2520Functions/145/v3.x)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=145&branchName=v3.x) [![Test Status](https://img.shields.io/azure-devops/tests/azfunc/Azure%2520Functions/146/v3.x?compact_message)](https://azfunc.visualstudio.com/Azure%20Functions/_build/latest?definitionId=146&branchName=v3.x)|GA (Recommended)|18, 16, 14| | ||
> _**Version 4 is currently in public preview! 🎉✨ Try it out and let us know what you think: <https://aka.ms/AzFuncNodeV4>**_ | ||
## Install | ||
``` | ||
```bash | ||
npm install @azure/functions | ||
``` | ||
## Documentation | ||
- [Azure Functions JavaScript Developer Guide](https://learn.microsoft.com/azure/azure-functions/functions-reference-node?pivots=nodejs-model-v3) | ||
- [Create your first TypeScript function](https://docs.microsoft.com/azure/azure-functions/create-first-function-vs-code-typescript?pivots=nodejs-model-v3) | ||
- [Create your first JavaScript function](https://docs.microsoft.com/azure/azure-functions/create-first-function-vs-code-node?pivots=nodejs-model-v3) | ||
## Considerations | ||
- The Node.js "programming model" shouldn't be confused with the Azure Functions "runtime". | ||
- _**Programming model**_: Defines how you author your code and is specific to JavaScript and TypeScript. | ||
- _**Runtime**_: Defines underlying behavior of Azure Functions and is shared across all languages. | ||
- The programming model version is strictly tied to the version of the [`@azure/functions`](https://www.npmjs.com/package/@azure/functions) npm package, and is versioned independently of the [runtime](https://learn.microsoft.com/azure/azure-functions/functions-versions?pivots=programming-language-javascript). Both the runtime and the programming model use "4" as their latest major version, but that is purely a coincidence. | ||
## Usage | ||
Prior to version 3.5.0, this package only contained TypeScript type definitions. Starting with version 3.5.0 it _also_ contains the underlying Azure Functions Framework for Node.js. This framework package is included by default in [v4.x of the Azure Functions runtime](https://docs.microsoft.com/azure/azure-functions/functions-versions?pivots=programming-language-javascript), meaning you do _not_ need to include the package in your app. However, there may be cases where you want a specific version of the package, so you can override the default shipped in Azure with the below steps. | ||
Prior to version 3.5.0, this package only contained TypeScript type definitions. Starting with version 3.5.0 it _also_ contains the underlying Azure Functions Programming Model for Node.js. This package is included by default in [v4.x of the Azure Functions runtime](https://docs.microsoft.com/azure/azure-functions/functions-versions?pivots=programming-language-javascript), meaning you do _not_ need to include the package in your app. However, there may be cases where you want a specific version of the package, so you can override the default shipped in Azure with the below steps. | ||
### TypeScript: | ||
### TypeScript | ||
For a full tutorial, see [how to create your first TypeScript function](https://docs.microsoft.com/azure/azure-functions/create-first-function-vs-code-typescript). | ||
1. Specify a main entrypoint in your package.json | ||
1. Specify a main entrypoint in your package.json | ||
```json | ||
"main": "dist/src/index.js" | ||
``` | ||
2. Add the following code to your entrypoint file (e.g. `src/index.ts`): | ||
```typescript | ||
@@ -35,13 +51,12 @@ import * as func from '@azure/functions'; | ||
For more documentation, see the [TypeScript developer guide](https://docs.microsoft.com/azure/azure-functions/functions-reference-node#typescript). | ||
### JavaScript | ||
For a full tutorial, see [how to create your first JavaScript function](https://docs.microsoft.com/azure/azure-functions/create-first-function-vs-code-node). | ||
1. Specify a main entrypoint in your package.json | ||
1. Specify a main entrypoint in your package.json | ||
```json | ||
"main": "src/index.js" | ||
``` | ||
2. Add the following code to your entrypoint file: | ||
```javascript | ||
@@ -53,4 +68,2 @@ const func = require('@azure/functions'); | ||
For more documentation, see the [JavaScript developer guide](https://docs.microsoft.com/azure/azure-functions/functions-reference-node). | ||
## Contributing | ||
@@ -66,3 +79,3 @@ | ||
- Make sure you are calling `func.setup()` somewhere in your app, as described above in the "Usage" section | ||
- Run `npm link @azure/functions`. This will point your app to the local repository for the framework package | ||
- Run `npm link @azure/functions`. This will point your app to the local repository for the `@azure/functions` package | ||
- Add the following settings to your "local.settings.json" file or configure them directly as environment variables | ||
@@ -81,2 +94,2 @@ - `languageWorkers__node__arguments`: `--inspect` | ||
The type definitions are located in the `types` folder. Please make sure to update the tests in `./test/types/index.test.ts` as well. | ||
The type definitions are located in the `types` folder. Please make sure to update the tests in `./test/types/index.test.ts` as well. |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
export const version = '3.5.0'; | ||
export const version = '3.5.1'; | ||
@@ -6,0 +6,0 @@ export enum HeaderName { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
402008
92