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

@beisen-platform/common-func

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beisen-platform/common-func - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

storybook-static/beisen-platform-common-func/1.0.8/favicon.ico

11

lib/index.js

@@ -284,7 +284,10 @@ import "core-js/modules/es6.regexp.match";

} else {
element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
// 当__resizeListeners__存在时,再进行操作,防止报错
if (element.__resizeListeners__) {
element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
if (!element.__resizeListeners__.length) {
element.removeEventListener('scroll', scrollListener);
element.__resizeTrigger__ = !element.removeChild(element.__resizeTrigger__);
if (!element.__resizeListeners__.length) {
element.removeEventListener('scroll', scrollListener);
element.__resizeTrigger__ = !element.removeChild(element.__resizeTrigger__);
}
}

@@ -291,0 +294,0 @@ }

{
"name": "@beisen-platform/common-func",
"version": "1.0.7",
"version": "1.0.8",
"description": "CommonFunc",

@@ -8,3 +8,4 @@ "main": "lib/index.js",

"lib": "stl build lib",
"examples": "sbl start --port 9001"
"examples": "sbl start --port 9001",
"prepublish": "npm run lib"
},

@@ -11,0 +12,0 @@ "keywords": [

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