corifeus-builder 2026.4.142 โ†’ 2026.4.145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
  ---
8
- # ๐Ÿ—๏ธ Corifeus Builder v2026.4.140
8
+ # ๐Ÿ—๏ธ Corifeus Builder v2026.4.145
9
9
 
10
10
 
11
11
 
@@ -114,23 +114,22 @@ Until it works for await/async, removed from **JSDoc**.
114
114
 
115
115
  ---
116
116
 
117
- ## ๐Ÿš€ Quick and Affordable Web Development Services
117
+ # Corifeus Network
118
118
 
119
- If you want to quickly and affordably develop your next digital project, visit [corifeus.eu](https://corifeus.eu) for expert solutions tailored to your needs.
119
+ AI-powered network & email toolkit โ€” free, no signup.
120
120
 
121
- ---
122
-
123
- ## ๐ŸŒ Powerful Online Networking Tool
124
-
125
- Discover the powerful and free online networking tool at [network.corifeus.com](https://network.corifeus.com).
121
+ **Web** ยท [network.corifeus.com](https://network.corifeus.com) **MCP** ยท [`npm i -g p3x-network-mcp`](https://www.npmjs.com/package/p3x-network-mcp)
126
122
 
127
- **๐Ÿ†“ Free**
128
- Designed for professionals and enthusiasts, this tool provides essential features for network analysis, troubleshooting, and management.
129
- Additionally, it offers tools for:
130
- - ๐Ÿ“ก Monitoring TCP, HTTP, and Ping to ensure optimal network performance and reliability.
131
- - ๐Ÿ“Š Status page management to track uptime, performance, and incidents in real time with customizable dashboards.
132
-
133
- All these features are completely free to use.
123
+ - **AI Network Assistant** โ€” ask in plain language, get a full domain health report
124
+ - **Network Audit** โ€” DNS, SSL, security headers, DNSBL, BGP, IPv6, geolocation in one call
125
+ - **Diagnostics** โ€” DNS lookup & global propagation, WHOIS, reverse DNS, HTTP check, my-IP
126
+ - **Mail Tester** โ€” live SPF/DKIM/DMARC + spam score + AI fix suggestions, results emailed (localized)
127
+ - **Monitoring** โ€” TCP / HTTP / Ping with alerts and public status pages
128
+ - **MCP server** โ€” 17 tools exposed to Claude Code, Codex, Cursor, any MCP client
129
+ - **Install** โ€” `claude mcp add p3x-network -- npx p3x-network-mcp`
130
+ - **Try** โ€” *"audit example.com"*, *"why do my emails land in spam? test me@example.com"*
131
+ - **Source** โ€” [patrikx3/network](https://github.com/patrikx3/network) ยท [patrikx3/network-mcp](https://github.com/patrikx3/network-mcp)
132
+ - **Contact** โ€” [patrikx3.com](https://www.patrikx3.com/en/front/contact) ยท [donate](https://paypal.me/patrikx3)
134
133
 
135
134
  ---
136
135
 
@@ -152,10 +151,8 @@ All my domains, including [patrikx3.com](https://patrikx3.com), [corifeus.eu](ht
152
151
 
153
152
  **๐Ÿšจ Important Changes:** Any breaking changes are prominently noted in the readme to keep you informed.
154
153
 
155
- ---
156
-
157
154
 
158
- [**CORIFEUS-BUILDER**](https://corifeus.com/corifeus-builder) Build v2026.4.140
155
+ [**CORIFEUS-BUILDER**](https://corifeus.com/corifeus-builder) Build v2026.4.145
159
156
 
160
157
  [![NPM](https://img.shields.io/npm/v/corifeus-builder.svg)](https://www.npmjs.com/package/corifeus-builder) [![Donate for PatrikX3 / P3X](https://img.shields.io/badge/Donate-PatrikX3-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
161
158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corifeus-builder",
3
- "version": "2026.4.142",
3
+ "version": "2026.4.145",
4
4
  "corifeus": {
5
5
  "icon": "fas fa-gavel",
6
6
  "code": "Make",
@@ -50,8 +50,8 @@
50
50
  "mkdirp": "^3.0.1",
51
51
  "mocha": "^11.7.5",
52
52
  "mz": "^2.7.0",
53
- "npm": "^11.12.1",
54
- "npm-check-updates": "^21.0.2",
53
+ "npm": "^11.13.0",
54
+ "npm-check-updates": "^22.0.1",
55
55
  "should": "^13.2.3",
56
56
  "time-grunt": "^2.0.0",
57
57
  "yaml": "^2.8.3"
package/src/git.js CHANGED
@@ -1,9 +1,18 @@
1
1
  const exec = require('mz/child_process').exec;
2
2
 
3
- const commit = exec('git rev-list --all --count').then((stdout) => parseInt(stdout.join('').toString()));
4
- const date = exec('git log -1 --format=%at').then((stdout) => parseInt(stdout.join('').toString()));
5
- const branch = exec('git rev-parse --abbrev-ref HEAD').then((stdout) => stdout.join('').toString().trim());
6
- const repo = exec('git config remote.origin.url').then((stdout) => {
3
+ // Each promise resolves to null when not in a git repo, instead of rejecting
4
+ // noisily. Importing this module at top level previously dumped four
5
+ // "fatal: not a git repository" errors whenever cwd had no .git (e.g. webhook
6
+ // post-update tmp dirs where .git was just removed).
7
+ const safe = (cmd, mapStdout) => exec(cmd).then(
8
+ (stdout) => mapStdout(stdout),
9
+ () => null,
10
+ );
11
+
12
+ const commit = safe('git rev-list --all --count', (stdout) => parseInt(stdout.join('').toString()));
13
+ const date = safe('git log -1 --format=%at', (stdout) => parseInt(stdout.join('').toString()));
14
+ const branch = safe('git rev-parse --abbrev-ref HEAD', (stdout) => stdout.join('').toString().trim());
15
+ const repo = safe('git config remote.origin.url', (stdout) => {
7
16
  const data = stdout.join('').toString().split('/');
8
17
  let repo = data[data.length - 1].trim();
9
18
  const remove = '.git';
@@ -86,29 +86,30 @@ module.exports = async (pkgFile) => {
86
86
  const newPkgFile = JSON.stringify(pkg, null, 4);
87
87
  await fs.writeFile(pkgFile, newPkgFile)
88
88
 
89
- // Auto-ensure .npmignore protects sensitive directories
89
+ // Auto-ensure .npmignore protects sensitive paths (always, whether they exist or not)
90
90
  const cwd = path.dirname(pkgFile)
91
91
  const npmignorePath = path.join(cwd, '.npmignore')
92
- const protectedDirs = ['secure/', 'agents/', '.claude/', '.vscode/', '.codex/']
93
- const existingDirs = []
94
- for (const dir of protectedDirs) {
95
- try {
96
- await fs.access(require('path').join(cwd, dir.replace('/', '')))
97
- existingDirs.push(dir)
98
- } catch (e) {}
99
- }
100
- if (existingDirs.length > 0) {
101
- let npmignore = ''
102
- try {
103
- npmignore = await fs.readFile(npmignorePath, 'utf-8')
104
- } catch (e) {}
105
- const missing = existingDirs.filter(dir => !npmignore.split('\n').some(line => line.trim() === dir || line.trim() === dir.replace('/', '')))
106
- if (missing.length > 0) {
107
- const addition = missing.join('\n')
108
- npmignore = npmignore ? npmignore.trimEnd() + '\n' + addition + '\n' : addition + '\n'
109
- await fs.writeFile(npmignorePath, npmignore)
110
- console.log(`Auto-added to .npmignore: ${missing.join(', ')}`)
111
- }
92
+ const protected = [
93
+ 'secure/',
94
+ 'agents/',
95
+ '.claude/',
96
+ '.vscode/',
97
+ '.codex/',
98
+ 'CLAUDE.md',
99
+ 'AGENTS.md',
100
+ ]
101
+ let npmignore = ''
102
+ try {
103
+ npmignore = await fs.readFile(npmignorePath, 'utf-8')
104
+ } catch (e) {}
105
+ const normalize = (s) => s.trim().replace(/^\//, '').replace(/\/$/, '')
106
+ const lines = npmignore.split('\n').map(normalize)
107
+ const missing = protected.filter(entry => !lines.includes(normalize(entry)))
108
+ if (missing.length > 0) {
109
+ const addition = missing.join('\n')
110
+ npmignore = npmignore ? npmignore.trimEnd() + '\n' + addition + '\n' : addition + '\n'
111
+ await fs.writeFile(npmignorePath, npmignore)
112
+ console.log(`Auto-added to .npmignore: ${missing.join(', ')}`)
112
113
  }
113
114
 
114
115
  return pkg;
@@ -118,10 +118,10 @@ module.exports = async function (context) {
118
118
  const repo = await gh.getRepo('patrikx3', pkg.corifeus.reponame)
119
119
  const result = await repo.createRelease({
120
120
  "tag_name": 'v' + pkg.version,
121
- "target_commitish": "master",
121
+ "target_commitish": "main",
122
122
  "name": pkg.version,
123
123
  "body": `
124
- https://github.com/patrikx3/${pkg.corifeus.reponame}/blob/master/change-log.md#v${pkg.version.replace(/\./g, '')}
124
+ https://github.com/patrikx3/${pkg.corifeus.reponame}/blob/main/change-log.md#v${pkg.version.replace(/\./g, '')}
125
125
 
126
126
  [![Snapcraft](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/${pkg.name}#cory-non-external)
127
127
  `,