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

parse-github-url

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-github-url - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

index.js
/*!
* parse-github-url <https://github.com/jonschlinkert/parse-github-url>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
* Copyright (c) 2015-2017, Jon Schlinkert.
* Released under the MIT License.
*/

@@ -32,2 +32,7 @@

if (!obj.host && /^git@/.test(str) === true) {
// return the correct host for git@ URLs
obj.host = url.parse('http://' + str).host;
}
obj.path = trimSlash(obj.path);

@@ -34,0 +39,0 @@ obj.pathname = trimSlash(obj.pathname);

{
"name": "parse-github-url",
"description": "Parse a github URL into an object.",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/jonschlinkert/parse-github-url",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
"Ben Meiri (https://github.com/bmeiri)",
"Brian Woodward (https://twitter.com/doowb)",
"Jeremy Ruppel (jeremyruppel.github.io)",
"Jon Schlinkert (http://twitter.com/jonschlinkert)",
"Pete Cook (cookpete.com)",
"Philipp Alferov (https://github.com/alferov)",
"William Bartholomew (https://willbar.com)"
],
"repository": "jonschlinkert/parse-github-url",

@@ -23,5 +32,5 @@ "bugs": {

"devDependencies": {
"gulp-format-md": "^0.1.7",
"mocha": "^2.4.5",
"verb-generate-readme": "^0.2.1"
"gulp-format-md": "^1.0.0",
"mocha": "^3.2.0",
"verb-generate-readme": "^0.6.0"
},

@@ -43,2 +52,7 @@ "keywords": [

"run": true,
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [

@@ -49,19 +63,13 @@ "gulp-format-md"

"list": [
"github-short-url-regex",
"is-git-url",
"parse-github-short-url"
"git-add-remote",
"git-branch",
"git-repo-name",
"git-username",
"is-git-url"
]
},
"toc": false,
"lint": {
"reflinks": true
},
"layout": "default",
"tasks": [
"readme"
],
"reflinks": [
"verb"
]
}
}
}

Sorry, the diff of this file is not supported yet

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