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

apassword

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apassword - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

13

index.js

@@ -34,6 +34,17 @@

this._input_string = '';
this._element.addClass("apassword").on("keyup input paste", function(){
var len = ME._element.val().length;
var val = ME._element.val();
var len = val.length;
// 忽略重复执行的事件。
// 对于相同的输入,无论是 keyup, input 还是 paste 事件触发都一样。
// 对于同时支持多种事件的浏览器,忽略后面的事件。
if (ME._input_string === val) {
return;
}
ME._input_string = val;
points.each(function(index){

@@ -40,0 +51,0 @@ $(this).css({

2

package.json
{
"name": "apassword",
"version": "2.0.0",
"version": "2.0.1",
"description": "A password ui control module.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/hotoo/apassword",

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