grepleaks 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/grepleaks.js +3 -0
  2. package/package.json +1 -1
package/bin/grepleaks.js CHANGED
@@ -155,6 +155,9 @@ function submitScanJob(zipPath, apiKey) {
155
155
  const fileContent = fs.readFileSync(zipPath);
156
156
 
157
157
  const bodyParts = [
158
+ `--${boundary}\r\n`,
159
+ `Content-Disposition: form-data; name="source"\r\n\r\n`,
160
+ `terminal\r\n`,
158
161
  `--${boundary}\r\n`,
159
162
  `Content-Disposition: form-data; name="file"; filename="code.zip"\r\n`,
160
163
  `Content-Type: application/zip\r\n\r\n`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepleaks",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Security scanner for your code - detect vulnerabilities, secrets, and misconfigurations",
5
5
  "main": "bin/grepleaks.js",
6
6
  "bin": {