Socket
Socket
Sign inDemoInstall

awilix

Package Overview
Dependencies
2
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
5689Next

2.6.2

Diff

Changelog

Source

2.6.2

  • [FIXED]: Parsing regression in 2.6.1 (#30)
jeffijoe
published 2.6.1 •

Changelog

Source

2.6.1

  • [FIXED]: Implemented a crude arguments parser to replace regex. (#30)
jeffijoe
published 2.6.0 •

Changelog

Source

2.6.0

  • [NEW]: infer function name for registerClass/registerFunction (#26)
  • [FIXED]: Corrected some TypeScript typings related to registerClass and registerFunction.
jeffijoe
published 2.5.0 •

Changelog

Source

2.5.0

  • [NEW]: Implemented per-module locals injection (#24).
  • Fixed issue where passing a Lifetime like .registerFunction('name', func, Lifetime.SCOPED) didn't work.
  • Documented asClass, asValue and asFunction.
  • [FIXED]: nasty options leaking when using registerClass/Function({ test1: [Test1, { }], test2: [Test2, { }] }).
jeffijoe
published 2.4.0 •

Changelog

Source

2.4.0

  • [BREAKING]: Guard assertions added to asFunction and asClass. This will prevent some nasty runtime behaviors. (#20), thanks @zer0tonin!
jeffijoe
published 2.3.0 •

Changelog

Source

2.3.0

  • [NEW]: Classic dependency resolution mode using parameter name matching implemented, thanks to @cjhoward92! This is an alternative to the default proxy mechanism.
  • [BREAKING]: The registerX({ name: [value, options]}) pattern is not needed for registerValue because it is so simple is requires no configuration. It was causing trouble when attempting to register an array as a value, because the register function would think it was the value-options-array pattern when it shouldn't be. This change is breaking in the sense that it solves the unexpected behavior, but it breaks existing registrations that would register arrays by using registerValue({ name: [[1, 2]] }) (multi-dimensional array to work around the pre-2.3.0 behavior)
  • [chore]: Updated packages.
jeffijoe
published 2.2.6 •

Changelog

Source

2.2.6

  • Pass in the module descriptor to formatName - thanks @anasinnyk!
  • Fixed some issues with TypeScript definitions.
jeffijoe
published 2.2.5 •

Changelog

Source

2.2.5

  • Fixed registerFunction return type definition - thanks @ycros!
jeffijoe
published 2.2.4 •

Changelog

Source

2.2.4

  • TypeScript definitions - thanks @blove!
jeffijoe
published 2.2.3 •

Changelog

Source

2.2.3

  • Webpack 2 compatibility - thanks @ewrogers!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc