Comparing version 1.40.2 to 1.41.0
# Svelte changelog | ||
## 1.41.0 | ||
* `onwarn` and `onerror` receive default handlers as second arguments ([#883](https://github.com/sveltejs/svelte/pull/883)) | ||
* Recognise `muted` as boolean property on `<audio>` elements ([#886](https://github.com/sveltejs/svelte/pull/886)) | ||
* Array destructuring for `each` block contexts ([#889](https://github.com/sveltejs/svelte/pull/889)) | ||
## 1.40.2 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "svelte", | ||
"version": "1.40.2", | ||
"version": "1.41.0", | ||
"description": "The magical disappearing UI framework", | ||
@@ -5,0 +5,0 @@ "main": "compiler/svelte.js", |
@@ -86,4 +86,4 @@ # Svelte | ||
| `legacy` | `boolean` | Ensures compatibility with very old browsers, at the cost of some extra code | | ||
| `onerror` | `function` | Specify a callback for when Svelte encounters an error while compiling the component. | (exception is thrown) | | ||
| `onwarn` | `function` | Specify a callback for when Svelte encounters a non-fatal warning while compiling the component. | (warning is logged to console) | | ||
| `onerror` | `function` | Specify a callback for when Svelte encounters an error while compiling the component. Passed two arguments: the error object, and another function that is Svelte's default onerror handling. | (exception is thrown) | | ||
| `onwarn` | `function` | Specify a callback for when Svelte encounters a non-fatal warning while compiling the component. Passed two arguments: the warning object, and another function that is Svelte's default onwarn handling. | (warning is logged to console) | | ||
@@ -90,0 +90,0 @@ ## Example/starter repos |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
2050970
17888