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

@tarojs/shared

Package Overview
Dependencies
Maintainers
2
Versions
649
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tarojs/shared - npm Package Compare versions

Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7

15

dist/components.d.ts

@@ -216,2 +216,7 @@ interface Components {

CoverView: {
bindTouchStart: string;
bindTouchMove: string;
bindTouchEnd: string;
bindTouchCancel: string;
bindLongTap: string;
'scroll-top': string;

@@ -223,2 +228,7 @@ };

MovableView: {
bindTouchStart: string;
bindTouchMove: string;
bindTouchEnd: string;
bindTouchCancel: string;
bindLongTap: string;
direction: string;

@@ -245,2 +255,7 @@ inertia: string;

ScrollView: {
bindTouchStart: string;
bindTouchMove: string;
bindTouchEnd: string;
bindTouchCancel: string;
bindLongTap: string;
'scroll-x': string;

@@ -247,0 +262,0 @@ 'scroll-y': string;

43

dist/index.js

@@ -361,45 +361,8 @@ 'use strict';

};
var CoverView = {
'scroll-top': 'false'
};
var CoverView = Object.assign({ 'scroll-top': 'false' }, touchEvents);
var MovableArea = {
'scale-area': 'false'
};
var MovableView = {
direction: 'none',
inertia: 'false',
'out-of-bounds': 'false',
x: '',
y: '',
damping: '20',
friction: '2',
disabled: '',
scale: 'false',
'scale-min': '0.5',
'scale-max': '10',
'scale-value': '1',
animation: 'true',
bindChange: '',
bindScale: '',
htouchmove: '',
vtouchmove: '',
width: singleQuote('10px'),
height: singleQuote('10px')
};
var ScrollView = {
'scroll-x': 'false',
'scroll-y': 'false',
'upper-threshold': '50',
'lower-threshold': '50',
'scroll-top': '',
'scroll-left': '',
'scroll-into-view': '',
'scroll-with-animation': 'false',
'enable-back-to-top': 'false',
'enable-flex': 'false',
'scroll-anchoring': ' false',
bindScrolltoUpper: '',
bindScrolltoLower: '',
bindScroll: ''
};
var MovableView = Object.assign({ direction: 'none', inertia: 'false', 'out-of-bounds': 'false', x: '', y: '', damping: '20', friction: '2', disabled: '', scale: 'false', 'scale-min': '0.5', 'scale-max': '10', 'scale-value': '1', animation: 'true', bindChange: '', bindScale: '', htouchmove: '', vtouchmove: '', width: singleQuote('10px'), height: singleQuote('10px') }, touchEvents);
var ScrollView = Object.assign({ 'scroll-x': 'false', 'scroll-y': 'false', 'upper-threshold': '50', 'lower-threshold': '50', 'scroll-top': '', 'scroll-left': '', 'scroll-into-view': '', 'scroll-with-animation': 'false', 'enable-back-to-top': 'false', 'enable-flex': 'false', 'scroll-anchoring': ' false', bindScrolltoUpper: '', bindScrolltoLower: '', bindScroll: '' }, touchEvents);
function singleQuote(s) {

@@ -406,0 +369,0 @@ return ("'" + s + "'");

@@ -341,45 +341,8 @@ function isString(o) {

};
const CoverView = {
'scroll-top': 'false'
};
const CoverView = Object.assign({ 'scroll-top': 'false' }, touchEvents);
const MovableArea = {
'scale-area': 'false'
};
const MovableView = {
direction: 'none',
inertia: 'false',
'out-of-bounds': 'false',
x: '',
y: '',
damping: '20',
friction: '2',
disabled: '',
scale: 'false',
'scale-min': '0.5',
'scale-max': '10',
'scale-value': '1',
animation: 'true',
bindChange: '',
bindScale: '',
htouchmove: '',
vtouchmove: '',
width: singleQuote('10px'),
height: singleQuote('10px')
};
const ScrollView = {
'scroll-x': 'false',
'scroll-y': 'false',
'upper-threshold': '50',
'lower-threshold': '50',
'scroll-top': '',
'scroll-left': '',
'scroll-into-view': '',
'scroll-with-animation': 'false',
'enable-back-to-top': 'false',
'enable-flex': 'false',
'scroll-anchoring': ' false',
bindScrolltoUpper: '',
bindScrolltoLower: '',
bindScroll: ''
};
const MovableView = Object.assign({ direction: 'none', inertia: 'false', 'out-of-bounds': 'false', x: '', y: '', damping: '20', friction: '2', disabled: '', scale: 'false', 'scale-min': '0.5', 'scale-max': '10', 'scale-value': '1', animation: 'true', bindChange: '', bindScale: '', htouchmove: '', vtouchmove: '', width: singleQuote('10px'), height: singleQuote('10px') }, touchEvents);
const ScrollView = Object.assign({ 'scroll-x': 'false', 'scroll-y': 'false', 'upper-threshold': '50', 'lower-threshold': '50', 'scroll-top': '', 'scroll-left': '', 'scroll-into-view': '', 'scroll-with-animation': 'false', 'enable-back-to-top': 'false', 'enable-flex': 'false', 'scroll-anchoring': ' false', bindScrolltoUpper: '', bindScrolltoLower: '', bindScroll: '' }, touchEvents);
function singleQuote(s) {

@@ -386,0 +349,0 @@ return `'${s}'`;

@@ -20,7 +20,7 @@ {

},
"version": "3.0.0-alpha.6",
"version": "3.0.0-alpha.7",
"publishConfig": {
"access": "public"
},
"gitHead": "2517f337afccc4e9dd10f3e34df1e382a8acc139"
"gitHead": "bcf8b6555862c15f50c519c910cd3d5f796e09df"
}

@@ -293,3 +293,4 @@ import { Shortcuts } from './shortcuts'

const CoverView = {
'scroll-top': 'false'
'scroll-top': 'false',
...touchEvents
}

@@ -320,3 +321,4 @@

width: singleQuote('10px'),
height: singleQuote('10px')
height: singleQuote('10px'),
...touchEvents
}

@@ -338,3 +340,4 @@

bindScrolltoLower: '',
bindScroll: ''
bindScroll: '',
...touchEvents
}

@@ -341,0 +344,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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