🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@complex-suite/plugin

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@complex-suite/plugin - npm Package Compare versions

Comparing version
5.0.15
to
5.0.16
+3
-0
history.md

@@ -10,2 +10,5 @@ <!--

### 5.0.16
- fix(date): `pushOffset` 入参增加 `if (offset <= 0) return` 校验,阻止 0 和负数导致 setTimeout(fn, 0) 无限紧循环
### 5.0.15

@@ -12,0 +15,0 @@ - fix(date): `PluginDate` 构造函数 `this.data = {}` 后增加 for-in 循环为每个 parser 初始化空对象,与 `pushParse` 行为一致,避免 `$update('init')` → `_syncTargetData` 访问 undefined 报错。

+2
-2
{
"name": "@complex-suite/plugin",
"version": "5.0.15",
"version": "5.0.16",
"description": "a complex plugin",

@@ -15,3 +15,3 @@ "type": "module",

"dependencies": {
"@complex-suite/utils": "3.0.15"
"@complex-suite/utils": "3.0.16"
},

@@ -18,0 +18,0 @@ "devDependencies": {

@@ -69,2 +69,3 @@ import { _Data } from "@complex-suite/utils"

pushOffset(offset: number, update = true) {
if (offset <= 0) return
this.$offset.list.push(offset)

@@ -71,0 +72,0 @@ this._countOffset()