@k03mad/simple-prom 5.16.0 → 5.17.2

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.
@@ -5,9 +5,12 @@ on:
5
5
  branches:
6
6
  - master
7
7
 
8
+ permissions:
9
+ id-token: write
10
+ contents: read
11
+
8
12
  jobs:
9
13
  publish:
10
- environment: npm
11
14
  runs-on: ubuntu-latest
12
15
  steps:
13
16
  - uses: actions/checkout@v6
@@ -30,5 +33,3 @@ jobs:
30
33
 
31
34
  - if: steps.check_pkg_version.outputs.changed == 'true'
32
35
  run: npm publish
33
- env:
34
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 22
1
+ 24
package/app/lib/server.js CHANGED
@@ -33,8 +33,7 @@ export const startMetricsServer = ({appName, port, metrics, metricsTurnOff, debu
33
33
  });
34
34
 
35
35
  app.listen(port, () => console.log([
36
- `[${String(new Date())}]`,
37
- nameText(appName),
36
+ `[${String(new Date())}]\n${nameText(appName)}`,
38
37
  'started on port',
39
38
  numText(port),
40
39
  ].join(' ')));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/simple-prom",
3
- "version": "5.16.0",
3
+ "version": "5.17.2",
4
4
  "description": "Simple prom-client library",
5
5
  "maintainers": [
6
6
  "Kirill Molchanov <k03.mad@gmail.com"
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "type": "module",
15
15
  "engines": {
16
- "node": ">=22"
16
+ "node": ">=24"
17
17
  },
18
18
  "dependencies": {
19
19
  "chalk": "5.6.2",