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

tree-sitter-python

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-sitter-python - npm Package Compare versions

Comparing version 0.13.4 to 0.13.5

10

grammar.js

@@ -67,2 +67,3 @@ const PREC = {

_simple_statement: $ => choice(
$.future_import_statement,
$.import_statement,

@@ -96,2 +97,9 @@ $.import_from_statement,

future_import_statement: $ => seq(
'from',
'__future__',
'import',
$._import_list
),
import_from_statement: $ => seq(

@@ -784,3 +792,3 @@ 'from',

identifier: $ => /[a-zA-Z_]\w*/,
identifier: $ => /[a-zA-Zα-ωΑ-Ω_][a-zA-Zα-ωΑ-Ω_0-9]*/,

@@ -787,0 +795,0 @@ keyword_identifier: $ => alias(choice('print', 'exec'), $.identifier),

5

package.json
{
"name": "tree-sitter-python",
"version": "0.13.4",
"version": "0.13.5",
"description": "Python grammar for tree-sitter",

@@ -20,5 +20,6 @@ "main": "index.js",

"build": "tree-sitter generate && node-gyp build",
"test": "tree-sitter test && tree-sitter parse examples --quiet --time"
"test": "tree-sitter test && script/parse-examples",
"test-windows": "tree-sitter test"
},
"repository": "https://github.com/tree-sitter/tree-sitter-python"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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