Skip to content

Commit

Permalink
v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Oct 21, 2020
1 parent 58e02dc commit c1a8ec8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/joiprops.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joiprops.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joiprops.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion joiprops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ const JA = (JoiProps.JA = (a: any | Symbol) =>
null == a ? ja : Jr === a ? ja.required() : ja.items(a).default([]))
const JOu = (JoiProps.JOu = (o: any) => JO(o).unknown())
const JAd = (JoiProps.JAd = (a: any) => ja.default(a))
const JOd = (JoiProps.JOd = (o: any) => jo.default(o))
const JOd = (JoiProps.JOd = (o: any) => jo.unknown().default(o))

export { JoiProps, Joi, Nua, JT, JF, JB, JS, JN, JO, JA, JOu, JOd, JAd, Jr }
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joiprops",
"version": "0.4.0",
"version": "0.4.1",
"description": "Use Joi Schemas for your Vue component prop validation (and deep structure defaults).",
"main": "dist/joiprops.js",
"browser": "dist/joiprops.min.js",
Expand Down
2 changes: 1 addition & 1 deletion test-web/test-web.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions test/coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ <h1>Test Report</h1>
<div class="failures">0</div>
<div class="skipped">0</div>
<div class="test-count">4</div>
<div class="duration">58</div>
<div class="duration">169</div>
</div>
<div id="filters">
<input type="checkbox" checked="" onchange="filter(this)" value="success" id="show-success">
Expand All @@ -572,28 +572,28 @@ <h1>Test Report</h1>
<td class="test-title">joiprops happy

</td>
<td class="test-duration">27</td>
<td class="test-duration">114</td>
</tr>
<tr class="show joiprops success">
<td class="test-id">2</td>
<td class="test-title">joiprops accepts-joi-schema

</td>
<td class="test-duration">2</td>
<td class="test-duration">4</td>
</tr>
<tr class="show joiprops success">
<td class="test-id">3</td>
<td class="test-title">joiprops errors

</td>
<td class="test-duration">2</td>
<td class="test-duration">3</td>
</tr>
<tr class="show joiprops success">
<td class="test-id">4</td>
<td class="test-title">joiprops shortcuts

</td>
<td class="test-duration">10</td>
<td class="test-duration">30</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -1198,7 +1198,7 @@ <h2 id="dist/joiprops.js">dist/joiprops.js </h2>
<td class="line" data-tooltip>95</td>
<td class="lint empty"></td>
<td class="hits" data-tooltip>1</td>
<td class="source">const JOd &#x3D; (JoiProps.JOd &#x3D; (o) &#x3D;&gt; jo.default(o));</td>
<td class="source">const JOd &#x3D; (JoiProps.JOd &#x3D; (o) &#x3D;&gt; jo.unknown().default(o));</td>
<td class="original-line" data-tooltip="../joiprops.ts"><a href="#../joiprops.ts__103">103</a></td>
</tr> <tr id="dist/joiprops.js__96" class="hit">
<td class="line" data-tooltip>96</td>
Expand Down

0 comments on commit c1a8ec8

Please sign in to comment.