frontloadingpackage
Advanced tools
+2
-2
| { | ||
| "name": "frontloadingpackage", | ||
| "version": "0.0.5", | ||
| "version": "0.0.6", | ||
@@ -14,3 +14,3 @@ "source": "src/index.ts", | ||
| "type": "git", | ||
| "url": "" | ||
| "url": "https://gitee.com/Electrolux/front-loading-plugin.git" | ||
| }, | ||
@@ -17,0 +17,0 @@ |
+14
-8
| # 1.frontLoadingPlugin | ||
| 一个关于loading的小插件 | ||
| 一个关于css loading的小插件 | ||
| ## 1.1 html原生 | ||
| 暂时有四种示例 | ||
| 暂时有四种实例 | ||
@@ -50,11 +50,17 @@ ```js | ||
| import loadingPlugin from "frontloadingpackage/dist/loadingPlugin.min.js" | ||
| //不知道为什么 import {cssEffect } 有一点问题 | ||
| new loadingPlugin({ | ||
| circleColor: "rgb(0,0,0,0.7)", // 加载圈的颜色 | ||
| maskColor: "rgb(0,0,0,0.1)", // 背景蒙版的颜色 | ||
| bgId:4 // 1 , 2 , 3 ,4 可选 | ||
| }) | ||
| let temp =new loadingPlugin( | ||
| { | ||
| circleColor: "rgb(0,0,0,0.7)", | ||
| maskColor: "rgb(0,0,0,0.1)", | ||
| bgId:1 | ||
| } | ||
| ) | ||
| temp.add() | ||
| setTimeout(()=>{ | ||
| temp.remove() | ||
| },2000) | ||
| ``` |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
348625
0.01%65
10.17%16
-5.88%