@stacksjs/bumpx
Advanced tools
+1
-1
| #!/usr/bin/env node | ||
| // @bun | ||
| import{a as A,b as W,f as Q,g as G,h as _}from"../chunk-afsx92r6.js";import{F as h,G as q,j as X,k as Y}from"../chunk-pncc752s.js";import{J as Z}from"../chunk-rpzxpagy.js";import{K as L,L as H}from"../chunk-ys4t56yj.js";import w from"process";var N="0.2.0";w.on("SIGINT",()=>{Q.value=!0,w.stderr.write(` | ||
| import{a as A,b as W,f as Q,g as G,h as _}from"../chunk-afsx92r6.js";import{F as h,G as q,j as X,k as Y}from"../chunk-pncc752s.js";import{J as Z}from"../chunk-rpzxpagy.js";import{K as L,L as H}from"../chunk-ys4t56yj.js";import w from"process";var N="0.2.1";w.on("SIGINT",()=>{Q.value=!0,w.stderr.write(` | ||
| Operation cancelled by user \x1B[3m(Ctrl+C)\x1B[0m | ||
@@ -5,0 +5,0 @@ `),w.exit(0)});var K=new Z("bumpx");function R({event:b,script:m,updatedFiles:u,skippedFiles:j,newVersion:J},y=!1){switch(b){case"fileUpdated":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Updated ${u[u.length-1]} to ${J}`));break;case"fileSkipped":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.info} ${j[j.length-1]} did not need to be updated`));break;case"gitCommit":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Git commit`));break;case"gitTag":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Git tag`));break;case"gitPush":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Git push`));break;case"npmScript":console.log(q.green(`${h.checkmark} Npm run ${m}`));break;case"execute":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Execute ${m}`));break;case"changelogGenerated":if(y)console.log(q.gray(`\uD83D\uDD0E ${h.checkmark} Generated changelog`));break}}async function S(){if(G(),w.env.NODE_ENV==="test"||w.env.BUN_ENV==="test"||w.argv.includes("test"))return!0;try{let b=await import("../chunk-rpzxpagy.js"),m=b.confirm||b.default?.confirm||b.CLI?.confirm;if(!m)throw new Error("Unable to import confirmation prompt from @stacksjs/clapp");return console.log(` |
+1
-1
| { | ||
| "name": "@stacksjs/bumpx", | ||
| "type": "module", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "Automatically bump your versions.", | ||
@@ -6,0 +6,0 @@ "author": "Chris Breuer <chris@stacksjs.org>", |
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
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
0
-100%