webidl-conversions
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -20,1 +20,3 @@ var conversions = {}; | ||
}; | ||
conversions["void"] = () => undefined; |
{ | ||
"name": "webidl-conversions", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Implements the WebIDL algorithms for converting to and from JavaScript values", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -29,3 +29,3 @@ # WebIDL Type Conversions on JavaScript Values | ||
So far only `boolean`, `DOMString`, and `double` types are implemented. This list will grow over time in service of the [HTML as Custom Elements](https://github.com/dglazkov/html-as-custom-elements) project, but in the meantime, pull requests welcome! | ||
So far only `boolean`, `DOMString`, `double`, and `void` types are implemented. This list will grow over time in service of the [HTML as Custom Elements](https://github.com/dglazkov/html-as-custom-elements) project, but in the meantime, pull requests welcome! | ||
@@ -32,0 +32,0 @@ I'm not sure yet what the strategy will be for modifiers, e.g. [`[Clamp]`](http://heycam.github.io/webidl/#Clamp). Maybe something like `conversions["unsigned long"](x, { clamp: true })`? We'll see. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7892
14