@tripian/react 7.0.5 → 7.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 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.4
99
+ //! version : 2.29.3
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.4';
5734
+ hooks.version = '2.29.3';
5735
5735
 
5736
5736
  setHookCallback(createLocal);
5737
5737
 
@@ -6234,7 +6234,6 @@ 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);
6238
6237
 
6239
6238
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
6240
6239
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
@@ -6290,9 +6289,6 @@ module.exports = function GetIntrinsic(name, allowMissing) {
6290
6289
  throw new $TypeError('"allowMissing" argument must be a boolean');
6291
6290
  }
6292
6291
 
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
- }
6296
6292
  var parts = stringToPath(name);
6297
6293
  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
6298
6294
 
@@ -69585,9 +69581,7 @@ var CouponCard = function (_a) {
69585
69581
  react_1.default.createElement("div", { className: CouponCard_scss_1.default.couponTitle }, coupon.campaign.title),
69586
69582
  react_1.default.createElement("div", { className: CouponCard_scss_1.default.couponAmount },
69587
69583
  react_1.default.createElement("span", null, "Available: "),
69588
- react_1.default.createElement("span", null,
69589
- coupon.currency,
69590
- "$"),
69584
+ react_1.default.createElement("span", null, coupon.currency),
69591
69585
  react_1.default.createElement("span", null, coupon.balance)),
69592
69586
  react_1.default.createElement("div", { className: CouponCard_scss_1.default.couponButtonContent },
69593
69587
  react_1.default.createElement(Button_1.default, { className: CouponCard_scss_1.default.couponButton, color: "primary", text: "View Offers", onClick: function () { return viewOffersClicked(); } })))));
@@ -77569,7 +77563,6 @@ var VoucherOfferCardItemDesktop = function (_a) {
77569
77563
  react_1.default.createElement("div", { className: VoucherOfferCardItemDesktop_scss_1.default.offerDiscountWrapper },
77570
77564
  react_1.default.createElement("div", { style: { fontWeight: 600 }, className: VoucherOfferCardItemDesktop_scss_1.default.offerCardCoupon },
77571
77565
  offer.currency,
77572
- "$",
77573
77566
  offer.discount,
77574
77567
  " cashback"),
77575
77568
  react_1.default.createElement("div", { className: VoucherOfferCardItemDesktop_scss_1.default.offerCardButtons }, offer.redeemDate === null ? claimButton() : react_1.default.createElement("div", { className: VoucherOfferCardItemDesktop_scss_1.default.redeemed },
@@ -77650,7 +77643,7 @@ var VoucherOfferCardItemMobile = function (_a) {
77650
77643
  clicked(false, offer.id);
77651
77644
  else
77652
77645
  clicked(true, offer.id);
77653
- }, className: VoucherOfferCardItemMobile_scss_1.default.offerButton, text: !optedIn ? "Claim ".concat(offer.currency, "$").concat(offer.discount, " cashback") : 'Cancel' }))) : (react_1.default.createElement("div", { className: VoucherOfferCardItemMobile_scss_1.default.redeemed },
77646
+ }, className: VoucherOfferCardItemMobile_scss_1.default.offerButton, text: !optedIn ? "Claim ".concat(offer.currency).concat(offer.discount, " cashback") : 'Cancel' }))) : (react_1.default.createElement("div", { className: VoucherOfferCardItemMobile_scss_1.default.redeemed },
77654
77647
  "Redeemed at ",
77655
77648
  (0, moment_1.default)(offer.redeemDate).format('MMM Do'))))))));
77656
77649
  };