Skip to content

Commit

Permalink
Merge pull request #5107 from koenpunt/patch-2
Browse files Browse the repository at this point in the history
import utils directly to prevent import cycles
  • Loading branch information
ndelangen authored and shilman committed Jan 9, 2019
1 parent aa45c0e commit e55cba8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion addons/actions/src/lib/decycle.js
@@ -1,6 +1,8 @@
import { DecycleError } from './errors';

import { getPropertiesList, typeReplacer, omitProperty } from './util';
import getPropertiesList from './util/getPropertiesList';
import typeReplacer from './util/typeReplacer';
import omitProperty from './util/omitProperty';

import { CYCLIC_KEY } from '../constants';

Expand Down
2 changes: 1 addition & 1 deletion addons/actions/src/lib/retrocycle.js
@@ -1,5 +1,5 @@
import reviver from './reviver';
import { muteProperty } from './util';
import muteProperty from './util/muteProperty';
import { CYCLIC_KEY } from '../constants';

// eslint-disable-next-line no-control-regex
Expand Down
3 changes: 2 additions & 1 deletion addons/actions/src/lib/reviver.js
@@ -1,4 +1,5 @@
import { isObject, typeReviver } from './util';
import isObject from './util/isObject';
import typeReviver from './util/typeReviver';

function reviver(key, value) {
if (isObject(value)) {
Expand Down

0 comments on commit e55cba8

Please sign in to comment.