Security News
RubyGems.org Adds New Maintainer Role
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.
NPM module to easily access and use the functions provided by the PersonAPI platform (https://personapi.codevigor.com)
A simple library that allows you to access the functions provided by the PersonAPI platform.
npm install personapi
var personapi = require('personapi');
personapi.init({
token: "your_user_token",
app_token: "your_app_token"
});
personapi.registerUser({
"email": "suyash@codevigor.com",
"password": "user_password"
})
.then(function(response) {
console.log(response);
})
.catch(function(err) {
console.log(err);
});
- Login function - creates a new session for a user
personapi.login({
email: "suyash@codevigor.com",
password: "user_password"
});
- Check session - checks if a user's session is still active
personapi.checkSession({
email: "suyash@codevigor.com",
login_token": "token_received_after_login"
});
- Logout - destroys the current active session for a user
personapi.logout({
email: "suyash@codevigor.com",
login_token": "token_received_after_login"
});
- Retrieve user details - queries the service for details of a user
personapi.getUserDetails({
email: "suyash@codevigor.com",
login_token": "token_received_after_login"
});
- Update user details - overwrites user details
personapi.saveUserDetails({
email: "suyash@codevigor.com",
login_token": "token_received_after_login",
first_name: "new first name",
surname: "new last name",
additional_details: {
address: "new address",
mobile: "new mobile"
}
});
- Update password - updates password of user
personapi.changePassword({
email: "suyash@codevigor.com",
login_token": "token_received_after_login",
old_password: "old user password",
new_password: "new password"
});
- Get user list - returns list of users
personapi.getUserList({
email: "suyash@codevigor.com",
login_token": "token_received_after_login"
});
- Sends email for reset password
personapi.emailForResetPassword({
email: "suyash@codevigor.com"
});
FAQs
NPM module to easily access and use the functions provided by the PersonAPI platform (https://personapi.codevigor.com)
The npm package personapi receives a total of 1 weekly downloads. As such, personapi popularity was classified as not popular.
We found that personapi 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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.