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

tree-sitter-go

Package Overview
Dependencies
Maintainers
1
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.1.0 to 0.1.1

24

grammar.js

@@ -614,18 +614,24 @@ const

_element_list: $ => sepTrailing(',', $._element_list, $.element),
_element_list: $ => sepTrailing(',', $._element_list, choice(
$.element,
$.keyed_element
)),
element: $ => seq(
optional(seq(
choice(
$._expression,
$.literal_value
),
':'
)),
keyed_element: $ => seq(
choice(
$._expression,
$.literal_value
),
':',
choice(
$._expression,
$.literal_value
)
),
element: $ => choice(
$._expression,
$.literal_value
),
func_literal: $ => seq(

@@ -632,0 +638,0 @@ 'func',

{
"name": "tree-sitter-go",
"version": "0.1.0",
"version": "0.1.1",
"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