New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

veplayer-mp-wechat

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veplayer-mp-wechat - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

dist/enums/index.js

@@ -27,3 +27,3 @@ "use strict";

exports.PKG = 'wechat';
exports.VERSION = '1.2.5';
exports.VERSION = '1.2.6';
/**

@@ -30,0 +30,0 @@ * 控制栏状态枚举

@@ -358,10 +358,10 @@ "use strict";

onTimeupdate(e) {
const { seeking } = this.data;
const { seeking, paused } = this.data;
const { currentTime, duration } = e.detail;
const data = {
currentTime: currentTime || 0,
paused: false,
duration: duration || 0,
playPercent: duration > 0 ? Math.floor((currentTime / duration) * 100) : 0,
};
let ext = {};
if (this.isReplay && paused) {
ext = { paused: false };
this.isReplay = false;
}
const data = Object.assign({ currentTime: currentTime || 0, duration: duration || 0, playPercent: duration > 0 ? Math.floor((currentTime / duration) * 100) : 0 }, ext);
if (seeking) {

@@ -387,2 +387,3 @@ // /* 开发工具中不会触发onSeekComplete */

};
this.isReplay = true;
if (seeking) {

@@ -389,0 +390,0 @@ _data.seeking = false;

{
"name": "veplayer-mp-wechat",
"version": "1.2.5",
"version": "1.2.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "miniprogram": "dist",

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