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.
gmail-api-parse-message-ts
Advanced tools
Parses Gmail API's GET message method, and returns a IGmail object
tsc && node dist/test/runtests.js
var rp = require('request-promise');
var parseMessage = require('gmail-api-parse-message');
rp({
uri: 'https://www.googleapis.com/gmail/v1/users/me/messages/{MESSAGE_ID}?access_token={ACCESS_TOKEN}',
json: true
}).then(function (response) {
var parsedMessage = parseMessage(response);
console.log(parsedMessage);
/
});
/**
* Takes a response from the Gmail API's GET message method and extracts all the relevant data.
* @param {object} response - The response from the Gmail API parsed to a JavaScript object.
* @return {object} result
*/
parseMessage(response);
MIT
2.2.0 (ts)
Fixes bug in the original code (v2.1.0), as some attachments are not correctly recognized as attachments
Tests added
Forked from https://github.com/EmilTholin/gmail-api-parse-message
, v2.1.0, some parts converted to typescript, as necessary
FAQs
Parses Gmail API's GET method to iGmail object. Typescript
The npm package gmail-api-parse-message-ts receives a total of 567 weekly downloads. As such, gmail-api-parse-message-ts popularity was classified as not popular.
We found that gmail-api-parse-message-ts demonstrated a healthy version release cadence and project activity because the last version was released less than 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.