iobroker.sbfspot 4.0.8 → 4.1.2

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.
@@ -28,7 +28,7 @@ jobs:
28
28
  node-version: [12.x]
29
29
 
30
30
  steps:
31
- - uses: actions/checkout@v1
31
+ - uses: actions/checkout@v2
32
32
  - name: Use Node.js ${{ matrix.node-version }}
33
33
  uses: actions/setup-node@v1
34
34
  with:
@@ -51,14 +51,14 @@ jobs:
51
51
  runs-on: ${{ matrix.os }}
52
52
  strategy:
53
53
  matrix:
54
- node-version: [ 12.x, 14.x, 16.x]
54
+ node-version: [12.x, 14.x, 16.x]
55
55
  os: [ubuntu-latest, windows-latest, macos-latest]
56
56
  exclude:
57
57
  # Don't test Node.js 8 on Windows. npm is weird here
58
58
  - os: windows-latest
59
59
  node-version: 8.x
60
60
  steps:
61
- - uses: actions/checkout@v1
61
+ - uses: actions/checkout@v2
62
62
  - name: Use Node.js ${{ matrix.node-version }}
63
63
  uses: actions/setup-node@v1
64
64
  with:
@@ -78,7 +78,7 @@ jobs:
78
78
  if: startsWith(runner.OS, 'windows')
79
79
  run: set DEBUG=testing:* & npm run test:integration
80
80
 
81
- # TODO: To enable automatic npm releases, create a token on npmjs.org
81
+ # TODO: To enable automatic npm releases, create a token on npmjs.org
82
82
  # Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options
83
83
  # Then uncomment the following block:
84
84
 
@@ -90,6 +90,7 @@ jobs:
90
90
  # if: |
91
91
  # contains(github.event.head_commit.message, '[skip ci]') == false &&
92
92
  # github.event_name == 'push' &&
93
+ # github.event.base_ref == 'refs/heads/master' &&
93
94
  # startsWith(github.ref, 'refs/tags/v')
94
95
  #
95
96
  # runs-on: ubuntu-latest
@@ -98,7 +99,7 @@ jobs:
98
99
  # node-version: [12.x]
99
100
  #
100
101
  # steps:
101
- # - uses: actions/checkout@v1
102
+ # - uses: actions/checkout@v2
102
103
  # - name: Use Node.js ${{ matrix.node-version }}
103
104
  # uses: actions/setup-node@v1
104
105
  # with:
package/LICENSE CHANGED
@@ -1,7 +1,21 @@
1
- Copyright (C) <2017-2021> <info@rg-engineering.eu>
1
+ MIT License
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3
+ Copyright (c) 2017-2022 rg-engineering <info@rg-engineering.eu>
4
4
 
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
6
11
 
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -51,6 +51,13 @@ sometimes npm intall must be called more then one time to successfully install a
51
51
 
52
52
  ## Changelog
53
53
 
54
+ ### 4.1.2 (2022-08-20)
55
+ * (René) bug fix in AddObject
56
+
57
+ ### 4.1.1 (2022-08-18)
58
+ * (René) tooltip in wizard added
59
+ * (René) flot and dependencies updated
60
+
54
61
  ### 4.0.8 (2021-07-11)
55
62
  * (René) bug fix color of labels in widget
56
63
 
@@ -182,7 +189,7 @@ sometimes npm intall must be called more then one time to successfully install a
182
189
 
183
190
 
184
191
  ## License
185
- Copyright (C) <2017-2021> <info@rg-engineering.eu>
192
+ Copyright (C) <2017-2022> <info@rg-engineering.eu>
186
193
 
187
194
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
188
195
 
package/io-package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "sbfspot",
4
- "version": "4.0.8",
4
+ "version": "4.1.2",
5
5
  "news": {
6
+ "4.1.2": {
7
+ "en": "widget with tooltip",
8
+ "de": "Widget mit Tooltip",
9
+ "ru": "виджет с подсказкой",
10
+ "pt": "widget com dica de ferramenta",
11
+ "nl": "widget met knopinfo",
12
+ "fr": "widget avec info-bulle",
13
+ "it": "widget con descrizione comando",
14
+ "es": "widget con información sobre herramientas",
15
+ "pl": "widżet z podpowiedź",
16
+ "zh-cn": "带有工具提示的小部件"
17
+ },
6
18
  "4.0.8": {
7
19
  "en": "bug fix color of labels in widget",
8
20
  "de": "Fehlerkorrektur Farbe der Labels im Widget",
package/lib/tools.js CHANGED
@@ -56,7 +56,7 @@ async function translateYandex(text, targetLang, apiKey) {
56
56
  }
57
57
  try {
58
58
  const url = `https://translate.yandex.net/api/v1.5/tr.json/translate?key=${apiKey}&text=${encodeURIComponent(text)}&lang=en-${targetLang}`;
59
- const response = await axios({url, timeout: 15000});
59
+ const response = await axios({ url, timeout: 15000 });
60
60
  if (response.data && response.data.text && isArray(response.data.text)) {
61
61
  return response.data.text[0];
62
62
  }
@@ -75,7 +75,7 @@ async function translateYandex(text, targetLang, apiKey) {
75
75
  async function translateGoogle(text, targetLang) {
76
76
  try {
77
77
  const url = `http://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=${targetLang}&dt=t&q=${encodeURIComponent(text)}&ie=UTF-8&oe=UTF-8`;
78
- const response = await axios({url, timeout: 15000});
78
+ const response = await axios({ url, timeout: 15000 });
79
79
  if (isArray(response.data)) {
80
80
  // we got a valid response
81
81
  return response.data[0][0][0];