@wmfs/tymly-schedule-plugin 1.2.0 → 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/.version CHANGED
@@ -1 +1 @@
1
- VERSION=1.2.0
1
+ VERSION=1.3.0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
1
+ # [1.3.0](https://github.com/wmfs/tymly-schedule-plugin/compare/v1.2.0...v1.3.0) (2022-11-29)
2
+
3
+
4
+ ### 🐛 Bug Fixes
5
+
6
+ * remove hard coded DST change on hour, needs fixing [sc-18164] ([c1fef58](https://github.com/wmfs/tymly-schedule-plugin/commit/c1fef581559f65be09629a5876eb468286f94bb3))
7
+
8
+
9
+ ### 🛠 Builds
10
+
11
+ * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/tymly to v1.240.0 ([58d51e3](https://github.com/wmfs/tymly-schedule-plugin/commit/58d51e3ea1ef81db1b1e3a352cb892c92f88c5a1))
12
+ * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/tymly to v1.242.0 ([bd88c73](https://github.com/wmfs/tymly-schedule-plugin/commit/bd88c734c2382fd49625d2fc2b7a66f11371664d))
13
+ * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/tymly-pg-plugin to v1.269.0 ([8f7cb67](https://github.com/wmfs/tymly-schedule-plugin/commit/8f7cb67241a546f3a52f034b89bc22e054a24e9c))
14
+ * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/tymly-test-helpers to v1.21.0 ([46ce1f7](https://github.com/wmfs/tymly-schedule-plugin/commit/46ce1f71ed2ecbe7b4f90ab51de33d909e625abd))
15
+ * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/tymly-test-helpers to v1.22.0 ([888468d](https://github.com/wmfs/tymly-schedule-plugin/commit/888468d7c3a4cca577e8cddbd0c4503b3962405c))
16
+ * **deps-dev:** update dependency [@wmfs](https://github.com/wmfs)/tymly-test-helpers to v1.22.1 ([3e8b7e5](https://github.com/wmfs/tymly-schedule-plugin/commit/3e8b7e58422ba056313980952d9396c492ebb083))
17
+ * **deps-dev:** update dependency mocha to v10 ([82a4c29](https://github.com/wmfs/tymly-schedule-plugin/commit/82a4c29e66b5f7c6bc38eaca1c228f49d7f8bb9d))
18
+ * **deps-dev:** update dependency mocha to v10.1.0 ([9fc4db7](https://github.com/wmfs/tymly-schedule-plugin/commit/9fc4db78771c4c71af6bdbbffce77495da0d544b))
19
+ * **deps-dev:** update dependency moment to v2.29.4 [security] ([ae28d1f](https://github.com/wmfs/tymly-schedule-plugin/commit/ae28d1f977a3a5f0c6d0d39f2e0ade89a6dfbc61))
20
+ * **deps-dev:** update dependency semantic-release to v19.0.3 [security] ([bc3e970](https://github.com/wmfs/tymly-schedule-plugin/commit/bc3e9700a0994100cd5310accb8e42c7eeec4ff0))
21
+ * **deps-dev:** update dependency semantic-release to v19.0.4 ([abd04d4](https://github.com/wmfs/tymly-schedule-plugin/commit/abd04d490eda0e2c8c07c9c5b45ea30fd620a95e))
22
+ * **deps-dev:** update dependency semantic-release to v19.0.5 ([7acf181](https://github.com/wmfs/tymly-schedule-plugin/commit/7acf1812163a955b95245b87925e9560742c7f06))
23
+ * **deps-dev:** update dependency standard to v17 ([3a8a3c8](https://github.com/wmfs/tymly-schedule-plugin/commit/3a8a3c8fa8e42c00ac7c403c6ec21a36b9fa6aca))
24
+ * **deps:** update dependency uuid to v9 ([a9a803e](https://github.com/wmfs/tymly-schedule-plugin/commit/a9a803ebd0b6e40e5605b40c36e67109fdf31422))
25
+
26
+
27
+ ### 🚨 Tests
28
+
29
+ * remove hard coded DST change on hour, needs fixing [sc-18164] ([327ab77](https://github.com/wmfs/tymly-schedule-plugin/commit/327ab779f8b8a9c122adaad89fba6224db6673ca))
30
+
1
31
  # [1.2.0](https://github.com/wmfs/tymly-schedule-plugin/compare/v1.1.0...v1.2.0) (2022-07-28)
2
32
 
3
33
 
@@ -7,7 +7,7 @@ module.exports = function (datetime) {
7
7
  year: datetime.getFullYear(),
8
8
  month: datetime.getMonth(),
9
9
  date: datetime.getDate(),
10
- hour: datetime.getHours() - 1,
10
+ hour: datetime.getHours(),
11
11
  minute: datetime.getMinutes(),
12
12
  second: datetime.getSeconds()
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wmfs/tymly-schedule-plugin",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Provides state machine scheduling for the Tymly framework",
5
5
  "homepage": "https://github.com/wmfs/tymly-schedule-plugin#readme",
6
6
  "author": "West Midlands Fire Service",
@@ -23,25 +23,25 @@
23
23
  "main": "./lib/index.js",
24
24
  "dependencies": {
25
25
  "node-schedule": "2.1.0",
26
- "uuid": "^8.3.2"
26
+ "uuid": "^9.0.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@semantic-release/changelog": "6.0.1",
30
30
  "@semantic-release/exec": "6.0.3",
31
31
  "@semantic-release/git": "10.0.1",
32
- "@wmfs/tymly": "1.235.1",
33
- "@wmfs/tymly-pg-plugin": "1.268.1",
34
- "@wmfs/tymly-test-helpers": "1.17.0",
32
+ "@wmfs/tymly": "1.242.0",
33
+ "@wmfs/tymly-pg-plugin": "1.269.0",
34
+ "@wmfs/tymly-test-helpers": "1.22.1",
35
35
  "chai": "4.3.6",
36
36
  "codecov": "3.8.3",
37
37
  "conventional-changelog-metahub": "4.0.1",
38
38
  "cz-conventional-changelog": "3.3.0",
39
39
  "dirty-chai": "2.0.1",
40
- "mocha": "9.2.2",
41
- "moment": "2.29.1",
40
+ "mocha": "10.1.0",
41
+ "moment": "2.29.4",
42
42
  "nyc": "15.1.0",
43
- "semantic-release": "19.0.2",
44
- "standard": "16.0.4"
43
+ "semantic-release": "19.0.5",
44
+ "standard": "17.0.0"
45
45
  },
46
46
  "scripts": {
47
47
  "lint": "standard",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schedule-plugin",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "label": "Tymly Schedule Plugin",
5
5
  "author": "WMFS",
6
6
  "organisation": "West Midlands Fire Service",
@@ -81,7 +81,7 @@ describe('Datetime to rule tests', function () {
81
81
  expect(rule.year).to.eql(now.getFullYear())
82
82
  expect(rule.month).to.eql(now.getMonth())
83
83
  expect(rule.date).to.eql(now.getDate())
84
- expect(rule.hour).to.eql(now.getHours() - 1)
84
+ expect(rule.hour).to.eql(now.getHours())
85
85
  expect(rule.minute).to.eql(now.getMinutes())
86
86
  expect(rule.second).to.eql(now.getSeconds())
87
87
  })
@@ -96,7 +96,7 @@ describe('Datetime to rule tests', function () {
96
96
  expect(rule.year).to.eql(year)
97
97
  expect(rule.month).to.eql(datetime.getMonth())
98
98
  expect(rule.date).to.eql(datetime.getDate())
99
- expect(rule.hour).to.eql(datetime.getHours() - 1)
99
+ expect(rule.hour).to.eql(datetime.getHours())
100
100
  expect(rule.minute).to.eql(datetime.getMinutes())
101
101
  expect(rule.second).to.eql(datetime.getSeconds())
102
102
  })