node-dependency-injection 3.0.0-alpha.4 → 3.0.0-alpha.5

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.
@@ -19,7 +19,7 @@ var _path = _interopRequireDefault(require("path"));
19
19
 
20
20
  var _fs = _interopRequireDefault(require("fs"));
21
21
 
22
- var _parser = require("@typescript-eslint/parser");
22
+ var _typescriptEstree = require("@typescript-eslint/typescript-estree");
23
23
 
24
24
  var _Definition = _interopRequireDefault(require("./Definition"));
25
25
 
@@ -189,7 +189,7 @@ var Autowire = /*#__PURE__*/function () {
189
189
  value: function _getClassDeclaration(filePath) {
190
190
  var sourceCode = _fs["default"].readFileSync(filePath, 'utf8');
191
191
 
192
- var body = (0, _parser.parse)(sourceCode).body;
192
+ var body = (0, _typescriptEstree.parse)(sourceCode).body;
193
193
  var classDeclaration = body.find(function (declaration) {
194
194
  return declaration.type === 'ExportDefaultDeclaration';
195
195
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-dependency-injection",
3
- "version": "3.0.0-alpha.4",
3
+ "version": "3.0.0-alpha.5",
4
4
  "description": "The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.",
5
5
  "main": "dist/lib/index.js",
6
6
  "directories": {
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "@babel/plugin-transform-runtime": "^7.17.10",
54
54
  "@babel/runtime": "^7.17.9",
55
- "@typescript-eslint/parser": "^5.22.0",
55
+ "@typescript-eslint/typescript-estree": "^5.23.0",
56
56
  "chalk": "^4.1.0",
57
57
  "commander": "^8.3.0",
58
58
  "console.table": "^0.10.0",