Skip to content

Commit 24c74b3

Browse files
committed
Update strengthify
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
1 parent 893d2da commit 24c74b3

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"moment": "^2.15.0",
3232
"select2": "~3.4.8",
3333
"snapjs": "~2.0.0-rc1",
34-
"strengthify": "^0.5.3",
34+
"strengthify": "^0.5.5",
3535
"underscore": "~1.8.0",
3636
"zxcvbn": "*"
3737
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strengthify",
3-
"version": "0.5.4",
3+
"version": "0.5.5",
44
"homepage": "https://github.com/MorrisJobke/strengthify",
55
"authors": [
66
"Eve Ragins <eve.ragins@eve-corp.com",
@@ -9,13 +9,13 @@
99
"description": "Combine jQuery and zxcvbn to create a password strength meter.",
1010
"main": "jquery.strengthify.js",
1111
"license": "MIT",
12-
"_release": "0.5.4",
12+
"_release": "0.5.5",
1313
"_resolution": {
1414
"type": "version",
15-
"tag": "0.5.4",
16-
"commit": "3d9759958558752d0c115774d2b0bc34fac7e31b"
15+
"tag": "0.5.5",
16+
"commit": "5fa214146e2c7760046fb6c2e01aa9b02759e7d6"
1717
},
1818
"_source": "https://github.com/MorrisJobke/strengthify.git",
19-
"_target": "^0.5.3",
19+
"_target": "^0.5.5",
2020
"_originalSource": "strengthify"
2121
}

core/vendor/strengthify/jquery.strengthify.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Strengthify - show the weakness of a password (uses zxcvbn for this)
33
* https://github.com/MorrisJobke/strengthify
44
*
5-
* Version: 0.5.4
5+
* Version: 0.5.5
66
* Author: Morris Jobke (github.com/MorrisJobke) - original
77
* Eve Ragins @ Eve Corp (github.com/eve-corp)
88
*
@@ -52,7 +52,8 @@
5252
drawTitles: false,
5353
drawMessage: false,
5454
drawBars: true,
55-
$addAfter: null
55+
$addAfter: null,
56+
nonce: null
5657
};
5758

5859
return this.each(function() {
@@ -209,6 +210,9 @@
209210

210211
var script = document.createElement("script");
211212
script.src = options.zxcvbn;
213+
if (options.nonce !== null) {
214+
script.nonce = options.nonce;
215+
}
212216
document.head.appendChild(script);
213217

214218
$elem.bind('keyup input change', drawSelf);

core/vendor/strengthify/strengthify.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Strengthify - show the weakness of a password (uses zxcvbn for this)
33
* https://github.com/MorrisJobke/strengthify
4-
* Version: 0.5.4
4+
* Version: 0.5.5
55
* License: The MIT License (MIT)
66
* Copyright (c) 2013-2016 Morris Jobke <morris.jobke@gmail.com>
77
*/

0 commit comments

Comments
 (0)