0.2.1 #1

Merged
vlw merged 0 commits from refs/pull/1/head into master 2021-10-07 14:11:36 +02:00
vlw commented 2021-10-07 14:09:37 +02:00 (Migrated from codeberg.org)

Next pre-release of Monkeydo

This PR contains major changes to manifest structure and function execution. Here are the highlights:

  • Namespaced method instead of eval()
    0.1.0 used eval() to execute JS; which after one query on [seachengine] will explain why that's a terrible idea. This PR implements a more sophisticated way to execute JS with namespace-scoped methods
  • Optimized the manifest to use arrays instead of objects for each task.
{
  "body": [
    {
      "wait": 200,
      "do": "console.log('hello world')"
    }
  ]
}

0.1.0

{
  "tasks": [
    [200,"log","hello world"]
  ]
}

0.2.1

## Next pre-release of Monkeydo This PR contains major changes to manifest structure and function execution. Here are the highlights: - **Namespaced method instead of eval()** 0.1.0 used `eval()` to execute JS; which after one query on *[seachengine]* will explain why that's a terrible idea. This PR implements a more sophisticated way to execute JS with namespace-scoped methods - **Optimized the manifest to use arrays instead of objects for each task.** ```json { "body": [ { "wait": 200, "do": "console.log('hello world')" } ] } ``` **0.1.0** ```json { "tasks": [ [200,"log","hello world"] ] } ``` **0.2.1**
Commenting is not possible because the repository is archived.
No description provided.