awilix 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v4.3.1
2
+
3
+ - `GlobWithOptions` now includes `BuildResolverOptions` instead of `ResolverOptions` (fixes [#214](https://github.com/jeffijoe/awilix/issues/214))
4
+
1
5
  # v4.3.0
2
6
 
3
7
  - Add support for [Native Node ES modules](https://nodejs.org/api/esm.html) on Node v14+ ([#211](https://github.com/jeffijoe/awilix/pull/211), [Richard Simko](https://github.com/richardsimko))
@@ -1,5 +1,5 @@
1
1
  import * as glob from 'glob';
2
- import { ResolverOptions } from './resolvers';
2
+ import { BuildResolverOptions } from './resolvers';
3
3
  import { LifetimeType } from './awilix';
4
4
  /**
5
5
  * The options when invoking listModules().
@@ -28,7 +28,7 @@ export interface LoadedModuleDescriptor extends ModuleDescriptor {
28
28
  /**
29
29
  * A glob pattern with associated registration options.
30
30
  */
31
- export declare type GlobWithOptions = [string] | [string, ResolverOptions<any> | LifetimeType];
31
+ export declare type GlobWithOptions = [string] | [string, BuildResolverOptions<any> | LifetimeType];
32
32
  /**
33
33
  * Returns a list of {name, path} pairs,
34
34
  * where the name is the module name, and path is the actual
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awilix",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Extremely powerful dependency injection container.",
5
5
  "main": "lib/awilix.js",
6
6
  "module": "lib/awilix.module.js",
@@ -50,23 +50,23 @@
50
50
  },
51
51
  "homepage": "https://github.com/jeffijoe/awilix#readme",
52
52
  "devDependencies": {
53
- "@babel/core": "^7.12.8",
53
+ "@babel/core": "^7.12.9",
54
54
  "@babel/plugin-transform-runtime": "^7.12.1",
55
55
  "@babel/preset-env": "^7.12.7",
56
56
  "@babel/runtime": "^7.12.5",
57
57
  "@types/glob": "^7.1.3",
58
- "@types/jest": "^26.0.15",
59
- "@types/node": "^14.14.9",
58
+ "@types/jest": "^26.0.16",
59
+ "@types/node": "^14.14.10",
60
60
  "@types/prettier": "^2.1.5",
61
61
  "babel-jest": "^26.6.3",
62
62
  "coveralls": "^3.1.0",
63
- "husky": "^4.3.0",
63
+ "husky": "^4.3.4",
64
64
  "istanbul": "^0.4.5",
65
65
  "jest": "^26.6.3",
66
- "lint-staged": "^10.5.2",
67
- "prettier": "^2.2.0",
66
+ "lint-staged": "^10.5.3",
67
+ "prettier": "^2.2.1",
68
68
  "rimraf": "^3.0.2",
69
- "rollup": "^2.33.3",
69
+ "rollup": "^2.34.1",
70
70
  "rollup-plugin-commonjs": "^10.1.0",
71
71
  "rollup-plugin-node-resolve": "^5.2.0",
72
72
  "rollup-plugin-replace": "^2.2.0",
@@ -80,7 +80,7 @@
80
80
  "typescript": "^4.1.2"
81
81
  },
82
82
  "dependencies": {
83
- "camel-case": "^4.1.1",
83
+ "camel-case": "^4.1.2",
84
84
  "glob": "^7.1.6",
85
85
  "rollup-plugin-copy": "^3.3.0"
86
86
  },