@dazn/kopytko-framework 1.0.1 → 1.0.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## [1.0.4](https://github.com/getndazn/kopytko-framework/compare/v1.0.3...v1.0.4) (2022-04-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * active route should skip is omitted in history ([#24](https://github.com/getndazn/kopytko-framework/issues/24)) ([970ff96](https://github.com/getndazn/kopytko-framework/commit/970ff9662376a909f1018b452a04b4cf5378a446))
7
+
8
+ ## [1.0.3](https://github.com/getndazn/kopytko-framework/compare/v1.0.2...v1.0.3) (2022-03-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update dependencies ([#19](https://github.com/getndazn/kopytko-framework/issues/19)) ([4652ec2](https://github.com/getndazn/kopytko-framework/commit/4652ec2201292083b8202acb624674de8cd8275e))
14
+
15
+ ## [1.0.2](https://github.com/getndazn/kopytko-framework/compare/v1.0.1...v1.0.2) (2021-12-03)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** Fixed npm urls ([#17](https://github.com/getndazn/kopytko-framework/issues/17)) ([32443a2](https://github.com/getndazn/kopytko-framework/commit/32443a2eb3973640fd2315dcf85b6abc1d54e2d3))
21
+
1
22
  ## [1.0.1](https://github.com/getndazn/kopytko-framework/compare/v1.0.0...v1.0.1) (2021-10-01)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazn/kopytko-framework",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "A modern Roku's Brightscript framework",
5
5
  "keywords": [
6
6
  "brightscript",
@@ -13,7 +13,8 @@
13
13
  "Tomasz Rejment <trejment@gmail.com>",
14
14
  "Błażej Chełkowski <blazej.chelkowski@outlook.com>",
15
15
  "Radosław Zambrowski <radekzam@gmail.com>",
16
- "Mauricio Dziedzinski <d.mauriciofarias@gmail.com>"
16
+ "Mauricio Dziedzinski <d.mauriciofarias@gmail.com>",
17
+ "Tomasz Bazelczuk <tbazelczuk@gmail.com>"
17
18
  ],
18
19
  "files": [
19
20
  "src",
@@ -24,14 +25,13 @@
24
25
  "test": "node node_modules/@dazn/kopytko-unit-testing-framework/scripts/test.js"
25
26
  },
26
27
  "dependencies": {
27
- "@dazn/kopytko-utils": "^2.0.0"
28
+ "@dazn/kopytko-utils": "^2.0.1"
28
29
  },
29
30
  "devDependencies": {
30
- "@dazn/eslint-plugin-kopytko": "^1.0.0",
31
- "@dazn/kopytko-packager": "^1.0.3",
32
- "@dazn/kopytko-unit-testing-framework": "^1.0.0",
33
- "eslint": "5.6.0",
34
- "eslint-plugin-roku": "^1.5.3"
31
+ "@dazn/eslint-plugin-kopytko": "^2.1.0",
32
+ "@dazn/kopytko-packager": "^1.2.0",
33
+ "@dazn/kopytko-unit-testing-framework": "^1.0.3",
34
+ "eslint": "^8.10.0"
35
35
  },
36
36
  "license": "MIT",
37
37
  "kopytkoModuleDir": "src/",
@@ -1,8 +1,8 @@
1
1
  ' @import /components/buildUrl.brs from @dazn/kopytko-utils
2
2
  ' @import /components/getProperty.brs from @dazn/kopytko-utils
3
- ' @import /components/ternary.brs from @dazn/kopytko-utils
4
3
  ' @import /components/rokuComponents/Timespan.brs from @dazn/kopytko-utils
5
4
  ' @import /components/rokuComponents/UrlTransfer.brs from @dazn/kopytko-utils
5
+ ' @import /components/ternary.brs from @dazn/kopytko-utils
6
6
 
7
7
  ' @typedef {Object} HttpRequest~Options
8
8
  ' @property {String} id
@@ -56,7 +56,7 @@ sub resetHistory(rootPath = "" as String)
56
56
  end sub
57
57
 
58
58
  sub _updateHistory()
59
- if (m.top.url = "")
59
+ if (m.top.url = "" OR m.top.activatedRoute.shouldSkip)
60
60
  return
61
61
  end if
62
62