node-dependency-injection 3.2.2 → 3.2.6

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.
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- node-version: [15.x, 16.x, 17.x, 18.x, 19.x, 20.x]
14
+ node-version: [15.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x]
15
15
  steps:
16
16
  - uses: actions/checkout@v3
17
17
  - name: Use Node.js ${{ matrix.node-version }}
@@ -22,20 +22,3 @@ jobs:
22
22
  - run: npm run build --if-present
23
23
  - run: npm run test:standard
24
24
  - run: npm test
25
-
26
- coverage:
27
- needs: [build]
28
- name: coverage
29
- runs-on: ubuntu-latest
30
- steps:
31
- - uses: actions/checkout@master
32
- - uses: actions/setup-node@master
33
- with:
34
- node-version: "17"
35
- - run: npm ci
36
- - uses: paambaati/codeclimate-action@v3.2.0
37
- env:
38
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
39
- with:
40
- coverageCommand: npm run test:coverage
41
- coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov
@@ -4,17 +4,27 @@ on:
4
4
  release:
5
5
  types: [created]
6
6
 
7
+ permissions:
8
+ contents: read
9
+ id-token: write
10
+
7
11
  jobs:
8
- build:
12
+ publish:
9
13
  runs-on: ubuntu-latest
10
14
  steps:
11
- - uses: actions/checkout@v3
12
- - uses: actions/setup-node@v3
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: actions/setup-node@v4
13
18
  with:
14
- node-version: '16.x'
15
- registry-url: 'https://registry.npmjs.org'
19
+ node-version: 20
20
+ registry-url: https://registry.npmjs.org/
21
+
22
+ # Ensure npm CLI is new enough for Trusted Publishing flows
23
+ - run: npm i -g npm@latest
24
+ - run: npm -v
25
+
16
26
  - run: npm ci
17
27
  - run: npm run build
18
- - run: npm publish
19
- env:
20
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+
29
+ # Public packages sometimes need this explicitly (safe even if already public)
30
+ - run: npm publish --access public
package/README.md CHANGED
@@ -11,7 +11,6 @@ The Node Dependency Injection component allows you to standardize and centralize
11
11
  ![Build Status](https://github.com/zazoomauro/node-dependency-injection/actions/workflows/build.yml/badge.svg)
12
12
  ![Publish Status](https://github.com/zazoomauro/node-dependency-injection/actions/workflows/publish.yml/badge.svg)
13
13
  [![Code Coverage](https://codecov.io/gh/zazoomauro/node-dependency-injection/branch/master/graph/badge.svg?token=faEAqrimPR)](https://codecov.io/gh/zazoomauro/node-dependency-injection)
14
- [![Code Climate](https://codeclimate.com/github/zazoomauro/node-dependency-injection/badges/gpa.svg)](https://codeclimate.com/github/zazoomauro/node-dependency-injection)
15
14
  [![Coding Standard](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
16
15
  [![Known Vulnerabilities](https://snyk.io/test/github/zazoomauro/node-dependency-injection/badge.svg)](https://snyk.io/test/github/zazoomauro/node-dependency-injection)
17
16
  [![Npm Downloads](https://img.shields.io/npm/dm/node-dependency-injection.svg?maxAge=2592000)](https://www.npmjs.com/package/node-dependency-injection)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-dependency-injection",
3
- "version": "3.2.2",
3
+ "version": "3.2.6",
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,12 +52,12 @@
52
52
  "node": ">=15.0.0"
53
53
  },
54
54
  "dependencies": {
55
- "@babel/runtime": "^7.17.9",
55
+ "@babel/runtime": "^7.26.10",
56
56
  "@typescript-eslint/typescript-estree": "^5.23.0",
57
57
  "chalk": "^4.1.0",
58
58
  "commander": "^8.3.0",
59
59
  "console.table": "^0.10.0",
60
- "js-yaml": "^4.0.0",
60
+ "js-yaml": "^4.1.1",
61
61
  "json5": "^2.2.2",
62
62
  "validate-npm-package-name": "^3.0.0"
63
63
  },