Skip to content

Commit

Permalink
chore(release): 5.0.1 [skip ci]
Browse files Browse the repository at this point in the history
## [5.0.1](v5.0.0...v5.0.1) (2021-12-15)

### Bug Fixes

* error using useProvidedComponentClass with componentLoader ([7705623](7705623))
* error when using useProvidedComponentClass with s-is ([f08b821](f08b821))
* useProvidedComponentClass 时,传入复杂类,会报错 ([d66d8a9](d66d8a9))
  • Loading branch information
semantic-release-bot committed Dec 15, 2021
1 parent 63b1771 commit f617087
Show file tree
Hide file tree
Showing 122 changed files with 1,136 additions and 838 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [5.0.1](https://github.com/baidu/san-ssr/compare/v5.0.0...v5.0.1) (2021-12-15)


### Bug Fixes

* error using useProvidedComponentClass with componentLoader ([7705623](https://github.com/baidu/san-ssr/commit/770562326b7555c2787387f83e0422a2d9041bea))
* error when using useProvidedComponentClass with s-is ([f08b821](https://github.com/baidu/san-ssr/commit/f08b8211507061dd8a71d4c50f1065b29cab6f43))
* useProvidedComponentClass 时,传入复杂类,会报错 ([d66d8a9](https://github.com/baidu/san-ssr/commit/d66d8a958b1af681e3f5cf243ab4390334e23c35))

# [5.0.0](https://github.com/baidu/san-ssr/compare/v4.9.1...v5.0.0) (2021-12-06)


Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/_src_ast_renderer_ast_dfn_.arrayincludes.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L351">src/ast/renderer-ast-dfn.ts:351</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L359">src/ast/renderer-ast-dfn.ts:359</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -142,7 +142,7 @@ <h3>arr</h3>
<div class="tsd-signature tsd-kind-icon">arr<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L353">src/ast/renderer-ast-dfn.ts:353</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L361">src/ast/renderer-ast-dfn.ts:361</a></li>
</ul>
</aside>
</section>
Expand All @@ -152,7 +152,7 @@ <h3>item</h3>
<div class="tsd-signature tsd-kind-icon">item<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L354">src/ast/renderer-ast-dfn.ts:354</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L362">src/ast/renderer-ast-dfn.ts:362</a></li>
</ul>
</aside>
</section>
Expand All @@ -163,7 +163,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> kind</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html">SyntaxNode</a>.<a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html#kind">kind</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L351">src/ast/renderer-ast-dfn.ts:351</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L359">src/ast/renderer-ast-dfn.ts:359</a></li>
</ul>
</aside>
</section>
Expand Down
6 changes: 3 additions & 3 deletions docs/classes/_src_ast_renderer_ast_dfn_.arrayliteral.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L80">src/ast/renderer-ast-dfn.ts:80</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L81">src/ast/renderer-ast-dfn.ts:81</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -138,7 +138,7 @@ <h3>items</h3>
<div class="tsd-signature tsd-kind-icon">items<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L82">src/ast/renderer-ast-dfn.ts:82</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L83">src/ast/renderer-ast-dfn.ts:83</a></li>
</ul>
</aside>
</section>
Expand All @@ -149,7 +149,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> kind</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html">SyntaxNode</a>.<a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html#kind">kind</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L80">src/ast/renderer-ast-dfn.ts:80</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L81">src/ast/renderer-ast-dfn.ts:81</a></li>
</ul>
</aside>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L367">src/ast/renderer-ast-dfn.ts:367</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L375">src/ast/renderer-ast-dfn.ts:375</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -143,7 +143,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> kind</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html">SyntaxNode</a>.<a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html#kind">kind</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L367">src/ast/renderer-ast-dfn.ts:367</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L375">src/ast/renderer-ast-dfn.ts:375</a></li>
</ul>
</aside>
</section>
Expand All @@ -153,7 +153,7 @@ <h3>lhs</h3>
<div class="tsd-signature tsd-kind-icon">lhs<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L369">src/ast/renderer-ast-dfn.ts:369</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L377">src/ast/renderer-ast-dfn.ts:377</a></li>
</ul>
</aside>
</section>
Expand All @@ -163,7 +163,7 @@ <h3>rhs</h3>
<div class="tsd-signature tsd-kind-icon">rhs<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L370">src/ast/renderer-ast-dfn.ts:370</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L378">src/ast/renderer-ast-dfn.ts:378</a></li>
</ul>
</aside>
</section>
Expand Down
10 changes: 5 additions & 5 deletions docs/classes/_src_ast_renderer_ast_dfn_.binaryexpression.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L185">src/ast/renderer-ast-dfn.ts:185</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L193">src/ast/renderer-ast-dfn.ts:193</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -147,7 +147,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> kind</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html">SyntaxNode</a>.<a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html#kind">kind</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L185">src/ast/renderer-ast-dfn.ts:185</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L193">src/ast/renderer-ast-dfn.ts:193</a></li>
</ul>
</aside>
</section>
Expand All @@ -157,7 +157,7 @@ <h3>lhs</h3>
<div class="tsd-signature tsd-kind-icon">lhs<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L187">src/ast/renderer-ast-dfn.ts:187</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L195">src/ast/renderer-ast-dfn.ts:195</a></li>
</ul>
</aside>
</section>
Expand All @@ -167,7 +167,7 @@ <h3>op</h3>
<div class="tsd-signature tsd-kind-icon">op<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#binaryoperator" class="tsd-signature-type">BinaryOperator</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L188">src/ast/renderer-ast-dfn.ts:188</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L196">src/ast/renderer-ast-dfn.ts:196</a></li>
</ul>
</aside>
</section>
Expand All @@ -177,7 +177,7 @@ <h3>rhs</h3>
<div class="tsd-signature tsd-kind-icon">rhs<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L189">src/ast/renderer-ast-dfn.ts:189</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L197">src/ast/renderer-ast-dfn.ts:197</a></li>
</ul>
</aside>
</section>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/_src_ast_renderer_ast_dfn_.catchclause.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L162">src/ast/renderer-ast-dfn.ts:162</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L163">src/ast/renderer-ast-dfn.ts:163</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -142,7 +142,7 @@ <h3>body</h3>
<div class="tsd-signature tsd-kind-icon">body<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#statement" class="tsd-signature-type">Statement</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L165">src/ast/renderer-ast-dfn.ts:165</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L166">src/ast/renderer-ast-dfn.ts:166</a></li>
</ul>
</aside>
</section>
Expand All @@ -153,7 +153,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> kind</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html">SyntaxNode</a>.<a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html#kind">kind</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L162">src/ast/renderer-ast-dfn.ts:162</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L163">src/ast/renderer-ast-dfn.ts:163</a></li>
</ul>
</aside>
</section>
Expand All @@ -163,7 +163,7 @@ <h3>param</h3>
<div class="tsd-signature tsd-kind-icon">param<span class="tsd-signature-symbol">:</span> <a href="_src_ast_renderer_ast_dfn_.identifier.html" class="tsd-signature-type">Identifier</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L164">src/ast/renderer-ast-dfn.ts:164</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L165">src/ast/renderer-ast-dfn.ts:165</a></li>
</ul>
</aside>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ <h2>Constructors</h2>
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">new <wbr>Component<wbr>Class<wbr>Reference<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a>, tagName<span class="tsd-signature-symbol">: </span><a href="_src_ast_renderer_ast_dfn_.literal.html" class="tsd-signature-type">Literal</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_src_ast_renderer_ast_dfn_.componentclassreference.html" class="tsd-signature-type">ComponentClassReference</a></li>
<li class="tsd-signature tsd-kind-icon">new <wbr>Component<wbr>Class<wbr>Reference<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a>, tagName<span class="tsd-signature-symbol">: </span><a href="_src_ast_renderer_ast_dfn_.literal.html" class="tsd-signature-type">Literal</a><span class="tsd-signature-symbol"> | </span><a href="_src_ast_renderer_ast_dfn_.identifier.html" class="tsd-signature-type">Identifier</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_src_ast_renderer_ast_dfn_.componentclassreference.html" class="tsd-signature-type">ComponentClassReference</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L110">src/ast/renderer-ast-dfn.ts:110</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L111">src/ast/renderer-ast-dfn.ts:111</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -126,7 +126,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>value: <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></h5>
</li>
<li>
<h5>tagName: <a href="_src_ast_renderer_ast_dfn_.literal.html" class="tsd-signature-type">Literal</a></h5>
<h5>tagName: <a href="_src_ast_renderer_ast_dfn_.literal.html" class="tsd-signature-type">Literal</a><span class="tsd-signature-symbol"> | </span><a href="_src_ast_renderer_ast_dfn_.identifier.html" class="tsd-signature-type">Identifier</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_src_ast_renderer_ast_dfn_.componentclassreference.html" class="tsd-signature-type">ComponentClassReference</a></h4>
Expand All @@ -143,17 +143,17 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> kind</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html">SyntaxNode</a>.<a href="../interfaces/_src_ast_renderer_ast_dfn_.syntaxnode.html#kind">kind</a></p>
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L110">src/ast/renderer-ast-dfn.ts:110</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L111">src/ast/renderer-ast-dfn.ts:111</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="tagname" class="tsd-anchor"></a>
<h3>tag<wbr>Name</h3>
<div class="tsd-signature tsd-kind-icon">tag<wbr>Name<span class="tsd-signature-symbol">:</span> <a href="_src_ast_renderer_ast_dfn_.literal.html" class="tsd-signature-type">Literal</a></div>
<div class="tsd-signature tsd-kind-icon">tag<wbr>Name<span class="tsd-signature-symbol">:</span> <a href="_src_ast_renderer_ast_dfn_.literal.html" class="tsd-signature-type">Literal</a><span class="tsd-signature-symbol"> | </span><a href="_src_ast_renderer_ast_dfn_.identifier.html" class="tsd-signature-type">Identifier</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L113">src/ast/renderer-ast-dfn.ts:113</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L114">src/ast/renderer-ast-dfn.ts:114</a></li>
</ul>
</aside>
</section>
Expand All @@ -163,7 +163,7 @@ <h3>value</h3>
<div class="tsd-signature tsd-kind-icon">value<span class="tsd-signature-symbol">:</span> <a href="../modules/_src_ast_renderer_ast_dfn_.html#expression" class="tsd-signature-type">Expression</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/fe66360/src/ast/renderer-ast-dfn.ts#L112">src/ast/renderer-ast-dfn.ts:112</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/63b1771/src/ast/renderer-ast-dfn.ts#L113">src/ast/renderer-ast-dfn.ts:113</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit f617087

Please sign in to comment.