From f1e5a09b8d02f8209a68249c93f0ad647b228e6e Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Fri, 25 Aug 2023 01:02:55 -0400 Subject: [PATCH] 0.20.1 --- Cargo.toml | 12 ++++++------ package.json | 8 +++++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b60f8024..bf8dee95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tree-sitter-javascript" -description = "JavaScript grammar for the tree-sitter parsing library" -version = "0.20.0" +description = "JavaScript grammar for tree-sitter" +version = "0.20.1" authors = [ "Max Brunsfeld ", "Douglas Creager ", @@ -11,7 +11,8 @@ readme = "bindings/rust/README.md" keywords = ["incremental", "parsing", "javascript"] categories = ["parsing", "text-editors"] repository = "https://github.com/tree-sitter/tree-sitter-javascript" -edition = "2018" +edition = "2021" +autoexamples = false build = "bindings/rust/build.rs" include = [ @@ -25,7 +26,6 @@ include = [ path = "bindings/rust/lib.rs" [dependencies] -tree-sitter = ">= 0.19, < 0.21" - +tree-sitter = "~0.20.10" [build-dependencies] -cc = "1.0" +cc = "~1.0.83" diff --git a/package.json b/package.json index 1dda4bd0..3e2c6c96 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "tree-sitter-javascript", - "version": "0.20.0", - "description": "Javascript grammar for node-tree-sitter", + "version": "0.20.1", + "description": "JavaScript grammar for tree-sitter", "main": "bindings/node", "keywords": [ "parser", - "lexer" + "lexer", + "javascript" ], "repository": { "type": "git", @@ -24,6 +25,7 @@ "scripts": { "build": "tree-sitter generate && node-gyp build", "lint": "eslint grammar.js", + "parse": "tree-sitter parse", "test": "tree-sitter test && script/parse-examples", "test-windows": "tree-sitter test" },