Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit df56ff4

Browse files
committed
chore: bump v3.0.1
1 parent 8622838 commit df56ff4

File tree

4 files changed

+32
-37
lines changed

4 files changed

+32
-37
lines changed

docs/build/bundle.32e26d80.js renamed to docs/build/bundle.7f46cc1c.js

Lines changed: 29 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17468,7 +17468,7 @@ object-assign
1746817468
t === i.length - 1 && (o = ''), e(a.end, '', o);
1746917469
}),
1747017470
'ExpressionStatement' === this.unparenthesizedParent().type
17471-
? e.appendRight(this.end, ')')
17471+
? e.prependRight(this.end, ')')
1747217472
: e.appendRight(this.end, ', ' + r + ')');
1747317473
}),
1747417474
(AssignmentExpression.prototype.transpileExponentiation = function transpileExponentiation(
@@ -18143,12 +18143,9 @@ object-assign
1814318143
if (this.shouldRewriteAsFunction) {
1814418144
var i =
1814518145
'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+
})
1815218149
: [],
1815318150
o = this.aliases;
1815418151
(this.args = i.map(function(e) {
@@ -18191,12 +18188,9 @@ object-assign
1819118188
r = 'VariableDeclaration' === this.left.type;
1819218189
if (this.shouldRewriteAsFunction) {
1819318190
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+
})
1820018194
: [];
1820118195
(this.args = i.map(function(e) {
1820218196
return e in n.aliases ? n.aliases[e].outer : e;
@@ -18758,7 +18752,7 @@ object-assign
1875818752
e && (JSXOpeningFragment.__proto__ = e),
1875918753
(JSXOpeningFragment.prototype = Object.create(e && e.prototype)),
1876018754
(JSXOpeningFragment.prototype.constructor = JSXOpeningFragment),
18761-
(JSXOpeningFragment.prototype.transpile = function transpile(e, a) {
18755+
(JSXOpeningFragment.prototype.transpile = function transpile(e) {
1876218756
e.overwrite(
1876318757
this.start,
1876418758
this.end,
@@ -21761,26 +21755,26 @@ object-assign
2176121755
this.program.indentExclusionElements.push(this);
2176221756
}),
2176321757
(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) &&
2176721761
e.overwrite(this.start, this.end, String(this.value), {
2176821762
storeName: !0,
2176921763
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))
2177721771
throw new h('Regular expression sticky flag is not supported', this);
2177821772
a.unicodeRegExp &&
21779-
/u/.test(i) &&
21773+
/u/.test(r) &&
2178021774
e.overwrite(
2178121775
this.start,
2178221776
this.end,
21783-
'/' + oe(r, i) + '/' + i.replace('u', ''),
21777+
'/' + oe(n, r) + '/' + r.replace('u', ''),
2178421778
{ contentOnly: !0 },
2178521779
);
2178621780
}
@@ -22388,6 +22382,7 @@ object-assign
2238822382
'var' !== r &&
2238922383
((r = 'var'),
2239022384
e.overwrite(this.start, this.start + this.kind.length, r, {
22385+
contentOnly: !0,
2239122386
storeName: !0,
2239222387
})),
2239322388
a.destructuring &&
@@ -22609,7 +22604,7 @@ object-assign
2260922604
};
2261022605
var ue = {
2261122606
chrome: {
22612-
48: 305357,
22607+
48: 305359,
2261322608
49: 326143,
2261422609
50: 391679,
2261522610
51: 391679,
@@ -22627,12 +22622,12 @@ object-assign
2262722622
63: 1047039,
2262822623
},
2262922624
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,
2263622631
49: 387583,
2263722632
50: 387583,
2263822633
51: 387583,
@@ -33919,7 +33914,7 @@ object-assign
3391933914
e.exports = {
3392033915
config: {
3392133916
title: 'react-semantic-render',
33922-
version: '3.0.0',
33917+
version: '3.0.1',
3392333918
showCode: !1,
3392433919
showUsage: !1,
3392533920
showSidebar: !0,

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>react-semantic-render</title></head><body><div id="rsg-root"></div><script src="build/bundle.32e26d80.js"></script></body></html>
1+
<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>react-semantic-render</title></head><body><div id="rsg-root"></div><script src="build/bundle.7f46cc1c.js"></script></body></html>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-semantic-render",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Semantic helper components for rendering content with React.",
55
"author": "Christian Svenkerud",
66
"contributors": [

0 commit comments

Comments
 (0)