Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-artifactory

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-artifactory - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

2

package.json
{
"name": "npm-artifactory",
"version": "0.5.2",
"version": "0.5.3",
"description": "A proxy server that uses Artifactory to store npm modules for seamless integration with java/maven-based workflows",

@@ -5,0 +5,0 @@ "keywords": [

@@ -39,6 +39,4 @@ var http = require('http');

module.exports.artifact = function(req, res){
// infer the packagename and packageversion from the params
// ignore the revision?
var filename = req.params.filename;
var version = filename.substring(filename.lastIndexOf('-') + 1).replace('.tgz','');
var version = filename.replace(req.params.packagename, '').replace('.tgz', '').substr(1);
request.get({uri: util.artMetaPath(req.params.packagename), json: true}, function(err, artRes, body){

@@ -45,0 +43,0 @@ if (artRes.statusCode !== 200){

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