first-di 1.0.18 → 1.0.20

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.
@@ -1,4 +1,4 @@
1
- export type ClassConstructor<T extends object> = (new (...params: any) => T);
1
+ export type ClassConstructor<T extends object> = (new (...params: any[]) => T);
2
2
  export type OverrideConstructor<T extends object> = ClassConstructor<T> | (Function & {
3
3
  prototype: T;
4
4
  });
@@ -1,4 +1 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-type-alias */
3
- /* eslint-disable @typescript-eslint/ban-types */
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "first-di",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Easy dependency injection for typescript applications",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -9,20 +9,20 @@
9
9
  "reflect-metadata": ">=0.1.0"
10
10
  },
11
11
  "devDependencies": {
12
- "@labeg/code-style": "^3.0.9",
12
+ "@labeg/code-style": "^4.0.5",
13
13
  "@types/chai": "^4.3.11",
14
14
  "@types/mocha": "^10.0.6",
15
- "@types/node": "^20.10.2",
15
+ "@types/node": "^20.10.4",
16
16
  "chai": "^4.3.10",
17
17
  "mocha": "^10.2.0",
18
- "ts-node": "^10.9.1",
19
- "reflect-metadata": "^0.1.13",
20
- "typescript": "^5.3.2"
18
+ "ts-node": "^10.9.2",
19
+ "reflect-metadata": "^0.2.1",
20
+ "typescript": "^5.3.3"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint --fix -c .eslintrc.cjs --ext .tsx,.ts,.jsx,.js ./src/ ./tests/",
24
24
  "test": "mocha --reporter spec --require ts-node/register tests/*.test.ts",
25
- "build": "rm -rf dist/ && tsc --project tsconfigbuild.json && node ./dist/index.js",
25
+ "build": "rm -rf dist/ && tsc --project tsconfig.build.json && node ./dist/index.js",
26
26
  "prepublishOnly": "npm run lint && npm run build && npm run test && npm version patch"
27
27
  },
28
28
  "repository": {