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

imdone-core

Package Overview
Dependencies
Maintainers
1
Versions
478
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imdone-core - npm Package Compare versions

Comparing version 0.1.9 to 0.2.0

16

lib/file.js

@@ -244,2 +244,3 @@ var _ = require("lodash"),

block = block.replace(new RegExp(HASH_STYLE_REGEX), "**TASK**");
return block;
}

@@ -307,6 +308,7 @@ /**

if (config && !config.includeList(list)) return;
log("Found a CODE_STYLE_PATTERN task: list:%s, order:%d, text:%s", list, order, text);
log("Found a CODE_STYLE_PATTERN task: list:%s, order:%s, text:%s, pos:%d", list, order, text, pos);
if ((text.toUpperCase() == text) || (text.replace(" ", "") === "")) return;
order = (order === undefined) ? 0 : parseFloat(order);
var line = (content.substring(0,pos).match(/\n/g)||[]).length + 1;
var lb = content.substring(0,pos).match(/\n/g);
var line = (lb||[]).length + 1;
var task = new Task({

@@ -370,5 +372,6 @@ codeStyle: true,

clone.replace(new RegExp(LINK_STYLE_REGEX), function(md, text, list, order, pos) {
log("Found a LINK_STYLE_REGEX task: list:%s, order:%d, text:%s", list, order, text);
log("Found a LINK_STYLE_REGEX task: list:%s, order:%s, text:%s, pos:%d", list, order, text, pos);
if (self.isValidTask(clone, pos)) {
var line = (clone.substring(0,pos).match(/\n/g)||[]).length + 1;
var lb = clone.substring(0,pos).match(/\n/g);
var line = (lb||[]).length + 1;
var task = new Task({

@@ -393,6 +396,7 @@ text:text,

clone.replace(new RegExp(HASH_STYLE_REGEX), function(md, list, order, text, pos) {
log("Found a HASH_STYLE_REGEX task: list:%s, order:%d, text:%s", list, order, text);
log("Found a HASH_STYLE_REGEX task: list:%s, order:%s, text:%s, pos:%d", list, order, text, pos);
if (self.isValidTask(clone, pos)) {
order = (order === undefined) ? 0 : parseFloat(order);
var line = (clone.substring(0,pos).match(/\n/g)||[]).length + 1;
var lb = clone.substring(0,pos).match(/\n/g);
var line = (lb||[]).length + 1;
var task = new Task({

@@ -399,0 +403,0 @@ text:text,

{
"name": "imdone-core",
"version": "0.1.9",
"version": "0.2.0",
"description": "imdone-core",

@@ -5,0 +5,0 @@ "main": "index.js",

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