Skip to content

Commit afb3a32

Browse files
committed
Remove excess blank lines and upgrade to v1.2.0
- Remove excess blank lines for coding standards. - Upgrade package version to v1.2.0.
1 parent c07cc14 commit afb3a32

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

md5.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ module.exports = (value) => {
2121
const rawString = binl2rstr(binlMD5Arr);
2222

2323
return rawStringToHex(rawString);
24-
2524
}
2625

2726
const rstr2binl = (input) => {
@@ -39,7 +38,6 @@ const rstr2binl = (input) => {
3938
}
4039

4140
return output;
42-
4341
}
4442

4543
const safeAdd = (x, y) => {
@@ -48,7 +46,6 @@ const safeAdd = (x, y) => {
4846
let msw = (x >> 16) + (y >> 16) + (lsw >> 16);
4947

5048
return (msw << 16) | (lsw & 0xffff);
51-
5249
}
5350

5451
const bitRotateLeft = (num, cnt) => {
@@ -164,7 +161,6 @@ const binlMD5 = (x, len) => {
164161
}
165162

166163
return [a, b, c, d];
167-
168164
}
169165

170166
const binl2rstr = (input) => {
@@ -177,7 +173,6 @@ const binl2rstr = (input) => {
177173
}
178174

179175
return output;
180-
181176
}
182177

183178
const rawStringToHex = (input) => {
@@ -191,5 +186,4 @@ const rawStringToHex = (input) => {
191186
}
192187

193188
return output;
194-
195189
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xn-02f/md5",
3-
"version": "1.1.7",
3+
"version": "1.2.0",
44
"description": "A MD5 library without dependencies for node, convert string to MD5 hash.",
55
"main": "md5.js",
66
"scripts": {

0 commit comments

Comments
 (0)