Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default exports fix #100 #101

Merged
merged 1 commit into from
Sep 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/array/concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.2.0
*/
const concat = convert(_concat)
export { concat, concat as default }
export { concat }
2 changes: 1 addition & 1 deletion src/array/convertArrayMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ const convertArrayMethod = method => convert((array, ...args) => {
return newArray
})

export { convertArrayMethod, convertArrayMethod as default }
export { convertArrayMethod }
2 changes: 1 addition & 1 deletion src/array/difference.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.2.0
*/
const difference = convert(_difference)
export { difference, difference as default }
export { difference }
2 changes: 1 addition & 1 deletion src/array/differenceBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const differenceBy = convert(_differenceBy)
export { differenceBy, differenceBy as default }
export { differenceBy }
2 changes: 1 addition & 1 deletion src/array/differenceWith.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const differenceWith = convert(_differenceWith)
export { differenceWith, differenceWith as default }
export { differenceWith }
2 changes: 1 addition & 1 deletion src/array/drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.2.0
*/
const drop = convert(_drop)
export { drop, drop as default }
export { drop }
2 changes: 1 addition & 1 deletion src/array/dropRight.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const dropRight = convert(_dropRight)
export { dropRight, dropRight as default }
export { dropRight }
2 changes: 1 addition & 1 deletion src/array/dropRightWhile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const dropRightWhile = convert(_dropRightWhile)
export { dropRightWhile, dropRightWhile as default }
export { dropRightWhile }
2 changes: 1 addition & 1 deletion src/array/dropWhile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const dropWhile = convert(_dropWhile)
export { dropWhile, dropWhile as default }
export { dropWhile }
2 changes: 1 addition & 1 deletion src/array/dropWhile.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env jest */
import dropWhile from './dropWhile'
import { dropWhile } from './dropWhile'
import { immutaTest } from 'test.utils'

describe('DropWhile', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/array/fill.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const fill = convert(_fill)
export { fill, fill as default }
export { fill }
2 changes: 1 addition & 1 deletion src/array/intersection.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const intersection = convert(_intersection)
export { intersection, intersection as default }
export { intersection }
2 changes: 1 addition & 1 deletion src/array/intersectionBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const intersectionBy = convert(_intersectionBy)
export { intersectionBy, intersectionBy as default }
export { intersectionBy }
2 changes: 1 addition & 1 deletion src/array/intersectionWith.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const intersectionWith = convert(_intersectionWith)
export { intersectionWith, intersectionWith as default }
export { intersectionWith }
2 changes: 1 addition & 1 deletion src/array/pull.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.2.0
*/
const pull = convert(_pull)
export { pull, pull as default }
export { pull }
2 changes: 1 addition & 1 deletion src/array/pullAll.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const pullAll = convert(_pullAll)
export { pullAll, pullAll as default }
export { pullAll }
2 changes: 1 addition & 1 deletion src/array/pullAllBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const pullAllBy = convert(_pullAllBy)
export { pullAllBy, pullAllBy as default }
export { pullAllBy }
2 changes: 1 addition & 1 deletion src/array/pullAllWith.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const pullAllWith = convert(_pullAllWith)
export { pullAllWith, pullAllWith as default }
export { pullAllWith }
2 changes: 1 addition & 1 deletion src/array/pullAt.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ const pullAt = convert((array, predicate) => {
_pullAt(array, predicate)
return array
})
export { pullAt, pullAt as default }
export { pullAt }
2 changes: 1 addition & 1 deletion src/array/push.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convertArrayMethod } from './convertArrayMethod'
* @since 0.1.7
*/
const push = convertArrayMethod('push')
export { push, push as default }
export { push }
2 changes: 1 addition & 1 deletion src/array/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ const remove = convert((array, predicate) => {
_remove(array, predicate)
return array
})
export { remove, remove as default }
export { remove }
2 changes: 1 addition & 1 deletion src/array/reverse.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const reverse = convert(_reverse)
export { reverse, reverse as default }
export { reverse }
2 changes: 1 addition & 1 deletion src/array/slice.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const slice = convert(_slice)
export { slice, slice as default }
export { slice }
2 changes: 1 addition & 1 deletion src/array/splice.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convertArrayMethod } from './convertArrayMethod'
* @since 0.2.0
*/
const splice = convertArrayMethod('splice')
export { splice, splice as default }
export { splice }
2 changes: 1 addition & 1 deletion src/array/take.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const take = convert(_take)
export { take, take as default }
export { take }
2 changes: 1 addition & 1 deletion src/array/takeRight.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const takeRight = convert(_takeRight)
export { takeRight, takeRight as default }
export { takeRight }
2 changes: 1 addition & 1 deletion src/array/takeRightWhile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const takeRightWhile = convert(_takeRightWhile)
export { takeRightWhile, takeRightWhile as default }
export { takeRightWhile }
2 changes: 1 addition & 1 deletion src/array/takeWhile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const takeWhile = convert(_takeWhile)
export { takeWhile, takeWhile as default }
export { takeWhile }
2 changes: 1 addition & 1 deletion src/array/union.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const union = convert(_union)
export { union, union as default }
export { union }
2 changes: 1 addition & 1 deletion src/array/unionBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const unionBy = convert(_unionBy)
export { unionBy, unionBy as default }
export { unionBy }
2 changes: 1 addition & 1 deletion src/array/unionWith.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const unionWith = convert(_unionWith)
export { unionWith, unionWith as default }
export { unionWith }
2 changes: 1 addition & 1 deletion src/array/unshift.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convertArrayMethod } from './convertArrayMethod'
* @since 0.1.7
*/
const unshift = convertArrayMethod('unshift')
export { unshift, unshift as default }
export { unshift }
2 changes: 1 addition & 1 deletion src/array/without.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ import { pull } from './pull'
*/
const without = pull

export { without, without as default }
export { without }
2 changes: 1 addition & 1 deletion src/array/xor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.1.6
*/
const xor = convert(_xor)
export { xor, xor as default }
export { xor }
2 changes: 1 addition & 1 deletion src/array/xorBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const xorBy = convert(_xorBy)
export { xorBy, xorBy as default }
export { xorBy }
2 changes: 1 addition & 1 deletion src/array/xorWith.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from '../util/convert'
* @since 0.3.0
*/
const xorWith = convert(_xorWith)
export { xorWith, xorWith as default }
export { xorWith }
2 changes: 1 addition & 1 deletion src/collection/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const filter = convert(_filter)
export { filter, filter as default }
export { filter }
2 changes: 1 addition & 1 deletion src/collection/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from 'util/convert'
* @since 0.1.8
*/
const map = convert(_map)
export { map, map as default }
export { map }
2 changes: 1 addition & 1 deletion src/collection/orderBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const orderBy = convert(_orderBy)
export { orderBy, orderBy as default }
export { orderBy }
2 changes: 1 addition & 1 deletion src/collection/reject.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const reject = convert(_reject)
export { reject, reject as default }
export { reject }
2 changes: 1 addition & 1 deletion src/collection/shuffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const shuffle = convert(_shuffle)
export { shuffle, shuffle as default }
export { shuffle }
2 changes: 1 addition & 1 deletion src/collection/sortBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const sortBy = convert(_sortBy)
export { sortBy, sortBy as default }
export { sortBy }
2 changes: 1 addition & 1 deletion src/lang/toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ import { convert } from 'util/convert'
* @since 0.1.5
*/
const toggle = convert(v => !v)
export { toggle, toggle as default }
export { toggle }
2 changes: 1 addition & 1 deletion src/math/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.1.7
*/
const add = convert(_add)
export { add, add as default }
export { add }
2 changes: 1 addition & 1 deletion src/math/divide.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const divide = convert(_divide)
export { divide, divide as default }
export { divide }
2 changes: 1 addition & 1 deletion src/math/multiply.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const multiply = convert(_multiply)
export { multiply, multiply as default }
export { multiply }
2 changes: 1 addition & 1 deletion src/math/subtract.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const subtract = convert(_subtract)
export { subtract, subtract as default }
export { subtract }
2 changes: 1 addition & 1 deletion src/object/assign.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from 'util/convert'
* @since 0.1.12
*/
const assign = convert(_assign)
export { assign, assign as default }
export { assign }
2 changes: 1 addition & 1 deletion src/object/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const defaults = convert(_defaults)
export { defaults, defaults as default }
export { defaults }
2 changes: 1 addition & 1 deletion src/object/mapKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const mapKeys = convert(_mapKeys)
export { mapKeys, mapKeys as default }
export { mapKeys }
2 changes: 1 addition & 1 deletion src/object/mapValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import { convert } from 'util/convert'
* @since 0.1.12
*/
const mapValues = convert(_mapValues)
export { mapValues, mapValues as default }
export { mapValues }
2 changes: 1 addition & 1 deletion src/object/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convertLodashFp } from 'util/convert'
* @since 0.3.0
*/
const merge = convertLodashFp(_merge)
export { merge, merge as default }
export { merge }
2 changes: 1 addition & 1 deletion src/object/omit.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const omit = convert(_omit)
export { omit, omit as default }
export { omit }
2 changes: 1 addition & 1 deletion src/object/omitBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const omitBy = convert(_omitBy)
export { omitBy, omitBy as default }
export { omitBy }
2 changes: 1 addition & 1 deletion src/object/pick.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const pick = convert(_pick)
export { pick, pick as default }
export { pick }
2 changes: 1 addition & 1 deletion src/object/pickBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.1.12
*/
const pickBy = convert(_pickBy)
export { pickBy, pickBy as default }
export { pickBy }
2 changes: 1 addition & 1 deletion src/object/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { lodashFpConvert } from 'util/lodashFpConvert'
* @since 0.1.5
*/
const set = lodashFpConvert(_set)
export { set, set as default }
export { set }
2 changes: 1 addition & 1 deletion src/object/unset.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { lodashFpConvert } from 'util/lodashFpConvert'
* @since 0.1.5
*/
const unset = lodashFpConvert(_unset)
export { unset, unset as default }
export { unset }
2 changes: 1 addition & 1 deletion src/object/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ const convertedUpdate = lodashFpConvert(_update)
* @since 0.1.5
*/
const update = (object, path, updater, ...args) => convertedUpdate(object, path, v => updater(v, ...args))
export { update, update as default }
export { update }
2 changes: 1 addition & 1 deletion src/seq/ChainWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ class ChainWrapper {
),
))

export { ChainWrapper, ChainWrapper as default }
export { ChainWrapper }
2 changes: 1 addition & 1 deletion src/seq/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ import { ChainWrapper } from './ChainWrapper'
* @since 0.1.8
*/
const chain = (object, path) => new ChainWrapper(object, path)
export { chain, chain as default }
export { chain }
2 changes: 1 addition & 1 deletion src/string/capitalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const capitalize = convert(_capitalize)
export { capitalize, capitalize as default }
export { capitalize }
2 changes: 1 addition & 1 deletion src/string/replace.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const replace = convert(_replace)
export { replace, replace as default }
export { replace }
2 changes: 1 addition & 1 deletion src/string/toLower.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const toLower = convert(_toLower)
export { toLower, toLower as default }
export { toLower }
2 changes: 1 addition & 1 deletion src/string/toUpper.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import { convert } from 'util/convert'
* @since 0.3.0
*/
const toUpper = convert(_toUpper)
export { toUpper, toUpper as default }
export { toUpper }
2 changes: 1 addition & 1 deletion src/util/UsingWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ class UsingWrapper {
),
))

export { UsingWrapper, UsingWrapper as default }
export { UsingWrapper }
Loading