Compare commits

...

2 Commits

Author SHA1 Message Date
d43d1ba212 4.0.6 2023-06-26 09:57:32 +02:00
65e771f1ba fix(core): update 2023-06-26 09:57:32 +02:00
4 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@pushrocks/smartstring", "name": "@pushrocks/smartstring",
"version": "4.0.5", "version": "4.0.6",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pushrocks/smartstring", "name": "@pushrocks/smartstring",
"version": "4.0.5", "version": "4.0.6",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/isounique": "^1.0.5", "@pushrocks/isounique": "^1.0.5",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartstring", "name": "@pushrocks/smartstring",
"version": "4.0.5", "version": "4.0.6",
"private": false, "private": false,
"description": "handle strings in smart ways. TypeScript ready.", "description": "handle strings in smart ways. TypeScript ready.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartstring', name: '@pushrocks/smartstring',
version: '4.0.5', version: '4.0.6',
description: 'handle strings in smart ways. TypeScript ready.' description: 'handle strings in smart ways. TypeScript ready.'
} }

View File

@ -26,7 +26,7 @@ export class GitRepo {
* ---------------------------------------------- */ * ---------------------------------------------- */
const gitRegex = function (stringArg: string) { const gitRegex = function (stringArg: string) {
const regexString = const regexString =
/([a-zA-Z0-9\-\.]*)(?:\/|\:)([a-zA-Z0-9\-\.]*)(?:\/)([a-zA-Z0-9\-\.]*)(?:\.git)/; /([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/;
let regexMatches = regexString.exec(stringArg); let regexMatches = regexString.exec(stringArg);
return regexMatches; return regexMatches;
}; };