This project is not covered by Drupal’s security advisory policy.
Javascript library popperjs/popperjs is a drop-in replacement for library core/popperjs.
Since Drupal 10 core/popperjs is removed from Drupal core. See change record https://www.drupal.org/node/3307518 and #3307471: Deprecate popperjs.
The reason why it was removed is that Drupal core modules do not use the popperjs library.
There were no security reasons why the popperjs library has been removed from Drupal core.
Modules that want to keep using the popperjs library can use this module.
For developers
Installation
composer require drupal/popperjs
Drupal 9 to Drupal 10 migrations
In module.info.yml add popperjs:popperjs to the module dependencies list
In *.libraries.yml replace core/popperjs with popperjs/popperjs
Example
In your module or theme add popperjs as a dependency.
# module.info.yml
dependencies:
- popperjs:popperjs
# module.libraries.yml
lib:
version: VERSION
dependencies:
- core/drupal
- core/once
- popperjs/popperjs # <-- instead of: core/popperjs
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Developer tools
- Ecosystem: Library registry
189 sites report using this module
- Created by ndf on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
