- Updated tests to use ava.
- Bugfix when providing values to async called functions.
- Corrected examples in documentation.
- Updated dependencies.
- No code changes.
- Updated dependencies.
- No code changes.
- Fixed the broken chaining interface of the bulk provider.
- Added
registerBulk
in the hopes of reducing the amount of code that is necessary when using the container.
- Improved the errors that are returned from modules if there is a problem requiring a file. Previously it would say something like "SyntaxError: missing ) after argument list" and now that error message is prefixed with "Error requiring FILENAME: ".
- Found and fixed a problem where an arrow function returned an object that utilized the syntax of a class function. Mostly changed the order of the parsers, but also added a test to ensure it is fixed in the future as well.
- The provider class now does type checking before instantiating a class and running functions, catching the errors closer to the problem, allowing for more accurate error messages.
- Throws an error with the key name when there is a problem resolving something.
- Allow
.fromModule()
to be passes a path and handle relative paths in a defined way.
- New fluent interface, allowing for greater freedom in expressing the source of the value, how to treat the value, and extra options one can apply.
- Addressed a problem where the argument matcher would continue well beyond the argument list. Added a test and updated others.
- Merged pull request #2 - remove use of spread operator to support older versions of Node.
- Fixed #1 - Did not detect when an ES6 class did not have a constructor.
- Initial release