Skip to content

Commit

Permalink
Merge pull request #458 from recurly/uniq
Browse files Browse the repository at this point in the history
Replaces array-uniq dependency
  • Loading branch information
snodgrass23 authored May 7, 2018
2 parents 016ed4d + 2392574 commit 90bfc3e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/recurly/pricing/checkout/calculations.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import each from 'component-each';
import isEmpty from 'lodash.isempty';
import Promise from 'promise';
import uniq from 'array-uniq';
import uniq from 'array-unique';
import decimalizeMember from '../../../util/decimalize-member';
import groupBy from '../../../util/group-by';
import taxCeil from '../../../util/tax-ceil';
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/pricing/checkout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import intersection from 'intersect';
import isEmpty from 'lodash.isempty';
import isFinite from 'lodash.isfinite';
import Promise from 'promise';
import uniq from 'array-uniq';
import uniq from 'array-unique';
import errors from '../../../errors';
import uuid from '../../../util/uuid';
import {Pricing} from '../';
Expand Down
18 changes: 13 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "git://github.com/recurly/recurly-js.git"
},
"dependencies": {
"array-uniq": "^1.0.3",
"array-unique": "^0.3.2",
"component-clone": "0.2.2",
"component-each": "0.2.6",
"component-emitter": "1.1.2",
Expand Down

0 comments on commit 90bfc3e

Please sign in to comment.