Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
A simple file fetcher CLI.
You can use Oh My CDN globally or package-specifically.
npm i -g oh-my-cdn
Install
npm i -S oh-my-cdn
Add oh-my-cdn
command to scripts
inpackage.json
{
"scripts": {
"vendor": "oh-my-cdn"
}
}
Add oh-my-cdn.json
to your package
{
"directory": "vendor",
"targets": {
"react": "https://fb.me/react-0.14.7.js",
"react-dom": {
"filename": "react-dom.min.js",
"url": "https://fb.me/react-dom-0.14.7.min.js"
}
}
}
oh-my-cdn
npm run oh-my-cdn
oh-my-cdn.json
directory
A directory to save the fetched scripts.
This is optional. If it doesn't be set, files will be fetched to vendor
by default.
targets
Files to fetch.
Each key means a file and accepts string and object as value.
If string is set, the string will be used as a URL and use the key for filename.
If object is set, you must set url
key. filename
is optional.
FAQs
Fetch and host scripts from Internet much easier
We found that oh-my-cdn 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.