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

a-di

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-di - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

8

lib/di.js

@@ -675,3 +675,3 @@ (function (root, factory) {

if (level === void 0) { level = 0; }
if (misc == null) {
if (misc == null || typeof misc === 'function') {
return '';

@@ -693,3 +693,7 @@ }

for (var key in misc) {
str += '.' + getKeySingle(misc[key], level + 1);
var val = misc[key];
var partial = getKeySingle(val, level + 1);
if (partial != null && partial !== '') {
str += '.' + partial;
}
}

@@ -696,0 +700,0 @@ return str;

{
"name": "a-di",
"version": "1.0.17",
"version": "1.0.18",
"description": "Dependency injection library for Javascript/Typescript",

@@ -5,0 +5,0 @@ "main": "lib/di.js",

@@ -112,3 +112,3 @@ "use strict";

if (level === void 0) { level = 0; }
if (misc == null) {
if (misc == null || typeof misc === 'function') {
return '';

@@ -130,3 +130,7 @@ }

for (var key in misc) {
str += '.' + getKeySingle(misc[key], level + 1);
var val = misc[key];
var partial = getKeySingle(val, level + 1);
if (partial != null && partial !== '') {
str += '.' + partial;
}
}

@@ -133,0 +137,0 @@ return str;

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