Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polymer/lit-element

Package Overview
Dependencies
Maintainers
12
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/lit-element - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

src/env.d.ts

4

CHANGELOG.md

@@ -20,2 +20,6 @@ # Change Log

## [0.6.3] - 2018-11-08
### Changed
* Update lit-html dependency to ^0.13.0 ([#298](https://github.com/Polymer/lit-element/pull/298)).
## [0.6.2] - 2018-10-05

@@ -22,0 +26,0 @@

4

package.json
{
"name": "@polymer/lit-element",
"version": "0.6.2",
"version": "0.6.3",
"description": "Polymer based lit-html custom element",

@@ -43,3 +43,3 @@ "license": "BSD-3-Clause",

"dependencies": {
"lit-html": "^0.12.0"
"lit-html": "^0.13.0"
},

@@ -46,0 +46,0 @@ "publishConfig": {

@@ -15,3 +15,4 @@ > ## 🛠 Status: In Development

and adds API to help manage element properties and attributes. LitElement reacts to changes in properties
and renders declaratively using `lit-html`.
and renders declaratively using `lit-html`. See the [lit-html guide](https://polymer.github.io/lit-html/guide)
for additional information on how to create templates for lit-element.

@@ -49,4 +50,4 @@ * **Setup properties:** LitElement supports observable properties that cause the element to update.

Note, `type: Boolean` has special handling by default which means that truthy
values result in the presense of the attribute, where as falsy values result
in the absense of the attribute.
values result in the presence of the attribute, whereas falsy values result
in the absence of the attribute.
* `hasChanged`: A function that indicates whether a property should be considered

@@ -70,2 +71,3 @@ changed when it is set and thus result in an update. The function should take the

* attribute: ``` html`<div class="${this.color} special"></div>` ```
* boolean attribute: ``` html`<input type="checkbox" ?checked=${checked}>` ```
* event handler: ``` html`<button @click="${this._clickHandler}"></button>` ```

@@ -72,0 +74,0 @@

@@ -28,8 +28,2 @@ /**

declare global {
interface Window {
ShadyDOM: any; // tslint:disable-line
}
}
const assert = chai.assert;

@@ -36,0 +30,0 @@

@@ -15,6 +15,1 @@ /**

import '@webcomponents/shadycss/apply-shim.min.js';
declare global {
interface Window {
ShadyDOM: any;
}
}

@@ -17,2 +17,2 @@ /**

export declare const nextFrame: () => Promise<{}>;
export declare const getComputedStyleValue: (element: Element, property: string) => any;
export declare const getComputedStyleValue: (element: Element, property: string) => string;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc