bun-query-builder 0.1.7 → 0.1.8
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/dist/index.js +4 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
|
28
28
|
var __promiseAll = (args) => Promise.all(args);
|
|
29
29
|
var __require = import.meta.require;
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.bun/bunfig@0.15.
|
|
31
|
+
// ../../node_modules/.bun/bunfig@0.15.6/node_modules/bunfig/dist/index.js
|
|
32
32
|
import { existsSync, statSync } from "fs";
|
|
33
33
|
import { existsSync as existsSync8, mkdirSync as mkdirSync3, readdirSync as readdirSync3, writeFileSync as writeFileSync5 } from "fs";
|
|
34
34
|
import { homedir as homedir2 } from "os";
|
|
@@ -4318,7 +4318,7 @@ class ConfigValidator {
|
|
|
4318
4318
|
{ path: "timeout", type: "number", min: 0 }
|
|
4319
4319
|
],
|
|
4320
4320
|
api: [
|
|
4321
|
-
{ path: "baseUrl", required: true, type: "string", pattern:
|
|
4321
|
+
{ path: "baseUrl", required: true, type: "string", pattern: URL_PATTERN },
|
|
4322
4322
|
{ path: "timeout", type: "number", min: 0 },
|
|
4323
4323
|
{ path: "retries", type: "number", min: 0, max: 10 }
|
|
4324
4324
|
]
|
|
@@ -4731,7 +4731,7 @@ function applyEnvVarsToConfig2(name, config4, verbose = false) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return processConfigLevel(config4);
|
|
4733
4733
|
}
|
|
4734
|
-
var globalCache, globalPerformanceMonitor, defaultConfigDir, defaultGeneratedDir, defaultLogDirectory, defaultConfig, config, terminalStyles, styles, red, green, yellow, blue, magenta, cyan, white, gray, bgRed, bgYellow, bold, dim, italic, underline, reset, defaultFingersCrossedConfig, levelIcons, logger, log, defaultConfigDir2, defaultGeneratedDir2, defaultLogDirectory2, defaultConfig2, config2, terminalStyles2, styles2, red2, green2, yellow2, blue2, magenta2, cyan2, white2, gray2, bgRed2, bgYellow2, bgGray, bold2, dim2, italic2, underline2, strikethrough, reset2, defaultFingersCrossedConfig2, levelIcons2, logger2, BunfigError, ConfigNotFoundError, ConfigLoadError, ConfigValidationError, ConfigMergeError, EnvVarError, FileSystemError, TypeGenerationError, SchemaValidationError, BrowserConfigError, PluginError, ErrorFactory, log2, globalConfigLoader, defaultConfigDir3, defaultGeneratedDir3;
|
|
4734
|
+
var globalCache, globalPerformanceMonitor, defaultConfigDir, defaultGeneratedDir, defaultLogDirectory, defaultConfig, config, terminalStyles, styles, red, green, yellow, blue, magenta, cyan, white, gray, bgRed, bgYellow, bold, dim, italic, underline, reset, defaultFingersCrossedConfig, levelIcons, logger, log, defaultConfigDir2, defaultGeneratedDir2, defaultLogDirectory2, defaultConfig2, config2, terminalStyles2, styles2, red2, green2, yellow2, blue2, magenta2, cyan2, white2, gray2, bgRed2, bgYellow2, bgGray, bold2, dim2, italic2, underline2, strikethrough, reset2, defaultFingersCrossedConfig2, levelIcons2, logger2, BunfigError, ConfigNotFoundError, ConfigLoadError, ConfigValidationError, ConfigMergeError, EnvVarError, FileSystemError, TypeGenerationError, SchemaValidationError, BrowserConfigError, PluginError, ErrorFactory, URL_PATTERN, log2, globalConfigLoader, defaultConfigDir3, defaultGeneratedDir3;
|
|
4735
4735
|
var init_dist = __esm(async () => {
|
|
4736
4736
|
globalCache = new ConfigCache;
|
|
4737
4737
|
globalPerformanceMonitor = new PerformanceMonitor;
|
|
@@ -5065,6 +5065,7 @@ var init_dist = __esm(async () => {
|
|
|
5065
5065
|
return new PluginError(pluginName, operation, cause);
|
|
5066
5066
|
}
|
|
5067
5067
|
};
|
|
5068
|
+
URL_PATTERN = /^https?:\/\//;
|
|
5068
5069
|
log2 = new Logger2("bunfig", {
|
|
5069
5070
|
showTags: true
|
|
5070
5071
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-query-builder",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.8",
|
|
5
5
|
"description": "A simple yet performant query builder for TypeScript. Built with Bun.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"ts-mocker": "^0.1.5"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"bunfig": "^0.15.
|
|
77
|
+
"bunfig": "^0.15.6"
|
|
78
78
|
},
|
|
79
79
|
"overrides": {
|
|
80
80
|
"unconfig": "0.3.10"
|