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

inversify

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inversify - npm Package Versions

23
9

6.1.1

Diff

notaphplover
published 6.1.0 •

Changelog

Source

[6.1.0]

Changed

  • Updated ServiceIdentifier to rely on Function instead of Abstract<T>.
  • injectable decorator is no longer required.

Fixed

  • Fixed Target.getNameTag with the right type: number | string | symbol.
notaphplover
published 6.0.3 •

Changelog

Source

[6.0.3]

Fixed

property injection tagged as @optional no longer overrides default values with undefined. Updated targetName to be a valid typescript@5 decorator.

jameskmonger
published 6.0.2 •

Changelog

Source

[6.0.2]

Added

Brought tests up to 100% Code Coverage

Changed

LazyIdentfier Tests Removed browser test pipeline, browserify, karma (#1542) Update all dependencies except typescript (#1531)

Fixed

Less than 100% code coverage Use default class property for @optional injected properties (#1467) Remove circular import (#1516) Fix strict type checking on @unmanaged decorator (#1499) Fix typo (LazyServiceIdentifer -> LazyServiceIdentifier) (#1483) Fix typo (circular dependency error message) (#1485)

dcavanagh
published 6.0.1 •

Changelog

Source

[6.0.1] - 2021-10-14

Added

  • add API method for check dependency only in current container
  • createTaggedDecorator #1343
  • Async bindings #1132
  • Async binding resolution (getAllAsync, getAllNamedAsync, getAllTaggedAsync, getAsync, getNamedAsync, getTaggedAsync, rebindAsync, unbindAsync, unbindAllAsync, unloadAsync) #1132
  • Global onActivation / onDeactivation #1132
  • Parent/Child onActivation / onDeactivation #1132
  • Module onActivation / onDeactivation #1132
  • Added @preDestroy decorator #1132

Changed

  • @postConstruct can target an asyncronous function #1132
  • Singleton scoped services cache resolved values once the result promise is fulfilled #1320

Fixed

  • only inject decorator can be applied to setters #1342
  • Container.resolve should resolve in that container #1338
dcavanagh
published 5.1.1 •

Changelog

Source

[5.1.1] - 2021-04-25

-Fix pre-publish for build artifacts

dcavanagh
published 5.1.0 •

Changelog

Source

[5.1.0] - 2021-04-25

Added

  • Upgrade information for v4.x to v5.x

Changed

  • Update BindingToSyntax with .toAutoNamedFactory().

Fixed

  • Fix Target.isTagged() to exclude optional from tag injections #1190.
  • Update toConstructor, toFactory, toFunction, toAutoFactory, toProvider and toConstantValue to have singleton scope #1297.
  • Fix injection on optional properties when targeting ES6 #928
dcavanagh
published 5.0.5 •

dcavanagh
published 5.0.1 •

Changelog

Source

[5.0.1] - 2018-10-17

Added

  • Updating constructor injection wiki document with concrete injection example #922

Changed

  • Change GUID to incremented counter for better performance #882

Fixed

  • fix broken compilation by adding .toString() so symbols serialization #893
  • Fix problem with applying options on Container.resolve (fix #914) #915
  • Fixed documentation issues
dcavanagh
published 4.14.0 •

Changelog

Source

[4.14.0] - 2018-10-16

Deprecated - Replaced by 5.0.1

23
9
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