Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
anvil.buildr
Advanced tools
Readme
anvil.buildr aims to remove the complexities of dealing with concating and minifying script tags. The idea behind the plugin is to take an html file such as...
<!DOCTYPE html>
<html>
<head>
<script data-build="vendor" src="js/vendor/jquery.js"></script>
<script data-build="vendor" src="js/vendor/modernizr.js"></script>
<script data-build="vendor" src="js/vendor/underscore.js"></script>
<script data-build="app" src="js/app.js"></script>
<script data-build="app" src="js/views/home.js"></script>
<script data-build="app" src="js/routers/index.js"></script>
</head>
<body>
</body>
</html>
It will read all the script tags, pull all of the references out grouped by the data-build
attribute. Then it will concat all of the files specified in the data-build
, and run any kind of minification plugins on them. Next, it will output a js file with a default location of js/vendor.build.js
or js/app.build.js
. And finally, the index.html will be modified to look like...
<!DOCTYPE html>
<html>
<head>
<script src="js/vendor.build.js"></script>
<script src="js/app.build.js"></script>
</head>
<body>
</body>
</html>
###COMING SOON Some features in the works are the ability to customize the build.json file as such...
{
"anvil.buildr": {
"vendor": {
"minify": true,
"output": "js/build/vendor.js"
},
"app": {
"minify": false,
"output": "js/build/app.js"
}
}
}
FAQs
Parses through script tags, pulls out the references and replaces them with concating files.
The npm package anvil.buildr receives a total of 1 weekly downloads. As such, anvil.buildr popularity was classified as not popular.
We found that anvil.buildr 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.