my-timezone 1.7.9 → 1.7.10

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -2
  2. package/package.json +3 -3
package/dist/cli.js CHANGED
@@ -5,9 +5,9 @@ import { program as commander } from 'commander';
5
5
  import { MyTimezone } from './MyTimezone.js';
6
6
  const __dirname = import.meta.dirname;
7
7
  const packageJsonPath = path.join(__dirname, '../package.json');
8
- const { bin, description, version } = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
8
+ const { description, name, version } = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
9
9
  commander
10
- .name(Object.keys(bin)[0])
10
+ .name(name)
11
11
  .version(version)
12
12
  .description(`${description}\nUse a city name or longitude value as location.`)
13
13
  .option('-o, --offline', 'Work offline (default is false)')
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "dependencies": {
5
5
  "axios": "1.12.2",
6
6
  "commander": "14.0.1",
7
- "ntpclient": "1.8.9"
7
+ "ntpclient": "1.8.10"
8
8
  },
9
9
  "description": "Get the exact time based on your location.",
10
10
  "devDependencies": {
@@ -32,6 +32,6 @@
32
32
  "test": "vitest run"
33
33
  },
34
34
  "type": "module",
35
- "version": "1.7.9",
36
- "gitHead": "c0316bba201f940523cf3a07f74e31cad3890333"
35
+ "version": "1.7.10",
36
+ "gitHead": "37497fa0d58d87475b5fe85111163a63ae11d998"
37
37
  }