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

tree-sitter-go

Package Overview
Dependencies
Maintainers
3
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.0 to 0.13.1

.gitmodules

19

grammar.js

@@ -65,3 +65,3 @@ const

],
word: $ => $.identifier,

@@ -757,9 +757,20 @@

interpreted_string_literal: $ => token(seq(
interpreted_string_literal: $ => seq(
'"',
repeat(choice(
/[^"\n\\]/,
seq('\\', /./)
token.immediate(prec(1, /[^"\n\\]/)),
$.escape_sequence
)),
'"'
),
escape_sequence: $ => token.immediate(seq(
'\\',
choice(
/[^xuU]/,
/\d{2,3}/,
/x[0-9a-fA-F]{2,}/,
/u[0-9a-fA-F]{4}/,
/U[0-9a-fA-F]{8}/
)
)),

@@ -766,0 +777,0 @@

{
"name": "tree-sitter-go",
"version": "0.13.0",
"version": "0.13.1",
"description": "Go grammar for tree-sitter",

@@ -16,8 +16,8 @@ "main": "index.js",

"devDependencies": {
"tree-sitter-cli": "^0.13.1"
"tree-sitter-cli": "^0.13.6"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",
"test": "tree-sitter test && tree-sitter parse examples/* --quiet --time"
"test": "tree-sitter test && script/parse-examples"
}
}

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