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

nesting-doll

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nesting-doll - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -36,3 +36,3 @@ 'use strict';

if (!current._active) {
if (!current || !current._active) {
return null;

@@ -39,0 +39,0 @@ }

{
"name": "nesting-doll",
"version": "1.0.2",
"version": "1.0.3",
"description": "Nested context library using CLS",

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

@@ -118,2 +118,9 @@ /*jshint expr: true*/

it('returns null if there is no current doll', function (done) {
nestingDoll._namespace.run(function () {
expect(nestingDoll.currentDoll()).to.be.null;
done();
});
});
it('returns null if current doll is not active', function (done) {

@@ -120,0 +127,0 @@ var doll = nestingDoll.nest('foo');

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