vigie-cli 1.0.3 → 1.0.4

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/README.fr.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  **Vérifie la sécurité de n'importe quel site web en quelques secondes, avec un rapport que ton client peut lire.**
6
6
 
7
- [![npm](https://img.shields.io/npm/v/vigie?color=0d6b5d&label=npm)](https://www.npmjs.com/package/vigie)
7
+ [![npm](https://img.shields.io/npm/v/vigie-cli?color=0d6b5d&label=npm)](https://www.npmjs.com/package/vigie-cli)
8
8
  [![CI](https://github.com/FreshlapeufDev/vigie/actions/workflows/ci.yml/badge.svg)](https://github.com/FreshlapeufDev/vigie/actions/workflows/ci.yml)
9
- [![node](https://img.shields.io/node/v/vigie?color=339933)](https://nodejs.org)
10
- [![licence](https://img.shields.io/npm/l/vigie?color=blue&label=licence)](https://github.com/FreshlapeufDev/vigie/blob/main/LICENSE)
9
+ [![node](https://img.shields.io/node/v/vigie-cli?color=339933)](https://nodejs.org)
10
+ [![licence](https://img.shields.io/npm/l/vigie-cli?color=blue&label=licence)](https://github.com/FreshlapeufDev/vigie/blob/main/LICENSE)
11
11
 
12
12
  HTTPS · certificats · en-têtes de sécurité · cookies · fichiers exposés · bibliothèques vulnérables
13
13
 
@@ -28,13 +28,13 @@ Des robots cherchent ces erreurs sur tout Internet, chaque jour. vigie les trouv
28
28
  Il faut [Node.js](https://nodejs.org) 18 ou plus récent (prends la version **LTS**).
29
29
 
30
30
  ```bash
31
- npm install -g vigie
31
+ npm install -g vigie-cli
32
32
  ```
33
33
 
34
34
  ou lance-le une seule fois sans rien installer :
35
35
 
36
36
  ```bash
37
- npx vigie exemple.fr
37
+ npx vigie-cli exemple.fr
38
38
  ```
39
39
 
40
40
  ## Utilisation
@@ -123,7 +123,7 @@ Les secrets trouvés dans les fichiers exposés ne sont **jamais affichés** : s
123
123
  ## En intégration continue
124
124
 
125
125
  ```yaml
126
- - run: npx vigie https://preprod.exemple.fr --fail-under B
126
+ - run: npx vigie-cli https://preprod.exemple.fr --fail-under B
127
127
  ```
128
128
 
129
129
  Le job échoue si la note passe sous B, par exemple après la suppression d'un en-tête de sécurité.
package/README.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  **Check the security of any website in seconds, and get a report your client can read.**
6
6
 
7
- [![npm](https://img.shields.io/npm/v/vigie?color=0d6b5d&label=npm)](https://www.npmjs.com/package/vigie)
7
+ [![npm](https://img.shields.io/npm/v/vigie-cli?color=0d6b5d&label=npm)](https://www.npmjs.com/package/vigie-cli)
8
8
  [![CI](https://github.com/FreshlapeufDev/vigie/actions/workflows/ci.yml/badge.svg)](https://github.com/FreshlapeufDev/vigie/actions/workflows/ci.yml)
9
- [![node](https://img.shields.io/node/v/vigie?color=339933)](https://nodejs.org)
10
- [![license](https://img.shields.io/npm/l/vigie?color=blue)](https://github.com/FreshlapeufDev/vigie/blob/main/LICENSE)
9
+ [![node](https://img.shields.io/node/v/vigie-cli?color=339933)](https://nodejs.org)
10
+ [![license](https://img.shields.io/npm/l/vigie-cli?color=blue)](https://github.com/FreshlapeufDev/vigie/blob/main/LICENSE)
11
11
 
12
12
  HTTPS · certificates · security headers · cookies · exposed files · vulnerable libraries
13
13
 
@@ -28,13 +28,13 @@ Bots scan the whole Internet for these mistakes every day. vigie finds them firs
28
28
  You need [Node.js](https://nodejs.org) 18 or newer (pick the **LTS** version).
29
29
 
30
30
  ```bash
31
- npm install -g vigie
31
+ npm install -g vigie-cli
32
32
  ```
33
33
 
34
34
  or run it once without installing:
35
35
 
36
36
  ```bash
37
- npx vigie example.com
37
+ npx vigie-cli example.com
38
38
  ```
39
39
 
40
40
  ## Usage
@@ -123,7 +123,7 @@ Secrets found in exposed files are **never displayed**: only the variable names
123
123
  ## Use it in CI
124
124
 
125
125
  ```yaml
126
- - run: npx vigie https://staging.example.com --fail-under B
126
+ - run: npx vigie-cli https://staging.example.com --fail-under B
127
127
  ```
128
128
 
129
129
  The job fails if the grade drops below B, for example after someone removes a security header.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vigie-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Website security checker by FreshDev: HTTPS, certificates, security headers, cookies, exposed files and vulnerable libraries, with a bilingual HTML audit report. Zero dependencies.",
5
5
  "type": "module",
6
6
  "bin": {