
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 loyal friend help for watching your CoffeeScript files
[sudo] npm install -g cake-dog
You can use cakedog
as a command-line tool
$ cakedog --help
Usage: cakedog [options] <command>
Commands:
compile compile to JavaScript and save as .js files
watch watch for the file changes and compile to .js files
unwatch stop watch for the file changes
kill stop all watchers
resurrect resurrect previously watched processes
Options:
-h, --help output usage information
-V, --version output the version number
-o, --output <output> set the output directory for compiled JavaScript
-s, --source <source> set the source directory for CoffeeScript
You can prepend one line in your Cakefile
require("cake-dog")(options)
Now use cake
command to see new tasks, these cake tasks will compile the source code from 'source' to 'output'
The default options is {source: 'src', output: 'lib'}
$ cake
Cakefile defines the following tasks:
cake compile # once compile coffee scripts to javascript files
cake watch # real-time compile coffee scripts to javascript files
cake unwatch # stop compile coffee scripts to javascript files
[sudo] npm rm -g cake-dog
And don't forget to remove the require("cake-dog")
in your Cakefile (if you have done this).
Done!
kill
commandError: watch EMFILE
when use cake watch
This is caused by the limit of the use of system-wide resources in *nix system, you can increase the limitation by ulimit -n XXXX
and this message will not show again, the XXXX
is the number of limitation, set it greater than your watched file number.Copyright © 2013 Tristan Xu, http://sailxjx.github.io sailxjx@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A loyal friend help for watching your CoffeeScript files
The npm package cake-dog receives a total of 2 weekly downloads. As such, cake-dog popularity was classified as not popular.
We found that cake-dog 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.