@datagrok/compute 1.39.2 → 1.39.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/compute",
3
3
  "friendlyName": "Compute",
4
- "version": "1.39.2",
4
+ "version": "1.39.5",
5
5
  "author": {
6
6
  "name": "Aufar Zakiev",
7
7
  "email": "aufar.zakiev@softwarecountry.com"
@@ -14,13 +14,13 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@datagrok-libraries/utils": "^4.3.0",
17
- "@datagrok-libraries/compute-utils": "^1.39.2",
18
- "cash-dom": "latest",
19
- "datagrok-api": "^1.21.1",
17
+ "@datagrok-libraries/compute-utils": "^1.39.5",
18
+ "cash-dom": "^8.1.5",
19
+ "datagrok-api": "^1.22.1",
20
20
  "rxjs": "^6.6.7",
21
21
  "source-map-loader": "^4.0.1",
22
- "ts-loader": "latest",
23
- "typescript": "latest",
22
+ "ts-loader": "^9.5.1",
23
+ "typescript": "^5.6.3",
24
24
  "exceljs": "^4.3.0"
25
25
  },
26
26
  "devDependencies": {
@@ -31,8 +31,8 @@
31
31
  "eslint": "^8.0.1",
32
32
  "eslint-config-google": "^0.14.0",
33
33
  "style-loader": "^3.3.1",
34
- "webpack": "latest",
35
- "webpack-cli": "latest"
34
+ "webpack": "^5.95.0",
35
+ "webpack-cli": "^5.1.4"
36
36
  },
37
37
  "scripts": {
38
38
  "link-api": "npm link datagrok-api",
@@ -63,4 +63,4 @@
63
63
  "meta": {
64
64
  "dartium": false
65
65
  }
66
- }
66
+ }
@@ -0,0 +1,13 @@
1
+ import * as grokNamespace from 'datagrok-api/grok';
2
+ import * as uiNamespace from 'datagrok-api/ui';
3
+ import * as DGNamespace from 'datagrok-api/dg';
4
+ import * as rxjsNamespace from 'rxjs';
5
+ import $Namespace from 'cash-dom';
6
+
7
+ declare global {
8
+ const grok: typeof grokNamespace;
9
+ const ui: typeof uiNamespace;
10
+ const DG: typeof DGNamespace;
11
+ const rjxs: typeof rxjsNamespace;
12
+ const $: typeof $Namespace;
13
+ }
@@ -1,6 +1,6 @@
1
1
  import * as DG from 'datagrok-api/dg';
2
2
  import * as grok from 'datagrok-api/grok';
3
- import {runTests, tests, TestContext} from '@datagrok-libraries/utils/src/test';
3
+ import {runTests, tests, TestContext, initAutoTests as initTests } from '@datagrok-libraries/utils/src/test';
4
4
 
5
5
  export const _package = new DG.Package();
6
6
  export {tests};
@@ -14,3 +14,8 @@ export async function test(category: string, test: string, testContext: TestCont
14
14
  const data = await runTests({category, test, testContext});
15
15
  return DG.DataFrame.fromObjects(data)!;
16
16
  }
17
+
18
+ //name: initAutoTests
19
+ export async function initAutoTests() {
20
+ await initTests(_package, _package.getModule('package-test.js'));
21
+ }