Skip to content

V6.0.0 - #1232

Open
xbubbo wants to merge 115 commits into
mainfrom
v6.0.0
Open

V6.0.0#1232
xbubbo wants to merge 115 commits into
mainfrom
v6.0.0

Conversation

@xbubbo

@xbubbo xbubbo commented Sep 18, 2026

Copy link
Copy Markdown
Member

No description provided.

xbubbo added 30 commits April 29, 2026 02:47
…e, search engine, and theme functionality (i'm sleep deprived oops)
@xbubbo xbubbo self-assigned this Sep 18, 2026
Comment thread src/build.js
function applyScramjetProtocolKeys(source, protocolKeys) {
let out = source;
for (const [from, to] of protocolKeys) {
const pattern = () => new RegExp(`(?<![\\w$])${from.replace(/\$/g, "\\$")}(?![\\w$])`, "g");
Comment thread src/build.js
Comment on lines +875 to +877
return html
.replace(HARDEN_SKIP, " ")
.replace(/<[^>]+>/g, "")
Comment thread src/build.js
// The lookarounds stop isScramjet matching inside isScramjetEnabled.
function applyIdentifierRenames(source, renames) {
let out = source;
for (const [from, to] of renames) out = out.replace(new RegExp(`(?<![\\w$])${from.replace(/\$/g, "\\$")}(?![\\w$])`, "g"), to);
Comment thread src/build.js
const scripts = [];
let index = 0;

const protectedHtml = html.replace(/<script\b([^>]*)>([\s\S]*?)<\/script>/gi, (match, attrs, source) => {
Comment thread src/build.js
Comment on lines +1034 to +1036
let output = html
.replace(/<(script|style|pre|textarea)\b[\s\S]*?<\/\1>/gi, protectBlock)
.replace(/<!--(?!\[if\b)[\s\S]*?-->/gi, "")
Comment thread src/server.js
if (config.challenge !== false) {
console.log(chalk.green("🔒 Password protection is enabled! Listing logins below"));
Object.entries(config.users).forEach(([username, password]) => {
console.log(chalk.blue(`Username: ${username}, Password: ${password}`));
Comment thread src/analytics.js
return Buffer.from(raw.map((byte, index) => byte ^ key[index % key.length])).toString("utf8");
};

const requestHook = `(function(){var B=location.origin+${JSON.stringify(transport)}+"/g/collect",S=${JSON.stringify(sink)},P=${JSON.stringify(param)},K=${JSON.stringify(key)};
Comment thread src/analytics.js
return Buffer.from(raw.map((byte, index) => byte ^ key[index % key.length])).toString("utf8");
};

const requestHook = `(function(){var B=location.origin+${JSON.stringify(transport)}+"/g/collect",S=${JSON.stringify(sink)},P=${JSON.stringify(param)},K=${JSON.stringify(key)};
Comment thread src/analytics.js
return Buffer.from(raw.map((byte, index) => byte ^ key[index % key.length])).toString("utf8");
};

const requestHook = `(function(){var B=location.origin+${JSON.stringify(transport)}+"/g/collect",S=${JSON.stringify(sink)},P=${JSON.stringify(param)},K=${JSON.stringify(key)};
Comment thread src/analytics.js
return Buffer.from(raw.map((byte, index) => byte ^ key[index % key.length])).toString("utf8");
};

const requestHook = `(function(){var B=location.origin+${JSON.stringify(transport)}+"/g/collect",S=${JSON.stringify(sink)},P=${JSON.stringify(param)},K=${JSON.stringify(key)};
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants