New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@travetto/base

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/base - npm Package Compare versions

Comparing version 0.0.46 to 0.0.47

2

package.json

@@ -22,3 +22,3 @@ {

"scripts": {},
"version": "0.0.46"
"version": "0.0.47"
}

@@ -10,2 +10,3 @@ // Pulled from http://stackoverflow.com/questions/31089801/extending-error-in-javascript-with-es6-syntax#answer-32749533

Error.captureStackTrace(this, this.constructor);
this.stack = this.stack; // Force stack analysis
} else {

@@ -12,0 +13,0 @@ this.stack = (new Error(message)).stack;

@@ -36,7 +36,7 @@ import { AppEnv } from './env';

chain.filter.attach(function (error: Error, frames: any[]) {
chain.filter.attach(function (error: Error, frames: NodeJS.CallSite[]) {
// Filter out traces related to this file
const rewrite = frames.filter(function (callSite) {
return callSite.getFileName() &&
callSite.getFileName().indexOf(BASE) >= 0 &&
return (callSite.getFileName() &&
callSite.getFileName()!.indexOf(BASE) >= 0) &&
!callSite.isNative() &&

@@ -43,0 +43,0 @@ !callSite.isToplevel() &&

@@ -15,2 +15,2 @@ function test() {

console.log(e);
}
}
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