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

wait-for-the-element

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wait-for-the-element - npm Package Versions

4.0.2

Diff
lsphillips
published 4.0.2 •

Changelog

Source

4.0.2 - 2024-05-26

The package repository has moved and it's now reflected in the package metadata; this version contains no functionality changes.

lsphillips
published 4.0.1 •

Changelog

Source

4.0.1 - 2021-10-27

Changed

  • Updated the ElementSearchOptions TypeScript definition, scope is now of type ParentNode.
lsphillips
published 4.0.0 •

Changelog

Source

4.0.0 - 2021-07-22

Changed

  • Changed waitForTheElement() to return null when a matching element is not found. It no longer throws an error.
  • Changed waitForTheElementToDisappear() to return a boolean, it will return true when no elements are matching or false if a match still exsits. It no longer throws an error.
lsphillips
published 3.0.0 •

Changelog

Source

3.0.0 - 2021-07-01

Added

  • Introduced waitForTheElementToDisappear() that will wait for all elements to stop matching a provided selector.
  • Introduced an ESM version of this module that will be used when being imported using import.

Changed

  • Change observations are optimized for selectors using attributes; this module will scan your CSS selectors for any attributes and only react to changes of those attributes.
  • Removed unnecessary files from the package making it more lightweight.
  • This module is now transpiled using Babel.
  • The UMD version of this module now exposes itself using the name wait-for-the-element instead of waitForTheElement.

Removed

  • Removed tryAndWaitForTheElement().
lsphillips
published 2.2.0 •

Changelog

Source

2.2.0 - 2019-06-04

Added

  • Introduced a browser entry point that is ES5 compatible and minified.
lsphillips
published 2.1.0 •

Changelog

Source

2.1.0 - 2018-12-05

Added

  • Introduced documentation to the Typescript type definitons.

Changed

  • The type definitions for waitForTheElement() and tryAndWaitForTheElement() now enforces that the return type must extend Element.
lsphillips
published 2.0.0 •

Changelog

Source

2.0.0 - 2018-09-25

Added

  • Introduced the tryAndWaitForTheElement() function that will return null instead of throwing an error when a matching element is not found in time.

Changed

  • The module no longer exports a function.
lsphillips
published 1.0.0 •

Changelog

Source

1.0.0 - 2018-09-25

The initial public release.