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

slonik

Package Overview
Dependencies
Maintainers
1
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slonik - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

11

dist/index.js

@@ -151,12 +151,5 @@ "use strict";

if (_config.SLONIK_LOG_STACK_TRACE) {
const callSites = await (0, _getStackTrace.getOriginalStackTrace)((0, _getStackTrace.getStackTrace)());
const callSites = await (0, _getStackTrace.getStackTrace)();
stackTrace = callSites.map(callSite => {
const oncs = callSite.originalNormalisedCallSite;
const rncs = callSite.reportedNormalisedCallSite;
if (oncs) {
return oncs.fileName + ':' + oncs.lineNumber + ':' + oncs.columnNumber;
}
return rncs.fileName + ':' + rncs.lineNumber + ':' + rncs.columnNumber;
return (callSite.fileName || '') + ':' + callSite.lineNumber + ':' + callSite.columnNumber;
});

@@ -163,0 +156,0 @@ }

6

package.json

@@ -17,3 +17,3 @@ {

"es6-error": "^4.1.1",
"get-stack-trace": "^1.0.1",
"get-stack-trace": "^2.0.1",
"pg": "^7.5.0",

@@ -90,5 +90,5 @@ "pg-connection-string": "^2.0.0",

"lint": "eslint ./src ./test && flow",
"test": "NODE_ENV=test nyc ava --verbose --serial --concurrency 1 && nyc report"
"test": "NODE_ENV=test nyc ava --verbose --serial --concurrency 1"
},
"version": "7.0.1"
"version": "7.0.2"
}

@@ -10,3 +10,2 @@ // @flow

import {
getOriginalStackTrace,
getStackTrace

@@ -164,14 +163,7 @@ } from 'get-stack-trace';

if (SLONIK_LOG_STACK_TRACE) {
const callSites = await getOriginalStackTrace(getStackTrace());
const callSites = await getStackTrace();
stackTrace = callSites
.map((callSite) => {
const oncs = callSite.originalNormalisedCallSite;
const rncs = callSite.reportedNormalisedCallSite;
if (oncs) {
return oncs.fileName + ':' + oncs.lineNumber + ':' + oncs.columnNumber;
}
return rncs.fileName + ':' + rncs.lineNumber + ':' + rncs.columnNumber;
return (callSite.fileName || '') + ':' + callSite.lineNumber + ':' + callSite.columnNumber;
});

@@ -178,0 +170,0 @@ }

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