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

asdfgh

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asdfgh - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

16

index.js

@@ -0,1 +1,3 @@

(function(){
var defaultUrl =

@@ -55,3 +57,3 @@ "https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/4.4.2/zxcvbn.js";

module.exports = function(password, user_inputs) {
var asdfgh = function(password, user_inputs) {
return loadLibrary().then(function(zxcvbn) {

@@ -62,3 +64,3 @@ return zxcvbn(password, user_inputs);

module.exports.setDefaults(url, integrity, timeout) {
asdfgh.setDefaults(url, integrity, timeout) {
loadUrl = url;

@@ -70,1 +72,11 @@ loadIntegrity = integrity;

}
if (module && module.exports) {
module.exports = asdfgh;
} else if (window) {
window.asdfgh = asdfgh;
} else {
throw new Error("asdfgh: Not in a Node/Browserify/Webpack or browser environment.");
}
}())

2

package.json
{
"name": "asdfgh",
"version": "0.1.0",
"version": "0.2.0",
"description": "Asynchronous wrapper around zxcvbn",

@@ -5,0 +5,0 @@ "main": "index.js",

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