AidynMakhataev / laravel-surveyjs

[Deprecated] Laravel wrapper for SurveyJS library and Editor
Other
79 stars 58 forks source link

Bump knockout from 3.4.2 to 3.5.0 #13

Closed dependabot[bot] closed 5 years ago

dependabot[bot] commented 5 years ago

Bumps knockout from 3.4.2 to 3.5.0.

Release notes *Sourced from [knockout's releases](https://github.com/knockout/knockout/releases).* > ## Version 3.5.0 > Knockout 3.5.0 includes a few new bindings and new ways to interact with observables and bindings. The full list is detailed under [3.5.0 Beta](https://github.com/knockout/knockout/releases/tag/v3.5.0-beta), [3.5.0 RC](https://github.com/knockout/knockout/releases/tag/v3.5.0-rc), and [3.5.0 RC2](https://github.com/knockout/knockout/releases/tag/v3.5.0-rc2). > > The final 3.5.0 release includes fixes for a few regressions in the pre-production releases: > * Fix performance issue with nested `if` bindings ([#2414](https://github-redirect.dependabot.com/knockout/knockout/issues/2414)) > * Fix exception with `foreach` and `beforeRemove` ([#2419](https://github-redirect.dependabot.com/knockout/knockout/issues/2419)) > * Fix misplaced nodes with `foreach` and Punches plugin ([#2433](https://github-redirect.dependabot.com/knockout/knockout/issues/2433)) > * Fix duplicated nodes with `foreach` and `if` ([#2439](https://github-redirect.dependabot.com/knockout/knockout/issues/2439)) > > ## 3.5.0 Release Candidate 2 > This release includes a number of fixes for regressions in the previous 3.5.0 release candidate. Given the time since the RC, we also decided to include a few small improvements. > > * Fix to maintain an element's focus when it's moved by the `foreach` binding. > * Fix changes to `style` binding to correctly append `px`. > * Fix regression to `ko.contextFor` when used after `ko.applyBindingsToNode`. > * Revert changes in `ko.utils` to use native array methods. > * Remove global `createChildContextWithAs` option and add `noChildContext` binding option. The default behavior for `as` matches previous releases. > * Fix the interaction of `descendantsComplete` and `if`/`ifnot`/`with` bindings. > * Add an option for `if`/`ifnot`/`with` bindings: `completeOn: "render"` will have the binding wait to trigger `descendantsComplete` until it is rendered. > * Throw an error for unbalanced virtual elements. > * `ko.applyBindings` throws an error if a non-Node is given as the second parameter. > * Support an `options` objects as a parameter to `createChildContext`. > * Support a custom rate-limit function as the `method` parameter to the `rateLimit` extender. > * Support setting custom CSS properties with the `style` binding. > * Optimize how many elements are moved by `foreach`. > * Update TypeScript declarations. > > ## 3.5.0 Release Candidate > Changes since 3.5.0 Beta: > > * Expand `descendantsComplete` to include bindings other than `component`, such as `if`, `with`, etc. > * `ko.when` will return a Promise if called without a callback function. > * Include TypeScript declarations. > * A few minor bug fixes. > > ## Version 3.5.0 beta > ## Knockout 3.5.0 beta release notes > > Full list of issues: https://github.com/knockout/knockout/milestone/9?closed=1 > > *Important:* This release includes some minor breaking changes to the `foreach` binding to improve performance and clarify features. These changes can be turned off using global options. > > * When using the `as` option with the `foreach` binding, Knockout will set the named value for each item in the array but won't create a child context. In other words, when using `as`, you will have to use the named value in bindings: `text: item.property` rather than `text: property`. This can be controlled by setting `ko.options.createChildContextWithAs = true`. (See [#907](https://github-redirect.dependabot.com/knockout/knockout/issues/907)) > > * To improve performance when array changes are from a known, single operation, such as `push`, the `foreach` binding no longer filters out *destroyed* items by default. To turn this off and filter out destroyed items, you can set `includeDestroyed: false` in the `foreach` binding or set `ko.options.foreachHidesDestroyed = true` to use the previous behavior by default. (See [#2324](https://github-redirect.dependabot.com/knockout/knockout/issues/2324)) > > ### Other enhancements > > * You can react to the completion of bindings such as `if` and `with` using the new `childrenComplete` binding or subscribing to the `childrenComplete` binding event. > (See [#2310](https://github-redirect.dependabot.com/knockout/knockout/issues/2310)) > ... (truncated)
Commits - [`3f2a1f7`](https://github.com/knockout/knockout/commit/3f2a1f776015a9dfe69e6bcd89da7caaa3504295) Version 3.5.0 for distribution - [`156e3cc`](https://github.com/knockout/knockout/commit/156e3cc98baab4c230125b39196948d9189738a3) make sure tests pass in old-IE - [`202e26c`](https://github.com/knockout/knockout/commit/202e26c3122515a7efc22c4e5e6d6acc8d29fd09) Merge pull request [#2441](https://github-redirect.dependabot.com/knockout/knockout/issues/2441) from knockout/2439-foreach-dups - [`38de37a`](https://github.com/knockout/knockout/commit/38de37aee5f56c24c46f2ca6429072971c39915a) fix test string typo - [`f327e95`](https://github.com/knockout/knockout/commit/f327e95095ea7d0e685ab5e3480442554312054c) Fix problem with arrayChange where it might report stale data. - [`6591d0f`](https://github.com/knockout/knockout/commit/6591d0f801457166575c092ef0c2c9a93d914c19) export startPossiblyAsyncContentBinding - [`c6e608f`](https://github.com/knockout/knockout/commit/c6e608ff360c57dcc7dffc5a0095ad7eab0fd3fb) For typing, use common source for extender options and functions - [`b304535`](https://github.com/knockout/knockout/commit/b304535b8c25ccc452f19a222f6e7fcdba8e3b45) sync test-global.ts with test-module.ts - [`605c6bb`](https://github.com/knockout/knockout/commit/605c6bb05714d7ac2b514a7ccabc3bed67d3b513) If setDomNodeChildrenFromArrayMapping callback modified nodes, use correct no... - [`3a5d67f`](https://github.com/knockout/knockout/commit/3a5d67f5ddb4246c82d2888ed995de391e3e84fb) fix type definitions of "arrayChange" event and ko.when. - Additional commits viewable in [compare view](https://github.com/knockout/knockout/compare/v3.4.2...v3.5.0)


Dependabot compatibility score(https://help.github.com/articles/configuring-automated-security-fixes)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language