New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

leasot

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leasot - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0

2

dist/lib/parsers.js

@@ -50,5 +50,7 @@ "use strict";

'.pm': { parserName: 'coffeeParser' },
'.proto': { parserName: 'defaultParser' },
'.pug': { parserName: 'jadeParser' },
'.py': { parserName: 'pythonParser' },
'.rb': { parserName: 'coffeeParser' },
'.rs': { parserName: 'defaultParser' },
'.sass': { parserName: 'defaultParser' },

@@ -55,0 +57,0 @@ '.scala': { parserName: 'defaultParser' },

2

package.json
{
"name": "leasot",
"description": "Parse and output TODOs and FIXMEs from comments in your files",
"version": "7.1.0",
"version": "7.2.0",
"author": "Gilad Peleg <giladp007@gmail.com> (http://giladpeleg.com)",

@@ -6,0 +6,0 @@ "bin": {

@@ -42,46 +42,48 @@ <h1 align="center">

| ------------ | -------------------- | -------------------------------------------| ------------------- |
| C# | `.cs` | Supports `// and /* */` comments. | defaultParser |
| C++/C | `.cpp` `.c` `.h` | Supports `// and /* */` comments. | defaultParser |
| Coffee-React | `.cjsx` | Supports `#` comments. | coffeeParser |
| Coffeescript | `.coffee` | Supports `#` comments. | coffeeParser |
| Crystal | `.cr` | Supports `#` comments. | coffeeParser |
| CSon | `.cson` | Supports `#` comments. | coffeeParser |
| CSS | `.css` | Supports `/* */` comments. | defaultParser |
| EJS | `.ejs` | Supports `<!-- -->` and `<%# %>` | ejsParser |
| Erb | `.erb` | Supports `<!-- -->` and `<%# %>` | ejsParser |
| Erlang | `.erl` `.hrl` | Supports `%` comments. | erlangParser |
| Go | `.go` | Supports `// and /* */` comments. | defaultParser |
| Haml | `.haml` | Supports `/ -# <!-- --> and <%# %>` | twigParser |
| Handlebars | `.hbs` `.handlebars` | Supports `{{! }}` and `{{!-- --}}` | hbsParser |
| Haskell | `.hs` | Supports `--` | haskellParser |
| Hogan | `.hgn` `.hogan` | Supports `{{! }}` and `{{!-- --}}` | hbsParser |
| HTML | `.html` `.htm` | Supports `<!-- -->` | twigParser |
| Jade | `.jade` `.pug` | Supports `//` and `//-` comments. | jadeParser |
| Java | `.java` | Supports `// and /* */` comments | defaultParser |
| Javascript | `.js` `.es` `.es6` | Supports `// and /* */` comments | defaultParser |
| Jsx | `.jsx` | Supports `// and /* */` comments. | defaultParser |
| Kotlin | `.kt` | Supports `// and /* */` comments. | defaultParser |
| Latex | `.tex` | Supports `\begin{comment}` and `%` comments| latexParser |
| Less | `.less` | Supports `// and /* */` comments. | defaultParser |
| Markdown | `.markdown`, `.md` | Supports `<!-- -->` | twigParser |
| Mustache | `.mustache` | Supports `{{! }}` and `{{!-- --}}` | hbsParser |
| Nunjucks | `.njk` | Supports `{# #}` and `<!-- -->` | twigParser |
| Objective-C | `.m` | Supports `// and /* */` comments | defaultParser |
| Objective-C++ | `.mm` | Supports `// and /* */` comments | defaultParser |
| Pascal | `.pas` | Supports `// and { }` comments. | pascalParser |
| Perl | `.pl`, `.pm` | Supports `#` comments. | coffeeParser |
| PHP | `.php` | Supports `// and /* */` comments. | defaultParser |
| Python | `.py` | Supports `"""` and `#` comments. | pythonParser |
| Ruby | `.rb` | Supports `#` comments. | coffeeParser |
| Sass | `.sass` `.scss` | Supports `// and /* */` comments. | defaultParser |
| Scala | `.scala` | Supports `// and /* */` comments. | defaultParser |
| Shell | `.sh` `.zsh` `.bash` | Supports `#` comments. | coffeeParser |
| SilverStripe | `.ss` | Supports `<%-- --%>` comments. | ssParser |
| SQL | `.sql` | Supports `--` and `/* */` comments | defaultParser & haskellParser |
| Stylus | `.styl` | Supports `// and /* */` comments. | defaultParser |
| Swift | `.swift` | Supports `// and /* */` comments. | defaultParser |
| Twig | `.twig` | Supports `{# #}` and `<!-- -->` | twigParser |
| Typescript | `.ts`, `.tsx` | Supports `// and /* */` comments. | defaultParser |
| Vue | `.vue` | Supports `//` `/* */` `<!-- -->` comments. | twigParser |
| Yaml | `.yaml` `.yml` | Supports `#` comments. | coffeeParser |
| C# | `.cs` | Supports `// and /* */` comments. | defaultParser |
| C++/C | `.cpp` `.c` `.h` | Supports `// and /* */` comments. | defaultParser |
| Coffee-React | `.cjsx` | Supports `#` comments. | coffeeParser |
| Coffeescript | `.coffee` | Supports `#` comments. | coffeeParser |
| Crystal | `.cr` | Supports `#` comments. | coffeeParser |
| CSon | `.cson` | Supports `#` comments. | coffeeParser |
| CSS | `.css` | Supports `/* */` comments. | defaultParser |
| EJS | `.ejs` | Supports `<!-- -->` and `<%# %>` | ejsParser |
| Erb | `.erb` | Supports `<!-- -->` and `<%# %>` | ejsParser |
| Erlang | `.erl` `.hrl` | Supports `%` comments. | erlangParser |
| Go | `.go` | Supports `// and /* */` comments. | defaultParser |
| Haml | `.haml` | Supports `/ -# <!-- --> and <%# %>` | twigParser |
| Handlebars | `.hbs` `.handlebars` | Supports `{{! }}` and `{{!-- --}}` | hbsParser |
| Haskell | `.hs` | Supports `--` | haskellParser |
| Hogan | `.hgn` `.hogan` | Supports `{{! }}` and `{{!-- --}}` | hbsParser |
| HTML | `.html` `.htm` | Supports `<!-- -->` | twigParser |
| Jade | `.jade` `.pug` | Supports `//` and `//-` comments. | jadeParser |
| Java | `.java` | Supports `// and /* */` comments | defaultParser |
| Javascript | `.js` `.es` `.es6` | Supports `// and /* */` comments | defaultParser |
| Jsx | `.jsx` | Supports `// and /* */` comments. | defaultParser |
| Kotlin | `.kt` | Supports `// and /* */` comments. | defaultParser |
| Latex | `.tex` | Supports `\begin{comment}` and `%` comments| latexParser |
| Less | `.less` | Supports `// and /* */` comments. | defaultParser |
| Markdown | `.markdown`, `.md` | Supports `<!-- -->` | twigParser |
| Mustache | `.mustache` | Supports `{{! }}` and `{{!-- --}}` | hbsParser |
| Nunjucks | `.njk` | Supports `{# #}` and `<!-- -->` | twigParser |
| Objective-C | `.m` | Supports `// and /* */` comments | defaultParser |
| Objective-C++ | `.mm` | Supports `// and /* */` comments | defaultParser |
| Pascal | `.pas` | Supports `// and { }` comments. | pascalParser |
| Perl | `.pl`, `.pm` | Supports `#` comments. | coffeeParser |
| PHP | `.php` | Supports `// and /* */` comments. | defaultParser |
| Protocol Buffer | `.proto` | Supports `// and /* */` comments. | defaultParser |
| Python | `.py` | Supports `"""` and `#` comments. | pythonParser |
| Ruby | `.rb` | Supports `#` comments. | coffeeParser |
| Rust | `.rs` | Supports `// and /* */` comments. | defaultParser |
| Sass | `.sass` `.scss` | Supports `// and /* */` comments. | defaultParser |
| Scala | `.scala` | Supports `// and /* */` comments. | defaultParser |
| Shell | `.sh` `.zsh` `.bash` | Supports `#` comments. | coffeeParser |
| SilverStripe | `.ss` | Supports `<%-- --%>` comments. | ssParser |
| SQL | `.sql` | Supports `--` and `/* */` comments | defaultParser & haskellParser |
| Stylus | `.styl` | Supports `// and /* */` comments. | defaultParser |
| Swift | `.swift` | Supports `// and /* */` comments. | defaultParser |
| Twig | `.twig` | Supports `{# #}` and `<!-- -->` | twigParser |
| Typescript | `.ts`, `.tsx` | Supports `// and /* */` comments. | defaultParser |
| Vue | `.vue` | Supports `//` `/* */` `<!-- -->` comments. | twigParser |
| Yaml | `.yaml` `.yml` | Supports `#` comments. | coffeeParser |

@@ -88,0 +90,0 @@ Javascript is the default parser. **PRs for additional filetypes is most welcomed!!**

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