@kontent-ai/core-sdk 10.12.7 → 10.12.8
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/cjs/http/http.functions.js +7 -3
- package/dist/cjs/http/http.functions.js.map +1 -1
- package/dist/cjs/sdk-info.generated.js +1 -1
- package/dist/es6/http/http.functions.js +7 -3
- package/dist/es6/http/http.functions.js.map +1 -1
- package/dist/es6/sdk-info.generated.js +1 -1
- package/dist/esnext/http/http.functions.js +7 -3
- package/dist/esnext/http/http.functions.js.map +1 -1
- package/dist/esnext/sdk-info.generated.js +1 -1
- package/dist/umd/kontent-core.umd.js +7 -3
- package/dist/umd/kontent-core.umd.js.map +1 -1
- package/dist/umd/kontent-core.umd.min.js +1 -1
- package/dist/umd/kontent-core.umd.min.js.map +1 -1
- package/dist/umd/report.json +1 -1
- package/dist/umd/report.min.json +1 -1
- package/dist/umd/stats.json +22 -22
- package/dist/umd/stats.min.json +34 -34
- package/lib/http/http.functions.ts +8 -3
- package/lib/sdk-info.generated.ts +1 -1
- package/package.json +1 -1
package/dist/umd/report.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"label":"kontent-core.umd.js","isAsset":true,"statSize":
|
|
1
|
+
[{"label":"kontent-core.umd.js","isAsset":true,"statSize":176578,"parsedSize":184032,"gzipSize":44804,"groups":[{"label":"lib","path":"./lib","statSize":34727,"groups":[{"label":"helpers","path":"./lib/helpers","statSize":8352,"groups":[{"id":"./lib/helpers/header.helper.ts","label":"header.helper.ts","path":"./lib/helpers/header.helper.ts","statSize":627},{"id":"./lib/helpers/headers-helper.ts","label":"headers-helper.ts","path":"./lib/helpers/headers-helper.ts","statSize":481},{"id":"./lib/helpers/index.ts","label":"index.ts","path":"./lib/helpers/index.ts","statSize":958},{"id":"./lib/helpers/retry-helper.ts","label":"retry-helper.ts","path":"./lib/helpers/retry-helper.ts","statSize":5563},{"id":"./lib/helpers/url.helper.ts","label":"url.helper.ts","path":"./lib/helpers/url.helper.ts","statSize":723}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./lib/http","statSize":23585,"groups":[{"id":"./lib/http/http.debugger.ts","label":"http.debugger.ts","path":"./lib/http/http.debugger.ts","statSize":513},{"id":"./lib/http/http.functions.ts","label":"http.functions.ts","path":"./lib/http/http.functions.ts","statSize":18079},{"id":"./lib/http/http.models.ts","label":"http.models.ts","path":"./lib/http/http.models.ts","statSize":77},{"id":"./lib/http/http.service.ts","label":"http.service.ts","path":"./lib/http/http.service.ts","statSize":2619},{"id":"./lib/http/ihttp.service.ts","label":"ihttp.service.ts","path":"./lib/http/ihttp.service.ts","statSize":77},{"id":"./lib/http/index.ts","label":"index.ts","path":"./lib/http/index.ts","statSize":1065},{"id":"./lib/http/test-http.service.ts","label":"test-http.service.ts","path":"./lib/http/test-http.service.ts","statSize":1155}],"parsedSize":0,"gzipSize":0},{"id":"./lib/index.ts","label":"index.ts","path":"./lib/index.ts","statSize":905,"parsedSize":184018,"gzipSize":44804},{"label":"models","path":"./lib/models","statSize":1885,"groups":[{"id":"./lib/models/index.ts","label":"index.ts","path":"./lib/models/index.ts","statSize":900},{"id":"./lib/models/isdk-info.ts","label":"isdk-info.ts","path":"./lib/models/isdk-info.ts","statSize":77},{"id":"./lib/models/parameters.ts","label":"parameters.ts","path":"./lib/models/parameters.ts","statSize":831},{"id":"./lib/models/url.models.ts","label":"url.models.ts","path":"./lib/models/url.models.ts","statSize":77}],"parsedSize":0,"gzipSize":0}],"parsedSize":184018,"gzipSize":44804},{"label":"node_modules/axios/dist/browser","path":"./node_modules/axios/dist/browser","statSize":141851,"groups":[{"id":"./node_modules/axios/dist/browser/axios.cjs","label":"axios.cjs","path":"./node_modules/axios/dist/browser/axios.cjs","statSize":141851}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"index":true}}]
|
package/dist/umd/report.min.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"label":"kontent-core.umd.min.js","isAsset":true,"statSize":
|
|
1
|
+
[{"label":"kontent-core.umd.min.js","isAsset":true,"statSize":176578,"parsedSize":60814,"gzipSize":19802,"groups":[{"label":"lib","path":"./lib","statSize":34727,"groups":[{"label":"helpers","path":"./lib/helpers","statSize":8352,"groups":[{"id":954,"label":"header.helper.ts","path":"./lib/helpers/header.helper.ts","statSize":627},{"id":482,"label":"headers-helper.ts","path":"./lib/helpers/headers-helper.ts","statSize":481},{"id":191,"label":"index.ts","path":"./lib/helpers/index.ts","statSize":958},{"id":722,"label":"retry-helper.ts","path":"./lib/helpers/retry-helper.ts","statSize":5563},{"id":314,"label":"url.helper.ts","path":"./lib/helpers/url.helper.ts","statSize":723}],"parsedSize":0,"gzipSize":0},{"label":"http","path":"./lib/http","statSize":23585,"groups":[{"id":915,"label":"http.debugger.ts","path":"./lib/http/http.debugger.ts","statSize":513},{"id":347,"label":"http.functions.ts","path":"./lib/http/http.functions.ts","statSize":18079},{"id":414,"label":"http.models.ts","path":"./lib/http/http.models.ts","statSize":77},{"id":25,"label":"http.service.ts","path":"./lib/http/http.service.ts","statSize":2619},{"id":148,"label":"ihttp.service.ts","path":"./lib/http/ihttp.service.ts","statSize":77},{"id":562,"label":"index.ts","path":"./lib/http/index.ts","statSize":1065},{"id":216,"label":"test-http.service.ts","path":"./lib/http/test-http.service.ts","statSize":1155}],"parsedSize":0,"gzipSize":0},{"id":245,"label":"index.ts","path":"./lib/index.ts","statSize":905,"parsedSize":60814,"gzipSize":19802},{"label":"models","path":"./lib/models","statSize":1885,"groups":[{"id":492,"label":"index.ts","path":"./lib/models/index.ts","statSize":900},{"id":860,"label":"isdk-info.ts","path":"./lib/models/isdk-info.ts","statSize":77},{"id":958,"label":"parameters.ts","path":"./lib/models/parameters.ts","statSize":831},{"id":133,"label":"url.models.ts","path":"./lib/models/url.models.ts","statSize":77}],"parsedSize":0,"gzipSize":0}],"parsedSize":60814,"gzipSize":19802},{"label":"node_modules/axios/dist/browser","path":"./node_modules/axios/dist/browser","statSize":141851,"groups":[{"id":425,"label":"axios.cjs","path":"./node_modules/axios/dist/browser/axios.cjs","statSize":141851}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"index":true}}]
|
package/dist/umd/stats.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
2
|
+
"hash": "200fd041210a72de3a77",
|
|
3
3
|
"version": "5.106.1",
|
|
4
|
-
"time":
|
|
5
|
-
"builtAt":
|
|
4
|
+
"time": 655,
|
|
5
|
+
"builtAt": 1784550165731,
|
|
6
6
|
"publicPath": "auto",
|
|
7
7
|
"outputPath": "/Users/richards/dev/core-sdk-js/dist/umd",
|
|
8
8
|
"assetsByChunkName": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"type": "asset",
|
|
17
17
|
"name": "kontent-core.umd.js",
|
|
18
|
-
"size":
|
|
18
|
+
"size": 184032,
|
|
19
19
|
"emitted": true,
|
|
20
20
|
"comparedForEmit": false,
|
|
21
21
|
"cached": false,
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"related": {
|
|
25
25
|
"sourceMap": "kontent-core.umd.js.map"
|
|
26
26
|
},
|
|
27
|
-
"size":
|
|
27
|
+
"size": 184032
|
|
28
28
|
},
|
|
29
29
|
"chunkNames": [
|
|
30
30
|
"index"
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
{
|
|
38
38
|
"type": "sourceMap",
|
|
39
39
|
"name": "kontent-core.umd.js.map",
|
|
40
|
-
"size":
|
|
40
|
+
"size": 228843,
|
|
41
41
|
"emitted": true,
|
|
42
42
|
"comparedForEmit": false,
|
|
43
43
|
"cached": false,
|
|
44
44
|
"info": {
|
|
45
45
|
"development": true,
|
|
46
|
-
"size":
|
|
46
|
+
"size": 228843
|
|
47
47
|
},
|
|
48
48
|
"chunkNames": [],
|
|
49
49
|
"chunkIdHints": [],
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"initial": true,
|
|
73
73
|
"entry": true,
|
|
74
74
|
"recorded": false,
|
|
75
|
-
"size":
|
|
75
|
+
"size": 176799,
|
|
76
76
|
"sizes": {
|
|
77
|
-
"javascript":
|
|
77
|
+
"javascript": 176578,
|
|
78
78
|
"runtime": 221
|
|
79
79
|
},
|
|
80
80
|
"names": [
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"auxiliaryFiles": [
|
|
91
91
|
"kontent-core.umd.js.map"
|
|
92
92
|
],
|
|
93
|
-
"hash": "
|
|
93
|
+
"hash": "ddbe2306d9e62695c2ab",
|
|
94
94
|
"childrenByOrder": {},
|
|
95
95
|
"id": "index",
|
|
96
96
|
"siblings": [],
|
|
@@ -692,9 +692,9 @@
|
|
|
692
692
|
"type": "module",
|
|
693
693
|
"moduleType": "javascript/auto",
|
|
694
694
|
"layer": null,
|
|
695
|
-
"size":
|
|
695
|
+
"size": 18079,
|
|
696
696
|
"sizes": {
|
|
697
|
-
"javascript":
|
|
697
|
+
"javascript": 18079
|
|
698
698
|
},
|
|
699
699
|
"built": true,
|
|
700
700
|
"codeGenerated": true,
|
|
@@ -3434,9 +3434,9 @@
|
|
|
3434
3434
|
"type": "module",
|
|
3435
3435
|
"moduleType": "javascript/auto",
|
|
3436
3436
|
"layer": null,
|
|
3437
|
-
"size":
|
|
3437
|
+
"size": 18079,
|
|
3438
3438
|
"sizes": {
|
|
3439
|
-
"javascript":
|
|
3439
|
+
"javascript": 18079
|
|
3440
3440
|
},
|
|
3441
3441
|
"built": true,
|
|
3442
3442
|
"codeGenerated": true,
|
|
@@ -3907,19 +3907,19 @@
|
|
|
3907
3907
|
"assets": [
|
|
3908
3908
|
{
|
|
3909
3909
|
"name": "kontent-core.umd.js",
|
|
3910
|
-
"size":
|
|
3910
|
+
"size": 184032
|
|
3911
3911
|
}
|
|
3912
3912
|
],
|
|
3913
3913
|
"filteredAssets": 0,
|
|
3914
|
-
"assetsSize":
|
|
3914
|
+
"assetsSize": 184032,
|
|
3915
3915
|
"auxiliaryAssets": [
|
|
3916
3916
|
{
|
|
3917
3917
|
"name": "kontent-core.umd.js.map",
|
|
3918
|
-
"size":
|
|
3918
|
+
"size": 228843
|
|
3919
3919
|
}
|
|
3920
3920
|
],
|
|
3921
3921
|
"filteredAuxiliaryAssets": 0,
|
|
3922
|
-
"auxiliaryAssetsSize":
|
|
3922
|
+
"auxiliaryAssetsSize": 228843,
|
|
3923
3923
|
"children": {},
|
|
3924
3924
|
"childAssets": {},
|
|
3925
3925
|
"isOverSizeLimit": false
|
|
@@ -3934,19 +3934,19 @@
|
|
|
3934
3934
|
"assets": [
|
|
3935
3935
|
{
|
|
3936
3936
|
"name": "kontent-core.umd.js",
|
|
3937
|
-
"size":
|
|
3937
|
+
"size": 184032
|
|
3938
3938
|
}
|
|
3939
3939
|
],
|
|
3940
3940
|
"filteredAssets": 0,
|
|
3941
|
-
"assetsSize":
|
|
3941
|
+
"assetsSize": 184032,
|
|
3942
3942
|
"auxiliaryAssets": [
|
|
3943
3943
|
{
|
|
3944
3944
|
"name": "kontent-core.umd.js.map",
|
|
3945
|
-
"size":
|
|
3945
|
+
"size": 228843
|
|
3946
3946
|
}
|
|
3947
3947
|
],
|
|
3948
3948
|
"filteredAuxiliaryAssets": 0,
|
|
3949
|
-
"auxiliaryAssetsSize":
|
|
3949
|
+
"auxiliaryAssetsSize": 228843,
|
|
3950
3950
|
"children": {},
|
|
3951
3951
|
"childAssets": {},
|
|
3952
3952
|
"isOverSizeLimit": false
|
package/dist/umd/stats.min.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
2
|
+
"hash": "76c65eed736bb067d781",
|
|
3
3
|
"version": "5.106.1",
|
|
4
|
-
"time":
|
|
5
|
-
"builtAt":
|
|
4
|
+
"time": 1082,
|
|
5
|
+
"builtAt": 1784550167418,
|
|
6
6
|
"publicPath": "auto",
|
|
7
7
|
"outputPath": "/Users/richards/dev/core-sdk-js/dist/umd",
|
|
8
8
|
"assetsByChunkName": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"type": "asset",
|
|
17
17
|
"name": "kontent-core.umd.min.js",
|
|
18
|
-
"size":
|
|
18
|
+
"size": 60814,
|
|
19
19
|
"emitted": true,
|
|
20
20
|
"comparedForEmit": false,
|
|
21
21
|
"cached": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "kontent-core.umd.min.js.LICENSE.txt",
|
|
27
27
|
"sourceMap": "kontent-core.umd.min.js.map"
|
|
28
28
|
},
|
|
29
|
-
"size":
|
|
29
|
+
"size": 60814
|
|
30
30
|
},
|
|
31
31
|
"chunkNames": [
|
|
32
32
|
"index"
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
{
|
|
40
40
|
"type": "sourceMap",
|
|
41
41
|
"name": "kontent-core.umd.min.js.map",
|
|
42
|
-
"size":
|
|
42
|
+
"size": 259719,
|
|
43
43
|
"emitted": true,
|
|
44
44
|
"comparedForEmit": false,
|
|
45
45
|
"cached": false,
|
|
46
46
|
"info": {
|
|
47
47
|
"development": true,
|
|
48
|
-
"size":
|
|
48
|
+
"size": 259719
|
|
49
49
|
},
|
|
50
50
|
"chunkNames": [],
|
|
51
51
|
"chunkIdHints": [],
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"initial": true,
|
|
95
95
|
"entry": true,
|
|
96
96
|
"recorded": false,
|
|
97
|
-
"size":
|
|
97
|
+
"size": 176799,
|
|
98
98
|
"sizes": {
|
|
99
|
-
"javascript":
|
|
99
|
+
"javascript": 176578,
|
|
100
100
|
"runtime": 221
|
|
101
101
|
},
|
|
102
102
|
"names": [
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"auxiliaryFiles": [
|
|
113
113
|
"kontent-core.umd.min.js.map"
|
|
114
114
|
],
|
|
115
|
-
"hash": "
|
|
115
|
+
"hash": "7d9b5048caf4cd5162fa",
|
|
116
116
|
"childrenByOrder": {},
|
|
117
117
|
"id": 57,
|
|
118
118
|
"siblings": [],
|
|
@@ -731,9 +731,9 @@
|
|
|
731
731
|
"type": "module",
|
|
732
732
|
"moduleType": "javascript/auto",
|
|
733
733
|
"layer": null,
|
|
734
|
-
"size":
|
|
734
|
+
"size": 18079,
|
|
735
735
|
"sizes": {
|
|
736
|
-
"javascript":
|
|
736
|
+
"javascript": 18079
|
|
737
737
|
},
|
|
738
738
|
"built": true,
|
|
739
739
|
"codeGenerated": true,
|
|
@@ -1952,8 +1952,8 @@
|
|
|
1952
1952
|
"optional": false,
|
|
1953
1953
|
"orphan": false,
|
|
1954
1954
|
"dependent": true,
|
|
1955
|
-
"issuer": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.
|
|
1956
|
-
"issuerName": "./lib/http/http.
|
|
1955
|
+
"issuer": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.functions.ts",
|
|
1956
|
+
"issuerName": "./lib/http/http.functions.ts",
|
|
1957
1957
|
"issuerPath": [
|
|
1958
1958
|
{
|
|
1959
1959
|
"identifier": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/index.ts",
|
|
@@ -1966,16 +1966,16 @@
|
|
|
1966
1966
|
"id": 562
|
|
1967
1967
|
},
|
|
1968
1968
|
{
|
|
1969
|
-
"identifier": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.
|
|
1970
|
-
"name": "./lib/http/http.
|
|
1971
|
-
"id":
|
|
1969
|
+
"identifier": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.functions.ts",
|
|
1970
|
+
"name": "./lib/http/http.functions.ts",
|
|
1971
|
+
"id": 347
|
|
1972
1972
|
}
|
|
1973
1973
|
],
|
|
1974
1974
|
"failed": false,
|
|
1975
1975
|
"errors": 0,
|
|
1976
1976
|
"warnings": 0,
|
|
1977
1977
|
"id": 425,
|
|
1978
|
-
"issuerId":
|
|
1978
|
+
"issuerId": 347,
|
|
1979
1979
|
"chunks": [
|
|
1980
1980
|
57
|
|
1981
1981
|
],
|
|
@@ -3537,9 +3537,9 @@
|
|
|
3537
3537
|
"type": "module",
|
|
3538
3538
|
"moduleType": "javascript/auto",
|
|
3539
3539
|
"layer": null,
|
|
3540
|
-
"size":
|
|
3540
|
+
"size": 18079,
|
|
3541
3541
|
"sizes": {
|
|
3542
|
-
"javascript":
|
|
3542
|
+
"javascript": 18079
|
|
3543
3543
|
},
|
|
3544
3544
|
"built": true,
|
|
3545
3545
|
"codeGenerated": true,
|
|
@@ -3897,8 +3897,8 @@
|
|
|
3897
3897
|
"cacheable": true,
|
|
3898
3898
|
"optional": false,
|
|
3899
3899
|
"orphan": false,
|
|
3900
|
-
"issuer": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.
|
|
3901
|
-
"issuerName": "./lib/http/http.
|
|
3900
|
+
"issuer": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.functions.ts",
|
|
3901
|
+
"issuerName": "./lib/http/http.functions.ts",
|
|
3902
3902
|
"issuerPath": [
|
|
3903
3903
|
{
|
|
3904
3904
|
"identifier": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/index.ts",
|
|
@@ -3911,16 +3911,16 @@
|
|
|
3911
3911
|
"id": 562
|
|
3912
3912
|
},
|
|
3913
3913
|
{
|
|
3914
|
-
"identifier": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.
|
|
3915
|
-
"name": "./lib/http/http.
|
|
3916
|
-
"id":
|
|
3914
|
+
"identifier": "/Users/richards/dev/core-sdk-js/node_modules/ts-loader/index.js??ruleSet[1].rules[0]!/Users/richards/dev/core-sdk-js/lib/http/http.functions.ts",
|
|
3915
|
+
"name": "./lib/http/http.functions.ts",
|
|
3916
|
+
"id": 347
|
|
3917
3917
|
}
|
|
3918
3918
|
],
|
|
3919
3919
|
"failed": false,
|
|
3920
3920
|
"errors": 0,
|
|
3921
3921
|
"warnings": 0,
|
|
3922
3922
|
"id": 425,
|
|
3923
|
-
"issuerId":
|
|
3923
|
+
"issuerId": 347,
|
|
3924
3924
|
"chunks": [
|
|
3925
3925
|
57
|
|
3926
3926
|
],
|
|
@@ -4023,19 +4023,19 @@
|
|
|
4023
4023
|
"assets": [
|
|
4024
4024
|
{
|
|
4025
4025
|
"name": "kontent-core.umd.min.js",
|
|
4026
|
-
"size":
|
|
4026
|
+
"size": 60814
|
|
4027
4027
|
}
|
|
4028
4028
|
],
|
|
4029
4029
|
"filteredAssets": 0,
|
|
4030
|
-
"assetsSize":
|
|
4030
|
+
"assetsSize": 60814,
|
|
4031
4031
|
"auxiliaryAssets": [
|
|
4032
4032
|
{
|
|
4033
4033
|
"name": "kontent-core.umd.min.js.map",
|
|
4034
|
-
"size":
|
|
4034
|
+
"size": 259719
|
|
4035
4035
|
}
|
|
4036
4036
|
],
|
|
4037
4037
|
"filteredAuxiliaryAssets": 0,
|
|
4038
|
-
"auxiliaryAssetsSize":
|
|
4038
|
+
"auxiliaryAssetsSize": 259719,
|
|
4039
4039
|
"children": {},
|
|
4040
4040
|
"childAssets": {},
|
|
4041
4041
|
"isOverSizeLimit": false
|
|
@@ -4050,19 +4050,19 @@
|
|
|
4050
4050
|
"assets": [
|
|
4051
4051
|
{
|
|
4052
4052
|
"name": "kontent-core.umd.min.js",
|
|
4053
|
-
"size":
|
|
4053
|
+
"size": 60814
|
|
4054
4054
|
}
|
|
4055
4055
|
],
|
|
4056
4056
|
"filteredAssets": 0,
|
|
4057
|
-
"assetsSize":
|
|
4057
|
+
"assetsSize": 60814,
|
|
4058
4058
|
"auxiliaryAssets": [
|
|
4059
4059
|
{
|
|
4060
4060
|
"name": "kontent-core.umd.min.js.map",
|
|
4061
|
-
"size":
|
|
4061
|
+
"size": 259719
|
|
4062
4062
|
}
|
|
4063
4063
|
],
|
|
4064
4064
|
"filteredAuxiliaryAssets": 0,
|
|
4065
|
-
"auxiliaryAssetsSize":
|
|
4065
|
+
"auxiliaryAssetsSize": 259719,
|
|
4066
4066
|
"children": {},
|
|
4067
4067
|
"childAssets": {},
|
|
4068
4068
|
"isOverSizeLimit": false
|
|
@@ -350,11 +350,16 @@ function redactSecretsInPlace(target: unknown, secrets: string[], seen: WeakSet<
|
|
|
350
350
|
}
|
|
351
351
|
seen.add(target);
|
|
352
352
|
|
|
353
|
-
|
|
353
|
+
const container = target as Record<PropertyKey, unknown>;
|
|
354
|
+
|
|
355
|
+
// Reflect.ownKeys (not Object.keys) so symbol-keyed and non-enumerable properties are also
|
|
356
|
+
// scrubbed - e.g. Node's ClientRequest keeps the outgoing headers (incl. the token) under the
|
|
357
|
+
// Symbol(kOutHeaders) property, which Object.keys does not enumerate.
|
|
358
|
+
for (const key of Reflect.ownKeys(target)) {
|
|
354
359
|
let value: unknown;
|
|
355
360
|
|
|
356
361
|
try {
|
|
357
|
-
value =
|
|
362
|
+
value = container[key];
|
|
358
363
|
} catch {
|
|
359
364
|
// accessing the property threw (e.g. a getter) - skip it
|
|
360
365
|
continue;
|
|
@@ -365,7 +370,7 @@ function redactSecretsInPlace(target: unknown, secrets: string[], seen: WeakSet<
|
|
|
365
370
|
|
|
366
371
|
if (redacted !== value) {
|
|
367
372
|
try {
|
|
368
|
-
|
|
373
|
+
container[key] = redacted;
|
|
369
374
|
} catch {
|
|
370
375
|
// property is read-only - skip it
|
|
371
376
|
}
|