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

tree-sitter-go

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-sitter-go - npm Package Compare versions

Comparing version 0.13.2 to 0.13.3

21

grammar.js

@@ -517,3 +517,2 @@ const

choice($.expression_case, $.default_case),
':',
optional($._statement_list)

@@ -524,6 +523,10 @@ ),

'case',
$.expression_list
$.expression_list,
':'
),
default_case: $ => 'default',
default_case: $ => seq(
'default',
':'
),

@@ -549,3 +552,2 @@ type_switch_statement: $ => seq(

choice($.type_case, $.default_case),
':',
optional($._statement_list)

@@ -556,3 +558,4 @@ ),

'case',
commaSep1($._type)
commaSep1($._type),
':'
),

@@ -569,3 +572,2 @@

choice($.communication_case, $.default_case),
':',
optional($._statement_list)

@@ -576,3 +578,4 @@ ),

'case',
choice($.send_statement, $.receive_statement)
choice($.send_statement, $.receive_statement),
':'
),

@@ -599,2 +602,4 @@

$.nil,
$.true,
$.false,
$.parenthesized_expression

@@ -812,2 +817,4 @@ ),

nil: $ => 'nil',
true: $ => 'true',
false: $ => 'false',

@@ -814,0 +821,0 @@ // http://stackoverflow.com/questions/13014947/regex-to-match-a-c-style-multiline-comment/36328890#36328890

{
"name": "tree-sitter-go",
"version": "0.13.2",
"version": "0.13.3",
"description": "Go grammar for tree-sitter",

@@ -5,0 +5,0 @@ "main": "index.js",

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

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