Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Oct 8, 2020

Snyk has created this PR to upgrade lit-element from 2.2.1 to 2.4.0.

merge advice
ℹ️ 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.


  • The recommended version is 7 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2020-08-19.
Release notes
Package name: lit-element
  • 2.4.0 - 2020-08-19

    Changed

    • Set type in package.json to "module" (#974)

    Added

    • Adds a cache: boolean argument to the @query decorator 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: string argument to the @queryAssignedNodes decorator 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 than requestUpdate since it does not return the updateComplete property 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 css tagged template function (#853).

    Fixed

    • 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

    Fixed

    • 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

    Changed

    • Added a static getPropertyDescriptor method to allow easier customization of property accessors. This method should return a a PropertyDescriptor to install on the property. If no descriptor is returned, no property accessor is created. (#911)
    • The value returned by render is always rendered, even if it isn't a TemplateResult. (#712)

    Added

    • Added @queryAsync(selector) decorator which returns a Promise that resolves to the result of querying for the given selector after the element's updateComplete Promise resolves (#903).
    • Added enableUpdating() to UpdatingElement to enable customizing when updating is enabled #860.
    • Added @queryAssignedNodes(slotName, flatten) decorator to enable querying assignedNodes for a given slot #860.
    • Added getStyles() to LitElement to allow hooks into style gathering for component sets #866.

    Fixed

    • Ensure UpdatingElement allows updates when properties are set after calling super.update().
      LitElement renders when updates are triggered as a result of rendering (#549).
    • Properties annotated with the eventOptions decorator will now survive property renaming optimizations when used with tsickle and Closure JS Compiler.
    • Moved style gathering from finalize to initialize to be more lazy, and create stylesheets on the first instance initializing #866.
    • Fixed behavior change for components that do not implement render() introduced in (#712) (#917)
  • 2.3.0-pre.1 - 2020-03-17
  • 2.2.1 - 2019-07-24

    Release 2.2.1

from lit-element GitHub release notes
Commit messages
Package name: lit-element
  • 8bfe906 Update package lock
  • 09b5a11 Prepare 2.4.0 release
  • a21abcb Update changelog
  • ff7656a Prep 2.4.0-pre.3
  • c514fa6 Remove browserstack badge from README
  • 5e6b8c9 Set type in package.json to "module"
  • 8b4bb2a Depend on lit-html prerelease
  • d45a5e5 Update downlevel-dts and make sure we don't nest ts3.4 typings folders.
  • 72b8bd6 Fix version number
  • f6d6fda Prepare 2.4.1-pre1 pre-release
  • 9bc2b8b Merge pull request #1044 from Polymer/build-for-production
  • 20308ba Merge commit '60890d4' into build-for-production
  • 20df04e Fix typo.
  • 60890d4 Apply suggestions from code review
  • 4608131 Merge pull request #1046 from ryami333/patch-1
  • 20efe19 Update decorators.md
  • 5b93c4c Add Build for production doc.
  • 4ab6a39 Merge pull request #1033 from Polymer/format
  • 4d01d58 Quick re-format.
  • 3e4169c Merge pull request #1032 from Polymer/decorator-tweaks
  • 05220e3 Update package-lock
  • 5fefea5 queryAssignedNodes: add limited x-browser support for `matches`
  • 941b1e8 Update test and changelog for clarity.
  • a028ab2 Fix URLs in docs

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

@snyk-bot snyk-bot requested a review from a team October 8, 2020 21:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant