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.
npm install opmltojs
opmlToJs makes it easy to read and write OPML files in Node apps.
The basic idea: Pass in some OPML text, get back a JavaScript object. And the other way works too.
It builds on xml2Js.
Note this package does not expand OPML includes.
See the readstates app for an example of how to call it.
A blog post announcing opmlToJs.
Added new exported function visitSubs. I had to write this for an app I'm working on, but it seemed it should be part of this package.
Added new exported function opmlify. It turns an outline structure returned by opmltojs.parse into the equivalent OPML text. It's the other side of parsing, serializing.
Improved the example program, used the canonical example OPML file to test with. It is in its own folder with its own package.json file, so it's a better model of how an app might use the package.
Add a generator element to the head section after we parse the OPML text, following the example of RSS 2.0.
Commented some debugging code.
FAQs
Pass in some OPML text, get back a JavaScript object.
The npm package opmltojs receives a total of 122 weekly downloads. As such, opmltojs popularity was classified as not popular.
We found that opmltojs 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.