quick-erd
Advanced tools
@@ -58,2 +58,3 @@ import { Position } from './meta'; | ||
| is_unsigned: boolean; | ||
| is_zerofill: boolean; | ||
| references: ForeignKeyReference | undefined; | ||
@@ -60,0 +61,0 @@ default_value: string | undefined; |
+4
-1
@@ -113,2 +113,3 @@ "use strict"; | ||
| is_unsigned: false, | ||
| is_zerofill: false, | ||
| default_value: undefined, | ||
@@ -169,2 +170,5 @@ references: undefined, | ||
| break; | ||
| case 'ZEROFILL': | ||
| field.is_zerofill = true; | ||
| break; | ||
| case 'PK': | ||
@@ -178,3 +182,2 @@ field.is_primary_key = true; | ||
| line = line.replace(token, '').trim(); | ||
| break; | ||
| } | ||
@@ -181,0 +184,0 @@ this.line_list[0] = line; |
@@ -117,2 +117,3 @@ "use strict"; | ||
| is_unsigned: false, | ||
| is_zerofill: false, | ||
| is_unique: !pk_row && !!unique_row, | ||
@@ -119,0 +120,0 @@ references: fk_row |
@@ -35,2 +35,3 @@ "use strict"; | ||
| is_unsigned: field.unsigned, | ||
| is_zerofill: false, | ||
| is_null: !field.not_null, | ||
@@ -37,0 +38,0 @@ is_unique: false, |
@@ -159,2 +159,3 @@ "use strict"; | ||
| is_unsigned: false, | ||
| is_zerofill: false, | ||
| is_unique: !!unique_row, | ||
@@ -161,0 +162,0 @@ references: fk_row |
@@ -184,2 +184,3 @@ "use strict"; | ||
| is_unsigned: false, | ||
| is_zerofill: false, | ||
| default_value, | ||
@@ -186,0 +187,0 @@ references, |
@@ -24,2 +24,3 @@ "use strict"; | ||
| is_unsigned: false, | ||
| is_zerofill: false, | ||
| default_value: undefined, | ||
@@ -26,0 +27,0 @@ references: undefined, |
+1
-1
| { | ||
| "name": "quick-erd", | ||
| "version": "4.31.0", | ||
| "version": "4.32.0", | ||
| "type": "commonjs", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
289282
0.15%7930
0.15%