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 2.0.3 to 2.0.4

15

lib/parsers.js

@@ -49,11 +49,20 @@ 'use strict';

},
'.h': function() {
'.h': function () {
return require('./parsers/defaultParser');
},
'.c': function() {
'.c': function () {
return require('./parsers/defaultParser');
},
'.go': function() {
'.go': function () {
return require('./parsers/defaultParser');
},
'.sh': function () {
return require('./parsers/coffeeParser');
},
'.zsh': function () {
return require('./parsers/coffeeParser');
},
'.bash': function () {
return require('./parsers/coffeeParser');
},
};

@@ -60,0 +69,0 @@

2

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

@@ -6,0 +6,0 @@ "bin": "./bin/leasot.js",

@@ -26,18 +26,19 @@ ![leasot](media/leasot.png)

| Filetype | Extension | Notes |
| ------------ | ---------------- | ------------------------------------------------|
| Coffee-React | `.cjsx` | using regex. Supports `#` comments. |
| Coffeescript | `.coffee` | using regex. Supports `#` comments. |
| Handlebars | `.hbs` | using regex. Supports `{{! }}` and `{{!-- --}}` |
| Jade | `.jade` | using regex. |
| Javascript | `.js` | using regex. Supports `// and /* */` comments |
| Jsx | `.jsx` | using regex. Supports `// and /* */` comments. |
| Less | `.less` | using regex. Supports `// and /* */` comments. |
| Ruby | `.rb` | using regex. Supports `#` comments. |
| Sass | `.sass` `.scss` | using regex. Supports `// and /* */` comments. |
| Stylus | `.styl` | using regex. Supports `// and /* */` comments. |
| Twig | `.twig` | using regex. Supports `{# #}` and `<!-- -->` |
| Typescript | `.ts` | using regex. Supports `// and /* */` comments. |
| C++/C | `.cpp` `.c` `.h` | using regex. Supports `// and /* */` comments. |
| Go | `.go` | using regex. Supports `// and /* */` comments. |
| Filetype | Extension | Notes |
| ------------ | -------------------- | ------------------------------------------------|
| Coffee-React | `.cjsx` | using regex. Supports `#` comments. |
| Coffeescript | `.coffee` | using regex. Supports `#` comments. |
| Handlebars | `.hbs` | using regex. Supports `{{! }}` and `{{!-- --}}` |
| Jade | `.jade` | using regex. |
| Javascript | `.js` | using regex. Supports `// and /* */` comments |
| Jsx | `.jsx` | using regex. Supports `// and /* */` comments. |
| Less | `.less` | using regex. Supports `// and /* */` comments. |
| Ruby | `.rb` | using regex. Supports `#` comments. |
| Sass | `.sass` `.scss` | using regex. Supports `// and /* */` comments. |
| Stylus | `.styl` | using regex. Supports `// and /* */` comments. |
| Twig | `.twig` | using regex. Supports `{# #}` and `<!-- -->` |
| Typescript | `.ts` | using regex. Supports `// and /* */` comments. |
| C++/C | `.cpp` `.c` `.h` | using regex. Supports `// and /* */` comments. |
| Go | `.go` | using regex. Supports `// and /* */` comments. |
| Shell | `.sh` `.zsh` `.bash` | using regex. Supports `#` comments. |

@@ -44,0 +45,0 @@ Javascript is the default parser.

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