
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
stylelint-processor-arbitrary-tags
Advanced tools
A stylelint processor that allows you to lint CSS within arbitrary tags
A stylelint processor that allows you to lint CSS within arbitrary tags.
The module uses a regular expression to identify code within the specified tags, then passes the code on to stylelint.
By default, it looks for code within <style>
tags (see default options below). But you can change the regular expression to find code within other tags, like {% highlight css %}...{% endhighlight %}
for Jekyll templates, or /* start css */.../* end css */
within a JS file, or who knows what else.
Type: string
that's RegExp-ready
Default: '[^
'"]<style[\s\S]*?>`
Type: string
that's RegExp-ready
Default: '</\\s*?style>'
Type: string
that's RegExp-ready
Default: '[\\s\\S]*?'
0.1.0
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.