@tripian/react 5.0.6 → 5.0.7
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 +7 -3
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +1 -1
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
|
|
|
@@ -6199,6 +6199,7 @@ var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
|
6199
6199
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
6200
6200
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
6201
6201
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
6202
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
6202
6203
|
|
|
6203
6204
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
6204
6205
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -6254,6 +6255,9 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
6254
6255
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
6255
6256
|
}
|
|
6256
6257
|
|
|
6258
|
+
if ($exec(/^%?[^%]*%?$/g, name) === null) {
|
|
6259
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
6260
|
+
}
|
|
6257
6261
|
var parts = stringToPath(name);
|
|
6258
6262
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
6259
6263
|
|