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

true-di

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

true-di - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

esm/async-scope.js
import { decorated } from './decorated';
import { ASYNC } from './life-cycle';
let _contextProvider = global.window !== global
let _contextProvider = typeof window === 'undefined'
? require('./als-context-provider').default

@@ -5,0 +5,0 @@ : require('./sync-context-provider').default;

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

const life_cycle_1 = require("./life-cycle");
let _contextProvider = global.window !== global
let _contextProvider = typeof window === 'undefined'
? require('./als-context-provider').default

@@ -9,0 +9,0 @@ : require('./sync-context-provider').default;

{
"name": "true-di",
"version": "4.0.0",
"version": "4.0.1",
"description": "Zero Dependency, Minimalistic **Type-Safe DI Container** for TypeScript and JavaScript projects",

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

@@ -11,3 +11,3 @@ import { decorated } from './decorated';

let _contextProvider: ContextProvider<WeakMap<any, any>> =
(global as any).window !== global
typeof window === 'undefined'
? require('./als-context-provider').default

@@ -14,0 +14,0 @@ : require('./sync-context-provider').default;

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