github-url-to-object
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "github-url-to-object", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Extract user, repo, and other interesting properties from GitHub URLs", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "mocha", | ||
"build": "browserify index.js --standalone gh > dist/gh.js" | ||
}, | ||
@@ -27,4 +28,6 @@ "repository": { | ||
"devDependencies": { | ||
"mocha": "^1.19.0" | ||
"browserify": "^4.2.1", | ||
"mocha": "^1.19.0", | ||
"uglify-js": "^2.4.15" | ||
} | ||
} |
# github-url-to-object [![Build Status](https://travis-ci.org/zeke/github-url-to-object.png?branch=master)](https://travis-ci.org/zeke/github-url-to-object) | ||
A node module that extracts useful properties like `user` and | ||
`repo` from various flavors of GitHub URLs. | ||
A module for node.js and browsers that extracts useful properties like `user`, | ||
`repo`, and `branch` from various flavors of GitHub URLs. | ||
@@ -21,3 +21,2 @@ There's also a Bitbucket equivalent to this library: [bitbucket-url-to-object](https://github.com/zeke/bitbucket-url-to-object). | ||
gh('monkey/business') | ||
gh('github:monkey/business') | ||
@@ -43,6 +42,6 @@ gh('https://github.com/monkey/business') | ||
The shorthand format lets you specify a branch: | ||
The shorthand form lets you specify a branch: | ||
```js | ||
gh('monkey/business#nachos') | ||
gh('github:monkey/business#nachos') | ||
{ | ||
@@ -49,0 +48,0 @@ user: 'monkey', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72195
9
2066
3
67
4
1