deduplication 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -9,7 +9,7 @@ function deduplication(arr,type=1) {
9
9
  return method1(arr);
10
10
  break;
11
11
  case 2:
12
- method2(arr);
12
+ return method2(arr);
13
13
  break;
14
14
  }
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deduplication",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "repository": "",
6
6
  "author": "henry",