awilix
Advanced tools
Comparing version 7.0.2 to 7.0.3
@@ -1,2 +0,2 @@ | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -3,0 +3,0 @@ |
@@ -540,3 +540,3 @@ import * as glob from 'fast-glob'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -543,0 +543,0 @@ |
@@ -7,3 +7,3 @@ (function (global, factory) { | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -10,0 +10,0 @@ |
@@ -23,8 +23,2 @@ import * as glob from 'fast-glob'; | ||
/** | ||
* Metadata of the module as well as the loaded module itself. | ||
*/ | ||
export interface LoadedModuleDescriptor extends ModuleDescriptor { | ||
value: unknown; | ||
} | ||
/** | ||
* A glob pattern with associated registration options. | ||
@@ -31,0 +25,0 @@ */ |
@@ -5,2 +5,9 @@ import { ModuleDescriptor, GlobWithOptions, listModules } from './list-modules'; | ||
/** | ||
* Metadata of the module as well as the loaded module itself. | ||
* @interface LoadedModuleDescriptor | ||
*/ | ||
export interface LoadedModuleDescriptor extends ModuleDescriptor { | ||
value: unknown; | ||
} | ||
/** | ||
* The options when invoking loadModules(). | ||
@@ -28,3 +35,3 @@ * @interface LoadModulesOptions | ||
*/ | ||
export declare type NameFormatter = (name: string, descriptor: ModuleDescriptor) => string; | ||
export declare type NameFormatter = (name: string, descriptor: LoadedModuleDescriptor) => string; | ||
/** | ||
@@ -31,0 +38,0 @@ * Dependencies for `loadModules` |
{ | ||
"name": "awilix", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"description": "Extremely powerful dependency injection container.", | ||
@@ -53,17 +53,17 @@ "main": "lib/awilix.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.17.9", | ||
"@babel/plugin-transform-runtime": "^7.17.0", | ||
"@babel/preset-env": "^7.16.11", | ||
"@babel/core": "^7.17.10", | ||
"@babel/plugin-transform-runtime": "^7.17.10", | ||
"@babel/preset-env": "^7.17.10", | ||
"@babel/runtime": "^7.17.9", | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^17.0.23", | ||
"babel-jest": "^27.5.1", | ||
"@types/node": "^17.0.31", | ||
"babel-jest": "^28.0.3", | ||
"coveralls": "^3.1.1", | ||
"husky": "^7.0.4", | ||
"istanbul": "^0.4.5", | ||
"jest": "^27.5.1", | ||
"lint-staged": "^12.3.7", | ||
"jest": "^28.0.3", | ||
"lint-staged": "^12.4.1", | ||
"prettier": "^2.6.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.70.1", | ||
"rollup": "^2.71.1", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
@@ -75,8 +75,8 @@ "rollup-plugin-copy": "^3.4.0", | ||
"smid": "^0.1.1", | ||
"ts-jest": "^27.1.4", | ||
"tslib": "^2.3.1", | ||
"ts-jest": "^28.0.0-next.3", | ||
"tslib": "^2.4.0", | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-config-standard": "^9.0.0", | ||
"typescript": "^4.6.3" | ||
"typescript": "^4.6.4" | ||
}, | ||
@@ -83,0 +83,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
305922
6718