hosted-git-info
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -175,3 +175,4 @@ 'use strict' | ||
const hasSlash = firstSlash > 0 | ||
const doesNotEndWithSlash = !arg.endsWith('/') | ||
// if a # is found, what we really want to know is that the character immediately before # is not a / | ||
const doesNotEndWithSlash = firstHash > -1 ? arg[firstHash - 1] !== '/' : !arg.endsWith('/') | ||
const doesNotStartWithDot = !arg.startsWith('.') | ||
@@ -178,0 +179,0 @@ |
{ | ||
"name": "hosted-git-info", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
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
29774
420
1