From 79f39b6d2280e216b703cf2c4f2a9afd8f4cf8d4 Mon Sep 17 00:00:00 2001 From: Suman Anand Date: Sun, 17 May 2020 17:57:03 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53f7c69..d7f184a 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ Following options can be passed during initialization of transformImage that ret | Name | Type | Description | Default | |------------------|----------|----------------------------------------------------------------------|------------------------| -| sizeLimit | int | the byte size limit for the input file/blob | 16*1024*1024 = 16MB | +| sizeLimit | int | the byte size limit for the input file/blob | 16777216 bytes = 16MB | | outputType | enum | defines the output object format. Allowed values :- blob/base64/file | blob | | allowedFileTypes | []string | allowed types for the input file/blob e.g. PNG, JPEG, JPG | ["jpg", "png", "jpeg"] | From 8a79b830c77e78eaeaf03f33a50d9477cf4fc0ab Mon Sep 17 00:00:00 2001 From: Suman Anand Date: Sun, 17 May 2020 18:00:54 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d7f184a..1a94dcb 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Following options can be passed during initialization of transformImage that ret ### Methods -### `resizeImage(imageFile, options, fileName) => {Promise}` +#### `resizeImage(imageFile, options, fileName) => {Promise}` #### Description: Resize an image file From 46ad071c9528d940bdd9cc4b4a398de79fb5c707 Mon Sep 17 00:00:00 2001 From: Suman Anand Date: Fri, 1 Oct 2021 08:40:47 +0800 Subject: [PATCH 3/3] Create SECURITY.md --- SECURITY.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..034e848 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc.