@tripian/react 7.0.3 → 7.0.5
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/index.js
CHANGED
|
@@ -96,7 +96,7 @@ module.exports = require("react");
|
|
|
96
96
|
/***/ (function(module, exports, __webpack_require__) {
|
|
97
97
|
|
|
98
98
|
/* WEBPACK VAR INJECTION */(function(module) {var require;//! moment.js
|
|
99
|
-
//! version : 2.29.
|
|
99
|
+
//! version : 2.29.4
|
|
100
100
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
101
101
|
//! license : MIT
|
|
102
102
|
//! momentjs.com
|
|
@@ -2550,7 +2550,7 @@ module.exports = require("react");
|
|
|
2550
2550
|
function preprocessRFC2822(s) {
|
|
2551
2551
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
2552
2552
|
return s
|
|
2553
|
-
.replace(/\([^)]*\)|[\n\t]/g, ' ')
|
|
2553
|
+
.replace(/\([^()]*\)|[\n\t]/g, ' ')
|
|
2554
2554
|
.replace(/(\s\s+)/g, ' ')
|
|
2555
2555
|
.replace(/^\s\s*/, '')
|
|
2556
2556
|
.replace(/\s\s*$/, '');
|
|
@@ -5731,7 +5731,7 @@ module.exports = require("react");
|
|
|
5731
5731
|
|
|
5732
5732
|
//! moment.js
|
|
5733
5733
|
|
|
5734
|
-
hooks.version = '2.29.
|
|
5734
|
+
hooks.version = '2.29.4';
|
|
5735
5735
|
|
|
5736
5736
|
setHookCallback(createLocal);
|
|
5737
5737
|
|
|
@@ -6234,6 +6234,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
|
6234
6234
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
6235
6235
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
6236
6236
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
6237
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
6237
6238
|
|
|
6238
6239
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
6239
6240
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -6289,6 +6290,9 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
6289
6290
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
6290
6291
|
}
|
|
6291
6292
|
|
|
6293
|
+
if ($exec(/^%?[^%]*%?$/g, name) === null) {
|
|
6294
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
6295
|
+
}
|
|
6292
6296
|
var parts = stringToPath(name);
|
|
6293
6297
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
6294
6298
|
|