@waiting/shared-core
Advanced tools
Comparing version 20.7.1 to 20.8.0
@@ -46,5 +46,10 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ | ||
const line = site.toString(); | ||
const className = methodName | ||
let className = methodName | ||
? line.match(new RegExp(`\\b\\S+(?=\\.${methodName})`, 'u'))?.[0] ?? '' | ||
: ''; | ||
if (!className) { | ||
className = funcName | ||
? line.match(new RegExp(`\\b\\S+(?=\\.${funcName})`, 'u'))?.[0] ?? '' | ||
: ''; | ||
} | ||
const fileLine = retrievePath(line); | ||
@@ -51,0 +56,0 @@ const matched = /^(.+):(\d+):(\d+)$/u.exec(fileLine); |
{ | ||
"name": "@waiting/shared-core", | ||
"author": "waiting", | ||
"version": "20.7.1", | ||
"version": "20.8.0", | ||
"description": "node core function re export with Promise or Observable", | ||
@@ -70,3 +70,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "75bb9446c7ae1f2f0a06115c8bc6120bf1f35b8a" | ||
"gitHead": "33a10213d854c811d9c4a5d117631be6184055c8" | ||
} |
@@ -61,5 +61,10 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ | ||
const className = methodName | ||
let className = methodName | ||
? line.match(new RegExp(`\\b\\S+(?=\\.${methodName})`, 'u'))?.[0] ?? '' | ||
: '' | ||
if (! className) { | ||
className = funcName | ||
? line.match(new RegExp(`\\b\\S+(?=\\.${funcName})`, 'u'))?.[0] ?? '' | ||
: '' | ||
} | ||
@@ -66,0 +71,0 @@ const fileLine = retrievePath(line) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
179847
3474