diff options
author | Darcy Clarke <darcy@darcyclarke.me> | 2020-10-13 03:16:02 +0300 |
---|---|---|
committer | Darcy Clarke <darcy@darcyclarke.me> | 2020-10-13 04:25:29 +0300 |
commit | 3955bb940858c5d4268474c74739452af6087483 (patch) | |
tree | 5affb556c9090e333b36d2ceb25fba32042bae8b /node_modules/hosted-git-info | |
parent | da240efdac60a733733f25885dce15bb06169aa4 (diff) |
hosted-git-info@3.0.6
Diffstat (limited to 'node_modules/hosted-git-info')
-rw-r--r-- | node_modules/hosted-git-info/CHANGELOG.md | 10 | ||||
-rw-r--r-- | node_modules/hosted-git-info/git-host-info.js | 2 | ||||
-rw-r--r-- | node_modules/hosted-git-info/package.json | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/node_modules/hosted-git-info/CHANGELOG.md b/node_modules/hosted-git-info/CHANGELOG.md index afdd90e13..7d7bee91c 100644 --- a/node_modules/hosted-git-info/CHANGELOG.md +++ b/node_modules/hosted-git-info/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +<a name="3.0.6"></a> +## [3.0.6](https://github.com/npm/hosted-git-info/compare/v3.0.5...v3.0.6) (2020-10-12) + + +### Bug Fixes + +* support to github gist legacy hash length ([c067102](https://github.com/npm/hosted-git-info/commit/c067102)), closes [#68](https://github.com/npm/hosted-git-info/issues/68) + + + <a name="3.0.5"></a> ## [3.0.5](https://github.com/npm/hosted-git-info/compare/v3.0.4...v3.0.5) (2020-07-11) diff --git a/node_modules/hosted-git-info/git-host-info.js b/node_modules/hosted-git-info/git-host-info.js index 8147e3348..ffd401de5 100644 --- a/node_modules/hosted-git-info/git-host-info.js +++ b/node_modules/hosted-git-info/git-host-info.js @@ -30,7 +30,7 @@ var gitHosts = module.exports = { gist: { 'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ], 'domain': 'gist.github.com', - 'pathmatch': /^[/](?:([^/]+)[/])?([a-z0-9]{32,})(?:[.]git)?$/, + 'pathmatch': /^[/](?:([^/]+)[/])?([a-z0-9]{7,})(?:[.]git)?$/, 'filetemplate': 'https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}', 'bugstemplate': 'https://{domain}/{project}', 'gittemplate': 'git://{domain}/{project}.git{#committish}', diff --git a/node_modules/hosted-git-info/package.json b/node_modules/hosted-git-info/package.json index 407ffe0f9..7d1314c42 100644 --- a/node_modules/hosted-git-info/package.json +++ b/node_modules/hosted-git-info/package.json @@ -1,6 +1,6 @@ { "name": "hosted-git-info", - "version": "3.0.5", + "version": "3.0.6", "description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab", "main": "index.js", "repository": { |