@contrast/agent 4.20.0 → 4.21.0
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/lib/assess/hapi/sources.js +1 -1
- package/lib/assess/policy/signatures.json +12 -0
- package/lib/assess/propagators/validator/init-hooks.js +44 -5
- package/lib/assess/propagators/validator/validator-methods.js +6 -0
- package/lib/core/async-storage/hooks/mongodb.js +1 -1
- package/lib/core/hapi/index.js +15 -2
- package/lib/libraries.js +1 -1
- package/lib/list-installed.js +14 -20
- package/node_modules/moment/CHANGELOG.md +13 -1
- package/node_modules/moment/dist/locale/sr-cyrl.js +3 -2
- package/node_modules/moment/dist/locale/sr.js +3 -2
- package/node_modules/moment/dist/moment.js +3 -3
- package/node_modules/moment/locale/sr-cyrl.js +3 -2
- package/node_modules/moment/locale/sr.js +3 -2
- package/node_modules/moment/min/locales.js +6 -4
- package/node_modules/moment/min/locales.min.js +1 -1
- package/node_modules/moment/min/locales.min.js.map +1 -1
- package/node_modules/moment/min/moment-with-locales.js +8 -6
- package/node_modules/moment/min/moment-with-locales.min.js +1 -1
- package/node_modules/moment/min/moment-with-locales.min.js.map +1 -1
- package/node_modules/moment/min/moment.min.js +1 -1
- package/node_modules/moment/min/moment.min.js.map +1 -1
- package/node_modules/moment/moment.js +3 -3
- package/node_modules/moment/package.json +4 -4
- package/node_modules/moment/src/lib/create/from-string.js +1 -1
- package/node_modules/moment/src/locale/sr-cyrl.js +3 -2
- package/node_modules/moment/src/locale/sr.js +3 -2
- package/node_modules/moment/src/moment.js +2 -2
- package/package.json +1 -1
|
@@ -2448,7 +2448,7 @@
|
|
|
2448
2448
|
function preprocessRFC2822(s) {
|
|
2449
2449
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
2450
2450
|
return s
|
|
2451
|
-
.replace(/\([^)]*\)|[\n\t]/g, ' ')
|
|
2451
|
+
.replace(/\([^()]*\)|[\n\t]/g, ' ')
|
|
2452
2452
|
.replace(/(\s\s+)/g, ' ')
|
|
2453
2453
|
.replace(/^\s\s*/, '')
|
|
2454
2454
|
.replace(/\s\s*$/, '');
|
|
@@ -5629,7 +5629,7 @@
|
|
|
5629
5629
|
|
|
5630
5630
|
//! moment.js
|
|
5631
5631
|
|
|
5632
|
-
hooks.version = '2.29.
|
|
5632
|
+
hooks.version = '2.29.4';
|
|
5633
5633
|
|
|
5634
5634
|
setHookCallback(createLocal);
|
|
5635
5635
|
|
|
@@ -15766,7 +15766,8 @@
|
|
|
15766
15766
|
return wordKey[2];
|
|
15767
15767
|
},
|
|
15768
15768
|
translate: function (number, withoutSuffix, key, isFuture) {
|
|
15769
|
-
var wordKey = translator$1.words[key]
|
|
15769
|
+
var wordKey = translator$1.words[key],
|
|
15770
|
+
word;
|
|
15770
15771
|
|
|
15771
15772
|
if (key.length === 1) {
|
|
15772
15773
|
// Nominativ
|
|
@@ -15774,7 +15775,7 @@
|
|
|
15774
15775
|
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
|
|
15775
15776
|
}
|
|
15776
15777
|
|
|
15777
|
-
|
|
15778
|
+
word = translator$1.correctGrammaticalCase(number, wordKey);
|
|
15778
15779
|
// Nominativ
|
|
15779
15780
|
if (key === 'yy' && withoutSuffix && word === 'годину') {
|
|
15780
15781
|
return number + ' година';
|
|
@@ -15888,7 +15889,8 @@
|
|
|
15888
15889
|
return wordKey[2];
|
|
15889
15890
|
},
|
|
15890
15891
|
translate: function (number, withoutSuffix, key, isFuture) {
|
|
15891
|
-
var wordKey = translator$2.words[key]
|
|
15892
|
+
var wordKey = translator$2.words[key],
|
|
15893
|
+
word;
|
|
15892
15894
|
|
|
15893
15895
|
if (key.length === 1) {
|
|
15894
15896
|
// Nominativ
|
|
@@ -15896,7 +15898,7 @@
|
|
|
15896
15898
|
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
|
|
15897
15899
|
}
|
|
15898
15900
|
|
|
15899
|
-
|
|
15901
|
+
word = translator$2.correctGrammaticalCase(number, wordKey);
|
|
15900
15902
|
// Nominativ
|
|
15901
15903
|
if (key === 'yy' && withoutSuffix && word === 'godinu') {
|
|
15902
15904
|
return number + ' godina';
|