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

@better-scroll/pull-up

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@better-scroll/pull-up - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

4

dist/pull-up.esm.js

@@ -11,2 +11,3 @@ /*!

var isAndroid = ua && ua.indexOf('android') > 0;
/* istanbul ignore next */
var isIOSBadVersion = (function () {

@@ -37,2 +38,3 @@ if (typeof ua === 'string') {

var vendor = (function () {
/* istanbul ignore if */
if (!inBrowser) {

@@ -69,4 +71,6 @@ return false;

}
/* istanbul ignore next */
return false;
})();
/* istanbul ignore next */
function prefixStyle(style) {

@@ -73,0 +77,0 @@ if (vendor === false) {

@@ -17,2 +17,3 @@ /*!

var isAndroid = ua && ua.indexOf('android') > 0;
/* istanbul ignore next */
var isIOSBadVersion = (function () {

@@ -43,2 +44,3 @@ if (typeof ua === 'string') {

var vendor = (function () {
/* istanbul ignore if */
if (!inBrowser) {

@@ -75,4 +77,6 @@ return false;

}
/* istanbul ignore next */
return false;
})();
/* istanbul ignore next */
function prefixStyle(style) {

@@ -79,0 +83,0 @@ if (vendor === false) {

6

package.json
{
"name": "@better-scroll/pull-up",
"version": "2.0.5",
"version": "2.0.6",
"description": "pull up to load more data",

@@ -30,5 +30,5 @@ "author": "huangyi <ustbhuangyi@gmail.com>",

"dependencies": {
"@better-scroll/core": "^2.0.5"
"@better-scroll/core": "^2.0.6"
},
"gitHead": "8fb2cd55daa85f0df2ff8137fe699cb3bb820373"
"gitHead": "00b314eada44d4c430eda138ccf27d3b91d39421"
}

@@ -231,3 +231,14 @@ import BScroll from '@better-scroll/core'

expect(scroll.scrollTo).toBeCalledWith(0, outOfBoundaryPos, 800)
expect(scroll.scrollTo).toBeCalledTimes(1)
// closePullUp, and autoPullUpLoad will not work
pullUp.closePullUp()
pullUp.autoPullUpLoad()
expect(scroll.scrollTo).toBeCalledTimes(1)
})
it('should call finishPullUp when content DOM changed', () => {
scroll.hooks.trigger(scroll.hooks.eventTypes.contentChanged)
expect(scroll.scroller.scrollBehaviorY.setMovingDirection).toBeCalled()
})
})
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