You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
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

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",