Skip to content

Commit 4bd09f7

Browse files
committed
bump dependency
1 parent 3a59d67 commit 4bd09f7

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

docs/assets/after.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ paths:
4343
required: true
4444
explode: true
4545
schema:
46-
type: string
46+
type: array
47+
items:
48+
type: string
49+
maxLength: 16
4750
responses:
4851
'200':
4952
description: successful operation

docs/assets/before.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ paths:
4343
required: true
4444
explode: true
4545
schema:
46-
type: array
47-
items:
48-
type: string
49-
maxLength: 16
46+
type: string
5047
responses:
5148
'200':
5249
description: successful operation

docs/index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/4.1.0/js-yaml.min.js"></script>
1616
<!-- <script src="../dist/api-diff-viewer.umd.js"></script> -->
1717
<!-- <link rel="stylesheet" href="../dist/style.css"> -->
18-
<script src="https://cdn.jsdelivr.net/npm/api-diff-viewer@0.6.12"></script>
18+
<script src="https://cdn.jsdelivr.net/npm/api-diff-viewer@0.6.13"></script>
1919
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/api-diff-viewer/dist/style.css">
2020
<!-- Don't use this in production: -->
2121
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
@@ -39,13 +39,7 @@ <h2 style="margin-top: 30px; margin-bottom: 10px;">After (json or yaml)</h2>
3939
</div>
4040
<div id="action" style='position: fixed; width: 100%; padding: 5px;'>
4141
<button onclick="showResult('compare')">compare</button>
42-
<label for="rules">API type:</label>
4342

44-
<select name="rules" id="rules">
45-
<option value="OpenApi3">OpenApi3</option>
46-
<option value="AsyncApi2">AsyncApi2</option>
47-
<option value="JsonSchema">JsonSchema</option>
48-
</select>
4943
<label for="format">Output format:</label>
5044
<select name="format" id="format">
5145
<option value="yaml">yaml</option>
@@ -122,7 +116,6 @@ <h2 style="margin-top: 30px; margin-bottom: 10px;">After (json or yaml)</h2>
122116
after: parseEditor(after),
123117
display: document.getElementById("inline").checked ? "inline" : "side-by-side",
124118
useWorker: document.getElementById("worker").checked,
125-
rules: document.getElementById("rules").value,
126119
format: document.getElementById("format").value,
127120
navigation: true,
128121
height: "inherit"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-diff-viewer",
3-
"version": "0.6.12",
3+
"version": "0.6.13",
44
"description": "React component to view the difference between two Json based API documents",
55
"author": "Damir Yusipov",
66
"license": "MIT",
@@ -42,7 +42,7 @@
4242
"api"
4343
],
4444
"dependencies": {
45-
"api-smart-diff": "0.6.7",
45+
"api-smart-diff": "0.6.8",
4646
"diff": "^5.0.0"
4747
},
4848
"peerDependencies": {

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3340,10 +3340,12 @@ anymatch@^3.0.0, anymatch@^3.0.3, anymatch@~3.1.2:
33403340
normalize-path "^3.0.0"
33413341
picomatch "^2.0.4"
33423342

3343-
api-smart-diff@0.6.7:
3344-
version "0.6.7"
3345-
resolved "https://registry.yarnpkg.com/api-smart-diff/-/api-smart-diff-0.6.7.tgz#813d969909076efbf94237e26e8cf1e2507f609e"
3346-
integrity sha512-9QUXiobc+k2qPmmdsx92n6rFjkCHexvvi7/ADn3j88SQLYjpZ2JeW4ToWe5MbNK1oGKJzRd7x7UUHlDiA6RuAA==
3343+
api-smart-diff@0.6.8, api-smart-diff@^0.6.7:
3344+
version "0.6.8"
3345+
resolved "https://registry.yarnpkg.com/api-smart-diff/-/api-smart-diff-0.6.8.tgz#eaced2d6e1a08048293896566ad8aba405e49833"
3346+
integrity sha512-o8riIi6PGiPY9YOzWD6S7YDryUpHHNMxs1ygQdmjTxDBDoeAa5UQZlcyQELHSgU/Lxc5+RjBUUIG1BVqR59Kog==
3347+
dependencies:
3348+
api-smart-diff "^0.6.7"
33473349

33483350
app-root-dir@^1.0.2:
33493351
version "1.0.2"

0 commit comments

Comments
 (0)