crates-updater 1.16.1 → 1.16.3

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.
@@ -1,4 +1,4 @@
1
1
  import { Version as CrateVersion } from 'crates.io';
2
- export declare function checkForUpdate(packageName: string, version: string): Promise<string | null>;
2
+ export declare function checkForUpdate(packageName: string, version: string): Promise<null | string>;
3
3
  export declare function getLatestVersion(packageName: string): Promise<CrateVersion>;
4
4
  export declare function getVersions(packageName: string): Promise<CrateVersion[]>;
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
+ import { program as commander } from 'commander';
2
3
  import fs from 'node:fs/promises';
3
4
  import path from 'node:path';
4
- import { program as commander } from 'commander';
5
5
  import * as CratesUpdater from './CratesUpdater.js';
6
6
  const __dirname = import.meta.dirname;
7
7
  const packageJsonPath = path.join(__dirname, '../package.json');
package/package.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "update-crates": "dist/cli.js"
6
6
  },
7
7
  "dependencies": {
8
- "commander": "14.0.2",
8
+ "commander": "14.0.3",
9
9
  "compare-versions": "6.1.1",
10
- "crates.io": "2.4.1"
10
+ "crates.io": "2.4.5"
11
11
  },
12
12
  "description": "Check your Rust packages for updates.",
13
13
  "devDependencies": {
@@ -39,6 +39,6 @@
39
39
  "start": "tsx src/cli.ts"
40
40
  },
41
41
  "type": "module",
42
- "version": "1.16.1",
43
- "gitHead": "ba772186f0c4fb05492ef586666b8e44faefe71d"
42
+ "version": "1.16.3",
43
+ "gitHead": "7a18174f4c706e506e8b3aed50a49d54b795206b"
44
44
  }