realpath-native
Advanced tools
| declare function realpath(filepath: string): string; | ||
| declare namespace realpath { | ||
| var sync: typeof realpathSync; | ||
| } | ||
| declare function realpathSync(filepath: string): string; | ||
| export = realpath; |
+8
-5
| { | ||
| "name": "realpath-native", | ||
| "version": "1.0.2", | ||
| "version": "1.1.0", | ||
| "main": "index.js", | ||
| "types": "index.d.ts", | ||
| "files": [ | ||
| "index.js" | ||
| "index.js", | ||
| "index.d.ts" | ||
| ], | ||
@@ -20,3 +22,3 @@ "description": "Use the system's native `realpath`", | ||
| "lint": "eslint .", | ||
| "test": "eslint ." | ||
| "test": "eslint . && ava" | ||
| }, | ||
@@ -29,2 +31,3 @@ "dependencies": { | ||
| "@commitlint/config-conventional": "^6.0.2", | ||
| "ava": "^0.25.0", | ||
| "eslint": "^4.13.1", | ||
@@ -35,3 +38,3 @@ "eslint-config-simenb-base": "^14.0.0", | ||
| "lint-staged": "^6.0.0", | ||
| "prettier": "^1.9.2" | ||
| "prettier": "^1.16.4" | ||
| }, | ||
@@ -53,3 +56,3 @@ "commitlint": { | ||
| ], | ||
| "*.{md,json}": [ | ||
| "*.{md,json,ts}": [ | ||
| "prettier --write", | ||
@@ -56,0 +59,0 @@ "git add" |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
4839
5.89%5
25%42
16.67%9
12.5%