@sha1n/about-time 0.0.12 → 0.0.13

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/index.js +5 -1
  2. package/package.json +13 -13
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sha1n/about-time",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "A set of essential time related utilities",
5
5
  "repository": "https://github.com/sha1n/about-time",
6
6
  "author": "Shai Nagar",
@@ -26,7 +26,7 @@
26
26
  "lint": "eslint --fix --ext .js,.ts .",
27
27
  "jest": "DEBUG='error:*' jest --coverage",
28
28
  "test": "run jest && run lint",
29
- "prepublish": "run build"
29
+ "prepare": "npm run build"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/chance": "^1.1.3",
@@ -36,25 +36,25 @@
36
36
  "@typescript-eslint/eslint-plugin": "^5.1.0",
37
37
  "@typescript-eslint/parser": "^5.1.0",
38
38
  "chance": "^1.1.8",
39
- "eslint": "^8.9.0",
40
- "eslint-config-prettier": "^8.3.0",
41
- "eslint-plugin-import": "^2.25.2",
42
- "eslint-plugin-jest": "^26.0.0",
39
+ "eslint": "^8.13.0",
40
+ "eslint-config-prettier": "^8.5.0",
41
+ "eslint-plugin-import": "^2.26.0",
42
+ "eslint-plugin-jest": "^26.1.4",
43
43
  "eslint-plugin-no-floating-promise": "^1.0.2",
44
44
  "eslint-plugin-node": "^11.1.0",
45
45
  "eslint-plugin-prettier": "^4.0.0",
46
46
  "eslint-plugin-unused-imports": "^2.0.0",
47
47
  "is-ci": "^3.0.1",
48
48
  "jest": "^27.5.1",
49
- "jest-environment-node": "^27.2.0",
49
+ "jest-environment-node": "^27.5.1",
50
50
  "jest-extended": "^2.0.0",
51
- "jest-html-reporters": "^3.0.5",
52
- "jest-mock-extended": "^2.0.4",
51
+ "jest-html-reporters": "^3.0.6",
52
+ "jest-mock-extended": "^2.0.5",
53
53
  "jest-summary-reporter": "^0.0.2",
54
- "prettier": "^2.4.1",
55
- "ts-jest": "^27.1.3",
56
- "ts-node": "^10.4.0",
57
- "typescript": "^4.5.4"
54
+ "prettier": "^2.6.2",
55
+ "ts-jest": "^27.1.4",
56
+ "ts-node": "^10.7.0",
57
+ "typescript": "^4.6.3"
58
58
  },
59
59
  "packageManager": "yarn@3.2.0"
60
60
  }