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
3
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
1.0.0
to
1.0.1
+6
-0
History.md
1.0.1 / 2018-12-12
==================
**fixes**
* [[`17a90af`](http://github.com/repo-utils/giturl/commit/17a90af15e48b585ef503467d4a4f80c3e003ebf)] - fix: support multiple directory (#11) (Haoliang Gao <<sakura9515@gmail.com>>)
1.0.0 / 2015-10-15

@@ -3,0 +9,0 @@ ==================

+2
-1

@@ -46,4 +46,5 @@ /**!

// p1/p2/.../pn[.xxx]
var url = item[2].split('/', 2).join('/');
var isContainGit = /\.git$/.test(sourceURL);
var url = isContainGit ? item[2] : item[2].split('/', 2).join('/');
return protocol + '://' + host + '/' + url;
};
{
"name": "giturl",
"version": "1.0.0",
"version": "1.0.1",
"description": "Transfer git url to web url",

@@ -17,5 +17,3 @@ "main": "index.js",

},
"dependencies": {
},
"dependencies": {},
"devDependencies": {

@@ -28,3 +26,3 @@ "autod": "*",

"jshint": "*",
"mocha": "*",
"mocha": "2",
"mocha-lcov-reporter": "*",

@@ -45,3 +43,7 @@ "should": "3.3.1",

"keywords": [
"giturl", "git", "github", "gitlab", "url"
"giturl",
"git",
"github",
"gitlab",
"url"
],

@@ -48,0 +50,0 @@ "engines": {

Sorry, the diff of this file is not supported yet