Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@datagrok/api-tests

Package Overview
Dependencies
Maintainers
5
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datagrok/api-tests - npm Package Compare versions

Comparing version 1.7.13 to 1.7.15-rc.abc

1.7.1-rc

7

package.json
{
"name": "@datagrok/api-tests",
"friendlyName": "API Tests",
"version": "1.7.13",
"version": "1.7.15-rc.abc",
"author": {

@@ -13,3 +13,3 @@ "name": "Anna Muzychyna",

"type": "git",
"url": "https://github.com/datagrok-ai/public.git",
"url": "git+https://github.com/datagrok-ai/public.git",
"directory": "packages/ApiTests"

@@ -19,4 +19,5 @@ },

"@datagrok-libraries/utils": "^4.1.41",
"@datagrok/api-tests": "^1.7.15-rc.test2",
"cash-dom": "^8.1.1",
"datagrok-api": "^1.18.0",
"datagrok-api": "../../js-api",
"dayjs": "^1.11.10",

@@ -23,0 +24,0 @@ "rxjs": "^6.6.7",

@@ -39,2 +39,12 @@ import * as grok from 'datagrok-api/grok';

test('Create a calculated column with async formula', async () => {
try {
const column = await df.columns.addNewCalculated('new', 'ApiTests:testIntAsync(${x})');
expect(df.columns.contains(column.name), true);
expect(column.get(0), 11);
} finally {
df.columns.remove('new');
}
});
test('Add new column dialog', () => new Promise(async (resolve, reject) => {

@@ -41,0 +51,0 @@ if ((await grok.dapi.packages.filter('PowerPack').list()).length > 0)

@@ -33,2 +33,3 @@ import * as DG from 'datagrok-api/dg';

import './dapi/tables';
import './dapi/sticky_meta';
import './dapi/user-data-storage';

@@ -35,0 +36,0 @@ import './dapi/users';

@@ -82,1 +82,8 @@ /* Do not change these import lines. Datagrok will import API library in exactly the same manner */

}
//name: testStringAsync
//input: int a
//output: int b
export async function testIntAsync(a: number): Promise<number> {
return new Promise((r) => r(a + 10));
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc