@withfig/autocomplete-types
Advanced tools
+15
-3
@@ -139,4 +139,13 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
| type ShellContext = { | ||
| /** | ||
| * The current directory the shell is in | ||
| */ | ||
| currentWorkingDirectory: string; | ||
| /** | ||
| * Exported environment variables from the shell | ||
| */ | ||
| environmentVariables: Record<string, string>; | ||
| /** | ||
| * The name of the current process | ||
| */ | ||
| currentProcess: string; | ||
@@ -229,5 +238,3 @@ /** | ||
| | ((version?: string) => Subcommand) | ||
| | (( | ||
| version?: string | ||
| ) => { | ||
| | ((version?: string) => { | ||
| versionedSpecPath: string; | ||
@@ -254,2 +261,7 @@ version?: string; | ||
| env?: Record<string, string | undefined>; | ||
| /** | ||
| * Duration of timeout in milliseconds, if the command takes longer than the timeout a error will be thrown. | ||
| * @defaultValue 5000 | ||
| */ | ||
| timeout?: number; | ||
| }; | ||
@@ -256,0 +268,0 @@ |
+14
-14
| { | ||
| "name": "@withfig/autocomplete-types", | ||
| "description": "Typings for fig autocomplete specs and other tools", | ||
| "version": "1.29.0", | ||
| "version": "1.30.0", | ||
| "author": "The Fig Team", | ||
| "types": "index.d.ts", | ||
| "license": "MIT", | ||
| "scripts": { | ||
| "generate-docs": "ts-node docs-generator/bin.ts ./docs.json", | ||
| "check-docs": "ts-node test/check-docs.ts", | ||
| "test": "yarn cspell && yarn check-docs", | ||
| "test:overwrite": "yarn generate-docs", | ||
| "cspell": "cspell index.d.ts" | ||
| }, | ||
| "files": [ | ||
@@ -19,13 +12,20 @@ "index.d.ts" | ||
| "devDependencies": { | ||
| "@microsoft/tsdoc": "^0.14.1", | ||
| "@types/node": "^20.8.10", | ||
| "cspell": "^6.0.0", | ||
| "@microsoft/tsdoc": "^0.14.2", | ||
| "@types/node": "^20.10.6", | ||
| "cspell": "^8.3.2", | ||
| "picocolors": "^1.0.0", | ||
| "prettier": "^2.6.2", | ||
| "ts-node": "^10.7.0", | ||
| "typescript": "^4.6.4" | ||
| "prettier": "^3.1.1", | ||
| "tsx": "^4.7.0", | ||
| "typescript": "^5.3.3" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "scripts": { | ||
| "generate-docs": "tsx docs-generator/bin.ts ./docs.json", | ||
| "check-docs": "tsx test/check-docs.mts", | ||
| "test": "pnpm run cspell && pnpm run check-docs", | ||
| "test:overwrite": "pnpm run generate-docs", | ||
| "cspell": "cspell index.d.ts" | ||
| } | ||
| } |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
64083
0.54%1246
0.97%