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.
Extendible fetch, you can write native fetch unsupported scheme, such as file|data|memory....
> npm install fetch-any
support(fetcher) any fetcher implementation should call this function to register itself.
support([url,[option]]) global fetch calls this function to choose a correct fetcher. if no arguments, it should test for environment, such as node, or browser
//file.js to support file:///c:/temp/a.txt
var isNode=require("is-node")
module.exports=function(url,options){
let path=url.trim().substr("file://".length)
return new Response(require("fs").createReadStream(path),options)
}
module.exports.support=function(url){
if(arguments.length==0){
return isNode
}else if(/^file:\/\//i.test(url.trim())){
return true
}else{
return false
}
}
fetch.support(module.exports)
FAQs
README.md
The npm package fetch-any receives a total of 1 weekly downloads. As such, fetch-any popularity was classified as not popular.
We found that fetch-any 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.