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

@furystack/inject

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/inject - npm Package Compare versions

Comparing version 4.0.24 to 4.0.25

5

dist/injector.js

@@ -17,3 +17,2 @@ "use strict";

async dispose() {
/** */
const singletons = Array.from(this.cachedSingletons.entries()).map((e) => e[1]);

@@ -24,3 +23,5 @@ const disposeRequests = singletons

if (s.dispose) {
return s.dispose() || Promise.resolve();
console.log('Dispose start', s.constructor.name);
await s.dispose();
console.log('Dispose finished', s.constructor.name);
}

@@ -27,0 +28,0 @@ });

6

package.json
{
"name": "@furystack/inject",
"version": "4.0.24",
"version": "4.0.25",
"description": "Core FuryStack package",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

"dependencies": {
"@furystack/utils": "^1.1.15",
"@furystack/utils": "^1.1.16",
"reflect-metadata": "^0.1.13",

@@ -38,3 +38,3 @@ "tslib": "^1.11.1"

"typings": "./dist/index.d.ts",
"gitHead": "93cb149e47515e02ac02a41a5c3a4fed94df014f"
"gitHead": "86ed76b9e1ff6d22d9b696356b4f5f1a6949611b"
}

@@ -10,3 +10,2 @@ import { Disposable } from '@furystack/utils'

public async dispose() {
/** */
const singletons = Array.from(this.cachedSingletons.entries()).map((e) => e[1])

@@ -17,3 +16,5 @@ const disposeRequests = singletons

if (s.dispose) {
return s.dispose() || Promise.resolve()
console.log('Dispose start', s.constructor.name)
await s.dispose()
console.log('Dispose finished', s.constructor.name)
}

@@ -26,2 +27,3 @@ })

}
this.cachedSingletons.clear()

@@ -28,0 +30,0 @@ }

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