@stacksjs/logsmith
Advanced tools
Sorry, the diff of this file is too big to display
+11
-5
@@ -11,3 +11,3 @@ #!/usr/bin/env node | ||
| logInfo | ||
| } from "../chunk-p59gvrv4.js"; | ||
| } from "../chunk-e2kg8c9p.js"; | ||
| import"../chunk-xne0pxt1.js"; | ||
@@ -618,3 +618,3 @@ | ||
| // package.json | ||
| var version = "0.1.9"; | ||
| var version = "0.1.10"; | ||
@@ -625,2 +625,8 @@ // bin/cli.ts | ||
| try { | ||
| let fromRef = options.from; | ||
| let toRef = options.to || "HEAD"; | ||
| if (args.length >= 4 && args[0] === "from" && args[2] === "to") { | ||
| fromRef = args[1]; | ||
| toRef = args[3]; | ||
| } | ||
| const validFormats = ["markdown", "json", "html"]; | ||
@@ -650,4 +656,4 @@ const format = options.format || "markdown"; | ||
| const cliOptions = { | ||
| from: options.from, | ||
| to: options.to || "HEAD", | ||
| from: fromRef, | ||
| to: toRef, | ||
| dir: options.dir || process2.cwd(), | ||
@@ -687,3 +693,3 @@ output: outputFile !== undefined ? outputFile : "CHANGELOG.md", | ||
| const result = await generateChangelog(config); | ||
| if (config.output === false) { | ||
| if (config.output === false && result.content) { | ||
| console.log(result.content); | ||
@@ -690,0 +696,0 @@ } |
@@ -46,3 +46,3 @@ import { | ||
| themes | ||
| } from "../chunk-p59gvrv4.js"; | ||
| } from "../chunk-e2kg8c9p.js"; | ||
| import"../chunk-xne0pxt1.js"; | ||
@@ -49,0 +49,0 @@ export { |
+1
-1
| { | ||
| "name": "@stacksjs/logsmith", | ||
| "type": "module", | ||
| "version": "0.1.9", | ||
| "version": "0.1.10", | ||
| "description": "Forge beautiful changelog automatically.", | ||
@@ -6,0 +6,0 @@ "author": "Chris Breuer <chris@stacksjs.org>", |
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
583964
0.11%17621
0.09%0
-100%