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

obsidian-tasks-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obsidian-tasks-parser - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

dist/index.js

@@ -53,3 +53,3 @@ var __defProp = Object.defineProperty;

var dateFlags = [...dateTypes.keys()].join("");
var taskRe = /^([ \t]*)- +\[(.)\] *(.*)$/u;
var taskRe = /^([ \t]*)[-*] +\[(.)\] *(.*)$/u;
var priorityRe = new RegExp(` *([${priorityFlags}])`, "u");

@@ -60,3 +60,3 @@ var dateRe = new RegExp(String.raw` *(?<type>[${dateFlags}]) *(?<date>\d\d\d\d-\d\d-\d\d)`, "gu");

function parseDocument(doc, statusFilter = ".") {
const allTasksRe = new RegExp(String.raw`^[ \t]*- +\[${statusFilter}\].*$`, "gmu");
const allTasksRe = new RegExp(String.raw`^[ \t]*[-*] +\[${statusFilter}\].*$`, "gmu");
return [...doc.matchAll(allTasksRe)].map((match) => parseLine(match[0]));

@@ -63,0 +63,0 @@ }

{
"name": "obsidian-tasks-parser",
"version": "1.0.0",
"version": "1.1.0",
"description": "A parser for Markdown checklists compatible with Obsidian Tasks",

@@ -20,10 +20,3 @@ "author": "Zak Johnson <me@zakj.net> (https://zakj.net/)",

},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"@zakj",
"plugin:@typescript-eslint/recommended"
]
"extends": "@zakj"
},

@@ -43,6 +36,4 @@ "prettier": "@zakj/prettier-config",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@zakj/eslint-config": "^1.0.0",
"@zakj/prettier-config": "^1.0.0",
"@zakj/eslint-config": "^2.0.0",
"@zakj/prettier-config": "^2.0.0",
"esbuild": "^0.14.18",

@@ -49,0 +40,0 @@ "esbuild-register": "^3.3.2",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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