@virmator/deps 14.14.2 → 14.16.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/LICENSE-MIT CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 electrovir
3
+ Copyright (c) 2026 electrovir
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,29 +1,6 @@
1
- import {mapObjectValues} from '@augment-vir/common';
2
- import {listAllDirectNpmDeps} from '@augment-vir/node';
3
- import {Packument} from '@npm/types';
4
1
  import {RunOptions} from 'npm-check-updates';
5
2
  import {ReadonlyDeep} from 'type-fest';
6
3
 
7
- const trustedMaintainers = [
8
- 'electrovir',
9
- ];
10
-
11
- const packageCooldown = await mapObjectValues(
12
- await listAllDirectNpmDeps(process.cwd()),
13
- async (depName) => {
14
- const info = (await (
15
- await fetch(`https://registry.npmjs.org/${depName}`)
16
- ).json()) as Packument;
17
- const maintainers = (info.maintainers || []).map((contact) => contact.name);
18
-
19
- const hasTrustedMaintainer = trustedMaintainers.some((trustedMaintainer) =>
20
- maintainers.includes(trustedMaintainer),
21
- );
22
-
23
- return hasTrustedMaintainer ? undefined : {days: 2};
24
- },
25
- );
26
-
27
4
  export const baseNcuConfig = {
28
5
  color: true,
29
6
  upgrade: true,
@@ -45,8 +22,4 @@ export const baseNcuConfig = {
45
22
  'typescript',
46
23
  ],
47
24
  deprecated: false,
48
- /** Returns days. */
49
- cooldown(packageName) {
50
- return packageCooldown[packageName]?.days || null;
51
- },
52
25
  } as const satisfies ReadonlyDeep<RunOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/deps",
3
- "version": "14.14.2",
3
+ "version": "14.16.0",
4
4
  "description": "Default TS deps plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -38,7 +38,7 @@
38
38
  "@augment-vir/common": "^31.69.0",
39
39
  "@augment-vir/node": "^31.69.0",
40
40
  "@npm/types": "^2.1.0",
41
- "@virmator/core": "^14.14.2",
41
+ "@virmator/core": "^14.16.0",
42
42
  "mri": "^1.2.0"
43
43
  },
44
44
  "devDependencies": {