@k03mad/simple-prom 4.2.1 → 4.3.0

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.
@@ -7,7 +7,6 @@ on:
7
7
 
8
8
  jobs:
9
9
  publish:
10
- if: ${{ github.actor != 'dependabot[bot]' }}
11
10
  environment: npm
12
11
  runs-on: ubuntu-22.04
13
12
  steps:
@@ -15,21 +14,21 @@ jobs:
15
14
  with:
16
15
  fetch-depth: 0
17
16
 
18
- - uses: tj-actions/changed-files@v45
19
- id: changed-files
17
+ - uses: EndBug/version-check@v2
18
+ id: check_pkg_version
20
19
  with:
21
- files: package.json
20
+ diff-search: true
22
21
 
23
- - if: steps.changed-files.outputs.any_changed == 'true'
22
+ - if: steps.check_pkg_version.outputs.changed == 'true'
24
23
  uses: actions/setup-node@v4
25
24
  with:
26
25
  node-version-file: '.nvmrc'
27
26
  registry-url: 'https://registry.npmjs.org'
28
27
 
29
- - if: steps.changed-files.outputs.any_changed == 'true'
28
+ - if: steps.check_pkg_version.outputs.changed == 'true'
30
29
  run: npm run setup
31
30
 
32
- - if: steps.changed-files.outputs.any_changed == 'true'
31
+ - if: steps.check_pkg_version.outputs.changed == 'true'
33
32
  run: npm publish
34
33
  env:
35
34
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/simple-prom",
3
- "version": "4.2.1",
3
+ "version": "4.3.0",
4
4
  "description": "Simple prom-client library",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"
@@ -16,18 +16,18 @@
16
16
  "node": ">=22"
17
17
  },
18
18
  "dependencies": {
19
- "@k03mad/simple-date": "4.1.0",
20
- "@k03mad/simple-log": "5.1.0",
21
- "chalk": "5.3.0",
19
+ "@k03mad/simple-date": "4.2.0",
20
+ "@k03mad/simple-log": "5.2.0",
21
+ "chalk": "5.4.1",
22
22
  "compression": "1.7.5",
23
- "express": "4.21.1",
23
+ "express": "4.21.2",
24
24
  "helmet": "8.0.0",
25
25
  "morgan": "1.10.0",
26
26
  "prom-client": "15.1.3"
27
27
  },
28
28
  "devDependencies": {
29
- "@k03mad/eslint-config": "28.0.0",
30
- "eslint": "9.16.0",
29
+ "@k03mad/eslint-config": "28.2.0",
30
+ "eslint": "9.17.0",
31
31
  "husky": "9.1.7"
32
32
  },
33
33
  "scripts": {