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 13.2.0 to 13.3.0

14

dist/definitions.d.ts

@@ -11,3 +11,3 @@ /**

*/
export declare type Tag = string;
export type Tag = string;
export interface ExtensionConfig {

@@ -130,7 +130,7 @@ /**

*/
export declare type Parser = (contents: string, file: string) => TodoComment[];
export type Parser = (contents: string, file: string) => TodoComment[];
/**
* A factory to return a parser
*/
export declare type ParserFactory = (config: ParserFactoryConfig) => Parser;
export type ParserFactory = (config: ParserFactoryConfig) => Parser;
export interface CustomParsers {

@@ -142,6 +142,6 @@ [parserName: string]: ParserFactory;

*/
export declare type ReportItems = (comments: TodoComment[], config: any) => any;
export declare type ReporterName = string;
export declare type TransformComment = (file: string, line: number, ref: string, tag: Tag, text: string) => string | string[];
export declare type TransformHeader = (tag: Tag) => string | string[];
export type ReportItems = (comments: TodoComment[], config: any) => any;
export type ReporterName = string;
export type TransformComment = (file: string, line: number, ref: string, tag: Tag, text: string) => string | string[];
export type TransformHeader = (tag: Tag) => string | string[];
export interface ReporterConfig {

@@ -148,0 +148,0 @@ newLine?: string;

@@ -62,2 +62,3 @@ import _ from 'lodash';

'.py': { parserName: 'pythonParser' },
'.R': { parserName: 'coffeeParser' },
'.rb': { parserName: 'coffeeParser' },

@@ -64,0 +65,0 @@ '.rs': { parserName: 'defaultParser' },

{
"name": "leasot",
"description": "Parse and output TODOs and FIXMEs from comments in your files",
"version": "13.2.0",
"version": "13.3.0",
"author": "Gilad Peleg <gilad@giladpeleg.com> (https://www.giladpeleg.com)",

@@ -12,8 +12,8 @@ "type": "module",

"dependencies": {
"async": "^3.2.3",
"async": "^3.2.4",
"chalk": "^5.0.1",
"commander": "^9.1.0",
"commander": "^9.4.0",
"eol": "^0.9.1",
"get-stdin": "^9.0.0",
"globby": "^13.1.1",
"globby": "^13.1.2",
"json2xml": "^0.1.3",

@@ -26,19 +26,19 @@ "lodash": "^4.17.21",

"devDependencies": {
"@types/async": "^3.2.12",
"@types/lodash": "^4.14.180",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.23",
"@types/async": "^3.2.15",
"@types/lodash": "^4.14.182",
"@types/mocha": "^10.0.1",
"@types/node": "^18.0.6",
"@types/normalize-path": "^3.0.0",
"@types/text-table": "^0.2.2",
"husky": "^7.0.4",
"jsdoc-to-markdown": "^7.1.1",
"lint-staged": "^12.3.7",
"mocha": "^9.2.2",
"husky": "^8.0.1",
"jsdoc-to-markdown": "^8.0.0",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"normalize-path": "3.0.0",
"prettier": "^2.6.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"should": "^13.2.3",
"ts-node": "^10.7.0",
"typedoc": "^0.22.13",
"typescript": "^4.6.3"
"ts-node": "^10.9.1",
"typedoc": "^0.23.8",
"typescript": "^4.7.4"
},

@@ -45,0 +45,0 @@ "engines": {

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