Comparing version 1.1.1-beta.1 to 1.1.1-beta.2
@@ -21,12 +21,4 @@ "use strict"; | ||
value: 0 | ||
}, | ||
onClick: { | ||
type: Function, | ||
value: function () {} | ||
} | ||
}, | ||
lifetimes: { | ||
attached: function attached() {}, | ||
detached: function detached() {} | ||
}, | ||
options: { | ||
@@ -36,4 +28,4 @@ styleIsolation: 'apply-shared' | ||
methods: { | ||
onClick: function (e) { | ||
var event = (0, _fmtEvent.default)(this.props, e); | ||
onClick: function onClick(e) { | ||
var event = (0, _fmtEvent.default)(this.properties, e); | ||
this.triggerEvent('onClick', event); | ||
@@ -40,0 +32,0 @@ } |
@@ -7,2 +7,4 @@ "use strict"; | ||
var noop = function () {}; | ||
Component({ | ||
@@ -14,8 +16,7 @@ data: {}, | ||
selectable: false, | ||
space: undefined, | ||
space: '', | ||
decode: false, | ||
numberOfLines: 0, | ||
onClick: function () {} | ||
onClick: noop | ||
}, | ||
didMount: function () {}, | ||
methods: { | ||
@@ -22,0 +23,0 @@ onClick: function (e) { |
{ | ||
"name": "rax-text", | ||
"version": "1.1.1-beta.1", | ||
"version": "1.1.1-beta.2", | ||
"description": "Text component for Rax.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
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
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
0
19345
343