🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

fixme

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fixme - npm Package Compare versions

Comparing version

to
0.4.4

0

bin/cli.js

@@ -0,0 +0,0 @@ 'use strict';

14

bin/fixme.js

@@ -19,3 +19,3 @@ 'use strict';

note: {
regex: /[\/\/][\/\*]\s*NOTE\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*NOTE\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ✐ NOTE',

@@ -25,3 +25,3 @@ colorer: chalk.green

optimize: {
regex: /[\/\/][\/\*]\s*OPTIMIZE\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*OPTIMIZE\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ↻ OPTIMIZE',

@@ -31,3 +31,3 @@ colorer: chalk.blue

todo: {
regex: /[\/\/][\/\*]\s*TODO\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*TODO\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ✓ TODO',

@@ -37,3 +37,3 @@ colorer: chalk.magenta

hack: {
regex: /[\/\/][\/\*]\s*HACK\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*HACK\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ✄ HACK',

@@ -43,3 +43,3 @@ colorer: chalk.yellow

xxx: {
regex: /[\/\/][\/\*]\s*XXX\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*XXX\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ✗ XXX',

@@ -49,3 +49,3 @@ colorer: chalk.black.bgYellow

fixme: {
regex: /[\/\/][\/\*]\s*FIXME\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*FIXME\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ☠ FIXME',

@@ -55,3 +55,3 @@ colorer: chalk.red

bug: {
regex: /[\/\/][\/\*]\s*BUG\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
regex: /(?:^|[^:])\/[/*]\s*BUG\b\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
label: ' ☢ BUG',

@@ -58,0 +58,0 @@ colorer: chalk.white.bgRed

'use strict';
module.exports = require('./bin/fixme');
{
"name": "fixme",
"description": "Scan for NOTE, OPTIMIZE, TODO, HACK, XXX, FIXME, and BUG comments within your source, and print them to stdout so you can deal with them.",
"version": "0.4.3",
"version": "0.4.4",
"author": "John Postlethwait <john.postlethwait@gmail.com>",
"website": "http://johnpostlethwait.github.io/fixme",
"contributors": [],
"keywords": ["notes", "hack", "todo", "fixme", "annotate", "optimize"],
"keywords": [
"notes",
"hack",
"todo",
"fixme",
"annotate",
"optimize"
],
"repository": {

@@ -15,17 +20,12 @@ "type": "git",

},
"main": "./index.js",
"scripts": {
"test" : "node test/annotation_test.js"
"test": "node test/annotation_test.js"
},
"bin": {
"fixme": "bin/cli"
},
"engines": {
"node": ">= v0.10.26"
},
"licenses": [

@@ -37,3 +37,2 @@ {

],
"dependencies": {

@@ -44,10 +43,7 @@ "byline": "5.0.0",

"isbinaryfile": "3.0.1",
"minimatch": "3.0.3",
"minimist": "1.2.0",
"minimatch": "3.0.3",
"minimist": "1.2.0",
"readdirp": "2.1.0"
},
"devDependencies": {
}
"devDependencies": {}
}

@@ -100,2 +100,3 @@ # Fixme #

* Can be preceeded by 0 to n number of characters, this includes the comment characters // and /*
* Must not have colon (:) before the comment character //
* Must have one of the words: NOTE, OPTIMIZE, TODO, HACK, XXX, FIXME, or BUG

@@ -102,0 +103,0 @@ * Can have 0 to n space characters

@@ -9,3 +9,6 @@ // NOTE: This is the sample output for a note!

require('../bin/fixme')({
// The next line is just a URL
// https://bugzilla.mozilla.org/show_bug.cgi?id=1399196
require('../bin/fixme')({ // NOTE: It doesn't need to be placed at line start!
path: process.cwd(),

@@ -12,0 +15,0 @@ ignored_directories: ['node_modules/**', '.git/**'],

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

Sorry, the diff of this file is not supported yet