@mikro-orm/sql
Advanced tools
+2
-2
| { | ||
| "name": "@mikro-orm/sql", | ||
| "version": "7.1.1-dev.8", | ||
| "version": "7.1.1-dev.9", | ||
| "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
| "peerDependencies": { | ||
| "@mikro-orm/core": "7.1.1-dev.8" | ||
| "@mikro-orm/core": "7.1.1-dev.9" | ||
| }, | ||
@@ -59,0 +59,0 @@ "engines": { |
@@ -980,2 +980,5 @@ import { ArrayType, BooleanType, DateTimeType, inspect, JsonType, parseJsonSafe, Utils, } from '@mikro-orm/core'; | ||
| } | ||
| if (to.default == null || to.default.toLowerCase() === 'null') { | ||
| return false; | ||
| } | ||
| if (to.mappedType instanceof BooleanType) { | ||
@@ -982,0 +985,0 @@ const defaultValueFrom = !['0', 'false', 'f', 'n', 'no', 'off'].includes('' + from.default); |
Network access
Supply chain riskThis module accesses the network.
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
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
1030458
0.01%21690
0.01%