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.
git-tags-remote
Advanced tools
Get remote repository tags.
Inspired by remote-git-tags and node-git-tags. Allows any type of remote repository, including repositories accessed through SSH or private repositories. If git ls-remote --tags
works for you, so will this.
$ npm install --save git-tags-remote
Note that a git binary and command line interface is a prerequisite.
const gitTagsRemote = require('git-tags-remote');
gitTagsRemote.get('git@github.com:sh0ji/focus-rover.git')
.then(tags => console.log(tags));
// => Map {'v1.0.0-rc.2' => '8e048a0fd9cb668366eef550be445ac761efd667', ...}
.get(gitUrl)
Returns a Promise<Map>
with the Git tags as keys and their commit SHA as values, just like remote-git-tags.
gitUrl
must be a valid git url.'https://github.com/sh0ji/git-tags-remote.git'
is valid but 'github.com/sh0ji/git-tags-remote'
is not..latest(gitUrl)
Returns a Promise<Array>
with the latest git tag and commit SHA value.
e.g. ['v1.0.0-rc.2', '8e048a0fd9cb668366eef550be445ac761efd667']
FAQs
Get remote repository tags.
The npm package git-tags-remote receives a total of 9,682 weekly downloads. As such, git-tags-remote popularity was classified as popular.
We found that git-tags-remote 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.