Commit graph

45 commits

Author SHA1 Message Date
Amaan Qureshi 3975596d84 fix(scanner): buffer overflow & memory leak
Some checks failed
Publish package / npm (push) Has been cancelled
Publish package / crates (push) Has been cancelled
Publish package / pypi (push) Has been cancelled
2024-04-10 00:04:28 -04:00
ObserverOfTime 4e516a7cd5 feat(schema): add json schema 2024-04-10 00:04:28 -04:00
ObserverOfTime 09d7e5e33d ci: add workflows & test suite 2024-04-10 00:04:28 -04:00
ObserverOfTime af011e6e1a feat(queries): add highlight queries 2024-04-10 00:04:28 -04:00
ObserverOfTime 17f636215d test: use spec examples 2024-04-10 00:04:28 -04:00
ObserverOfTime 6347d6367c chore: remove scripts & submodules 2024-04-10 00:04:28 -04:00
ObserverOfTime 5a41809dab feat(schema): improve generator & core schema 2024-04-10 00:04:28 -04:00
ObserverOfTime e64f997114 fix(scanner): make functions static 2024-04-10 00:04:28 -04:00
ObserverOfTime f5d3ac2be1 build: update bindings 2024-04-10 00:04:28 -04:00
Robert Liebowitz c9ee63b15c fix: allow closing flow seq/map at same indentation
Resolves: https://github.com/ikatyang/tree-sitter-yaml/issues/29
2024-04-02 03:07:52 -04:00
Christian Clason 10c6c7a69d chore: fix package.json and regenerate 2024-03-27 10:31:32 +01:00
Amaan Qureshi 9e59b9bbf8 feat!: rewrite the scanner in C 2024-03-14 03:58:30 -04:00
Amaan Qureshi 828d5c2e40
chore: regenerate for abi 14 2024-02-15 04:34:08 -05:00
dependabot[bot] 0e36bed171
chore(deps): bump hosted-git-info from 2.8.4 to 2.8.9 (#27)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.4...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 12:47:24 +08:00
Ika 6129a83eee chore(release): 0.5.0 2021-04-18 14:25:59 +08:00
Ika b77b4388dc
feat: expose anchor_name, alias_name, &, and * (#24) 2021-04-18 14:19:51 +08:00
dependabot[bot] 2240ccd053
chore(deps): bump y18n from 4.0.0 to 4.0.1 (#22)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 21:35:12 +08:00
Ika 59bf31b8a2 chore(release): 0.4.1 2021-03-21 20:14:05 +08:00
Ika 5976a87d7c
fix: add missing binding.gyp (#21) 2021-03-21 20:10:14 +08:00
Ika 74d3e003f7 docs(changelog): add the missing breaking change notice 2021-03-14 18:54:33 +08:00
Ika b826144dc9 build: correct the branch name in .gitmodules 2021-03-14 18:53:46 +08:00
Ika 2e772bfeec chore(release): 0.4.0 2021-03-14 18:37:55 +08:00
Ika 32689b654d
feat: upgrade to tree-sitter@0.19.3 (#19) 2021-03-14 18:33:18 +08:00
Ika ab0ce67ce9 chore(release): 0.3.1 2021-01-01 21:13:43 +08:00
David Hotham 45ecb42abc
fix: avoid accessing unowned memory (#17) 2021-01-01 21:10:07 +08:00
dependabot[bot] da23114377
chore(deps): bump ini from 1.3.5 to 1.3.7 (#14)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 16:54:23 +08:00
Ika 258751d666 chore(release): 0.3.0 2020-10-04 15:24:17 +08:00
Ika 88ce0cbf45 docs(changelog): tweak description for #11 2020-10-04 15:20:23 +08:00
Ika 6d74a6bb62
feat: support core schema (#13)
Ref: https://yaml.org/spec/1.2/spec.html#schema/core/

- `null_scalar`
- `boolean_scalar`
- `integer_scalar`
- `float_scalar`
- `string_scalar`
2020-10-04 15:19:57 +08:00
Ika 523a6d7713 chore: upgrade playground 2020-10-02 15:58:40 +08:00
IWANABETHATGUY a9e323c341
fix(playground): always set language to trigger the tree-sitter language onChange event (#12)
* Update index.html

set default language to `yaml` by `js`, because use html set the default select value  does't trigger  the `tree-sitter.js` onChange event

* fix: 🐛 fix problem select change event does not trigger macos
2020-10-01 22:01:36 +08:00
Ika 5a437c8f28 chore(release): 0.2.0 2020-09-28 22:11:35 +08:00
Ika f75b1f93cb
feat: add literal aliases (#11) 2020-09-28 22:07:27 +08:00
Ika b26d567070 chore: upgrade to tree-sitter-playground@0.16.7 2020-09-23 22:01:56 +08:00
dependabot[bot] e83e27716d
chore(deps): bump yargs-parser from 13.1.1 to 13.1.2 (#4)
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 22:34:04 +08:00
dependabot[bot] 89a606b23f
chore(deps): bump lodash from 4.17.15 to 4.17.19 (#3)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 14:24:19 +08:00
Ika c4dc80576b chore(deps): upgrade to tree-sitter@0.16.7 2020-05-24 17:29:51 +08:00
dependabot[bot] 9ad0d6667b
chore(dev-deps): bump handlebars from 4.1.2 to 4.5.3 (#1)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-20 16:19:35 +08:00
Ika 52787b7325 chore: upgrade to tree-sitter-playground@0.15.9 2019-09-30 15:01:55 +08:00
Ika 040d84891f chore: use tree-sitter-cli@0.15.9-custom 2019-09-30 14:33:07 +08:00
Ika 2ee479d3d0 chore(deps): tree-sitter-cli@0.15.9 2019-09-20 08:49:41 +08:00
Ika cf7ab22b99 chore: add playground 2019-09-01 02:06:30 +08:00
Ika 9bac036d80 chore(release): 0.1.0 2019-08-31 20:16:11 +08:00
Ika 0fdb7f6ea7 chore: fix travis scripts 2019-08-31 20:05:34 +08:00
Ika f45f18f407 feat: initial implementation 2019-08-31 19:14:13 +08:00