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.
@webref/elements
Advanced tools
This package contains a list per spec of markup elements that compose the Web platform, scraped from the latest versions of web platform specifications in webref, along with the name of the Web IDL interface that these elements implement. Fixes are applied to ensure that guarantees.
The async listAll()
method resolves with an object where the keys are spec shortnames, and the values are the data for that spec. Example:
const elements = require('@webref/elements');
elements.listAll().then(all => {
for (const [shortname, data] of Object.entries(all)) {
// do something with the json object
}
});
For each spec, value is an object with a spec
property that describes the specification, and an elements
property that lists elements defined in the spec, as an array of objects with name
and interface
properties. The interface
property is not present for elements that do not implement an interface:
const elements = require('@webref/elements');
elements.listAll().then(all => {
for (const [shortname, data] of Object.entries(all)) {
console.log();
console.log(data.spec.title);
for (const el of data.elements) {
if (el.interface) {
console.log(`- ${el.name} implements ${el.interface}`);
}
else {
console.log(`- ${el.name} does not implement an interface`);
}
}
}
});
The following guarantees are provided by this package:
@webref/idl
package at the time the @webref/elements
package is released.FAQs
Markup elements of the Web platform and associated Web IDL interfaces
The npm package @webref/elements receives a total of 159 weekly downloads. As such, @webref/elements popularity was classified as not popular.
We found that @webref/elements demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.