
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
getto-detect
Advanced tools
javascript function for static web to detect next version's path
GettoDetect().from_current_version("1.0.0", function(path) {
path // => "/2.1.0/index.html" (e.g.)
// redirect to next version
location.href = path
});
HEAD /1.0.1/index.html, HEAD /1.1.0/index.html, HEAD /2.0.0/index.htmlnpm install --save-dev getto-detect
cp node_modules/getto-detect/dist/getto-detect.js /path/to/your/project
or
curl https://github.com/getto-systems/getto-detect/blob/master/dist/getto-detect.js -o /path/to/your/project/getto-detect.js
GettoDetect().from_current_version(
"1.0.0", // the version to start detecting
function(path) {
// detected
},
function() {
// not found
}
);
detect next version's path from current version
GettoDetect({
// function that convert from version number to path
version_to_path: function(version) {
return "/" + version + "/index.html";
},
})
specify function that convert from version number to path
getto-detect is licensed under the MIT license.
Copyright © since 2018 shun@getto.systems
FAQs
javascript function for static web to detect next version's path
The npm package getto-detect receives a total of 4 weekly downloads. As such, getto-detect popularity was classified as not popular.
We found that getto-detect 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.