@fabrika/platform-node 0.9.0-dev.7 → 0.9.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/sql-names.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabrika/platform-node",
|
|
3
|
-
"version": "0.9.0-dev.
|
|
3
|
+
"version": "0.9.0-dev.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"test": "bun test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@fabrika/platform": "0.9.0-dev.
|
|
41
|
+
"@fabrika/platform": "0.9.0-dev.9"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/sql-names.ts
CHANGED
|
@@ -588,7 +588,8 @@ const PAVED_FUNCTIONS: ReadonlySet<string> = new Set([
|
|
|
588
588
|
* Reviewed `pg_catalog` functions a function body, a view or a backfill may call, and a stored expression may call as
|
|
589
589
|
* a deviation: pure string, number, date, JSON, array, text-search and aggregate functions, `pg_sleep`, and the
|
|
590
590
|
* built-in trigger function. None runs SQL from a string, touches a file, a large object, a lock, a setting, another
|
|
591
|
-
* database or a sequence named by a string.
|
|
591
|
+
* database or a sequence named by a string. SQLite's `randomblob` and `hex` are here beside `random`: SQLite has no
|
|
592
|
+
* `gen_random_uuid`, and a Cloudflare backfill builds a key from them.
|
|
592
593
|
*/
|
|
593
594
|
const REVIEWED_FUNCTIONS: ReadonlySet<string> = new Set([
|
|
594
595
|
'concat',
|
|
@@ -630,6 +631,8 @@ const REVIEWED_FUNCTIONS: ReadonlySet<string> = new Set([
|
|
|
630
631
|
'sign',
|
|
631
632
|
'div',
|
|
632
633
|
'random',
|
|
634
|
+
'randomblob',
|
|
635
|
+
'hex',
|
|
633
636
|
'age',
|
|
634
637
|
'clock_timestamp',
|
|
635
638
|
'statement_timestamp',
|