-
-
Notifications
You must be signed in to change notification settings - Fork 3
v.2.1.0 #8
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
v.2.1.0 #8
Conversation
[-] Removed `customTailwindDarkModeSelector` Option [#] Updated Unit Tests
[+] `removeOriginalCss` Option [#] Merged `includeAnyMatchRegexes` and `excludeAnyMatchRegexes` options into `whiteListedFolderPaths` and `blackListedFolderPaths` options
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 several new modules and test suites, expands configuration and documentation, and refactors major internal logic to improve modularity and clarity. The core CSS and JS obfuscation logic is moved into dedicated handler modules, with new APIs for extracting, mapping, and rewriting selectors and class names. Configuration options are updated to support regular expressions and a new Changes
Sequence Diagram(s)sequenceDiagram
participant CLI
participant Config
participant HandlerCSS
participant HandlerJS
participant HandlerHTML
participant Utils
CLI->>Config: Load options
Config->>CLI: Return merged options
CLI->>HandlerCSS: createSelectorConversionJson(options)
HandlerCSS->>Utils: Extract selectors from CSS files
HandlerCSS->>HandlerCSS: Generate obfuscated names, save JSON mapping
CLI->>Utils: replaceJsonKeysInFiles(selectorConversionJson, options)
Utils->>HandlerCSS: obfuscateCss(selectorConversion, cssPath, removeOriginalCss)
Utils->>HandlerJS: obfuscateJs(content, key, selectorConversion, ...)
Utils->>HandlerHTML: findHtmlTagContentsByClass(content, class)
CLI->>CLI: Log completion and info
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (17)
✨ 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 📦🚀 |
Summary by CodeRabbit
New Features
removeOriginalCss
to control whether original CSS is deleted after obfuscation.classIgnore
,whiteListedFolderPaths
, andblackListedFolderPaths
.Documentation
Bug Fixes
Refactor
Tests
Chores