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

continuation-local-storage

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

continuation-local-storage - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

11

context.js

@@ -13,8 +13,5 @@ 'use strict';

// TODO: by default, contexts nest -- but domains won't
this._stack = [];
// every namespace has a default / "global" context
// FIXME: domains require different behavior to preserve distinction between
// _makeCallback and _makeDomainCallback, for performance reasons.
this.active = Object.create(null);

@@ -45,4 +42,8 @@ }

this.enter(context);
fn(context);
this.exit(context);
try {
fn(context);
}
finally {
this.exit(context);
}
return context;

@@ -49,0 +50,0 @@ };

{
"name": "continuation-local-storage",
"version": "1.1.0",
"version": "1.1.1",
"description": "userland implementation of https://github.com/joyent/node/issues/5243",

@@ -5,0 +5,0 @@ "main": "context.js",

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