Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Commit 25a5f40

Browse files
authored
refactor(manifest): update flags tooltip description (#13)
* refactor(manifest): update flags tooltip description refactor(hasManyPublishers): remove unique word * refactor: apply antoine review
1 parent 53d9db3 commit 25a5f40

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/manifest.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const FLAGS = {
55
externalCapacity: {
66
emoji: "🌍",
77
title: "hasExternalCapacity",
8-
tooltipDescription: "The package use at least one Node.js dependency capable to communicate outside or to establish a listening server."
8+
tooltipDescription: "The package uses at least one Node.js core dependency capable to establish communication outside of localhost"
99
},
1010
warnings: {
1111
emoji: "🚧",
@@ -15,47 +15,47 @@ export const FLAGS = {
1515
nativeCode: {
1616
emoji: "🐲",
1717
title: "hasNativeCode",
18-
tooltipDescription: "The package use native components (package, file, configuration)."
18+
tooltipDescription: "The package uses and runs C++ or Rust N-API code"
1919
},
2020
customResolver: {
2121
emoji: "💎",
2222
title: "hasCustomResolver",
23-
tooltipDescription: "The package has dependencies that are not packages."
23+
tooltipDescription: "The package has dependencies who do not resolve on a registry (git, file, ssh etc..)"
2424
},
2525
noLicense: {
2626
emoji: "📜",
2727
title: "hasNoLicense",
28-
tooltipDescription: "The package does not seem to have a license."
28+
tooltipDescription: "The package does not have a license"
2929
},
3030
multipleLicense: {
3131
emoji: "📚",
3232
title: "hasMultipleLicenses",
33-
tooltipDescription: "The package has multiple licenses in multiple files"
33+
tooltipDescription: "The package has licenses in multiple locations (files or manifest)"
3434
},
3535
minifiedCode: {
3636
emoji: "🔬",
3737
title: "hasMinifiedCode",
38-
tooltipDescription: "The package seems to have files that are minified/uglified."
38+
tooltipDescription: "The package has minified and/or uglified files"
3939
},
4040
isDeprecated: {
4141
emoji: "⛔️",
4242
title: "isDeprecated",
43-
tooltipDescription: "The package is deprecated."
43+
tooltipDescription: "The package has been deprecated on NPM"
4444
},
4545
manyPublishers: {
4646
emoji: "👥",
4747
title: "hasManyPublishers",
48-
tooltipDescription: "The package has several publishers."
48+
tooltipDescription: "The package has several publishers"
4949
},
5050
hasScript: {
5151
emoji: "📦",
5252
title: "hasScript",
53-
tooltipDescription: "has `post` and/or `pre` (un)install npm script"
53+
tooltipDescription: "The package has `post` and/or `pre` (un)install npm script"
5454
},
5555
indirectDependencies: {
5656
emoji: "🌲",
5757
title: "hasIndirectDependencies",
58-
tooltipDescription: "The package have indirect dependencies."
58+
tooltipDescription: "The package has indirect dependencies"
5959
},
6060
isGit: {
6161
emoji: "☁️",
@@ -65,27 +65,27 @@ export const FLAGS = {
6565
vulnerabilities: {
6666
emoji: "🚨",
6767
title: "hasVulnerabilities",
68-
tooltipDescription: "The package have one or many vulnerabilities."
68+
tooltipDescription: "The package has one or many vulnerabilities"
6969
},
7070
missingOrUnusedDependency: {
7171
emoji: "👀",
7272
title: "hasMissingOrUnusedDependency",
73-
tooltipDescription: "A dependency is missing in package.json or a dependency is installed but never used!"
73+
tooltipDescription: "A dependency is missing in package.json or a dependency is installed but never used"
7474
},
7575
isDead: {
7676
emoji: "💀",
7777
title: "isDead",
78-
tooltipDescription: "The dependency has not received update from at least one year!"
78+
tooltipDescription: "The dependency has not received update from at least one year"
7979
},
8080
bannedFile: {
8181
emoji: "⚔️",
8282
title: "hasBannedFile",
83-
tooltipDescription: "The project has at least one sensitive file."
83+
tooltipDescription: "The project has at least one sensitive file"
8484
},
8585
outdated: {
8686
emoji: "⌚️",
8787
title: "isOutdated",
88-
tooltipDescription: "The current package version is not equal to the package latest version!"
88+
tooltipDescription: "The current package version is not equal to the package latest version"
8989
},
9090
duplicated: {
9191
emoji: "🎭",

0 commit comments

Comments
 (0)