@k03mad/simple-prom 11.6.1 → 11.7.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.
package/.oxfmtrc.json CHANGED
@@ -5,6 +5,9 @@
5
5
  "arrowParens": "avoid",
6
6
  "bracketSpacing": false,
7
7
  "quoteProps": "consistent",
8
+ "jsdoc": {
9
+ "lineWrappingStyle": "balance"
10
+ },
8
11
  "sortImports": {
9
12
  "groups": [
10
13
  ["builtin"],
@@ -18,10 +21,15 @@
18
21
  "tabWidth": 2,
19
22
  "trailingComma": "none",
20
23
  "overrides": [
24
+ {
25
+ "files": ["*.js"],
26
+ "options": {
27
+ "tabWidth": 4
28
+ }
29
+ },
21
30
  {
22
31
  "files": ["*.js", "*.ts"],
23
32
  "options": {
24
- "tabWidth": 4,
25
33
  "trailingComma": "all"
26
34
  }
27
35
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "oxc.fmt.configPath": ".oxfmtrc.json",
3
+ "oxc.fixKind": "safe_fix",
3
4
  "editor.formatOnSave": true,
4
5
  "editor.defaultFormatter": "oxc.oxc-vscode",
5
6
  "editor.codeActionsOnSave": {
@@ -5,7 +5,7 @@ import client from 'prom-client';
5
5
  /**
6
6
  * @param {object} opts
7
7
  * @param {string} opts.appName
8
- * @param {string|number} opts.port
8
+ * @param {string | number} opts.port
9
9
  * @param {object} [opts.metrics]
10
10
  * @param {string[]} [opts.metricsTurnOff]
11
11
  */
package/app/lib/server.js CHANGED
@@ -10,7 +10,7 @@ import {registerMetrics} from './register.js';
10
10
  /**
11
11
  * @param {object} opts
12
12
  * @param {string} opts.appName
13
- * @param {string|number} opts.port
13
+ * @param {string | number} opts.port
14
14
  * @param {object} opts.metrics
15
15
  * @param {string[]} opts.metricsTurnOff
16
16
  * @param {boolean} opts.debug
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/simple-prom",
3
- "version": "11.6.1",
3
+ "version": "11.7.0",
4
4
  "description": "Simple prom-client library",
5
5
  "license": "MIT",
6
6
  "maintainers": [
@@ -25,10 +25,10 @@
25
25
  "prom-client": "15.1.3"
26
26
  },
27
27
  "devDependencies": {
28
- "@k03mad/oxlint-config": "0.7.1",
28
+ "@k03mad/oxlint-config": "0.8.0",
29
29
  "husky": "9.1.7",
30
- "oxfmt": "0.47.0",
31
- "oxlint": "1.62.0"
30
+ "oxfmt": "0.49.0",
31
+ "oxlint": "1.64.0"
32
32
  },
33
33
  "engines": {
34
34
  "node": ">=24"