Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@ungap/custom-elements
Advanced tools
This module provides the Custom Elements V1 API as defined by standards, including the ability to extend builtin elements, all in ~2K minified and gzipped / brotlied.
The polyfill gracefully enhances the following minimum versions of at least these browsers, up to their latest version:
Either install this module via npm i @ungap/custom-elements
, and include it in your project, or use a CDN such as unpkg.com to obtain the minified version of this module.
<!-- this should be on top of your HTML <head> scripts -->
<script src="//unpkg.com/@ungap/custom-elements"></script>
If targeted browsers are ES2015 compatible, the es.js
file would provide the same polyfill, just lighter, as no transpilation is used.
<script src="//unpkg.com/@ungap/custom-elements/es.js"></script>
If installed as module, please remember to include it on top of your main JS file.
// ESM
import '@ungap/custom-elements';
// CJS
require('@ungap/custom-elements');
The module will incrementally patch the global window
/self
reference, adding a customElements
object that is compatible with the API.
This module simply provides @webreflection/custom-elements module under the ungap umbrella.
FAQs
All inclusive customElements polyfill for every browser
The npm package @ungap/custom-elements receives a total of 26,999 weekly downloads. As such, @ungap/custom-elements popularity was classified as popular.
We found that @ungap/custom-elements demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.