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

parse-github-repo-url

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-github-repo-url - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

11

index.js

@@ -40,2 +40,13 @@ var parse = require('url').parse

// https://docs.gitlab.com/ce/user/group/subgroups/
if (~url.host.indexOf('gitlab')) {
var m = /^\/((?:[\w-.]+\/)+)([\w-.]+)$/.exec(path)
if (m) {
m = m.slice(1, 3);
// remove slash at the end
m[0] = m[0].slice(0, -1);
return m.concat((url.hash || '').slice(1));
}
}
return false

@@ -42,0 +53,0 @@ }

2

package.json
{
"name": "parse-github-repo-url",
"description": "Parse a GitHub URL for user/project@version",
"version": "1.4.0",
"version": "1.4.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

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