diff --git a/package-lock.json b/package-lock.json index 3d2a3251..9a65daad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "typescript": "5.4.3" }, "optionalDependencies": { - "tree-sitter": "0.20.6", + "tree-sitter": "0.21.0", "tree-sitter-c-sharp": "0.20.0", "tree-sitter-cli": "0.20.8", "tree-sitter-java": "0.20.2", @@ -6066,6 +6066,15 @@ "semver": "bin/semver" } }, + "node_modules/node-addon-api": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.0.tgz", + "integrity": "sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==", + "optional": true, + "engines": { + "node": "^16 || ^18 || >= 20" + } + }, "node_modules/node-gyp": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz", @@ -6090,6 +6099,17 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/node-gyp-build": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", + "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==", + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, "node_modules/node-gyp/node_modules/isexe": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", @@ -8809,14 +8829,14 @@ "dev": true }, "node_modules/tree-sitter": { - "version": "0.20.6", - "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.20.6.tgz", - "integrity": "sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.21.0.tgz", + "integrity": "sha512-WDhpLxQdW7wsmmnBsf4NGqnEKs+Kxljk/CfbJJxgzZiinfA1gAWnhi/GirQjClw+woXhYsNq930BlskFulMMBQ==", "hasInstallScript": true, "optional": true, "dependencies": { - "nan": "^2.18.0", - "prebuild-install": "^7.1.1" + "node-addon-api": "^7.1.0", + "node-gyp-build": "^4.8.0" } }, "node_modules/tree-sitter-c-sharp": { @@ -9051,6 +9071,17 @@ "tree-sitter": "^0.20.6" } }, + "node_modules/tree-sitter-typescript/node_modules/tree-sitter": { + "version": "0.20.6", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.20.6.tgz", + "integrity": "sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "nan": "^2.18.0", + "prebuild-install": "^7.1.1" + } + }, "node_modules/ts-api-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz", @@ -14374,6 +14405,12 @@ } } }, + "node-addon-api": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.0.tgz", + "integrity": "sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==", + "optional": true + }, "node-gyp": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz", @@ -14409,6 +14446,12 @@ } } }, + "node-gyp-build": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", + "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==", + "optional": true + }, "noop-logger": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz", @@ -16401,13 +16444,13 @@ "dev": true }, "tree-sitter": { - "version": "0.20.6", - "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.20.6.tgz", - "integrity": "sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.21.0.tgz", + "integrity": "sha512-WDhpLxQdW7wsmmnBsf4NGqnEKs+Kxljk/CfbJJxgzZiinfA1gAWnhi/GirQjClw+woXhYsNq930BlskFulMMBQ==", "optional": true, "requires": { - "nan": "^2.18.0", - "prebuild-install": "^7.1.1" + "node-addon-api": "^7.1.0", + "node-gyp-build": "^4.8.0" } }, "tree-sitter-c-sharp": { @@ -16613,6 +16656,18 @@ "requires": { "nan": "^2.18.0", "tree-sitter": "^0.20.6" + }, + "dependencies": { + "tree-sitter": { + "version": "0.20.6", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.20.6.tgz", + "integrity": "sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==", + "optional": true, + "requires": { + "nan": "^2.18.0", + "prebuild-install": "^7.1.1" + } + } } }, "ts-api-utils": { diff --git a/package.json b/package.json index e0ec7ac7..aeffe8b3 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "web-tree-sitter": "0.20.8" }, "optionalDependencies": { - "tree-sitter": "0.20.6", + "tree-sitter": "0.21.0", "tree-sitter-c-sharp": "0.20.0", "tree-sitter-cli": "0.20.8", "tree-sitter-java": "0.20.2",