
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
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.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.