This repository was archived by the owner on Jul 3, 2023. It is now read-only.
[Snyk] Upgrade lit-element from 2.2.1 to 2.4.0 #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade lit-element from 2.2.1 to 2.4.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: lit-element
-
2.4.0 - 2020-08-19
- Set type in package.json to "module" (#974)
-
-
-
-
-
- queryAssignedNodes doesn't correctly locate default slot (#1002)
-
2.4.0-pre.3 - 2020-08-14
-
2.4.0-pre.2 - 2020-08-14
-
2.4.0-pre.1 - 2020-08-13
-
2.3.1 - 2020-03-20
- Add TypeScript type declarations for older versions of TypeScript. We're currently testing back to TS 3.4. We can't commit to never breaking TypeScript builds, but we'll be supporting older versions as best we can.
-
2.3.0 - 2020-03-18
- Added a static
- The value returned by
- Added
- Added
- Added
- Added
- Ensure
- Properties annotated with the
- Moved style gathering from
- Fixed behavior change for components that do not implement
-
2.3.0-pre.1 - 2020-03-17
-
2.2.1 - 2019-07-24
from lit-element GitHub release notesChanged
Added
Adds a
cache: booleanargument to the@querydecorator as a performance optimization for properties whose queried element is not expected to change. If cache is set to true, element DOM is queried when the property is first accessed, and the value is cached so it can be immediately returned on all subsequent property accesses. (#1013)Adds a
selector: stringargument to the@queryAssignedNodesdecorator as a convenience to filter the assigned nodes by the given selector (#1016).The
requestUpdateInternal(name, oldValue, options)method has been added. This method is sometimes useful to call in a custom property setter to optimize performance. It is slightly more efficient thanrequestUpdatesince it does not return theupdateCompleteproperty which can be overridden to do work.The protected
performUpdate()method may now be called to syncronously "flush" a pending update, for example via a property setter. Note, performing a synchronous update only updates the element and not any potentially pending descendants in the element's local DOM (#959).Constructible stylesheets may now be provided directly as styles, in addition to using the
csstagged template function (#853).Fixed
Fixed
Changed
getPropertyDescriptormethod to allow easier customization of property accessors. This method should return a aPropertyDescriptorto install on the property. If no descriptor is returned, no property accessor is created. (#911)renderis always rendered, even if it isn't aTemplateResult. (#712)Added
@queryAsync(selector)decorator which returns a Promise that resolves to the result of querying for the given selector after the element'supdateCompletePromise resolves (#903).enableUpdating()toUpdatingElementto enable customizing when updating is enabled #860.@queryAssignedNodes(slotName, flatten)decorator to enable querying assignedNodes for a given slot #860.getStyles()toLitElementto allow hooks into style gathering for component sets #866.Fixed
UpdatingElementallows updates when properties are set after callingsuper.update().LitElementrenders when updates are triggered as a result of rendering (#549).eventOptionsdecorator will now survive property renaming optimizations when used with tsickle and Closure JS Compiler.finalizetoinitializeto be more lazy, and create stylesheets on the first instance initializing #866.render()introduced in (#712) (#917)Release 2.2.1
Commit messages
Package name: lit-element
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs