Socket
Socket
Sign inDemoInstall

webidl2

Package Overview
Dependencies
Maintainers
4
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webidl2 - npm Package Compare versions

Comparing version 23.5.0 to 23.5.1

index.js

5

package.json
{
"name": "webidl2",
"description": "A WebIDL Parser",
"version": "23.5.0",
"version": "23.5.1",
"contributors": [

@@ -34,4 +34,5 @@ "Robin Berjon <robin@berjon.com> (https://berjon.com)",

"dist/*",
"lib/*"
"lib/*",
"index.js"
]
}

@@ -150,2 +150,15 @@

The validator function may provide an autofix function that modifies AST. You can
optionally call it to skip manual fixes, but make sure you review the result.
```js
const validations = validate(tree);
for (const validation of validations) {
if (validation.autofix) {
validation.autofix();
}
}
write(tree); // magic!
```
### Errors

@@ -152,0 +165,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc