@balmli/homey-public-holidays 1.2.2 → 1.3.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/dist/index.js CHANGED
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
20
  };
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.holidays = void 0;
30
40
  __exportStar(require("./countries"), exports);
package/dist/types.js CHANGED
@@ -6,4 +6,4 @@ var Condition;
6
6
  Condition["yesterday"] = "yesterday";
7
7
  Condition["today"] = "today";
8
8
  Condition["tomorrow"] = "tomorrow";
9
- })(Condition = exports.Condition || (exports.Condition = {}));
9
+ })(Condition || (exports.Condition = Condition = {}));
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@balmli/homey-public-holidays",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "description": "Public holidays for Homey apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "commonjs",
8
8
  "engines": {
9
- "node": ">=16.0.0"
9
+ "node": ">=24"
10
10
  },
11
11
  "scripts": {
12
12
  "generate": "npm --prefix scripts run create",
@@ -14,7 +14,7 @@
14
14
  "build": "tsc",
15
15
  "watch": "tsc -w",
16
16
  "pretest": "npm run build",
17
- "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --timeout 10000 'tests/**/*.*'",
17
+ "test": "mocha",
18
18
  "prepublishOnly": "npm run test"
19
19
  },
20
20
  "keywords": [
@@ -38,16 +38,14 @@
38
38
  "registry": "https://registry.npmjs.org/"
39
39
  },
40
40
  "license": "ISC",
41
- "dependencies": {},
42
41
  "devDependencies": {
43
42
  "@types/chai": "^4.3.0",
44
43
  "@types/mocha": "^9.1.1",
45
- "@types/node": "^16.11.12",
44
+ "@types/node": "^24.19.4",
46
45
  "chai": "^4.3.6",
47
46
  "del-cli": "^3.0.0",
48
47
  "mocha": "^10.0.0",
49
- "ts-mocha": "^10.0.0",
50
- "ts-node": "^10.7.0",
51
- "typescript": "^4.6.4"
48
+ "tsx": "^4.23.15",
49
+ "typescript": "^5.9.3"
52
50
  }
53
51
  }