@power-plant/core 0.0.94 → 0.0.95
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.
|
@@ -36,7 +36,7 @@ function isOutputConfigObject(config) {
|
|
|
36
36
|
* @returns True if the configuration is a {@link FormatterConfigObject}, false otherwise.
|
|
37
37
|
*/
|
|
38
38
|
function isFormatterConfigObject(config) {
|
|
39
|
-
return (0, _stryke_type_checks_is_set_object.isSetObject)(config) && "
|
|
39
|
+
return (0, _stryke_type_checks_is_set_object.isSetObject)(config) && "format" in config && config.format !== void 0;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Checks if the provided configuration is a {@link SchemaConfigObject}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-checks.d.cts","names":[],"sources":["../../src/helpers/type-checks.ts"],"mappings":";;;;;;;;;iBAiCgB,wBACd,OACA,yBACA,iBACA,kBAAkB,UAAU,sBAAsB,OAAO,UAAU;;;;;;;iBAcrD,oBAAoB,OAAO,yBACzC,iBACC,SAAS,kBAAkB,OAAO;;;;;;;iBAUrB,qBACd,OACA,yBACA,iBACA,kBAAkB,UAAU,mBAAmB,OAAO,UAAU;;;;;;;iBAYlD,wBAAwB,OAAO,yBAC7C,kBACC,UAAU,sBAAsB,OAAO;;;;;;;
|
|
1
|
+
{"version":3,"file":"type-checks.d.cts","names":[],"sources":["../../src/helpers/type-checks.ts"],"mappings":";;;;;;;;;iBAiCgB,wBACd,OACA,yBACA,iBACA,kBAAkB,UAAU,sBAAsB,OAAO,UAAU;;;;;;;iBAcrD,oBAAoB,OAAO,yBACzC,iBACC,SAAS,kBAAkB,OAAO;;;;;;;iBAUrB,qBACd,OACA,yBACA,iBACA,kBAAkB,UAAU,mBAAmB,OAAO,UAAU;;;;;;;iBAYlD,wBAAwB,OAAO,yBAC7C,kBACC,UAAU,sBAAsB,OAAO;;;;;;;iBAY1B,qBAAqB,OACnC,kBACC,UAAU,mBAAmB"}
|
|
@@ -35,7 +35,7 @@ function isOutputConfigObject(config) {
|
|
|
35
35
|
* @returns True if the configuration is a {@link FormatterConfigObject}, false otherwise.
|
|
36
36
|
*/
|
|
37
37
|
function isFormatterConfigObject(config) {
|
|
38
|
-
return isSetObject(config) && "
|
|
38
|
+
return isSetObject(config) && "format" in config && config.format !== void 0;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Checks if the provided configuration is a {@link SchemaConfigObject}.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "☢️ Generate anything from a specification",
|
|
6
6
|
"keywords": ["power-plant", "storm-software"],
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"typings": "dist/index.d.mts",
|
|
161
161
|
"files": ["dist"],
|
|
162
162
|
"dependencies": {
|
|
163
|
-
"@power-plant/schema": "^0.0.
|
|
163
|
+
"@power-plant/schema": "^0.0.93",
|
|
164
164
|
"@stryke/convert": "^0.7.47",
|
|
165
165
|
"@stryke/date": "^0.0.28",
|
|
166
166
|
"@stryke/env": "^0.20.135",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"c12": "^3.3.4",
|
|
177
177
|
"defu": "^6.1.7",
|
|
178
178
|
"jiti": "^2.7.0",
|
|
179
|
-
"unstorage": "^1.17.
|
|
179
|
+
"unstorage": "^1.17.6"
|
|
180
180
|
},
|
|
181
181
|
"devDependencies": {
|
|
182
182
|
"@powerlines/plugin-tsdown": "^0.1.615",
|
|
@@ -184,5 +184,5 @@
|
|
|
184
184
|
"typescript": "^6.0.3"
|
|
185
185
|
},
|
|
186
186
|
"publishConfig": { "access": "public" },
|
|
187
|
-
"gitHead": "
|
|
187
|
+
"gitHead": "cd26fe271776c693bba8d7ba9681dec415a2964f"
|
|
188
188
|
}
|