@faasjs/load 3.1.5 → 3.2.0
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.mts +1 -17
- package/dist/index.d.ts +1 -17
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { Config
|
|
1
|
+
import { Config, Func } from '@faasjs/func';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Load configuration from faas.yaml
|
|
5
|
-
*/
|
|
6
|
-
declare class Config {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
readonly root: string;
|
|
9
|
-
readonly filename: string;
|
|
10
|
-
readonly origin: {
|
|
11
|
-
[key: string]: Config$1;
|
|
12
|
-
defaults: Config$1;
|
|
13
|
-
};
|
|
14
|
-
readonly defaults: Config$1;
|
|
15
|
-
private readonly logger;
|
|
16
|
-
constructor(root: string, filename: string);
|
|
17
|
-
get(key: string): Config;
|
|
18
|
-
}
|
|
19
3
|
/**
|
|
20
4
|
* Load configuration from faas.yaml
|
|
21
5
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { Config
|
|
1
|
+
import { Config, Func } from '@faasjs/func';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Load configuration from faas.yaml
|
|
5
|
-
*/
|
|
6
|
-
declare class Config {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
readonly root: string;
|
|
9
|
-
readonly filename: string;
|
|
10
|
-
readonly origin: {
|
|
11
|
-
[key: string]: Config$1;
|
|
12
|
-
defaults: Config$1;
|
|
13
|
-
};
|
|
14
|
-
readonly defaults: Config$1;
|
|
15
|
-
private readonly logger;
|
|
16
|
-
constructor(root: string, filename: string);
|
|
17
|
-
get(key: string): Config;
|
|
18
|
-
}
|
|
19
3
|
/**
|
|
20
4
|
* Load configuration from faas.yaml
|
|
21
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/load",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"rollup": "*"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@faasjs/deep_merge": "3.
|
|
42
|
-
"@faasjs/func": "3.
|
|
43
|
-
"@faasjs/ts-transform": "3.
|
|
41
|
+
"@faasjs/deep_merge": "3.2.0",
|
|
42
|
+
"@faasjs/func": "3.2.0",
|
|
43
|
+
"@faasjs/ts-transform": "3.2.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/js-yaml": "*",
|
|
47
|
-
"@faasjs/deep_merge": "3.
|
|
48
|
-
"@faasjs/func": "3.
|
|
49
|
-
"@faasjs/ts-transform": "3.
|
|
47
|
+
"@faasjs/deep_merge": "3.2.0",
|
|
48
|
+
"@faasjs/func": "3.2.0",
|
|
49
|
+
"@faasjs/ts-transform": "3.2.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=22.0.0",
|