Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

giturl

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

giturl - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+5
-0
History.md
0.0.3 / 2014-04-24
==================
* support parse github tarballs url. close #2
0.0.2 / 2014-02-27

@@ -3,0 +8,0 @@ ==================

+4
-1

@@ -44,3 +44,6 @@ /**!

var protocol = HTTPS_HOSTS[host] ? 'https' : 'http';
return protocol + '://' + host + '/' + item[2];
// p1/p2/.../pn[.xxx]
var url = item[2].split('/', 2).join('/');
return protocol + '://' + host + '/' + url;
};
+10
-9
{
"name": "giturl",
"version": "0.0.2",
"version": "0.0.3",
"description": "Transfer git url to web url",

@@ -22,19 +22,20 @@ "main": "index.js",

"autod": "*",
"blanket": "*",
"contributors": "*",
"should": "*",
"blanket": "*",
"travis-cov": "*",
"cov": "*",
"coveralls": "*",
"jshint": "*",
"mocha": "*",
"mocha-lcov-reporter": "*",
"mocha": "*"
"should": "3.3.1",
"travis-cov": "*"
},
"homepage": "https://github.com/fengmk2/giturl",
"homepage": "https://github.com/repo-utils/giturl",
"repository": {
"type": "git",
"url": "git://github.com/fengmk2/giturl.git",
"web": "https://github.com/fengmk2/giturl"
"url": "git://github.com/repo-utils/giturl.git",
"web": "https://github.com/repo-utils/giturl"
},
"bugs": {
"url": "https://github.com/fengmk2/giturl/issues",
"url": "https://github.com/repo-utils/giturl/issues",
"email": "fengmk2@gmail.com"

@@ -41,0 +42,0 @@ },

giturl
=======
[![Build Status](https://secure.travis-ci.org/fengmk2/giturl.png)](http://travis-ci.org/fengmk2/giturl) [![Coverage Status](https://coveralls.io/repos/fengmk2/giturl/badge.png)](https://coveralls.io/r/fengmk2/giturl) [![Dependency Status](https://gemnasium.com/fengmk2/giturl.png)](https://gemnasium.com/fengmk2/giturl)
[![Build Status](https://secure.travis-ci.org/repo-utils/giturl.png)](http://travis-ci.org/repo-utils/giturl)
[![Coverage Status](https://coveralls.io/repos/repo-utils/giturl/badge.png)](https://coveralls.io/r/repo-utils/giturl)
[![Dependency Status](https://gemnasium.com/repo-utils/giturl.png)](https://gemnasium.com/repo-utils/giturl)
[![NPM](https://nodei.co/npm/giturl.png?downloads=true&stars=true)](https://nodei.co/npm/giturl/)
![logo](https://raw.github.com/fengmk2/giturl/master/logo.png)
![logo](https://raw.github.com/repo-utils/giturl/master/logo.png)

@@ -43,2 +47,5 @@ Transfer git url to web url.

// => http://gitcafe.com/fengmk2/cnpm
giturl.parse('http://github.com/component/emitter/archive/1.0.1.tar.gz')
// => https://github.com/component/emitter
```

@@ -45,0 +52,0 @@

Sorry, the diff of this file is not supported yet