Socket
Socket
Sign inDemoInstall

@polymer/polymer

Package Overview
Dependencies
1
Maintainers
10
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.0 to 3.4.1

3

externs/closure-types.js

@@ -1196,2 +1196,4 @@ /**

* @override
* @param {string} name The name of the attribute to change.
* @param {(string | number | boolean | !TrustedHTML | !TrustedScriptURL | !TrustedURL)} value The new attribute value.
* @return {void}

@@ -1202,2 +1204,3 @@ */

* @override
* @param {string} name The name of the attribute to remove.
* @return {void}

@@ -1204,0 +1207,0 @@ */

6

externs/polymer-externs.js

@@ -142,11 +142,5 @@ /**

/** @type {boolean} */
Polymer.legacyNoBatch;
/** @type {boolean} */
Polymer.legacyWarnings;
/** @type {boolean} */
Polymer.legacyNotifyOrder;
/** @type {boolean} */
Polymer.orderedComputed;

@@ -153,0 +147,0 @@

@@ -35,2 +35,3 @@ /**

ShadyDOM.inUse;
ShadyDOM.composedPath;

@@ -37,0 +38,0 @@ ShadyDOM.flush = function() {};

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/elements/array-selector.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/elements/custom-style.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/elements/dom-bind.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/elements/dom-if.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/elements/dom-module.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/elements/dom-repeat.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/class.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/legacy-data-mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/legacy-element-mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -128,6 +117,18 @@ // tslint:disable:no-any describes the API as best we are able today

created(): void;
setAttribute(name: any, value: any): void;
removeAttribute(name: any): void;
/**
* Sets the value of an attribute.
* @param name The name of the attribute to change.
* @param value The new attribute value.
*/
setAttribute(name: string, value: string): void;
/**
* Removes an attribute.
*
* @param name The name of the attribute to remove.
*/
removeAttribute(name: string): void;
/**
* Legacy callback called during `connectedCallback`, for overriding

@@ -134,0 +135,0 @@ * by the user.

@@ -146,3 +146,8 @@ /**

/** @override */
/**
* Sets the value of an attribute.
* @override
* @param {string} name The name of the attribute to change.
* @param {string|number|boolean|!TrustedHTML|!TrustedScriptURL|!TrustedURL} value The new attribute value.
*/
setAttribute(name, value) {

@@ -159,3 +164,7 @@ if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) {

/** @override */
/**
* Removes an attribute.
* @override
* @param {string} name The name of the attribute to remove.
*/
removeAttribute(name) {

@@ -162,0 +171,0 @@ if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) {

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/mutable-data-behavior.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/polymer-fn.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/polymer.dom.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/legacy/templatizer-behavior.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/dir-mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/disable-upgrade-mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/element-mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -27,3 +27,3 @@ /**

*/
export const version = '3.4.0';
export const version = '3.4.1';

@@ -30,0 +30,0 @@ export const builtCSS = window.ShadyCSS && window.ShadyCSS['cssBuild'];

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/gesture-event-listeners.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/mutable-data.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/properties-changed.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/properties-mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/property-accessors.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/property-effects.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/strict-binding-parser.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/mixins/template-stamp.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/array-splice.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/async.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/boot.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -16,4 +16,4 @@ /**

*
* @param {string} prop Property name
* @param {?Object} obj Reference object
* @param {?} prop Property name
* @param {*} obj Reference object
* @return {string} Potentially renamed property name

@@ -20,0 +20,0 @@ */

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/case-map.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/debounce.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/flattened-nodes-observer.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/flush.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/gestures.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/hide-template-controls.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/html-tag.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/mixin.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/path.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/render-status.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/resolve-url.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/scope-subtree.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/settings.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/style-gather.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/telemetry.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/templatize.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@ // tslint:disable:no-any describes the API as best we are able today

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/unresolved.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* lib/utils/wrap.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

{
"name": "@polymer/polymer",
"version": "3.4.0",
"version": "3.4.1",
"description": "The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to write",

@@ -13,3 +13,2 @@ "main": "polymer-element.js",

"@polymer/gen-closure-declarations": "^0.5.0",
"@polymer/gen-typescript-declarations": "^1.5.1",
"@polymer/iron-component-page": "^3.0.0-pre.12",

@@ -46,3 +45,3 @@ "@polymer/test-fixture": "^3.0.0-pre.12",

"lint": "gulp lint",
"generate-types": "gen-typescript-declarations --outDir . --deleteExisting --verify && gulp generate-externs",
"generate-types": "gulp generate-externs",
"regen-package-lock": "rm -rf node_modules package-lock.json; npm install",

@@ -49,0 +48,0 @@ "prepare": "npm run generate-types"

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* polymer-element.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

@@ -1,12 +0,1 @@

/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* polymer-legacy.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.

@@ -13,0 +2,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc