@h3ravel/config 1.4.7 → 1.4.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/dist/index.cjs CHANGED
@@ -130,8 +130,8 @@ var ConfigRepository = class {
130
130
  //#endregion
131
131
  //#region src/EnvLoader.ts
132
132
  var EnvLoader = class {
133
- constructor(_app) {
134
- this._app = _app;
133
+ constructor(app) {
134
+ this.app = app;
135
135
  }
136
136
  get(key, def) {
137
137
  return (0, __h3ravel_support.safeDot)(__h3ravel_shared.EnvParser.parse(process.env), key) ?? def;
package/dist/index.d.cts CHANGED
@@ -58,8 +58,8 @@ declare class ConfigRepository {
58
58
  //#endregion
59
59
  //#region src/EnvLoader.d.ts
60
60
  declare class EnvLoader {
61
- protected _app: Application;
62
- constructor(_app: Application);
61
+ protected app?: Application | undefined;
62
+ constructor(app?: Application | undefined);
63
63
  /**
64
64
  * Get the defined environment vars
65
65
  */
package/dist/index.d.ts CHANGED
@@ -58,8 +58,8 @@ declare class ConfigRepository {
58
58
  //#endregion
59
59
  //#region src/EnvLoader.d.ts
60
60
  declare class EnvLoader {
61
- protected _app: Application;
62
- constructor(_app: Application);
61
+ protected app?: Application | undefined;
62
+ constructor(app?: Application | undefined);
63
63
  /**
64
64
  * Get the defined environment vars
65
65
  */
package/dist/index.js CHANGED
@@ -101,8 +101,8 @@ var ConfigRepository = class {
101
101
  //#endregion
102
102
  //#region src/EnvLoader.ts
103
103
  var EnvLoader = class {
104
- constructor(_app) {
105
- this._app = _app;
104
+ constructor(app) {
105
+ this.app = app;
106
106
  }
107
107
  get(key, def) {
108
108
  return safeDot(EnvParser.parse(process.env), key) ?? def;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/config",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "Environment/config loading and management system for H3ravel.",
5
5
  "h3ravel": {
6
6
  "providers": [
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "tsx": "^4.20.5",
50
50
  "typescript": "^5.9.2",
51
- "@h3ravel/core": "^1.18.0"
51
+ "@h3ravel/core": "^1.19.1"
52
52
  },
53
53
  "scripts": {
54
54
  "barrel": "barrelsby --directory src --delete --singleQuotes",