Skip to content

Commit

Permalink
chore: release v4.9.4
Browse files Browse the repository at this point in the history
corrected the crash IOBROKER-JAVASCRIPT-40
corrected typescript for async/await
  • Loading branch information
GermanBluefox committed Oct 19, 2020
1 parent ab1b6de commit b9b6a90
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 28 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG_OLD.md
@@ -1,5 +1,12 @@
The newest change log is in README.md

## 4.8.0 (2020-09-17)
* (AlCalzone) add xyzAsync methods and wait/sleep
* (Apollon77) Prevent a crash case (Sentry IOBROKER-JAVASCRIPT-3N)

## 4.7.4 (2020-09-10)
* (Bluefox) Fixed JS editor in blockly

## 4.7.3 (2020-09-06)
* (Bluefox) Fixed the select ID dialog

Expand Down
9 changes: 1 addition & 8 deletions README.md
Expand Up @@ -38,7 +38,7 @@ And then call "npm run build".
-->

## Changelog
### __WORK IN PROGRESS__
### 4.9.4 (2020-10-19)
* (AlCalzone) corrected the crash IOBROKER-JAVASCRIPT-40
* (AlCalzone) corrected typescript for async/await

Expand All @@ -62,13 +62,6 @@ And then call "npm run build".
### 4.8.2 (2020-09-20)
* (Bluefox) Added the settings for columns in the state selection dialog

### 4.8.0 (2020-09-17)
* (AlCalzone) add xyzAsync methods and wait/sleep
* (Apollon77) Prevent a crash case (Sentry IOBROKER-JAVASCRIPT-3N)

### 4.7.4 (2020-09-10)
* (Bluefox) Fixed JS editor in blockly

## License

The MIT License (MIT)
Expand Down
10 changes: 5 additions & 5 deletions admin/asset-manifest.json
@@ -1,26 +1,26 @@
{
"files": {
"main.css": "/static/css/main.ec63fb86.chunk.css",
"main.js": "/static/js/main.54c178ee.chunk.js",
"main.js.map": "/static/js/main.54c178ee.chunk.js.map",
"main.js": "/static/js/main.0fa88297.chunk.js",
"main.js.map": "/static/js/main.0fa88297.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.36ac425a.js",
"runtime-main.js.map": "/static/js/runtime-main.36ac425a.js.map",
"static/css/2.e0be75cc.chunk.css": "/static/css/2.e0be75cc.chunk.css",
"static/js/2.dad9a102.chunk.js": "/static/js/2.dad9a102.chunk.js",
"static/js/2.dad9a102.chunk.js.map": "/static/js/2.dad9a102.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.ef7df9f62060eec8d63ff7f11c28d5ce.js": "/precache-manifest.ef7df9f62060eec8d63ff7f11c28d5ce.js",
"precache-manifest.01b900830c808143c1ebca533f41758a.js": "/precache-manifest.01b900830c808143c1ebca533f41758a.js",
"service-worker.js": "/service-worker.js",
"static/css/2.e0be75cc.chunk.css.map": "/static/css/2.e0be75cc.chunk.css.map",
"static/css/main.ec63fb86.chunk.css.map": "/static/css/main.ec63fb86.chunk.css.map",
"static/js/2.dad9a102.chunk.js.LICENSE.txt": "/static/js/2.dad9a102.chunk.js.LICENSE.txt",
"static/js/main.54c178ee.chunk.js.LICENSE.txt": "/static/js/main.54c178ee.chunk.js.LICENSE.txt"
"static/js/main.0fa88297.chunk.js.LICENSE.txt": "/static/js/main.0fa88297.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.36ac425a.js",
"static/css/2.e0be75cc.chunk.css",
"static/js/2.dad9a102.chunk.js",
"static/css/main.ec63fb86.chunk.css",
"static/js/main.54c178ee.chunk.js"
"static/js/main.0fa88297.chunk.js"
]
}
@@ -1,14 +1,14 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "5a1ef665407d69d53e2e6cc699116d8f",
"revision": "b539a1c54bd7d8d05f1a3c5fc129b418",
"url": "/index.html"
},
{
"revision": "64087bf8632a2d7a4a1d",
"url": "/static/css/2.e0be75cc.chunk.css"
},
{
"revision": "a7cbd2f8e4c54b8df722",
"revision": "165eed1472b79901ee09",
"url": "/static/css/main.ec63fb86.chunk.css"
},
{
Expand All @@ -20,12 +20,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/2.dad9a102.chunk.js.LICENSE.txt"
},
{
"revision": "a7cbd2f8e4c54b8df722",
"url": "/static/js/main.54c178ee.chunk.js"
"revision": "165eed1472b79901ee09",
"url": "/static/js/main.0fa88297.chunk.js"
},
{
"revision": "578fa69920ac4a551e6d340a37256bed",
"url": "/static/js/main.54c178ee.chunk.js.LICENSE.txt"
"url": "/static/js/main.0fa88297.chunk.js.LICENSE.txt"
},
{
"revision": "0bb40a41b8abfdf8d583",
Expand Down
2 changes: 1 addition & 1 deletion admin/service-worker.js
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.ef7df9f62060eec8d63ff7f11c28d5ce.js"
"/precache-manifest.01b900830c808143c1ebca533f41758a.js"
);

self.addEventListener('message', (event) => {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/tab.html

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion io-package.json
Expand Up @@ -20,8 +20,20 @@
"Apollon77 <iobroker@fischer-ka.de>",
"AlCalzone"
],
"version": "4.9.3",
"version": "4.9.4",
"news": {
"4.9.4": {
"en": "corrected the crash IOBROKER-JAVASCRIPT-40\ncorrected typescript for async/await",
"de": "korrigierte den Absturz IOBROKER-JAVASCRIPT-40\nkorrigiertes Typoskript für Async / Warten",
"ru": "исправлен вылет IOBROKER-JAVASCRIPT-40\nисправлен машинописный текст для async / await",
"pt": "corrigiu a falha IOBROKER-JAVASCRIPT-40\ntexto digitado corrigido para assíncrono / espera",
"nl": "de crash gecorrigeerd IOBROKER-JAVASCRIPT-40\ngecorrigeerd typoscript voor async / await",
"fr": "corrigé le crash IOBROKER-JAVASCRIPT-40\ndactylographie corrigé pour async / await",
"it": "corretto il crash IOBROKER-JAVASCRIPT-40\ndattiloscritto corretto per async / await",
"es": "Corregido el bloqueo IOBROKER-JAVASCRIPT-40\nmecanografiado corregido para async / await",
"pl": "poprawiono awarię IOBROKER-JAVASCRIPT-40\npoprawiony maszynopis async / await",
"zh-cn": "更正了崩溃IOBROKER-JAVASCRIPT-40\n更正了用于异步/等待的打字稿"
},
"4.9.3": {
"en": "Corrected the function calls",
"de": "Funktionsaufrufe korrigiert",
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "iobroker.javascript",
"version": "4.9.3",
"version": "4.9.4",
"description": "Javascript/Coffescript Script Engine for ioBroker",
"author": "bluefox <dogafox@gmail.com>",
"contributors": [
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"dependencies": {
"@iobroker/adapter-core": "^2.4.0",
"@types/node": "^10.17.39",
"@types/node": "^10.17.40",
"@types/request": "^2.48.5",
"coffee-compiler": "^0.3.2",
"coffee-script": "^1.12.7",
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
@@ -1,6 +1,6 @@
{
"name": "js",
"version": "4.9.3",
"version": "4.9.4",
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.0",
Expand Down
20 changes: 20 additions & 0 deletions test.js
@@ -0,0 +1,20 @@
async function wait(ms) {
return new Promise(resolve => setTimeout(() => resolve(), ms));
}

function test() {
console.log('test');
}

/*setTimeout(async function () {
console.log('Step 1');
//await wait(1000);
console.log('Step 2');
}, 2000);*/

async function wrapper() {
await test();
}

wrapper();
//.then(() => {});

0 comments on commit b9b6a90

Please sign in to comment.