Socket
Socket
Sign inDemoInstall

rax-text

Package Overview
Dependencies
Maintainers
9
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax-text - npm Package Compare versions

Comparing version 1.1.1-beta.1 to 1.1.1-beta.2

12

lib/miniapp-wechat/index.js

@@ -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

lib/miniapp/index.js

@@ -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",

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