Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tree-sitter

Package Overview
Dependencies
Maintainers
0
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-sitter - npm Package Compare versions

Comparing version 0.22.0 to 0.22.1

5

index.js

@@ -1,2 +0,5 @@

const binding = require('node-gyp-build')(__dirname);
const binding = typeof process.versions.bun === "string" ?
// Statically analyzable enough for `bun build --compile` to embed the tree-sitter.node napi addon
require(`./prebuilds/${process.platform}-${process.arch}/tree-sitter.node`) :
require('node-gyp-build')(__dirname);
const {Query, Parser, NodeMethods, Tree, TreeCursor, LookaheadIterator} = binding;

@@ -3,0 +6,0 @@

6

package.json
{
"name": "tree-sitter",
"version": "0.22.0",
"version": "0.22.1",
"description": "Incremental parsers for node",

@@ -56,4 +56,4 @@ "author": "Max Brunsfeld",

"build": "prebuildify --napi --strip",
"build_x64": "prebuildify --napi --strip --arch x64",
"build_arm64": "prebuildify --napi --strip --arch arm64",
"build_x64": "prebuildify --napi --strip --arch x64 --target 20.9.0",
"build_arm64": "prebuildify --napi --strip --arch arm64 --target 20.9.0",
"rebuild": "node-gyp rebuild",

@@ -60,0 +60,0 @@ "test": "node -e \"require('child_process').spawnSync('node', ['--test', ...require('glob').sync('test/**/*.js')], {stdio:'inherit'})\""

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc