New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@devassure/cli

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devassure/cli - npm Package Compare versions

Comparing version
1.0.6
to
1.0.8
+15
scripts/check-node-version.cjs
"use strict";
const minMajor = 18;
const current = process.versions.node;
const major = parseInt(current.split(".")[0], 10);
if (major < minMajor) {
console.error(`
❌ DevAssure CLI requires Node.js ${minMajor} or higher.
Current: ${current}
Please upgrade Node.js: https://nodejs.org/
`);
process.exit(1);
}
+2
-2
{
"name": "@devassure/cli",
"version": "1.0.6",
"version": "1.0.8",
"type": "module",

@@ -31,3 +31,3 @@ "description": "DevAssure CLI application",

"install:tgz": "node scripts/install-tgz.cjs",
"preinstall": "node scripts/require-global-install.cjs",
"preinstall": "node scripts/check-node-version.cjs && node scripts/require-global-install.cjs",
"postinstall": "node scripts/postinstall-setup.cjs",

@@ -34,0 +34,0 @@ "prepublishOnly": "node scripts/prepublish-check.cjs"

@@ -1,2 +0,2 @@

# DevAssure CLI
# DevAssure Agent CLI

@@ -226,2 +226,5 @@ Command-line interface for DevAssure Testing Agent - Autonomous agent executing tests from natural language instructions.

# Use keyword search to filter tests (this will do text match on summary, steps, tags)
devassure run-tests --filter="query = dashboard"
# All parameters support plural forms

@@ -402,4 +405,27 @@ devassure run-tests --tags=smoke,regression --priorities=P0,P1 --folders=admin/users

## FAQ
**How to add new test cases?**
Add YAML files under `.devassure/tests/` (or `test/`), or use a CSV file with `--csv <path>` and optionally `.devassure/csv_mapping.yaml` to map columns to test fields.
**Is test case YAML always needed or can we use CSV only?**
No. You can run tests from CSV only: use `devassure run-tests --csv=<path>` and configure `.devassure/csv_mapping.yaml` so your CSV columns map to summary, steps, priority, and tags.
**What are the mandatory fields for a test case?**
For YAML test cases, `summary` and `steps` are required. `priority` and `tags` are optional. For CSV, the mapped columns must provide at least the equivalent of summary and steps.
**How to add a new environment?**
Add a new top-level key (e.g. `uat`) and its data in `.devassure/test_data.yaml`. Then run with `devassure run-tests --environment=uat` (or `--environment uat`). If you omit `--environment`, the `default` key in test_data.yaml is used.
**What are the supported browsers?**
Supported browsers are Chromium, Chrome, Edge. Controlled by `.devassure/preferences.yaml` under `browsers.default.browser`. The default is `chromium`. See the preferences.yaml section above for the structure.
**How to run with headless mode?**
In `.devassure/preferences.yaml`, set `browsers.default.headless: true`.
**How to run the tests in Continuous Integration?**
Use `devassure add-token <your-token>` to authenticate (no browser). Then run `devassure run-tests` with the options you need (e.g. `--csv`, `--filter`, `--tag`, `--priority`, `--archive` for saving report zips). You can retain only recent sessions with `devassure cleanup --retain-days 7` or `--retain-sessions 10`.
## Support
For more information, visit [DevAssure](https://devassure.io) or run `devassure help` for command-specific help.

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