Comparing version 2.3.13 to 3.0.1
{ | ||
"name": "just-test", | ||
"version": "2.3.13", | ||
"description": "Client side JavaScript tests runner", | ||
"version": "3.0.1", | ||
"description": "JavaScript tests runner", | ||
"keywords": [ | ||
@@ -25,6 +25,10 @@ "javascript", | ||
"files": [ | ||
"dist" | ||
"bin" | ||
], | ||
"type": "module", | ||
"browser": "../dist/just-test.js", | ||
"exports": { | ||
"./suite": "./bin/runner/just-test.js", | ||
"./random-utils": "./bin/common/random-utils.js", | ||
"./time-utils": "./bin/common/time-utils.js" | ||
}, | ||
"author": { | ||
@@ -40,22 +44,24 @@ "name": "Guller Yuri", | ||
"scripts": { | ||
"build": "node ./build/tools/build-dist.mjs", | ||
"lint": "node ./node_modules/eslint/bin/eslint -c ./build/.eslintrc.json --ignore-path ./build/.eslintignore ./src/**/*.js", | ||
"test": "node ./dist/tests-runner/run-tests.js --config=./tests/tests-config.json" | ||
"build": "node ./ci/tools/build.js", | ||
"lint": "npm run lint:runner && npm run lint:server", | ||
"lint:runner": "eslint -c ./ci/.eslintrc.runner.json \"./src/runner/**/*.js\" \"./src/common/**/*.js\" \"./src/ui/**/*.js\" \"./tests/runner/**/*.js\"", | ||
"lint:server": "eslint -c ./ci/.eslintrc.server.json \"./src/common/**/*.js\" \"./src/server/**/*.js\" \"./src/*.js\" \"./ci/**/*.js\" \"./tests/server/**/*.js\"", | ||
"test:dev": "node ./src/local-runner.js config_file=./tests/tests-config-dev.json", | ||
"test:ci": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-chromium.json", | ||
"test:ci:firefox": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-firefox.json", | ||
"test:ci:webkit": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-webkit.json", | ||
"test:ci:node": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-node.json" | ||
}, | ||
"dependencies": { | ||
"data-tier": "^2.9.0", | ||
"data-tier-list": "^0.5.0", | ||
"rich-component": "^1.4.0", | ||
"playwright": "^1.1.1", | ||
"chai": "^4.2.0" | ||
"data-tier": "^3.6.1", | ||
"data-tier-list": "^2.2.1", | ||
"es-module-shims": "^1.5.8", | ||
"glob": "^8.0.3", | ||
"playwright": "^1.22.2", | ||
"rich-component": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.2.0", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"fs-extra": "^9.0.1" | ||
"chai": "^4.3.6", | ||
"eslint": "^8.18.0" | ||
} | ||
} |
@@ -27,3 +27,3 @@ [![npm version](https://img.shields.io/npm/v/just-test.svg?label=npm)](https://www.npmjs.com/package/just-test) | ||
- friendly __UI__ on top of the page of the tests, allows immediatelly observe the behavior of the code and the test | ||
- running tests from __NodeJS__ via headless browser (currently: Chromium) to run in __CI/CD automation__ | ||
- running tests from __NodeJS__ via headless browser (chromium, firefox, webkit) to run in __CI/CD automation__ | ||
- generating __test results__ report (format: __xUnit__) | ||
@@ -42,3 +42,3 @@ - collecting __coverage__ and generating report (formats: __lcov__) | ||
* import into it the [`just-test` APIs](docs/api.md) and get the suite object by the __`getSuite`__ API | ||
* import the stuff your are working on and write some testing code using suite's __`runTest`__ API | ||
* import the stuff your are working on and write some testing code using suite's __`test`__ API | ||
* create an empty `html` file, `test.html` for example | ||
@@ -105,3 +105,3 @@ * import `test.js` into it and open it in browser | ||
suite.addTest(function (pass, fail) { // can skip the options, defaults will be used | ||
suite.addTest(function (pass, fail) { // can skip the config, defaults will be used | ||
... | ||
@@ -108,0 +108,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
156067
2
87
4383
1
6
8
+ Addedes-module-shims@^1.5.8
+ Addedglob@^8.0.3
+ Added@gullerya/object-observer@6.1.3(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addeddata-tier@3.6.6(transitive)
+ Addeddata-tier-list@2.2.1(transitive)
+ Addedes-module-shims@1.10.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@8.1.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedminimatch@5.1.6(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedchai@^4.2.0
- Removedassertion-error@1.1.0(transitive)
- Removedchai@4.5.0(transitive)
- Removedcheck-error@1.0.3(transitive)
- Removeddata-tier@1.14.02.12.0(transitive)
- Removeddata-tier-list@0.5.0(transitive)
- Removeddeep-eql@4.1.4(transitive)
- Removedget-func-name@2.0.2(transitive)
- Removedloupe@2.3.7(transitive)
- Removedobject-observer@2.9.44.8.0(transitive)
- Removedpathval@1.1.1(transitive)
- Removedtype-detect@4.1.0(transitive)
Updateddata-tier@^3.6.1
Updateddata-tier-list@^2.2.1
Updatedplaywright@^1.22.2
Updatedrich-component@^1.8.0