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 1.2.1 to 1.2.2

18

.imdone/config.json

@@ -20,2 +20,6 @@ {

{
"name": "BACKLOG",
"hidden": false
},
{
"name": "TODO",

@@ -35,2 +39,14 @@ "hidden": true

"hidden": true
},
{
"name": "doing",
"hidden": false
},
{
"name": "todo",
"hidden": false
},
{
"name": "publish",
"hidden": false
}

@@ -48,3 +64,3 @@ ],

"meta": {
"issue": {
"git-iss": {
"urlTemplate": "https://github.com/imdone/imdone-core/issues/%s",

@@ -51,0 +67,0 @@ "titleTemplate": "Show github issue %s"

'use strict';
var path = require('path');
// DOING:0 Eliminate unused config options
// #DOING:0 Eliminate unused config options
var DEFAULT_EXCLUDE_PATTERN = "^(node_modules|bower_components|\\.imdone|target|build|dist|logs)[\\/\\\\]?|\\.(git|svn|hg|npmignore)|\\~$|\\.(jpg|png|gif|swp|ttf|otf)$";
var CONFIG_DIR = ".imdone";
module.exports = {
CONFIG_DIR: CONFIG_DIR,
CONFIG_FILE: path.join(CONFIG_DIR,"config.json"),
DEFAULT_FILE_PATTERN: "^(readme\\.md|home\\.md)$",

@@ -7,0 +11,0 @@ DEFAULT_EXCLUDE_PATTERN: DEFAULT_EXCLUDE_PATTERN,

3

lib/file.js

@@ -253,2 +253,3 @@ 'use strict';

File.prototype.getLang = function() {
// #BACKLOG:10 Allow a project to extend languages by adding them to config.json git-iss:5
var lang = languages[path.extname(this.path)];

@@ -335,3 +336,3 @@ return lang || {name:"text",symbol:""};

var list = result[1];
if (config && !config.includeList(list)) return; // #DOING:0 Save all lists found so we can present them to the user
if (config && !config.includeList(list)) return; // #BACKLOG:0 Save all lists found so we can present them to the user
var rawTask = result[0];

@@ -338,0 +339,0 @@ var order = (result[2] === undefined) ? 0 : parseFloat(result[2]);

'use strict';
var cBlock = {"start":"/*", "end":"*/", "ignore":"*"};
module.exports = {
module.exports = {
".coffee": {"name": "coffeescript", "symbol": "#"},

@@ -56,2 +56,4 @@ ".litcoffee": {"name": "coffeescript", "symbol": "#", "literate": true},

".sql": {"name": "sql", "symbol": "--"},
".pks": {"name": "pks", "symbol": "--", "block": cBlock},
".pkb": {"name": "pkb", "symbol": "--", "block": cBlock},
".vala": {"name": "vala", "symbol": "//"},

@@ -58,0 +60,0 @@ ".vapi": {"name": "vala", "symbol": "//"},

@@ -17,4 +17,4 @@ 'use strict';

var CONFIG_DIR = ".imdone",
CONFIG_FILE = _path.join(CONFIG_DIR,"config.json");
var CONFIG_DIR = constants.CONFIG_DIR,
CONFIG_FILE = constants.CONFIG_FILE;

@@ -116,3 +116,3 @@ function getRegExp(s) {

// #ARCHIVE:20 Fix loadConfig defaults
// #DOING:20 issue:2 assigned:piascikj If a config is bad move it to config.json.bak and save a new one with defaults +enhancement
// #DOING:20 git-iss:2 assigned:piascikj If a config is bad move it to config.json.bak and save a new one with defaults +enhancement
cb = tools.cb(cb);

@@ -119,0 +119,0 @@ var baseConfig = _.cloneDeep(constants.DEFAULT_CONFIG);

@@ -8,2 +8,3 @@ 'use strict';

File = require('../file'),
constants = require('../constants'),
chokidar = require('chokidar');

@@ -34,3 +35,3 @@

var relPath = repo.getRelativePath(path);
return relPath.indexOf(".imdone/config.json") > -1;
return relPath.indexOf(constants.CONFIG_FILE) > -1;
};

@@ -37,0 +38,0 @@

{
"name": "imdone-core",
"version": "1.2.1",
"version": "1.2.2",
"description": "imdone-core",

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

@@ -8,4 +8,5 @@ imdone-core

[![NPM](https://nodei.co/npm/imdone-core.png)](https://nodei.co/npm/imdone-core/)
Organize TODO, FIXME, HACK, etc. comments in code or any text file.
**Organize TODO, FIXME, HACK, etc. comments in code or any text file.**
Initializing a Repository

@@ -110,3 +111,4 @@ ----

- Tasks with metadata can be linked to external resources like other task mgmt systems and websites
- Add a `meta` attribute to `.imdone/config.json`
- Add a `meta` attribute to `.imdone/config.json`
- In this example `user:piascikj` would link to <https://github.com/piascikj>

@@ -113,0 +115,0 @@ ```javascript

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