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

awilix

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awilix - npm Package Versions

1
10

7.0.0

Diff

Changelog

Source

v7.0.0

  • BREAKING: #286 Support Symbol.toStringTag. This should fix es5-shim/480.
  • Update packages

BREAKING CHANGES

Cradle JSON and inspect representation changed

The Awilix Cradle's string representation when used by util.inspect, .toJSON() and others returned [AwilixContainer.cradle]. This has been changed to [object AwilixContainerCradle] to align with other common string representations in JavaScript.

jeffijoe
published 6.1.0 •

Changelog

Source

v6.1.0

jeffijoe
published 6.0.0 •

Changelog

Source

v6.0.0

Please see the list of breaking changes below.

  • Update packages
  • BREAKING: #198 Don't parse parameters from base class
  • #270 Fix exponential performance slowdown for large containers
    • This was done by not relying on rollUpRegistrations in the resolve path. As a trade-off, performance for iterating the cradle proxy has degraded in order to guarantee accuracy. We consider this acceptable as iterating the cradle is not something one should be doing for anything besides debugging. Thanks to @code-ape for the diagnosis and for coming up with a fix!

BREAKING CHANGES

  • The container.registrations getter on a scoped container no longer rolls up registrations from its' parent.
  • In CLASSIC mode, when parsing the constructor of a derived class, Awilix will no longer parse the base class' constructor in case the derived class' defined constructor does not define any arguments. However, if the derived class does not define a constructor, then Awilix will parse the base class' constructor. Please keep in mind that this only works for native classes, as Awilix works on the toString representation of the class/function in order to determine when a class with no defined constructor is encountered.
  • Renamed container.has to container.hasRegistration to avoid ambiguity. Does it have a registration? Does it have a cached module? Who knows? Let's gooo!
jeffijoe
published 5.0.1 •

Changelog

Source

v5.0.1

  • Improve internal uniq function performance by using a Set (#253, Anderson Leite)
  • Update packages
jeffijoe
published 5.0.0 •

Changelog

Source

v5.0.0

BREAKING CHANGES

Dropped Node 10 support. Minimum supported Node version is now 12.

jeffijoe
published 4.3.4 •

Changelog

Source

v4.3.4

jeffijoe
published 4.3.3 •

Changelog

Source

v4.3.3

  • Update packages
jeffijoe
published 4.3.2 •

Changelog

Source

v4.3.2

jeffijoe
published 4.3.1 •

Changelog

Source

v4.3.1

  • GlobWithOptions now includes BuildResolverOptions instead of ResolverOptions (fixes #214)
jeffijoe
published 4.3.0 •

Changelog

Source

v4.3.0

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