@strapi/utils 4.12.4 → 4.12.6
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/config.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +4 -4
package/dist/config.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Config } from './types';
|
|
2
2
|
export declare const getConfigUrls: (config: Config, forAdminBuild?: boolean) => {
|
|
3
3
|
serverUrl: string;
|
|
4
|
-
adminUrl:
|
|
5
|
-
adminPath:
|
|
4
|
+
adminUrl: string;
|
|
5
|
+
adminPath: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const getAbsoluteAdminUrl: (config: Config, forAdminBuild?: boolean) =>
|
|
8
|
-
export declare const getAbsoluteServerUrl: (config: Config, forAdminBuild?: boolean) =>
|
|
7
|
+
export declare const getAbsoluteAdminUrl: (config: Config, forAdminBuild?: boolean) => string;
|
|
8
|
+
export declare const getAbsoluteServerUrl: (config: Config, forAdminBuild?: boolean) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -63,11 +63,11 @@ declare const _default: {
|
|
|
63
63
|
keysDeep: (obj: object, path?: string[]) => string[];
|
|
64
64
|
getConfigUrls: (config: import("./types").Config, forAdminBuild?: boolean) => {
|
|
65
65
|
serverUrl: string;
|
|
66
|
-
adminUrl:
|
|
67
|
-
adminPath:
|
|
66
|
+
adminUrl: string;
|
|
67
|
+
adminPath: string;
|
|
68
68
|
};
|
|
69
|
-
getAbsoluteAdminUrl: (config: import("./types").Config, forAdminBuild?: boolean) =>
|
|
70
|
-
getAbsoluteServerUrl: (config: import("./types").Config, forAdminBuild?: boolean) =>
|
|
69
|
+
getAbsoluteAdminUrl: (config: import("./types").Config, forAdminBuild?: boolean) => string;
|
|
70
|
+
getAbsoluteServerUrl: (config: import("./types").Config, forAdminBuild?: boolean) => string;
|
|
71
71
|
generateTimestampCode: (date: Date) => string;
|
|
72
72
|
contentTypes: typeof contentTypes;
|
|
73
73
|
env: (<T_1>(key: string, defaultValue?: T_1 | undefined) => string | T_1 | undefined) & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/utils",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.6",
|
|
4
4
|
"description": "Shared utilities for the Strapi packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/koa": "2.13.4",
|
|
58
|
-
"eslint-config-custom": "4.12.
|
|
58
|
+
"eslint-config-custom": "4.12.6",
|
|
59
59
|
"koa": "2.13.4",
|
|
60
60
|
"koa-body": "4.2.0",
|
|
61
|
-
"tsconfig": "4.12.
|
|
61
|
+
"tsconfig": "4.12.6"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=16.0.0 <=20.x.x",
|
|
65
65
|
"npm": ">=6.0.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "9bb6ba1e0d07c65423e99075438262540a042d76"
|
|
68
68
|
}
|