Comparing version 0.0.5 to 0.0.6
@@ -109,5 +109,5 @@ "use strict"; | ||
if (file.deleted) { | ||
return chalk_1.default.strikethrough.red(file.base); | ||
return chalk_1.default.strikethrough.red(callback(file.base, file)); | ||
} | ||
return chalk_1.default.blue(file.base); | ||
return chalk_1.default.blue(callback(file.base, file)); | ||
case "date": | ||
@@ -114,0 +114,0 @@ return chalk_1.default.yellow(callback(file.date, file)); |
@@ -70,2 +70,3 @@ "use strict"; | ||
get delete() { | ||
fs_1.default.unlinkSync(this.base); | ||
this.deleted = true; | ||
@@ -72,0 +73,0 @@ return true; |
@@ -27,2 +27,3 @@ #!/usr/bin/env node | ||
const io = __importStar(require("./io")); | ||
const { version } = require('../package.json'); | ||
const isPiped = !process.stdin.isTTY; | ||
@@ -49,3 +50,3 @@ function main(filename, rawQuery) { | ||
; | ||
commander_1.program.version("0.0.5"); | ||
commander_1.program.version(version); | ||
commander_1.program | ||
@@ -52,0 +53,0 @@ .option('--json', 'tell the program it\'s json content') |
{ | ||
"name": "jiq", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Use existing javascript knowledge to query or mutate data", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -66,1 +66,2 @@ # Let's start | ||
Read full [documentation](https://md-adil.github.io/jiq/) here. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
44342
1075
67
1
16