grepleaks 1.2.3 → 1.2.5
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.
- package/bin/grepleaks.js +5 -2
- package/package.json +3 -3
package/bin/grepleaks.js
CHANGED
|
@@ -9,7 +9,7 @@ const readline = require('readline');
|
|
|
9
9
|
const { exec } = require('child_process');
|
|
10
10
|
const archiver = require('archiver');
|
|
11
11
|
|
|
12
|
-
const VERSION = '1.2.
|
|
12
|
+
const VERSION = '1.2.4';
|
|
13
13
|
const API_URL = 'https://grepleaks.com/api/v1';
|
|
14
14
|
const WEB_URL = 'https://grepleaks.com';
|
|
15
15
|
const CONFIG_DIR = path.join(os.homedir(), '.grepleaks');
|
|
@@ -569,8 +569,11 @@ async function loginWithEmail() {
|
|
|
569
569
|
|
|
570
570
|
async function loginWithGitHub() {
|
|
571
571
|
log(`\n${c.cyan}${c.bold}${t('loginGitHubTitle')}${c.reset}\n`);
|
|
572
|
+
const loginUrl = `${WEB_URL}/login?cli=true&provider=github`;
|
|
573
|
+
log(`If your browser doesn't open, visit this URL:`);
|
|
574
|
+
log(`${c.cyan}${loginUrl}${c.reset}\n`);
|
|
572
575
|
info(t('loginOpeningBrowser'));
|
|
573
|
-
openBrowser(
|
|
576
|
+
openBrowser(loginUrl);
|
|
574
577
|
|
|
575
578
|
log(`\n${t('loginTokenPrompt')}\n`);
|
|
576
579
|
const token = await prompt(t('loginTokenInput'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grepleaks",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Security scanner for your code - detect vulnerabilities, secrets, and misconfigurations",
|
|
5
5
|
"main": "bin/grepleaks.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://grepleaks.com",
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=18.0.0"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"bin/"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"archiver": "^
|
|
37
|
+
"archiver": "^7.0.1"
|
|
38
38
|
}
|
|
39
39
|
}
|