datagrok-tools 4.13.29 → 4.13.30

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Datagrok-tools changelog
2
2
 
3
3
 
4
+ ## 4.13.30 (2024-10-11)
5
+
6
+ ### Features
7
+
8
+ * Grok Check fixes
9
+
4
10
  ## 4.13.29 (2024-10-09)
5
11
 
6
12
  ### Features
@@ -255,10 +255,10 @@ var dgToTsTypeMap = exports.dgToTsTypeMap = {
255
255
  var propertyTypes = exports.propertyTypes = ['bool', 'int', 'double', 'string', 'datetime', 'object', 'column', 'dataframe', 'bitset', 'cell', 'string_list', 'map'];
256
256
  var headerTags = exports.headerTags = ['name', 'description', 'help-url', 'input', 'output', 'tags', 'sample', 'language', 'returns', 'test', 'sidebar', 'condition', 'top-menu', 'environment', 'require', 'editor-for', 'schedule', 'reference', 'editor', 'meta'];
257
257
  var fileParamRegex = exports.fileParamRegex = {
258
- py: new RegExp("#\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$")),
259
- ts: new RegExp("//\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$")),
260
- js: new RegExp("//\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$")),
261
- sql: new RegExp("--\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$"))
258
+ py: new RegExp("^#\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$")),
259
+ ts: new RegExp("^//\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$")),
260
+ js: new RegExp("^//\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$")),
261
+ sql: new RegExp("^--\\s*((?:".concat(headerTags.join('|'), ")[^:]*): *([^\\s\\[\\{]+) ?([^\\s\\[\\{]+)?[^\\n]*$"))
262
262
  };
263
263
  var nameAnnRegex = exports.nameAnnRegex = /\/\/\s*(name[^:]*): ([^\n\r\[\{]+)/;
264
264
  var nameRegex = exports.nameRegex = /(?:|static|export\s+function|export\s+async\s+function)\s+([a-zA-Z_][a-zA-Z0-9_$]*)\s*\((.*?)\).*/;
@@ -4,15 +4,15 @@
4
4
  "version": "0.0.1",
5
5
  "description": "",
6
6
  "dependencies": {
7
- "datagrok-api": "latest",
8
- "cash-dom": "latest",
9
- "dayjs": "latest",
10
- "@datagrok-libraries/utils": "latest"
7
+ "datagrok-api": "^1.21.3",
8
+ "cash-dom": "^8.1.5",
9
+ "dayjs": "^1.11.13",
10
+ "@datagrok-libraries/utils": "^4.3.6"
11
11
  },
12
12
  "devDependencies": {
13
- "datagrok-tools": "latest",
14
- "webpack": "latest",
15
- "webpack-cli": "latest"
13
+ "datagrok-tools": "^4.13.29",
14
+ "webpack": "^5.95.0",
15
+ "webpack-cli": "^5.1.4"
16
16
  },
17
17
  "scripts": {
18
18
  "link-all": "grok link",
@@ -27,4 +27,4 @@
27
27
  "canView": [
28
28
  "All users"
29
29
  ]
30
- }
30
+ }
@@ -1,5 +1,3 @@
1
- import * as DG from "datagrok-api/dg";
2
- import * as grok from 'datagrok-api/grok';
3
1
  import { runTests, tests, TestContext , initAutoTests as initTests } from '@datagrok-libraries/utils/src/test';
4
2
 
5
3
  export let _package = new DG.Package();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.13.29",
3
+ "version": "4.13.30",
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": {
@@ -9,7 +9,7 @@
9
9
  "@babel/traverse": "^7.23.7",
10
10
  "archiver": "^4.0.2",
11
11
  "archiver-promise": "^1.0.0",
12
- "fs": "latest",
12
+ "fs": "^0.0.1-security",
13
13
  "ignore-walk": "^3.0.4",
14
14
  "inquirer": "^7.3.3",
15
15
  "js-yaml": "^4.1.0",
@@ -60,4 +60,4 @@
60
60
  "webpack": "^5.89.0",
61
61
  "webpack-cli": "^5.1.4"
62
62
  }
63
- }
63
+ }