Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 109 additions & 109 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,109 +1,109 @@
{
"name": "@nodesecure/cli",
"version": "2.2.1",
"description": "Node.js security CLI",
"main": "./bin/index.js",
"bin": {
"node-secure": "./bin/index.js",
"nsecure": "./bin/index.js"
},
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"eslint": "eslint bin src test",
"eslint-fix": "npm run eslint -- --fix",
"prepublishOnly": "rimraf ./dist && npm run build && pkg-ok",
"build": "node ./esbuild.config.js",
"test": "npm run test-only && npm run eslint",
"test-only": "node --loader=esmock --no-warnings --test test/",
"coverage": "c8 --reporter=lcov npm run test"
},
"files": [
"bin",
"dist",
"src",
"views"
],
"workspaces": [
"workspaces/documentation-ui",
"workspaces/vis-network",
"workspaces/size-satisfies"
],
"repository": {
"type": "git",
"url": "git+https://github.com/NodeSecure/cli.git"
},
"keywords": [
"node",
"nodejs",
"security",
"cli",
"sast",
"scanner",
"static",
"code",
"analysis",
"node_modules",
"tree",
"npm",
"registry",
"graph",
"visualization",
"dependencies"
],
"author": "GENTILHOMME Thomas <gentilhomme.thomas@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/NodeSecure/cli/issues"
},
"homepage": "https://github.com/NodeSecure/cli#readme",
"devDependencies": {
"@myunisoft/httpie": "^2.0.1",
"@nodesecure/eslint-config": "^1.7.1",
"@nodesecure/size-satisfies": "^1.1.0",
"@nodesecure/vis-network": "^1.4.0",
"@types/node": "^20.5.3",
"c8": "^8.0.1",
"cross-env": "^7.0.3",
"esbuild": "^0.19.2",
"eslint": "^8.47.0",
"esmock": "^2.3.8",
"http-server": "^14.1.1",
"pkg-ok": "^3.0.0",
"pretty-bytes": "^6.1.1",
"rimraf": "^5.0.5",
"strip-ansi": "^7.1.0"
},
"dependencies": {
"@nodesecure/documentation-ui": "^1.3.0",
"@nodesecure/flags": "^2.4.0",
"@nodesecure/i18n": "^3.5.0",
"@nodesecure/licenses-conformance": "^2.1.0",
"@nodesecure/npm-registry-sdk": "^2.0.0",
"@nodesecure/ossf-scorecard-sdk": "^3.1.0",
"@nodesecure/rc": "^1.5.0",
"@nodesecure/scanner": "^5.2.0",
"@nodesecure/utils": "^1.2.0",
"@nodesecure/vuln": "^1.7.0",
"@openally/result": "^1.2.0",
"@polka/send-type": "^0.5.2",
"@topcli/cliui": "^1.1.0",
"@topcli/prompts": "^1.7.0",
"@topcli/spinner": "^2.1.2",
"cacache": "^18.0.0",
"dotenv": "^16.3.1",
"filenamify": "^6.0.0",
"ini": "^4.1.1",
"kleur": "^4.1.5",
"ms": "^2.1.3",
"open": "^9.1.0",
"polka": "^0.5.2",
"sade": "^1.8.1",
"semver": "^7.5.4",
"server-destroy": "^1.0.1",
"sirv": "^2.0.3",
"zup": "0.0.1"
}
}
{
"name": "@nodesecure/cli",
"version": "2.2.1",
"description": "Node.js security CLI",
"main": "./bin/index.js",
"bin": {
"node-secure": "./bin/index.js",
"nsecure": "./bin/index.js"
},
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"eslint": "eslint bin src test",
"eslint-fix": "npm run eslint -- --fix",
"prepublishOnly": "rimraf ./dist && npm run build && pkg-ok",
"build": "node ./esbuild.config.js",
"test": "npm run test-only && npm run eslint",
"test-only": "node --loader=esmock --no-warnings --test test/",
"coverage": "c8 --reporter=lcov npm run test"
},
"files": [
"bin",
"dist",
"src",
"views"
],
"workspaces": [
"workspaces/documentation-ui",
"workspaces/vis-network",
"workspaces/size-satisfies"
],
"repository": {
"type": "git",
"url": "git+https://github.com/NodeSecure/cli.git"
},
"keywords": [
"node",
"nodejs",
"security",
"cli",
"sast",
"scanner",
"static",
"code",
"analysis",
"node_modules",
"tree",
"npm",
"registry",
"graph",
"visualization",
"dependencies"
],
"author": "GENTILHOMME Thomas <gentilhomme.thomas@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/NodeSecure/cli/issues"
},
"homepage": "https://github.com/NodeSecure/cli#readme",
"devDependencies": {
"@myunisoft/httpie": "^2.0.1",
"@nodesecure/eslint-config": "^1.7.1",
"@nodesecure/size-satisfies": "^1.1.0",
"@nodesecure/vis-network": "^1.4.0",
"@types/node": "^20.5.3",
"c8": "^8.0.1",
"cross-env": "^7.0.3",
"esbuild": "^0.19.2",
"eslint": "^8.47.0",
"esmock": "^2.3.8",
"http-server": "^14.1.1",
"pkg-ok": "^3.0.0",
"pretty-bytes": "^6.1.1",
"rimraf": "^5.0.5",
"strip-ansi": "^7.1.0"
},
"dependencies": {
"@nodesecure/documentation-ui": "^1.3.0",
"@nodesecure/flags": "^2.4.0",
"@nodesecure/i18n": "^3.5.0",
"@nodesecure/licenses-conformance": "^2.1.0",
"@nodesecure/npm-registry-sdk": "^2.0.0",
"@nodesecure/ossf-scorecard-sdk": "^3.1.0",
"@nodesecure/rc": "^1.5.0",
"@nodesecure/scanner": "^5.2.1",
"@nodesecure/utils": "^1.2.0",
"@nodesecure/vuln": "^1.7.0",
"@openally/result": "^1.2.0",
"@polka/send-type": "^0.5.2",
"@topcli/cliui": "^1.1.0",
"@topcli/prompts": "^1.7.0",
"@topcli/spinner": "^2.1.2",
"cacache": "^18.0.0",
"dotenv": "^16.3.1",
"filenamify": "^6.0.0",
"ini": "^4.1.1",
"kleur": "^4.1.5",
"ms": "^2.1.3",
"open": "^9.1.0",
"polka": "^0.5.2",
"sade": "^1.8.1",
"semver": "^7.5.4",
"server-destroy": "^1.0.1",
"sirv": "^2.0.3",
"zup": "0.0.1"
}
}
2 changes: 1 addition & 1 deletion public/components/package/pannels/overview/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class Overview {
const fragment = document.createDocumentFragment();

const { homepage } = this.package.links;
if (homepage.href !== null) {
if (typeof homepage.href === "string") {
fragment.appendChild(utils.createLiField("Homepage", homepage.href, { isLink: true }));
}
fragment.appendChild(utils.createLiField("Author", this.author));
Expand Down