first-di 1.0.14 → 1.0.16

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.
@@ -80,6 +80,7 @@ export class DI {
80
80
  options
81
81
  });
82
82
  }
83
+ // eslint-disable-next-line @typescript-eslint/class-methods-use-this
83
84
  getDiKey(propertyKey) {
84
85
  return `$_di_${String(propertyKey)}`; // Think about symbol
85
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "first-di",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Easy dependency injection for typescript applications",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -9,21 +9,21 @@
9
9
  "reflect-metadata": ">=0.1.0"
10
10
  },
11
11
  "devDependencies": {
12
- "@labeg/code-style": "^2.0.79",
12
+ "@labeg/code-style": "^3.0.6",
13
13
  "@types/chai": "^4.3.5",
14
14
  "@types/mocha": "^10.0.1",
15
- "@types/node": "^20.4.2",
16
- "chai": "^4.3.7",
15
+ "@types/node": "^20.5.8",
16
+ "chai": "^4.3.8",
17
17
  "mocha": "^10.2.0",
18
18
  "ts-node": "^10.9.1",
19
19
  "reflect-metadata": "^0.1.13",
20
- "typescript": "^5.1.6"
20
+ "typescript": "^5.2.2"
21
21
  },
22
22
  "scripts": {
23
- "cs:eslint": "eslint --fix -c .eslintrc.cjs --ext .tsx,.ts,.jsx,.js ./src/ ./tests/",
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
25
  "build": "rm -rf dist/ && tsc --project tsconfigbuild.json && node ./dist/index.js",
26
- "prepublishOnly": "npm run cs:eslint && npm run build && npm run test && npm version patch"
26
+ "prepublishOnly": "npm run lint && npm run build && npm run test && npm version patch"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",