
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
A nodejs script that allows you to watch a folder for changes and compile the less css files into another folder, optionally passing original lessc compiler arguments. When the --line-numbers=mediaquery argument is used, this nodejs script will fix the syntax so that webkit understands it too.
I only added those latter modifications. All credits should go to those who did the most work (which is like 99%):
Jonathan Cheung for writing the entire less watcher https://github.com/jonycheung/Dead-Simple-LESS-Watch-Compiler
Mikeal Rogers for writing the original folder watch script https://github.com/mikeal/watch
Usage: node lesswatch.js [options] Example: node lesswatch.js --line-numbers=mediaquery less css
That will watch ./less folder and compile the less css files into
./css when they are added/changed and add mediaquery-formatted
debug info to the css for debugging with webkit-inspector.
###Prerequisites
Install LESS (http://www.lesscss.org/) and make sure the lessc
binary is accessible to the script. Installing LESS with the --global
flag will make the binary accessible to your system.
npm install less --global
###Usage
node lesswatch.js [options] <source-folder> <destination-folder>
###Example
node lesswatch.js --line-numbers=mediaquery less css
That will watch ./less folder and compile the less css files into ./css when they are added/changed and add mediaquery-formatted debug info to the css for debugging with webkit-inspector.
.less
extension. More file extensions can be added by modifying the allowedExtensions
array._style.css
or period .style.css
are ignored. This behavior can be changed in the filterFiles()
function.FAQs
LESS folder watcher with optional debug information
The npm package lesswatch receives a total of 0 weekly downloads. As such, lesswatch popularity was classified as not popular.
We found that lesswatch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.