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

@travetto/test

Package Overview
Dependencies
Maintainers
1
Versions
353
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/test - npm Package Compare versions

Comparing version 0.0.75 to 0.0.76

2

package.json

@@ -30,3 +30,3 @@ {

},
"version": "0.0.75"
"version": "0.0.76"
}

@@ -74,3 +74,3 @@ import { AppEnv, isPlainObject, isFunction, isPrimitive } from '@travetto/base';

const outFile = file.split(base.replace(/^[A-Za-z]:/, ''))[1].replace(/^[\\\/]/, '')[1];
const outFile = file.split(base.replace(/^[A-Za-z]:/, ''))[1].replace(/^[\\\/]/, '');

@@ -77,0 +77,0 @@ const res = { file: outFile, line: parseInt(lineNo, 10) };

import * as util from 'util';
import { simplifyStack } from '@travetto/base';

@@ -16,3 +17,11 @@ const OG_CONSOLE = {

static log(level: string, ...args: any[]) {
const msg = args.map((x: any) => typeof x === 'string' ? x : util.inspect(x, false, 4)).join(' ');
const msg = args.map((x: any) => {
if (x instanceof Error) {
return simplifyStack(x);
} else if (typeof x === 'string') {
return x;
} else {
return util.inspect(x, false, 4);
}
}).join(' ');
this.out[level] = `${this.out[level] || ''}${msg}\n`;

@@ -19,0 +28,0 @@ }

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