@@ -17468,7 +17468,7 @@ object-assign
17468
17468
t === i.length - 1 && (o = ''), e(a.end, '', o);
17469
17469
}),
17470
17470
'ExpressionStatement' === this.unparenthesizedParent().type
17471
- ? e.appendRight (this.end, ')')
17471
+ ? e.prependRight (this.end, ')')
17472
17472
: e.appendRight(this.end, ', ' + r + ')');
17473
17473
}),
17474
17474
(AssignmentExpression.prototype.transpileExponentiation = function transpileExponentiation(
@@ -18143,12 +18143,9 @@ object-assign
18143
18143
if (this.shouldRewriteAsFunction) {
18144
18144
var i =
18145
18145
'VariableDeclaration' === this.init.type
18146
- ? [].concat.apply(
18147
- [],
18148
- this.init.declarations.map(function(e) {
18149
- return extractNames(e.id);
18150
- }),
18151
- )
18146
+ ? this.init.declarations.map(function(e) {
18147
+ return extractNames(e.id);
18148
+ })
18152
18149
: [],
18153
18150
o = this.aliases;
18154
18151
(this.args = i.map(function(e) {
@@ -18191,12 +18188,9 @@ object-assign
18191
18188
r = 'VariableDeclaration' === this.left.type;
18192
18189
if (this.shouldRewriteAsFunction) {
18193
18190
var i = r
18194
- ? [].concat.apply(
18195
- [],
18196
- this.left.declarations.map(function(e) {
18197
- return extractNames(e.id);
18198
- }),
18199
- )
18191
+ ? this.left.declarations.map(function(e) {
18192
+ return extractNames(e.id);
18193
+ })
18200
18194
: [];
18201
18195
(this.args = i.map(function(e) {
18202
18196
return e in n.aliases ? n.aliases[e].outer : e;
@@ -18758,7 +18752,7 @@ object-assign
18758
18752
e && (JSXOpeningFragment.__proto__ = e),
18759
18753
(JSXOpeningFragment.prototype = Object.create(e && e.prototype)),
18760
18754
(JSXOpeningFragment.prototype.constructor = JSXOpeningFragment),
18761
- (JSXOpeningFragment.prototype.transpile = function transpile(e, a ) {
18755
+ (JSXOpeningFragment.prototype.transpile = function transpile(e) {
18762
18756
e.overwrite(
18763
18757
this.start,
18764
18758
this.end,
@@ -21761,26 +21755,26 @@ object-assign
21761
21755
this.program.indentExclusionElements.push(this);
21762
21756
}),
21763
21757
(Literal.prototype.transpile = function transpile(e, a) {
21764
- if (a.numericLiteral) {
21765
- var t = this.raw.slice(0, 2);
21766
- ('0b' !== t && '0o' !== t) ||
21758
+ if (
21759
+ (a.numericLiteral &&
21760
+ this.raw.match(/^0[bo]/i) &&
21767
21761
e.overwrite(this.start, this.end, String(this.value), {
21768
21762
storeName: !0,
21769
21763
contentOnly: !0,
21770
- });
21771
- }
21772
- if (this.regex ) {
21773
- var n = this.regex,
21774
- r = n .pattern,
21775
- i = n .flags;
21776
- if (a.stickyRegExp && /y/.test(i ))
21764
+ }),
21765
+ this.regex)
21766
+ ) {
21767
+ var t = this.regex,
21768
+ n = t .pattern,
21769
+ r = t .flags;
21770
+ if (a.stickyRegExp && /y/.test(r ))
21777
21771
throw new h('Regular expression sticky flag is not supported', this);
21778
21772
a.unicodeRegExp &&
21779
- /u/.test(i ) &&
21773
+ /u/.test(r ) &&
21780
21774
e.overwrite(
21781
21775
this.start,
21782
21776
this.end,
21783
- '/' + oe(r, i ) + '/' + i .replace('u', ''),
21777
+ '/' + oe(n, r ) + '/' + r .replace('u', ''),
21784
21778
{ contentOnly: !0 },
21785
21779
);
21786
21780
}
@@ -22388,6 +22382,7 @@ object-assign
22388
22382
'var' !== r &&
22389
22383
((r = 'var'),
22390
22384
e.overwrite(this.start, this.start + this.kind.length, r, {
22385
+ contentOnly: !0,
22391
22386
storeName: !0,
22392
22387
})),
22393
22388
a.destructuring &&
@@ -22609,7 +22604,7 @@ object-assign
22609
22604
};
22610
22605
var ue = {
22611
22606
chrome: {
22612
- 48: 305357 ,
22607
+ 48: 305359 ,
22613
22608
49: 326143,
22614
22609
50: 391679,
22615
22610
51: 391679,
@@ -22627,12 +22622,12 @@ object-assign
22627
22622
63: 1047039,
22628
22623
},
22629
22624
firefox: {
22630
- 43: 325853 ,
22631
- 44: 326109 ,
22632
- 45: 326111 ,
22633
- 46: 391647 ,
22634
- 47: 391679 ,
22635
- 48: 391679 ,
22625
+ 43: 321757 ,
22626
+ 44: 322013 ,
22627
+ 45: 322015 ,
22628
+ 46: 387551 ,
22629
+ 47: 387583 ,
22630
+ 48: 387583 ,
22636
22631
49: 387583,
22637
22632
50: 387583,
22638
22633
51: 387583,
@@ -33919,7 +33914,7 @@ object-assign
33919
33914
e.exports = {
33920
33915
config: {
33921
33916
title: 'react-semantic-render',
33922
- version: '3.0.0 ',
33917
+ version: '3.0.1 ',
33923
33918
showCode: !1,
33924
33919
showUsage: !1,
33925
33920
showSidebar: !0,
0 commit comments