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

@tarojs/components

Package Overview
Dependencies
Maintainers
2
Versions
950
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tarojs/components - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

2

package.json
{
"name": "@tarojs/components",
"version": "0.0.20",
"version": "0.0.21",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -10,3 +10,3 @@ export { default as View } from './view'

export { default as ScrollView } from './scroll-view'
export { default as Swiper } from './swiper'
export { Swiper, SwiperItem } from './swiper'
export { default as Checkbox } from './checkbox'

@@ -13,0 +13,0 @@ export { default as Picker } from './picker'

@@ -6,2 +6,8 @@ import Nerv from 'nervjs'

class SwiperItem extends Nerv.Component {
render () {
return ''
}
}
class Swiper extends Nerv.Component {

@@ -266,2 +272,5 @@ constructor () {

children.forEach((child, idx) => {
child.children = child.props.children
child.type = 'div'
child.props.class = 'swiper_item'
let dom1 = {

@@ -322,3 +331,2 @@ 'data-index': idx,

}
render () {

@@ -334,2 +342,3 @@ const {

} = this.props
const {current} = this.state

@@ -342,2 +351,3 @@ const SwiperCount = children.length

ref={(SwiperWp) => { this.SwiperWp = SwiperWp }}>
<SwiperItem />
{Swipers}

@@ -392,2 +402,2 @@ </div>

export default Swiper
export {Swiper, SwiperItem}

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

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