@leyyo/env 1.3.3 → 1.3.4

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.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export * from './field';
2
2
  export * from './scope';
3
3
  export * from './core';
4
+ export * from './index.foretell';
5
+ export * from './index.loader';
@@ -0,0 +1 @@
1
+ export declare const foretell_leyyoEnv: (() => void)[];
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.foretell_leyyoEnv = void 0;
37
+ const common_1 = require("@leyyo/common");
38
+ const enveloper_1 = require("@leyyo/enveloper");
39
+ const internal_1 = require("./internal");
40
+ const type_1 = require("@leyyo/type");
41
+ // noinspection JSUnusedGlobalSymbols
42
+ exports.foretell_leyyoEnv = [
43
+ // dependencies
44
+ ...common_1.foretell_leyyoCommon,
45
+ ...enveloper_1.foretell_leyyoEnveloper,
46
+ ...type_1.foretell_leyyoType,
47
+ () => common_1.errorPool.register({
48
+ name: 'EnvironmentError',
49
+ fqn: internal_1.FQN,
50
+ i18n: true,
51
+ emit: true,
52
+ lazyTarget: Promise.resolve().then(() => __importStar(require('./core'))).then(m => m.EnvironmentError)
53
+ }),
54
+ ];
55
+ //# sourceMappingURL=index.foretell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.foretell.js","sourceRoot":"","sources":["../src/index.foretell.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA2E;AAC3E,gDAAyD;AACzD,yCAA+B;AAC/B,sCAA+C;AAE/C,qCAAqC;AACxB,QAAA,iBAAiB,GAAG;IAC7B,eAAe;IACf,GAAG,6BAAoB;IACvB,GAAG,mCAAuB;IAC1B,GAAG,yBAAkB;IAErB,GAAG,EAAE,CAAC,kBAAS,CAAC,QAAQ,CAAC;QACrB,IAAI,EAAE,kBAAkB;QACxB,GAAG,EAAE,cAAG;QACR,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;QACV,UAAU,EAAE,kDAAO,QAAQ,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB,CAAC;KAAC,CAC9D;CACJ,CAAC"}
package/dist/index.js CHANGED
@@ -17,4 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./field"), exports);
18
18
  __exportStar(require("./scope"), exports);
19
19
  __exportStar(require("./core"), exports);
20
+ __exportStar(require("./index.foretell"), exports);
21
+ __exportStar(require("./index.loader"), exports);
20
22
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,yCAAuB;AAEvB,mDAAiC;AACjC,iDAA+B"}
@@ -0,0 +1 @@
1
+ export declare const loader_leyyoEnv: import("@leyyo/common").LoaderLike;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.loader_leyyoEnv = void 0;
37
+ const internal_1 = require("./internal");
38
+ const common_1 = require("@leyyo/common");
39
+ const enveloper_1 = require("@leyyo/enveloper");
40
+ const type_1 = require("@leyyo/type");
41
+ // noinspection JSUnusedGlobalSymbols
42
+ exports.loader_leyyoEnv = (0, common_1.defineLoader)(internal_1.FQN,
43
+ // dependencies
44
+ ...common_1.loader_leyyoCommon, ...enveloper_1.loader_leyyoEnveloper, ...type_1.loader_leyyoType,
45
+ // error
46
+ () => Promise.resolve().then(() => __importStar(require('./core'))).then(m => m.EnvironmentError),
47
+ // instances
48
+ () => Promise.resolve().then(() => __importStar(require('./core'))).then(m => m.envCore), () => Promise.resolve().then(() => __importStar(require('./core'))).then(m => m.envCore),
49
+ // classes
50
+ () => Promise.resolve().then(() => __importStar(require('./field/env-field.impl'))).then(m => m.EnvFieldImpl), () => Promise.resolve().then(() => __importStar(require('./scope/env-scope.impl'))).then(m => m.EnvScopeImpl));
51
+ //# sourceMappingURL=index.loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.loader.js","sourceRoot":"","sources":["../src/index.loader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA+B;AAC/B,0CAA+D;AAC/D,gDAAuD;AACvD,sCAA6C;AAE7C,qCAAqC;AACxB,QAAA,eAAe,GAAG,IAAA,qBAAY,EAAC,cAAG;AAC3C,eAAe;AACf,GAAG,2BAAkB,EACrB,GAAG,iCAAqB,EACxB,GAAG,uBAAgB;AAEnB,QAAQ;AACR,GAAG,EAAE,CAAC,kDAAO,QAAQ,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB,CAAC;AACpD,YAAY;AACZ,GAAG,EAAE,CAAC,kDAAO,QAAQ,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAC3C,GAAG,EAAE,CAAC,kDAAO,QAAQ,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC3C,UAAU;AACV,GAAG,EAAE,CAAC,kDAAO,wBAAwB,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,EAChE,GAAG,EAAE,CAAC,kDAAO,wBAAwB,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CACnE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leyyo/env",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Environment library",
5
5
  "keywords": [
6
6
  "env",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@leyyo/common": "^1.3.7",
55
- "@leyyo/enveloper": "^1.3.1",
55
+ "@leyyo/enveloper": "^1.3.3",
56
56
  "@leyyo/type": "^1.3.3"
57
57
  }
58
58
  }