Skip to content

Commit 840e3d3

Browse files
Fix 4.1.12 patch
1 parent 05ebba3 commit 840e3d3

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

4.1.12/patches/@strapi+utils+4.1.12.patch

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
11
diff --git a/node_modules/@strapi/utils/lib/index.js b/node_modules/@strapi/utils/lib/index.js
2-
index f09547a..085a76a 100644
2+
index f09547a..6dfedfe 100644
33
--- a/node_modules/@strapi/utils/lib/index.js
44
+++ b/node_modules/@strapi/utils/lib/index.js
5-
@@ -19,12 +19,8 @@ const {
6-
stringEquals,
7-
isKebabCase,
8-
isCamelCase,
9-
- toRegressedEnumValue,
10-
- startsWithANumber,
11-
- joinBy,
12-
- toKebabCase,
5+
@@ -24,7 +24,7 @@ const {
6+
joinBy,
7+
toKebabCase,
138
} = require('./string-formatting');
149
-const { removeUndefined } = require('./object-formatting');
1510
+const { removeUndefined, keysDeep } = require('./object-formatting');
1611
const { getConfigUrls, getAbsoluteAdminUrl, getAbsoluteServerUrl } = require('./config');
1712
const { generateTimestampCode } = require('./code-generator');
1813
const contentTypes = require('./content-types');
19-
@@ -38,6 +34,7 @@ const pagination = require('./pagination');
14+
@@ -38,6 +38,7 @@ const pagination = require('./pagination');
2015
const sanitize = require('./sanitize');
2116
const traverseEntity = require('./traverse-entity');
2217
const pipeAsync = require('./pipe-async');
2318
+const template = require('./template');
2419

2520
module.exports = {
2621
yup,
27-
@@ -51,22 +48,20 @@ module.exports = {
28-
traverseEntity,
29-
parseType,
30-
nameToSlug,
31-
- toRegressedEnumValue,
32-
- startsWithANumber,
33-
- joinBy,
34-
nameToCollectionName,
35-
getCommonBeginning,
22+
@@ -59,11 +60,13 @@ module.exports = {
3623
getConfigUrls,
3724
escapeQuery,
3825
removeUndefined,
@@ -45,10 +32,7 @@ index f09547a..085a76a 100644
4532
+ template,
4633
isKebabCase,
4734
isCamelCase,
48-
- toKebabCase,
49-
contentTypes,
50-
webhook,
51-
env,
35+
toKebabCase,
5236
diff --git a/node_modules/@strapi/utils/lib/object-formatting.js b/node_modules/@strapi/utils/lib/object-formatting.js
5337
index 1d8a589..63ef7d8 100644
5438
--- a/node_modules/@strapi/utils/lib/object-formatting.js

0 commit comments

Comments
 (0)