Socket
Socket
Sign inDemoInstall

npm-api

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-api - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

7

index.js

@@ -120,7 +120,8 @@ /*!

NpmApi.prototype.repo = function(name) {
if (this.has(['repos', name])) {
return this.get(['repos', name]);
var escaped = name.split('.').join('\\\\.');
if (this.has(['repos', escaped])) {
return this.get(['repos', escaped]);
}
var repo = new Repo(name, this.store);
this.set(['repos', name], repo);
this.set(['repos', escaped], repo);
this.run(repo);

@@ -127,0 +128,0 @@ return repo;

{
"name": "npm-api",
"description": "Base class for retrieving data from the npm registry.",
"version": "0.4.7",
"version": "0.4.8",
"homepage": "https://github.com/doowb/npm-api",

@@ -6,0 +6,0 @@ "author": "Brian Woodward (https://github.com/doowb)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc