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

@venncity/errors

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@venncity/errors - npm Package Compare versions

Comparing version 2.1.14 to 2.1.15-jest-memory-fixes2.39

3

lib/cjs/errorHandler/errorHandler.js

@@ -34,3 +34,4 @@ "use strict";

function setErrorOnNamespace(error) {
const namespace = cls_hooked_1.default.getNamespace(config.get('clsNamespace.sequelize'));
const jestWorkerId = process.env.JEST_WORKER_ID || '';
const namespace = cls_hooked_1.default.getNamespace(config.get('clsNamespace.sequelize') + jestWorkerId);
if (namespace && namespace.active) {

@@ -37,0 +38,0 @@ namespace.set('error', error);

@@ -27,3 +27,4 @@ var __rest = (this && this.__rest) || function (s, e) {

function setErrorOnNamespace(error) {
const namespace = cls.getNamespace(config.get('clsNamespace.sequelize'));
const jestWorkerId = process.env.JEST_WORKER_ID || '';
const namespace = cls.getNamespace(config.get('clsNamespace.sequelize') + jestWorkerId);
if (namespace && namespace.active) {

@@ -30,0 +31,0 @@ namespace.set('error', error);

{
"name": "@venncity/errors",
"version": "2.1.14",
"version": "2.1.15-jest-memory-fixes2.39+bbecdffca",
"author": "Venn Engineering",

@@ -36,3 +36,3 @@ "main": "lib/cjs/index.js",

"@sentry/types": "^5.22.3",
"@venncity/nested-config": "^3.1.19",
"@venncity/nested-config": "^3.1.20-jest-memory-fixes2.39+bbecdffca",
"@venncity/schema-consts": "^4.3.4",

@@ -46,3 +46,3 @@ "cls-hooked": "^4.2.2",

},
"gitHead": "a2b3814145dc03f83e6368cedf6cc8724e19b1fe"
"gitHead": "bbecdffca3e791988956fa8e4ab0992cc9f9d288"
}

@@ -19,3 +19,4 @@ import jsonStringify from 'fast-safe-stringify';

function setErrorOnNamespace(error) {
const namespace = cls.getNamespace(config.get('clsNamespace.sequelize'));
const jestWorkerId = process.env.JEST_WORKER_ID || '';
const namespace = cls.getNamespace(config.get('clsNamespace.sequelize') + jestWorkerId);
if (namespace && namespace.active) {

@@ -22,0 +23,0 @@ namespace.set('error', error);

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