zxcvbn 0.1.7 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 497a8237437937a17ce899c92181dcc11f32e164ca5515ba2739ac02e59f79b2
4
- data.tar.gz: 0e0ee12a70d1814db3178c9d925a43b22036c3c5c1444dd2ed38873c5c5686a7
3
+ metadata.gz: 6a374558176fa132c830032ab3cf333483389b98ce54ef92bfd026400362a224
4
+ data.tar.gz: eb751fc63e94b4573144f66ef9cc343695104cd4461fd170931b5b5fa06e0ad2
5
5
  SHA512:
6
- metadata.gz: ab0bf4b0709602f08bdb20caae26f124487c3dac8d1f35ef04fb728a0bda822e68ad35db065d28be15745a7c61705ecb402cc7fb463209d8bbc24ca3d8edf379
7
- data.tar.gz: e03692c3985a020195e1304451dcd3c91b847d9ef2c391ba62ce61b33f08251a73f195877618a649bd847dd4736769de0b31779a5a61e6b7ab2b23ca946cda81
6
+ metadata.gz: e50119ccf438121beee719afe200c7a2085c0a266f5c5595fb95bebc01a10fca980dec4df8a30374dc5f7cf7bb5c57708a7f71565877ee8885d6740e54e71d66
7
+ data.tar.gz: 1323dff6d9433298bc44c4a2632de42af7137629d02113e60f2a64f6d184967a27a13e161ff3d2404b6a58177d880465bd865cc4d95158bd33c07849ed0361f4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [0.1.9] - 2023-01-27
2
+ - [#6] [#7] Security/Performance fix to vulnerability to DoS attacks.
3
+
4
+ ## [0.1.8] - 2023-01-22
5
+ - How to find information on translations on README.
6
+ - Drop automatic tests on ruby 2.5 (It still works on it but development gems are failing to build).
7
+ - Update dev gems to prepare to test on Ruby 3.1 and 3.2. (mini_racer, rubocop and bundler)
8
+ - Fix Style/RedundantStringEscape on frequency_lists.rb.
9
+ - Add automated tests for Ruby 3.1 and 3.2.
10
+ - Add MFA requirement on release.
11
+ - Trim non-production files from final gem.
12
+
1
13
  ## [0.1.7] - 2021-06-12
2
14
  - Ported original specs
3
15
  - Fix difference found on enumerate_l33t_subs
data/README.md CHANGED
@@ -5,7 +5,20 @@
5
5
 
6
6
  Ruby port of Dropbox's [zxcvbn.js](https://github.com/dropbox/zxcvbn) JavaScript library running completely in Ruby (no need to load execjs or libv8).
7
7
 
8
- The intention is to provide an option 100% Ruby solution with all the same features and same results (or as close to the original JS function as possible).
8
+ ### Goals:
9
+ - Exact same results as [dropbox/zxcvbn.js (Version 4.4.2)](https://github.com/dropbox/zxcvbn). If **result compatibility** is found or made different a major version will be bumped so no one is caught off guard.
10
+ - Parity of features to [dropbox/zxcvbn.js (Version 4.4.2)](https://github.com/dropbox/zxcvbn) interface.
11
+ - 100% native Ruby solution: **No Javascript Runtime**.
12
+
13
+ ### Compatible with [zxcvbn-js](https://github.com/bitzesty/zxcvbn-js) and [zxcvbn-ruby](https://github.com/envato/zxcvbn-ruby)
14
+
15
+ This gem include compatibility interfaces so it can be used as a drop-in substitution both of the most popular alternatives `zxcvbn-js` and `zxcvbn-ruby`). Besides `Zxcvbn.zxcvbn` you can just call `Zxcvbn.test` or use `Zxcvbn::Tester.new` the same way as you would if you were using any of them.
16
+
17
+ | | `zxcvbn-rb` | `zxcvbn-js` | `zxcvbn-ruby` |
18
+ |------------------------------------|------------------------|------------------------|------------------------|
19
+ | Results match `zxcvbn.js (V4.4.2)` | :white_check_mark: yes | :white_check_mark: yes | :x: no |
20
+ | Run without Javascript Runtime | :white_check_mark: yes | :x: no | :white_check_mark: yes |
21
+ | Interface compatibility with others| :white_check_mark: yes | :x: no | :x: no |
9
22
 
10
23
  ## Installation
11
24
 
@@ -71,9 +84,8 @@ Zxcvbn.zxcvbn("password")
71
84
  }
72
85
  ```
73
86
 
74
- ### Compatible with `zxcvbn-js` and `zxcvbn-ruby`
75
-
76
- This gem include a compatible interface so it can be used as a drop-in substitution for `zxcvbn-js` or `zxcvbn-ruby`. You can just call `Zxcvbn.test` or use `Zxcvbn::Tester.new` the same way as you would if you were using `zxcvbn-js` or `zxcvbn-ruby`.
87
+ ### Note about translations (i18n, gettext, etc...)
88
+ Check the [wiki](https://github.com/formigarafa/zxcvbn-rb/wiki) for more details on how to handle translations.
77
89
 
78
90
  ## Development
79
91