@adminforth/auto-remove 1.0.7 → 1.0.9

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/build.log CHANGED
@@ -6,5 +6,5 @@ sending incremental file list
6
6
  custom/
7
7
  custom/tsconfig.json
8
8
 
9
- sent 453 bytes received 39 bytes 984.00 bytes/sec
9
+ sent 451 bytes received 39 bytes 980.00 bytes/sec
10
10
  total size is 308 speedup is 0.63
package/dist/index.js CHANGED
@@ -32,6 +32,7 @@ export default class AutoRemovePlugin extends AdminForthPlugin {
32
32
  this.timer = setInterval(() => {
33
33
  this.runCleanup(adminforth).catch(console.error);
34
34
  }, intervalMs);
35
+ this.timer.unref();
35
36
  });
36
37
  }
37
38
  validateConfigAfterDiscover(adminforth, resourceConfig) {
package/index.ts CHANGED
@@ -30,6 +30,7 @@ export default class AutoRemovePlugin extends AdminForthPlugin {
30
30
  this.timer = setInterval(() => {
31
31
  this.runCleanup(adminforth).catch(console.error);
32
32
  }, intervalMs);
33
+ this.timer.unref();
33
34
  }
34
35
 
35
36
  validateConfigAfterDiscover(adminforth: IAdminForth, resourceConfig: AdminForthResource) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/auto-remove",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -25,13 +25,13 @@
25
25
  "description": "Automatic record cleanup plugin for AdminForth with age-based and count-based retention rules",
26
26
  "devDependencies": {
27
27
  "@types/node": "latest",
28
- "adminforth": "^2.42.0",
28
+ "adminforth": "2.70.0",
29
29
  "semantic-release": "^24.2.1",
30
30
  "semantic-release-slack-bot": "^4.0.2",
31
31
  "typescript": "^5.7.3"
32
32
  },
33
33
  "peerDependencies": {
34
- "adminforth": "^2.42.0"
34
+ "adminforth": "^2.70.0"
35
35
  },
36
36
  "release": {
37
37
  "plugins": [