@potygen/cli
Advanced tools
+2
-2
@@ -15,4 +15,4 @@ import { Record, Optional, Static, String, Boolean } from 'runtypes'; | ||
| }, false>; | ||
| export declare type ConfigType = Static<typeof Config>; | ||
| export declare type FullConfigType = Required<ConfigType>; | ||
| export type ConfigType = Static<typeof Config>; | ||
| export type FullConfigType = Required<ConfigType>; | ||
| export declare const toConfig: (config: unknown) => FullConfigType; |
+1
-1
@@ -41,3 +41,3 @@ "use strict"; | ||
| .description('Convert postgres query files into typescript types') | ||
| .version('0.10.1') | ||
| .version('0.10.2') | ||
| .option('-c, --config <config>', 'A configuration file to load', 'potygen.config.json') | ||
@@ -44,0 +44,0 @@ .option('-f, --files <files>', 'A glob pattern to search files by (default: "**/*.sql")') |
+14
-14
| { | ||
| "name": "@potygen/cli", | ||
| "version": "0.10.1", | ||
| "version": "0.10.2", | ||
| "homepage": "https://github.com/ivank/potygen/tree/main/packages/cli", | ||
@@ -11,8 +11,8 @@ "description": "Command line interface for potygen (Postgres Typescript Generator)", | ||
| "@ikerin/build-readme": "^1.1.1", | ||
| "@types/jest": "^26.0.14", | ||
| "@types/node": "^14.17.15", | ||
| "jest": "^26.4.2", | ||
| "prettier": "npm:@potygen/prettier@^2.8.1", | ||
| "ts-jest": "^26.4.0", | ||
| "ts-node": "^10.1.0" | ||
| "@types/jest": "^29.5.6", | ||
| "@types/node": "^20.8.9", | ||
| "jest": "^29.7.0", | ||
| "prettier": "npm:@potygen/prettier@^3.0.3", | ||
| "ts-jest": "^29.1.1", | ||
| "ts-node": "^10.9.1" | ||
| }, | ||
@@ -23,9 +23,9 @@ "bin": { | ||
| "dependencies": { | ||
| "@potygen/potygen": "0.8.1", | ||
| "@supercharge/promise-pool": "^2.3.2", | ||
| "@types/pg": "^8.6.0", | ||
| "commander": "^8.3.0", | ||
| "pg": "^8.6.0", | ||
| "runtypes": "^6.5.0", | ||
| "typescript": "^4.8.3" | ||
| "@potygen/potygen": "0.8.2", | ||
| "@supercharge/promise-pool": "^3.1.0", | ||
| "@types/pg": "^8.10.7", | ||
| "commander": "^11.1.0", | ||
| "pg": "^8.11.3", | ||
| "runtypes": "^6.7.0", | ||
| "typescript": "^5.2.2" | ||
| }, | ||
@@ -32,0 +32,0 @@ "scripts": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
64808
-0.02%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated