-
-
Notifications
You must be signed in to change notification settings - Fork 4
Canary 07032024 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canary 07032024 #29
Conversation
[#] Renamed the old "simplify" mode to "simplify-seedable" [+] Added alphabetic simplify mode as "simplify"
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🎉 This PR is included in version 1.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Caution Review failedThe pull request is closed. WalkthroughThis update introduces a new obfuscation mode, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HTMLHandler
participant htmlparser2
participant SelectorConversionMap
User->>HTMLHandler: call obfuscateHtmlClassNames(html, selectorConversion, markerClass)
HTMLHandler->>htmlparser2: parse html
htmlparser2-->>HTMLHandler: emit tags and text
HTMLHandler->>SelectorConversionMap: lookup class obfuscation
HTMLHandler->>htmlparser2: reconstruct HTML with obfuscated classes
HTMLHandler-->>User: return { html: obfuscatedHtml, usedKeys }
sequenceDiagram
participant CSSHandler
participant Utils
CSSHandler->>Utils: createNewClassName(className, mode, ...)
alt mode == "random"
Utils-->>CSSHandler: generate random class name
else mode == "simplify"
Utils-->>CSSHandler: generate class name using global counter
else mode == "simplify-seedable"
Utils-->>CSSHandler: generate class name using seed and className
end
CSSHandler-->>Caller: return obfuscated class name
Assessment against linked issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 This PR is included in version 3.0.0-beta.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Added Support to Alphabetic Simplify #26
Fixed #27
Fixed #25 & Replaced Jest with Vitest
[#] Renamed the old "simplify" mode to "simplify-seedable"
[+] Added alphabetic simplify mode as "simplify"
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Documentation
Tests
Chores