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

@atomic-testing/component-driver-html

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomic-testing/component-driver-html - npm Package Compare versions

Comparing version 0.43.0 to 0.45.0

2

dist/components/HTMLOptionDriver.js

@@ -22,4 +22,4 @@ "use strict";

value() {
var _a;
return __awaiter(this, void 0, void 0, function* () {
var _a;
const val = (_a = (yield this.interactor.getAttribute(this.locator, 'value'))) !== null && _a !== void 0 ? _a : (yield this.label());

@@ -26,0 +26,0 @@ return (val === null || val === void 0 ? void 0 : val.trim()) || null;

@@ -49,4 +49,4 @@ "use strict";

getValuesByLabels(labels) {
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {
var _a, e_1, _b, _c;
const labelSet = new Set(labels);

@@ -85,4 +85,4 @@ const values = [];

getSelectedLabel(isMultiple) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
var _a;
if (yield this.exists()) {

@@ -89,0 +89,0 @@ const labels = yield this.interactor.getSelectLabels(this.locator);

{
"name": "@atomic-testing/component-driver-html",
"version": "0.43.0",
"version": "0.45.0",
"description": "HTML component driver for atomic-testing",

@@ -26,3 +26,3 @@ "main": "dist/index.js",

"dependencies": {
"@atomic-testing/core": "0.43.0"
"@atomic-testing/core": "0.45.0"
},

@@ -38,5 +38,3 @@ "devDependencies": {

"jest-environment-jsdom": "^29.7.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.0",
"typescript": "^5.3.3"
"typescript": "^5.4.3"
},

@@ -43,0 +41,0 @@ "peerDependencies": {},

Sorry, the diff of this file is not supported yet

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