sql-typechecker 0.0.106 → 0.0.108
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/out/cli.js +0 -12
- package/out/cli.js.map +1 -1
- package/out/typeparsers.js +1 -16
- package/out/typeparsers.js.map +2 -2
- package/package.json +1 -1
package/out/typeparsers.js
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as topLevelCreateRequire } from 'module';
|
|
3
|
-
import { fileURLToPath as topLevelFileURLToPath } from 'url';
|
|
4
|
-
import { dirname as topLevelDirname } from 'path';
|
|
5
|
-
const __bundleRequire = topLevelCreateRequire(import.meta.url);
|
|
6
|
-
const __bundleFilename = topLevelFileURLToPath(import.meta.url);
|
|
7
|
-
const __bundleDirname = topLevelDirname(__bundleFilename);
|
|
8
|
-
|
|
9
|
-
// Make these variables available globally for compatibility
|
|
10
|
-
globalThis.require = __bundleRequire;
|
|
11
|
-
globalThis.__filename = __bundleFilename;
|
|
12
|
-
globalThis.__dirname = __bundleDirname;
|
|
13
|
-
|
|
14
2
|
"use strict";
|
|
15
3
|
var __create = Object.create;
|
|
16
4
|
var __defProp = Object.defineProperty;
|
|
@@ -4783,10 +4771,7 @@ function registerSqlTypecheckerTypeParsers() {
|
|
|
4783
4771
|
import_pg.types.setTypeParser(import_pg.types.builtins.TIME, (v) => v);
|
|
4784
4772
|
import_pg.types.setTypeParser(import_pg.types.builtins.TIMESTAMP, (v) => v);
|
|
4785
4773
|
import_pg.types.setTypeParser(import_pg.types.builtins.TIMESTAMPTZ, (v) => v);
|
|
4786
|
-
import_pg.types.setTypeParser(
|
|
4787
|
-
import_pg.types.builtins.MONEY,
|
|
4788
|
-
import_pg.types.getTypeParser(import_pg.types.builtins.NUMERIC)
|
|
4789
|
-
);
|
|
4774
|
+
import_pg.types.setTypeParser(import_pg.types.builtins.MONEY, (v) => v);
|
|
4790
4775
|
import_pg.types.setTypeParser(3908, import_postgres_range.default.parse);
|
|
4791
4776
|
import_pg.types.setTypeParser(3910, import_postgres_range.default.parse);
|
|
4792
4777
|
import_pg.types.setTypeParser(3912, import_postgres_range.default.parse);
|