Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@waiting/shared-core

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-core - npm Package Compare versions

Comparing version 20.11.3 to 20.11.4

13

dist/lib/callstack/util.js

@@ -59,12 +59,6 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */

}
const fileLine = retrievePath(line);
const matched = /^(.+):(\d+):(\d+)$/u.exec(fileLine);
if (!matched || matched.length !== 4) {
console.warn({ line, fileLine, matched });
throw new Error('Retrieve args forme caller line failed. ');
}
const [, p1] = matched;
const fileLine = site.getFileName();
const info = {
...initInfo,
path: p1?.trim() ?? '',
path: fileLine ?? '',
fileName: site.getFileName() ?? '',

@@ -180,3 +174,4 @@ className,

}
else if (line.includes('at')) {
// else if (line.includes(' at ')) {
else if (/^\s*at .+?\d+:\d+$/u.test(line) === true) {
// " at ...\\call-config.ts:24:12"

@@ -183,0 +178,0 @@ path = line.slice(line.indexOf('at') + 3, -1);

{
"name": "@waiting/shared-core",
"author": "waiting",
"version": "20.11.3",
"version": "20.11.4",
"description": "node core function re export with Promise or Observable",

@@ -72,3 +72,3 @@ "keywords": [

},
"gitHead": "0b05cb28f1da79e780d28a9b606056d3c93237eb"
"gitHead": "8368ff397aa0612f074e0a8081686895ad323829"
}

@@ -77,13 +77,7 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */

const fileLine = retrievePath(line)
const matched = /^(.+):(\d+):(\d+)$/u.exec(fileLine)
if (! matched || matched.length !== 4) {
console.warn({ line, fileLine, matched })
throw new Error('Retrieve args forme caller line failed. ')
}
const [, p1] = matched
const fileLine = site.getFileName()
const info: CallerInfo = {
...initInfo,
path: p1?.trim() ?? '',
path: fileLine ?? '',
fileName: site.getFileName() ?? '',

@@ -221,3 +215,4 @@ className,

}
else if (line.includes('at')) {
// else if (line.includes(' at ')) {
else if (/^\s*at .+?\d+:\d+$/u.test(line) === true) {
// " at ...\\call-config.ts:24:12"

@@ -224,0 +219,0 @@ path = line.slice(line.indexOf('at') + 3, -1)

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc