diff --git a/lib/recurly/pricing/checkout/calculations.js b/lib/recurly/pricing/checkout/calculations.js index 3f8e948df..b04ed3e8c 100644 --- a/lib/recurly/pricing/checkout/calculations.js +++ b/lib/recurly/pricing/checkout/calculations.js @@ -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'; diff --git a/lib/recurly/pricing/checkout/index.js b/lib/recurly/pricing/checkout/index.js index 56f961d54..ad21471a2 100644 --- a/lib/recurly/pricing/checkout/index.js +++ b/lib/recurly/pricing/checkout/index.js @@ -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 '../'; diff --git a/package-lock.json b/package-lock.json index 8ad510820..7d6ee9250 100644 --- a/package-lock.json +++ b/package-lock.json @@ -252,13 +252,13 @@ "array-uniq": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true }, "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "dev": true + "version": "0.3.2", + "resolved": "http://npmrepo.log1.recurly.net/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" }, "arrify": { "version": "1.0.1", @@ -8559,6 +8559,14 @@ "object.omit": "2.0.1", "parse-glob": "3.0.4", "regex-cache": "0.4.4" + }, + "dependencies": { + "array-unique": { + "version": "0.2.1", + "resolved": "http://npmrepo.log1.recurly.net/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + } } }, "miller-rabin": { diff --git a/package.json b/package.json index 411bc0057..83a8d9562 100644 --- a/package.json +++ b/package.json @@ -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",