@8ms/helpers 1.1.20 → 1.1.23

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,6 +1,5 @@
1
1
  /**
2
2
  * Shortcut to get today's date.
3
- * Set to 1am to prevent daylight savings causing issues
4
3
  */
5
4
  declare const getToday: () => Date;
6
5
  export default getToday;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
4
  * Shortcut to get today's date.
5
- * Set to 1am to prevent daylight savings causing issues
6
5
  */
7
6
  var getToday = function () {
8
7
  var today = new Date();
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
- "name": "@8ms/helpers",
3
- "version": "1.1.20",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
2
+ "name": "@8ms/helpers",
3
+ "version": "1.1.23",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
7
7
  },
8
- "main": "dist/index.js",
9
- "types": "dist/index.d.ts",
10
- "scripts": {
11
- "build": "rimraf dist && tsc",
12
- "jest": "jest --watch"
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "scripts": {
11
+ "build": "rimraf dist && tsc",
12
+ "jest": "jest --watch"
13
13
  },
14
- "dependencies": {
15
- "axios": "0.26.1",
16
- "date-fns": "2.28.0",
17
- "lodash": "4.17.21"
14
+ "dependencies": {
15
+ "axios": "0.27.1",
16
+ "date-fns": "2.28.0",
17
+ "lodash": "4.17.21"
18
18
  },
19
19
  "devDependencies": {
20
- "@babel/preset-env": "7.16.11",
21
- "@babel/preset-flow": "7.16.7",
22
- "@babel/preset-typescript": "7.16.7",
23
- "@types/jest": "27.4.1",
24
- "@types/lodash": "4.14.181",
25
- "@types/node": "17.0.23",
26
- "babel-jest": "27.5.1",
27
- "crypto-js": "4.1.1",
28
- "date-fns-tz": "1.3.3",
29
- "jest": "27.5.1",
30
- "ts-node": "10.7.0",
31
- "tslib": "2.3.1",
32
- "typescript": "4.6.3"
20
+ "@babel/preset-env": "7.16.11",
21
+ "@babel/preset-flow": "7.16.7",
22
+ "@babel/preset-typescript": "7.16.7",
23
+ "@types/jest": "27.4.1",
24
+ "@types/lodash": "4.14.182",
25
+ "@types/node": "17.0.27",
26
+ "babel-jest": "28.0.0",
27
+ "crypto-js": "4.1.1",
28
+ "date-fns-tz": "1.3.3",
29
+ "jest": "28.0.0",
30
+ "ts-node": "10.7.0",
31
+ "tslib": "2.4.0",
32
+ "typescript": "4.6.3"
33
33
  }
34
34
  }