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/idl
Advanced tools
This package contains Web IDL scraped from the latest versions of web platform specifications in webref, with fixes applied to ensure all definitions can be parsed and are internally consistent.
The async listAll()
method resolves with an object where the keys are spec shortnames, and the values are objects with async text()
and parse()
methods to get the raw text and the result of parsing that with WebIDL2.parse
, respectively. Example:
const idl = require('@webref/idl');
const files = await idl.listAll();
for (const [shortname, file] of Object.entries(files)) {
const text = await file.text();
const ast = await file.parse();
// do something with text or ast
}
As a shorthand, the async parseAll()
method resolves with an object where the keys are spec shortnames and the values are the result of parsing the IDL with WebIDL2.parse
. Example:
const idl = require('@webref/idl');
const parsedFiles = await idl.parseAll();
for (const [shortname, ast] of Object.entries(parsedFiles)) {
// do something with the ast
}
The following guarantees are provided by this package:
peerDependencies
in package.json
.WebIDL2.validate
passes with the exception of the "no-nointerfaceobject" rule about [LegacyNoInterfaceObject]
, which is in wide use.The following guarantees are not provided:
FAQs
Web IDL definitions of the web platform
We found that @webref/idl 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.