New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@acrolinx/sdk

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acrolinx/sdk - npm Package Compare versions

Comparing version

to
1.2.0

23

package.json
{
"name": "@acrolinx/sdk",
"version": "1.2.0-dev.17",
"version": "1.2.0",
"description": "Acrolinx JavaScript SDK for the Acrolinx API",

@@ -14,5 +14,2 @@ "license": "Apache-2.0",

},
"publishConfig": {
"tag": "dev"
},
"scripts": {

@@ -51,8 +48,8 @@ "ci": "npm run build && npm run lint && npm run testCoverage",

"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"ajv": "^8.12.0",
"co-body": "^6.1.0",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.6",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"ajv": "^8.16.0",
"co-body": "^6.2.0",
"cross-fetch": "^4.0.0",

@@ -70,8 +67,8 @@ "dotenv": "^16.4.5",

"markdown-doctest": "^1.1.0",
"prettier": "3.2.5",
"ts-jest": "^29.1.2",
"prettier": "3.3.2",
"ts-jest": "^29.1.5",
"typedoc": "0.25.13",
"typescript": "5.4.5",
"typescript-json-schema": "^0.63.0"
"typescript-json-schema": "^0.64.0"
}
}

@@ -54,6 +54,5 @@ /*

const TEST_SERVER_URL = process.env.TEST_SERVER_URL || ''; /* Add here your own test server URL */
const SSO_USERNAME = process.env.SSO_USERNAME;
const SSO_GENERIC_TOKEN = process.env.SSO_GENERIC_TOKEN;
const ACROLINX_API_TOKEN = process.env.ACROLINX_API_TOKEN || '';
const ACROLINX_API_USERNAME = process.env.ACROLINX_API_USERNAME || 'api-js-test-user';
const ACROLINX_API_USERNAME = process.env.ACROLINX_API_USERNAME || '';
export const ACROLINX_DEV_SIGNATURE = process.env.ACROLINX_DEV_SIGNATURE;

@@ -162,8 +161,8 @@

// eslint-disable-next-line @typescript-eslint/no-misused-promises
testIf(SSO_USERNAME && SSO_GENERIC_TOKEN, 'signin with sso', async () => {
testIf(ACROLINX_API_USERNAME && SSO_GENERIC_TOKEN, 'signin with sso', async () => {
const result = (await api.signin({
genericToken: SSO_GENERIC_TOKEN!,
username: SSO_USERNAME!,
username: ACROLINX_API_USERNAME,
})) as SigninSuccessResult;
expect(result.data.user.username).toContain(SSO_USERNAME);
expect(result.data.user.username).toContain(ACROLINX_API_USERNAME);
});

@@ -754,3 +753,4 @@

*/
it('request and validate app token', async () => {
it.skip('request and validate app token', async () => {
// SI-307
const appId = 'selectRanges';

@@ -757,0 +757,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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