@mikro-orm/sql
Advanced tools
@@ -12,2 +12,3 @@ import { type Dictionary, type Transaction, type Type } from '@mikro-orm/core'; | ||
| 'current_timestamp(?)': string[]; | ||
| 'curdate()': string[]; | ||
| '0': string[]; | ||
@@ -14,0 +15,0 @@ }; |
@@ -8,2 +8,3 @@ import { EnumType, StringType, TextType } from '@mikro-orm/core'; | ||
| 'current_timestamp(?)': ['current_timestamp(?)'], | ||
| 'curdate()': ['(current_date)', 'curdate()'], | ||
| '0': ['0', 'false'], | ||
@@ -10,0 +11,0 @@ }; |
+2
-2
| { | ||
| "name": "@mikro-orm/sql", | ||
| "version": "7.1.6-dev.8", | ||
| "version": "7.1.6-dev.10", | ||
| "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.6-dev.8" | ||
| "@mikro-orm/core": "7.1.6-dev.10" | ||
| }, | ||
@@ -59,0 +59,0 @@ "engines": { |
@@ -897,3 +897,4 @@ import { ArrayType, BooleanType, DateTimeType, DecimalType, inspect, JsonType, parseJsonSafe, Utils, } from '@mikro-orm/core'; | ||
| return (str | ||
| ?.replace(/_\w+'(.*?)'/g, '$1') | ||
| // lookbehind: only strip a real charset introducer, never an underscore inside a literal like 'a_b' | ||
| ?.replace(/(?<![\w'])_\w+'(.*?)'/g, '$1') | ||
| .replace(/!=/g, '<>') | ||
@@ -900,0 +901,0 @@ .replace(/in\s*\((.*?)\)/gi, '= any (array[$1])') |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1049758
0.02%21969
0.01%