@wavemaker/variables 11.14.1-29.647719 → 11.14.1-30.647738
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/npm-shrinkwrap.json +54 -42
- package/package-lock.json +54 -42
- package/package.json +2 -2
- package/src/util/dataset-util.js +1 -2
- package/src/util/dataset-util.js.map +1 -1
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/variables",
|
|
3
|
-
"version": "11.14.1-
|
|
3
|
+
"version": "11.14.1-30.647738",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/variables",
|
|
9
|
-
"version": "11.14.1-
|
|
9
|
+
"version": "11.14.1-30.647738",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@metrichor/jmespath": "^0.3.1",
|
|
13
13
|
"he": "^1.2.0",
|
|
14
|
-
"lodash-es": "4.
|
|
14
|
+
"lodash-es": "^4.17.21",
|
|
15
15
|
"moment": "^2.29.4",
|
|
16
16
|
"x2js": "^3.4.3"
|
|
17
17
|
},
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"license": "MIT"
|
|
102
102
|
},
|
|
103
103
|
"node_modules/@types/node": {
|
|
104
|
-
"version": "
|
|
105
|
-
"integrity": "sha512-
|
|
104
|
+
"version": "22.20.2",
|
|
105
|
+
"integrity": "sha512-xlvWf4Vs9n1PEVYwP1n4vvG07M6y8WgvJ2t0vbrWTmijsIHp1cS+uJ2kMIRdY3nHZK0nCYKrPeD171+SzF4/zw==",
|
|
106
106
|
"dev": true,
|
|
107
107
|
"license": "MIT",
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"undici-types": "~
|
|
109
|
+
"undici-types": "~6.21.0"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"node_modules/@webassemblyjs/ast": {
|
|
@@ -292,11 +292,11 @@
|
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
294
|
"node_modules/@xmldom/xmldom": {
|
|
295
|
-
"version": "0.
|
|
296
|
-
"integrity": "sha512
|
|
295
|
+
"version": "0.9.12",
|
|
296
|
+
"integrity": "sha512-5AXjrcMClTryPe9LgZrygpB1lj7s0S9E0+W+AHaVKAVyHanafK86iPSvG5xHVSp/jC+VH1UXu0TAEmY279xH7A==",
|
|
297
297
|
"license": "MIT",
|
|
298
298
|
"engines": {
|
|
299
|
-
"node": ">=
|
|
299
|
+
"node": ">=14.6"
|
|
300
300
|
}
|
|
301
301
|
},
|
|
302
302
|
"node_modules/@xtuc/ieee754": {
|
|
@@ -340,8 +340,8 @@
|
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
"node_modules/ajv-formats": {
|
|
343
|
-
"version": "
|
|
344
|
-
"integrity": "sha512-
|
|
343
|
+
"version": "3.0.1",
|
|
344
|
+
"integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==",
|
|
345
345
|
"dev": true,
|
|
346
346
|
"license": "MIT",
|
|
347
347
|
"dependencies": {
|
|
@@ -393,8 +393,8 @@
|
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
395
|
"node_modules/baseline-browser-mapping": {
|
|
396
|
-
"version": "2.11.
|
|
397
|
-
"integrity": "sha512-
|
|
396
|
+
"version": "2.11.22",
|
|
397
|
+
"integrity": "sha512-pWc4w51fBFd7mav43/zKRC+RI6f4yfzQoVlfvE8dECePyfkn1bzLp01Fj0QACcyCZyFhiEMyD2qScfKRWgWibA==",
|
|
398
398
|
"dev": true,
|
|
399
399
|
"license": "Apache-2.0",
|
|
400
400
|
"bin": {
|
|
@@ -405,8 +405,8 @@
|
|
|
405
405
|
}
|
|
406
406
|
},
|
|
407
407
|
"node_modules/browserslist": {
|
|
408
|
-
"version": "4.28.
|
|
409
|
-
"integrity": "sha512-
|
|
408
|
+
"version": "4.28.9",
|
|
409
|
+
"integrity": "sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==",
|
|
410
410
|
"dev": true,
|
|
411
411
|
"funding": [
|
|
412
412
|
{
|
|
@@ -424,11 +424,11 @@
|
|
|
424
424
|
],
|
|
425
425
|
"license": "MIT",
|
|
426
426
|
"dependencies": {
|
|
427
|
-
"baseline-browser-mapping": "^2.11.
|
|
428
|
-
"caniuse-lite": "^1.0.
|
|
429
|
-
"electron-to-chromium": "^1.5.
|
|
430
|
-
"node-releases": "^2.0.
|
|
431
|
-
"update-browserslist-db": "^1.3.
|
|
427
|
+
"baseline-browser-mapping": "^2.11.20",
|
|
428
|
+
"caniuse-lite": "^1.0.30001810",
|
|
429
|
+
"electron-to-chromium": "^1.5.420",
|
|
430
|
+
"node-releases": "^2.0.54",
|
|
431
|
+
"update-browserslist-db": "^1.3.2"
|
|
432
432
|
},
|
|
433
433
|
"bin": {
|
|
434
434
|
"browserslist": "cli.js"
|
|
@@ -567,8 +567,8 @@
|
|
|
567
567
|
}
|
|
568
568
|
},
|
|
569
569
|
"node_modules/electron-to-chromium": {
|
|
570
|
-
"version": "1.5.
|
|
571
|
-
"integrity": "sha512-
|
|
570
|
+
"version": "1.5.427",
|
|
571
|
+
"integrity": "sha512-n14zb3FdsChZ2BNobqNHAJMcP3ifFv4paox2LvCrfVAQcqGiSURgbJl+PfMpHVCNFkStnNc+RRVtPBTVW5PDgw==",
|
|
572
572
|
"dev": true,
|
|
573
573
|
"license": "ISC"
|
|
574
574
|
},
|
|
@@ -666,8 +666,8 @@
|
|
|
666
666
|
"license": "MIT"
|
|
667
667
|
},
|
|
668
668
|
"node_modules/fast-uri": {
|
|
669
|
-
"version": "3.1.
|
|
670
|
-
"integrity": "sha512-
|
|
669
|
+
"version": "3.1.7",
|
|
670
|
+
"integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==",
|
|
671
671
|
"dev": true,
|
|
672
672
|
"funding": [
|
|
673
673
|
{
|
|
@@ -1013,8 +1013,8 @@
|
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
"node_modules/minimizer-webpack-plugin": {
|
|
1016
|
-
"version": "5.
|
|
1017
|
-
"integrity": "sha512
|
|
1016
|
+
"version": "5.10.1",
|
|
1017
|
+
"integrity": "sha512-+dsZEyTcy1lkq41lxdiOqvb26gXbYGgwY+30w37f9PqUVkuEBejBLDotsHOTjuga9xJyGLW2DqzKDUyJ4W/PMQ==",
|
|
1018
1018
|
"dev": true,
|
|
1019
1019
|
"license": "MIT",
|
|
1020
1020
|
"dependencies": {
|
|
@@ -1037,6 +1037,9 @@
|
|
|
1037
1037
|
"@minify-html/node": {
|
|
1038
1038
|
"optional": true
|
|
1039
1039
|
},
|
|
1040
|
+
"@napi-rs/image": {
|
|
1041
|
+
"optional": true
|
|
1042
|
+
},
|
|
1040
1043
|
"@swc/core": {
|
|
1041
1044
|
"optional": true
|
|
1042
1045
|
},
|
|
@@ -1061,12 +1064,21 @@
|
|
|
1061
1064
|
"html-minifier-terser": {
|
|
1062
1065
|
"optional": true
|
|
1063
1066
|
},
|
|
1067
|
+
"imagemin": {
|
|
1068
|
+
"optional": true
|
|
1069
|
+
},
|
|
1064
1070
|
"lightningcss": {
|
|
1065
1071
|
"optional": true
|
|
1066
1072
|
},
|
|
1067
1073
|
"postcss": {
|
|
1068
1074
|
"optional": true
|
|
1069
1075
|
},
|
|
1076
|
+
"sharp": {
|
|
1077
|
+
"optional": true
|
|
1078
|
+
},
|
|
1079
|
+
"svgo": {
|
|
1080
|
+
"optional": true
|
|
1081
|
+
},
|
|
1070
1082
|
"uglify-js": {
|
|
1071
1083
|
"optional": true
|
|
1072
1084
|
}
|
|
@@ -1133,8 +1145,8 @@
|
|
|
1133
1145
|
"license": "MIT"
|
|
1134
1146
|
},
|
|
1135
1147
|
"node_modules/node-releases": {
|
|
1136
|
-
"version": "2.0.
|
|
1137
|
-
"integrity": "sha512-
|
|
1148
|
+
"version": "2.0.55",
|
|
1149
|
+
"integrity": "sha512-mIrE/Cw9y+9Au6dS5vDKDhQza9YvG6w+ZrS6X+ZzA7yFW/soAeaups4Qzn1bL6g5FVy8WtP79+0j82oPIbqRjQ==",
|
|
1138
1150
|
"dev": true,
|
|
1139
1151
|
"license": "MIT",
|
|
1140
1152
|
"engines": {
|
|
@@ -1331,14 +1343,14 @@
|
|
|
1331
1343
|
}
|
|
1332
1344
|
},
|
|
1333
1345
|
"node_modules/schema-utils": {
|
|
1334
|
-
"version": "4.
|
|
1335
|
-
"integrity": "sha512-
|
|
1346
|
+
"version": "4.4.0",
|
|
1347
|
+
"integrity": "sha512-ZzWFVzFgyRHi/T2Ecxm37lL6J9+hZO0P9L7LCuLxAbC6XWxkvxcaQBCXhQxMGn/Tdt9nD7zIBk0ELwhMQ3UEDg==",
|
|
1336
1348
|
"dev": true,
|
|
1337
1349
|
"license": "MIT",
|
|
1338
1350
|
"dependencies": {
|
|
1339
|
-
"@types/json-schema": "^7.0.
|
|
1340
|
-
"ajv": "^8.
|
|
1341
|
-
"ajv-formats": "^
|
|
1351
|
+
"@types/json-schema": "^7.0.15",
|
|
1352
|
+
"ajv": "^8.20.0",
|
|
1353
|
+
"ajv-formats": "^3.0.1",
|
|
1342
1354
|
"ajv-keywords": "^5.1.0"
|
|
1343
1355
|
},
|
|
1344
1356
|
"engines": {
|
|
@@ -1562,8 +1574,8 @@
|
|
|
1562
1574
|
}
|
|
1563
1575
|
},
|
|
1564
1576
|
"node_modules/undici-types": {
|
|
1565
|
-
"version": "
|
|
1566
|
-
"integrity": "sha512-
|
|
1577
|
+
"version": "6.21.0",
|
|
1578
|
+
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
|
|
1567
1579
|
"dev": true,
|
|
1568
1580
|
"license": "MIT"
|
|
1569
1581
|
},
|
|
@@ -1577,8 +1589,8 @@
|
|
|
1577
1589
|
}
|
|
1578
1590
|
},
|
|
1579
1591
|
"node_modules/update-browserslist-db": {
|
|
1580
|
-
"version": "1.3.
|
|
1581
|
-
"integrity": "sha512-
|
|
1592
|
+
"version": "1.3.3",
|
|
1593
|
+
"integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==",
|
|
1582
1594
|
"dev": true,
|
|
1583
1595
|
"funding": [
|
|
1584
1596
|
{
|
|
@@ -1619,8 +1631,8 @@
|
|
|
1619
1631
|
}
|
|
1620
1632
|
},
|
|
1621
1633
|
"node_modules/webpack": {
|
|
1622
|
-
"version": "5.110.
|
|
1623
|
-
"integrity": "sha512-
|
|
1634
|
+
"version": "5.110.3",
|
|
1635
|
+
"integrity": "sha512-GuizBzRvo9YPpyoNMf3ag7AzxbaW85qrRSqTha345KyJbAFPt3/cMzBM0h+RWg7SK/7DdzRLINP3LvQ0hvr4hg==",
|
|
1624
1636
|
"dev": true,
|
|
1625
1637
|
"license": "MIT",
|
|
1626
1638
|
"dependencies": {
|
|
@@ -1778,11 +1790,11 @@
|
|
|
1778
1790
|
}
|
|
1779
1791
|
},
|
|
1780
1792
|
"node_modules/x2js": {
|
|
1781
|
-
"version": "3.4.
|
|
1782
|
-
"integrity": "sha512-
|
|
1793
|
+
"version": "3.4.5",
|
|
1794
|
+
"integrity": "sha512-NwRdxmyOK/XifRMSFopYm8eyF6VXi3C2kUt+pui3RBqD62vpMY7edmJ4XiElplFWHIRyNywML+9PjzQV+/MI4Q==",
|
|
1783
1795
|
"license": "Apache-2.0",
|
|
1784
1796
|
"dependencies": {
|
|
1785
|
-
"@xmldom/xmldom": "^0.
|
|
1797
|
+
"@xmldom/xmldom": "^0.9.12"
|
|
1786
1798
|
}
|
|
1787
1799
|
},
|
|
1788
1800
|
"node_modules/y18n": {
|
package/package-lock.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/variables",
|
|
3
|
-
"version": "11.14.1-
|
|
3
|
+
"version": "11.14.1-30.647738",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/variables",
|
|
9
|
-
"version": "11.14.1-
|
|
9
|
+
"version": "11.14.1-30.647738",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@metrichor/jmespath": "^0.3.1",
|
|
13
13
|
"he": "^1.2.0",
|
|
14
|
-
"lodash-es": "4.
|
|
14
|
+
"lodash-es": "^4.17.21",
|
|
15
15
|
"moment": "^2.29.4",
|
|
16
16
|
"x2js": "^3.4.3"
|
|
17
17
|
},
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"license": "MIT"
|
|
102
102
|
},
|
|
103
103
|
"node_modules/@types/node": {
|
|
104
|
-
"version": "
|
|
105
|
-
"integrity": "sha512-
|
|
104
|
+
"version": "22.20.2",
|
|
105
|
+
"integrity": "sha512-xlvWf4Vs9n1PEVYwP1n4vvG07M6y8WgvJ2t0vbrWTmijsIHp1cS+uJ2kMIRdY3nHZK0nCYKrPeD171+SzF4/zw==",
|
|
106
106
|
"dev": true,
|
|
107
107
|
"license": "MIT",
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"undici-types": "~
|
|
109
|
+
"undici-types": "~6.21.0"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"node_modules/@webassemblyjs/ast": {
|
|
@@ -292,11 +292,11 @@
|
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
294
|
"node_modules/@xmldom/xmldom": {
|
|
295
|
-
"version": "0.
|
|
296
|
-
"integrity": "sha512
|
|
295
|
+
"version": "0.9.12",
|
|
296
|
+
"integrity": "sha512-5AXjrcMClTryPe9LgZrygpB1lj7s0S9E0+W+AHaVKAVyHanafK86iPSvG5xHVSp/jC+VH1UXu0TAEmY279xH7A==",
|
|
297
297
|
"license": "MIT",
|
|
298
298
|
"engines": {
|
|
299
|
-
"node": ">=
|
|
299
|
+
"node": ">=14.6"
|
|
300
300
|
}
|
|
301
301
|
},
|
|
302
302
|
"node_modules/@xtuc/ieee754": {
|
|
@@ -340,8 +340,8 @@
|
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
"node_modules/ajv-formats": {
|
|
343
|
-
"version": "
|
|
344
|
-
"integrity": "sha512-
|
|
343
|
+
"version": "3.0.1",
|
|
344
|
+
"integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==",
|
|
345
345
|
"dev": true,
|
|
346
346
|
"license": "MIT",
|
|
347
347
|
"dependencies": {
|
|
@@ -393,8 +393,8 @@
|
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
395
|
"node_modules/baseline-browser-mapping": {
|
|
396
|
-
"version": "2.11.
|
|
397
|
-
"integrity": "sha512-
|
|
396
|
+
"version": "2.11.22",
|
|
397
|
+
"integrity": "sha512-pWc4w51fBFd7mav43/zKRC+RI6f4yfzQoVlfvE8dECePyfkn1bzLp01Fj0QACcyCZyFhiEMyD2qScfKRWgWibA==",
|
|
398
398
|
"dev": true,
|
|
399
399
|
"license": "Apache-2.0",
|
|
400
400
|
"bin": {
|
|
@@ -405,8 +405,8 @@
|
|
|
405
405
|
}
|
|
406
406
|
},
|
|
407
407
|
"node_modules/browserslist": {
|
|
408
|
-
"version": "4.28.
|
|
409
|
-
"integrity": "sha512-
|
|
408
|
+
"version": "4.28.9",
|
|
409
|
+
"integrity": "sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==",
|
|
410
410
|
"dev": true,
|
|
411
411
|
"funding": [
|
|
412
412
|
{
|
|
@@ -424,11 +424,11 @@
|
|
|
424
424
|
],
|
|
425
425
|
"license": "MIT",
|
|
426
426
|
"dependencies": {
|
|
427
|
-
"baseline-browser-mapping": "^2.11.
|
|
428
|
-
"caniuse-lite": "^1.0.
|
|
429
|
-
"electron-to-chromium": "^1.5.
|
|
430
|
-
"node-releases": "^2.0.
|
|
431
|
-
"update-browserslist-db": "^1.3.
|
|
427
|
+
"baseline-browser-mapping": "^2.11.20",
|
|
428
|
+
"caniuse-lite": "^1.0.30001810",
|
|
429
|
+
"electron-to-chromium": "^1.5.420",
|
|
430
|
+
"node-releases": "^2.0.54",
|
|
431
|
+
"update-browserslist-db": "^1.3.2"
|
|
432
432
|
},
|
|
433
433
|
"bin": {
|
|
434
434
|
"browserslist": "cli.js"
|
|
@@ -567,8 +567,8 @@
|
|
|
567
567
|
}
|
|
568
568
|
},
|
|
569
569
|
"node_modules/electron-to-chromium": {
|
|
570
|
-
"version": "1.5.
|
|
571
|
-
"integrity": "sha512-
|
|
570
|
+
"version": "1.5.427",
|
|
571
|
+
"integrity": "sha512-n14zb3FdsChZ2BNobqNHAJMcP3ifFv4paox2LvCrfVAQcqGiSURgbJl+PfMpHVCNFkStnNc+RRVtPBTVW5PDgw==",
|
|
572
572
|
"dev": true,
|
|
573
573
|
"license": "ISC"
|
|
574
574
|
},
|
|
@@ -666,8 +666,8 @@
|
|
|
666
666
|
"license": "MIT"
|
|
667
667
|
},
|
|
668
668
|
"node_modules/fast-uri": {
|
|
669
|
-
"version": "3.1.
|
|
670
|
-
"integrity": "sha512-
|
|
669
|
+
"version": "3.1.7",
|
|
670
|
+
"integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==",
|
|
671
671
|
"dev": true,
|
|
672
672
|
"funding": [
|
|
673
673
|
{
|
|
@@ -1013,8 +1013,8 @@
|
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
"node_modules/minimizer-webpack-plugin": {
|
|
1016
|
-
"version": "5.
|
|
1017
|
-
"integrity": "sha512
|
|
1016
|
+
"version": "5.10.1",
|
|
1017
|
+
"integrity": "sha512-+dsZEyTcy1lkq41lxdiOqvb26gXbYGgwY+30w37f9PqUVkuEBejBLDotsHOTjuga9xJyGLW2DqzKDUyJ4W/PMQ==",
|
|
1018
1018
|
"dev": true,
|
|
1019
1019
|
"license": "MIT",
|
|
1020
1020
|
"dependencies": {
|
|
@@ -1037,6 +1037,9 @@
|
|
|
1037
1037
|
"@minify-html/node": {
|
|
1038
1038
|
"optional": true
|
|
1039
1039
|
},
|
|
1040
|
+
"@napi-rs/image": {
|
|
1041
|
+
"optional": true
|
|
1042
|
+
},
|
|
1040
1043
|
"@swc/core": {
|
|
1041
1044
|
"optional": true
|
|
1042
1045
|
},
|
|
@@ -1061,12 +1064,21 @@
|
|
|
1061
1064
|
"html-minifier-terser": {
|
|
1062
1065
|
"optional": true
|
|
1063
1066
|
},
|
|
1067
|
+
"imagemin": {
|
|
1068
|
+
"optional": true
|
|
1069
|
+
},
|
|
1064
1070
|
"lightningcss": {
|
|
1065
1071
|
"optional": true
|
|
1066
1072
|
},
|
|
1067
1073
|
"postcss": {
|
|
1068
1074
|
"optional": true
|
|
1069
1075
|
},
|
|
1076
|
+
"sharp": {
|
|
1077
|
+
"optional": true
|
|
1078
|
+
},
|
|
1079
|
+
"svgo": {
|
|
1080
|
+
"optional": true
|
|
1081
|
+
},
|
|
1070
1082
|
"uglify-js": {
|
|
1071
1083
|
"optional": true
|
|
1072
1084
|
}
|
|
@@ -1133,8 +1145,8 @@
|
|
|
1133
1145
|
"license": "MIT"
|
|
1134
1146
|
},
|
|
1135
1147
|
"node_modules/node-releases": {
|
|
1136
|
-
"version": "2.0.
|
|
1137
|
-
"integrity": "sha512-
|
|
1148
|
+
"version": "2.0.55",
|
|
1149
|
+
"integrity": "sha512-mIrE/Cw9y+9Au6dS5vDKDhQza9YvG6w+ZrS6X+ZzA7yFW/soAeaups4Qzn1bL6g5FVy8WtP79+0j82oPIbqRjQ==",
|
|
1138
1150
|
"dev": true,
|
|
1139
1151
|
"license": "MIT",
|
|
1140
1152
|
"engines": {
|
|
@@ -1331,14 +1343,14 @@
|
|
|
1331
1343
|
}
|
|
1332
1344
|
},
|
|
1333
1345
|
"node_modules/schema-utils": {
|
|
1334
|
-
"version": "4.
|
|
1335
|
-
"integrity": "sha512-
|
|
1346
|
+
"version": "4.4.0",
|
|
1347
|
+
"integrity": "sha512-ZzWFVzFgyRHi/T2Ecxm37lL6J9+hZO0P9L7LCuLxAbC6XWxkvxcaQBCXhQxMGn/Tdt9nD7zIBk0ELwhMQ3UEDg==",
|
|
1336
1348
|
"dev": true,
|
|
1337
1349
|
"license": "MIT",
|
|
1338
1350
|
"dependencies": {
|
|
1339
|
-
"@types/json-schema": "^7.0.
|
|
1340
|
-
"ajv": "^8.
|
|
1341
|
-
"ajv-formats": "^
|
|
1351
|
+
"@types/json-schema": "^7.0.15",
|
|
1352
|
+
"ajv": "^8.20.0",
|
|
1353
|
+
"ajv-formats": "^3.0.1",
|
|
1342
1354
|
"ajv-keywords": "^5.1.0"
|
|
1343
1355
|
},
|
|
1344
1356
|
"engines": {
|
|
@@ -1562,8 +1574,8 @@
|
|
|
1562
1574
|
}
|
|
1563
1575
|
},
|
|
1564
1576
|
"node_modules/undici-types": {
|
|
1565
|
-
"version": "
|
|
1566
|
-
"integrity": "sha512-
|
|
1577
|
+
"version": "6.21.0",
|
|
1578
|
+
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
|
|
1567
1579
|
"dev": true,
|
|
1568
1580
|
"license": "MIT"
|
|
1569
1581
|
},
|
|
@@ -1577,8 +1589,8 @@
|
|
|
1577
1589
|
}
|
|
1578
1590
|
},
|
|
1579
1591
|
"node_modules/update-browserslist-db": {
|
|
1580
|
-
"version": "1.3.
|
|
1581
|
-
"integrity": "sha512-
|
|
1592
|
+
"version": "1.3.3",
|
|
1593
|
+
"integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==",
|
|
1582
1594
|
"dev": true,
|
|
1583
1595
|
"funding": [
|
|
1584
1596
|
{
|
|
@@ -1619,8 +1631,8 @@
|
|
|
1619
1631
|
}
|
|
1620
1632
|
},
|
|
1621
1633
|
"node_modules/webpack": {
|
|
1622
|
-
"version": "5.110.
|
|
1623
|
-
"integrity": "sha512-
|
|
1634
|
+
"version": "5.110.3",
|
|
1635
|
+
"integrity": "sha512-GuizBzRvo9YPpyoNMf3ag7AzxbaW85qrRSqTha345KyJbAFPt3/cMzBM0h+RWg7SK/7DdzRLINP3LvQ0hvr4hg==",
|
|
1624
1636
|
"dev": true,
|
|
1625
1637
|
"license": "MIT",
|
|
1626
1638
|
"dependencies": {
|
|
@@ -1778,11 +1790,11 @@
|
|
|
1778
1790
|
}
|
|
1779
1791
|
},
|
|
1780
1792
|
"node_modules/x2js": {
|
|
1781
|
-
"version": "3.4.
|
|
1782
|
-
"integrity": "sha512-
|
|
1793
|
+
"version": "3.4.5",
|
|
1794
|
+
"integrity": "sha512-NwRdxmyOK/XifRMSFopYm8eyF6VXi3C2kUt+pui3RBqD62vpMY7edmJ4XiElplFWHIRyNywML+9PjzQV+/MI4Q==",
|
|
1783
1795
|
"license": "Apache-2.0",
|
|
1784
1796
|
"dependencies": {
|
|
1785
|
-
"@xmldom/xmldom": "^0.
|
|
1797
|
+
"@xmldom/xmldom": "^0.9.12"
|
|
1786
1798
|
}
|
|
1787
1799
|
},
|
|
1788
1800
|
"node_modules/y18n": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/variables",
|
|
3
|
-
"version": "11.14.1-
|
|
3
|
+
"version": "11.14.1-30.647738",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index",
|
|
6
6
|
"module": "index",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@metrichor/jmespath": "^0.3.1",
|
|
30
30
|
"he": "^1.2.0",
|
|
31
|
-
"lodash-es": "4.
|
|
31
|
+
"lodash-es": "^4.17.21",
|
|
32
32
|
"moment": "^2.29.4",
|
|
33
33
|
"x2js": "^3.4.3"
|
|
34
34
|
},
|
package/src/util/dataset-util.js
CHANGED
|
@@ -54,8 +54,7 @@ var DatasetUtil = /** @class */ (function () {
|
|
|
54
54
|
}
|
|
55
55
|
if (options.path) {
|
|
56
56
|
var innerArray = DatasetUtil.getTargetNode(dataSet, options);
|
|
57
|
-
|
|
58
|
-
var innerElemindex = isObject(i) ? findIndex(innerArray, i) : i;
|
|
57
|
+
var innerElemindex = findIndex(innerArray, i);
|
|
59
58
|
if (innerElemindex > -1) {
|
|
60
59
|
innerArray[innerElemindex] = value;
|
|
61
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-util.js","sourceRoot":"./","sources":["src/util/dataset-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAC,MAAM,WAAW,CAAC;AAElG;IAAA;
|
|
1
|
+
{"version":3,"file":"dataset-util.js","sourceRoot":"./","sources":["src/util/dataset-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,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AO,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC;IACjE,CAAC;IACL,kBAAC;AAAD,CAAC,AA5JD,IA4JC","sourcesContent":["import {isArray, get, isUndefined, isObject, findIndex, set, isBoolean, isEqual} from 'lodash-es';\n\nexport default class DatasetUtil {\n\n static isValidDataset(dataSet: any, isList?: boolean) {\n if (!dataSet) {\n return false;\n }\n\n // check array type dataset for list type variable\n if (isList && !isArray(dataSet)) {\n return false;\n }\n\n // change the dataSet\n return dataSet;\n }\n\n static getValue(dataSet: any, key: any, index: any, isList?: boolean) {\n index = index || 0;\n\n // return the value against the specified key\n return isList ? dataSet[index][key] : dataSet[key];\n }\n\n static setValue(dataSet: any, key: any, value: any, isList?: boolean) {\n // check param sanity\n if (key && !isList) {\n dataSet[key] = value;\n }\n\n // return the new dataSet\n return dataSet;\n }\n\n static getItem(dataSet: any, index: any, isList?: boolean) {\n // return the object against the specified index\n return isList ? dataSet[index] : dataSet;\n }\n\n /**\n * This method is used to find target node\n * @param dataSet: provided dataSet\n * @param options: provided options\n * @returns {any} targetnode\n */\n private static getTargetNode(dataSet: any, options: any) {\n dataSet = options.parentIndex !== undefined ? dataSet[options.parentIndex] : dataSet;\n return get(dataSet, options.path);\n }\n\n static setItem(dataSet: any, i: any, value: any, options?: any) {\n let index;\n\n // check param sanity\n if (isUndefined(i) || !options.isList) {\n return dataSet;\n }\n\n if (isObject(i)) {\n index = findIndex(dataSet, i);\n } else {\n index = i;\n }\n\n if (options.path) {\n const innerArray = DatasetUtil.getTargetNode(dataSet, options);\n const innerElemindex = findIndex(innerArray, i);\n if (innerElemindex > -1) {\n innerArray[innerElemindex] = value;\n }\n } else {\n if (index > -1) {\n // set the value against the specified index\n dataSet[index] = value;\n }\n }\n\n // return the new dataSet\n return dataSet;\n }\n\n static addItem(dataSet: any, value: any, index: any, options?: any) {\n // check param sanity\n if (isUndefined(value) || !options.isList) {\n return dataSet;\n }\n\n // set the value against the specified index\n if (options.path) {\n const innerArray = DatasetUtil.getTargetNode(dataSet, options);\n if (innerArray) {\n // check for index sanity\n index = index !== undefined ? index : innerArray.length;\n innerArray.splice(index, 0, value);\n } else {\n options.parentIndex !== undefined ? set(dataSet[options.parentIndex], options.path, [value]) : set(dataSet, options.path, [value]);\n }\n\n } else {\n // check for index sanity\n index = index !== undefined ? index : dataSet.length;\n dataSet.splice(index, 0, value);\n }\n\n // return the new dataSet\n return dataSet;\n }\n\n /**\n *\n * @param dataSet\n * @param i, can be index value of the object/element in array\n * or\n * the whole object which needs to be removed\n * @param exactMatch\n * @returns {any}\n */\n static removeItem(dataSet: any, i: any, options: any) {\n let index, exactMatch;\n // check for index sanity\n i = i !== undefined ? i : dataSet.length - 1;\n\n if (isBoolean(options)) {\n exactMatch = options;\n }\n if (isObject(options)) {\n exactMatch = options.exactMatch;\n }\n\n if (isObject(i)) {\n if (options.path) {\n const innerArray = DatasetUtil.getTargetNode(dataSet, options);\n const innerElemindex = findIndex(innerArray, i);\n if (innerElemindex > -1 && (!exactMatch || (exactMatch && isEqual(innerArray[innerElemindex], i)))) {\n innerArray.splice(innerElemindex, 1);\n }\n } else {\n index = findIndex(dataSet, i);\n // When exactMatch property is set to true delete only when every property values are same*/\n if (index > -1 && (!exactMatch || (exactMatch && isEqual(dataSet[index], i)))) {\n dataSet.splice(index, 1);\n }\n }\n } else {\n dataSet.splice(i, 1);\n }\n // return the new dataSet\n return dataSet;\n }\n\n static getValidDataset(isList?: boolean) {\n return isList ? [] : {};\n }\n\n static getCount(dataSet: any, isList?: boolean) {\n return isList ? dataSet.length : Object.keys(dataSet).length;\n }\n}\n"]}
|