my-timezone 1.14.4 → 1.15.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.
@@ -63,7 +63,7 @@ export class MyTimezone {
63
63
  results = (await response.json());
64
64
  }
65
65
  catch (error) {
66
- throw new Error(`Nominatim API Error: ${error.message}`);
66
+ throw new Error(`Nominatim API Error: ${error.message}`, { cause: error });
67
67
  }
68
68
  if (!results.length) {
69
69
  throw new Error('No place found.');
package/package.json CHANGED
@@ -3,12 +3,11 @@
3
3
  "bin": "dist/cli.js",
4
4
  "dependencies": {
5
5
  "commander": "14.0.3",
6
- "ntpclient": "1.15.4"
6
+ "ntpclient": "1.16.0"
7
7
  },
8
8
  "description": "Get the exact time based on your location.",
9
9
  "devDependencies": {
10
10
  "nock": "14.0.11",
11
- "rimraf": "6.1.3",
12
11
  "tsx": "4.21.0",
13
12
  "typescript": "6.0.2",
14
13
  "vitest": "4.0.18"
@@ -27,12 +26,12 @@
27
26
  "repository": "https://github.com/ffflorian/node-packages.git",
28
27
  "scripts": {
29
28
  "build": "tsc -p tsconfig.build.json",
30
- "clean": "rimraf dist",
29
+ "clean": "rm -rf dist",
31
30
  "dist": "yarn clean && yarn build",
32
31
  "start": "tsx src/cli.ts",
33
32
  "test": "vitest run"
34
33
  },
35
34
  "type": "module",
36
- "version": "1.14.4",
37
- "gitHead": "57761e1993085e097a8c25d08f912c8666169993"
35
+ "version": "1.15.0",
36
+ "gitHead": "146d587751b7319816e1a638bfa1b90197cad9bd"
38
37
  }