parse-github-repo-url
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "parse-github-repo-url", | ||
"description": "Parse a GitHub URL for user/project@version", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": { | ||
@@ -12,10 +12,19 @@ "name": "Jonathan Ong", | ||
"license": "MIT", | ||
"repository": "repo-utils/parse-github-repo-url", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/repo-utils/parse-github-repo-url.git" | ||
}, | ||
"devDependencies": { | ||
"mocha": "1" | ||
"mocha": "1", | ||
"semantic-release": "^4.3.5" | ||
}, | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"scripts": { | ||
"test": "mocha --reporter spec --bail" | ||
"test": "mocha --reporter spec --bail", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";" | ||
} | ||
} | ||
} |
@@ -6,3 +6,7 @@ # parse-github-repo-url | ||
[![Build Status](https://travis-ci.org/repo-utils/parse-github-repo-url.svg?branch=master)](https://travis-ci.org/repo-utils/parse-github-repo-url) | ||
[![semantic-release][semantic-image] ][semantic-url] | ||
[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg | ||
[semantic-url]: https://github.com/semantic-release/semantic-release | ||
# Features | ||
@@ -27,3 +31,3 @@ | ||
```js | ||
var parse = require('@bahmutov/parse-github-repo-url') | ||
var parse = require('parse-github-repo-url') | ||
parse('component/emitter#1') // => ['component', 'emitter', '1'] | ||
@@ -30,0 +34,0 @@ ``` |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
35
0
0
4477
2
4
37