datagrok-tools 4.14.19 → 4.14.20

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.
@@ -201,7 +201,7 @@ function getScriptOutputType(script, comment = '#') {
201
201
  }
202
202
  ;
203
203
  function getScriptInputs(script, comment = '#') {
204
- const regex = new RegExp(`${comment}\\s*input:\\s?([a-z_]+)\\s+(\\w+)(?:[^{\\n]*{[^}\\n]*})?`, 'g');
204
+ const regex = new RegExp(`${comment}\\s*input:\\s?([a-z_]+)(?:<[^>]*>)?\\s+(\\w+)(?:[^{\\n]*{[^}\\n]*})?`, 'g');
205
205
  const inputs = [];
206
206
  for (const match of script.matchAll(regex)) {
207
207
  const isOptional = /isOptional\s*:\s*true/.test(match[0]);
@@ -10,7 +10,7 @@
10
10
  "@datagrok-libraries/utils": "^4.5.7"
11
11
  },
12
12
  "devDependencies": {
13
- "datagrok-tools": "^4.14.18",
13
+ "datagrok-tools": "^4.14.19",
14
14
  "webpack": "^5.95.0",
15
15
  "webpack-cli": "^5.1.4"
16
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.14.19",
3
+ "version": "4.14.20",
4
4
  "description": "Utility to upload and publish packages to Datagrok",
5
5
  "homepage": "https://github.com/datagrok-ai/public/tree/master/tools#readme",
6
6
  "dependencies": {