datagrok-tools 4.12.24 → 4.12.26

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.
@@ -253,11 +253,11 @@ function checkFuncSignatures(packagePath, files) {
253
253
  tags = _ref5.tags;
254
254
  var value = true;
255
255
  var message = '';
256
- if (tags == null || tags.filter(function (t) {
257
- return t.startsWith('fileViewer');
258
- }).length < 2) {
256
+
257
+ // TODO: GROK-15398: Fix file viewer check in grok check
258
+ if (tags == null || tags.length !== 1 || tags[0] !== 'fileViewer') {
259
259
  value = false;
260
- message += 'File viewers must have at least two special tags: "fileViewer" and "fileViewer-<extension>"\n';
260
+ message += 'File viewers must have only one tag: "fileViewer"\n';
261
261
  }
262
262
  if (inputs.length !== 1 || inputs[0].type !== 'file') {
263
263
  value = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.12.24",
3
+ "version": "4.12.26",
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": {
@@ -18,7 +18,7 @@
18
18
  "node-recursive-directory": "^1.2.0",
19
19
  "os": "^0.1.2",
20
20
  "path": "^0.12.7",
21
- "puppeteer": "^20.9.0",
21
+ "puppeteer": "^22.2.0",
22
22
  "puppeteer-screen-recorder": "^2.1.2"
23
23
  },
24
24
  "scripts": {