Skip to content

Commit

Permalink
chore(release): 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatyang committed Mar 14, 2021
1 parent 32689b6 commit 2e772bf
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

# [0.4.0](https://github.com/ikatyang/tree-sitter-yaml/compare/v0.3.1...v0.4.0) (2021-03-14)


### Features

* upgrade to [email protected] ([#19](https://github.com/ikatyang/tree-sitter-yaml/issues/19)) ([32689b6](https://github.com/ikatyang/tree-sitter-yaml/commit/32689b6))



## [0.3.1](https://github.com/ikatyang/tree-sitter-yaml/compare/v0.3.0...v0.3.1) (2021-01-01)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ let tree;
const startPosition = queryEditor.posFromIndex(error.index);
const endPosition = {
line: startPosition.line,
ch: startPosition.ch + (error.length || 1)
ch: startPosition.ch + (error.length || Infinity)
};

if (error.index === queryText.length) {
Expand Down
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion docs/assets/web-tree-sitter-0.16.7/tree-sitter.js

This file was deleted.

Binary file removed docs/assets/web-tree-sitter-0.16.7/tree-sitter.wasm
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/assets/web-tree-sitter-0.19.3/tree-sitter.js

Large diffs are not rendered by default.

Binary file not shown.
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="assets/tree-sitter-playground-0.16.7/style.css" media="screen" type="text/css">
<link rel="stylesheet" href="assets/tree-sitter-playground-0.19.3/style.css" media="screen" type="text/css">
<title>Tree-sitter YAML Playground</title>
</head>

Expand All @@ -24,7 +24,7 @@
}
</style>

<h1><a href="https://github.com/ikatyang/tree-sitter-yaml">Tree-sitter YAML</a> <span class="version">v0.3.1</span></h1>
<h1><a href="https://github.com/ikatyang/tree-sitter-yaml">Tree-sitter YAML</a> <span class="version">v0.4.0</span></h1>

<div id="playground-container" style="visibility: hidden;">

Expand Down Expand Up @@ -61,11 +61,11 @@ <h4>Tree</h4>

<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.45.0/codemirror.min.js"></script>

<script>LANGUAGE_BASE_URL = "assets/tree-sitter-yaml-0.3.1";</script>
<script src="assets/web-tree-sitter-0.16.7/tree-sitter.js"></script>
<script>LANGUAGE_BASE_URL = "assets/tree-sitter-yaml-0.4.0";</script>
<script src="assets/web-tree-sitter-0.19.3/tree-sitter.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/clusterize.js/0.18.0/clusterize.min.js"></script>
<script src="assets/tree-sitter-playground-0.16.7/playground.js"></script>
<script src="assets/tree-sitter-playground-0.19.3/playground.js"></script>

<script>
((codeExample, queryExample) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-yaml",
"version": "0.3.1",
"version": "0.4.0",
"description": "YAML grammar for tree-sitter",
"keywords": [
"parser",
Expand Down

0 comments on commit 2e772bf

Please sign in to comment.