taktik-polymer-typescript
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -33,2 +33,3 @@ /** | ||
observer?: string | ((val: any, old: any) => void); | ||
statePath?: string; | ||
} | ||
@@ -35,0 +36,0 @@ /** |
@@ -30,2 +30,3 @@ define("taktik-polymer-typeScript", ["require", "exports", "reflect-metadata", "../type/element", "../type/shadow", "../type/polymer", "../type/iron-ajax", "../type/missing"], function (require, exports) { | ||
const observer = (options && options.observer) || ""; | ||
const statePath = (options && options.statePath) || undefined; | ||
let type; | ||
@@ -47,3 +48,9 @@ if (options && options.hasOwnProperty("type")) { | ||
} | ||
const finalOpts = { type, notify, reflectToAttribute, readOnly, computed, observer }; | ||
let finalOpts; | ||
if (statePath) { | ||
finalOpts = { type, notify, reflectToAttribute, readOnly, computed, observer, statePath }; | ||
} | ||
else { | ||
finalOpts = { type, notify, reflectToAttribute, readOnly, computed, observer }; | ||
} | ||
proto.constructor.properties[name] = finalOpts; | ||
@@ -50,0 +57,0 @@ } |
{ | ||
"name": "taktik-polymer-typescript", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "Module providing development facilities for ozone polymer type script modules.", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
348
13498
16
1