tree-sitter
Advanced tools
Comparing version 0.22.0 to 0.22.1
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
979
3724386
1