Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 8bebfc1

Browse files
committed
fix: imports and exports
1 parent 02e84a6 commit 8bebfc1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/createJsonLogic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import isLogic from './isLogic';
2-
import getOperator from './getOperator';
1+
import isLogic from './helpers/isLogic';
2+
import getOperator from './helpers/getOperator';
33

44
function createJsonLogic(operations = {}, visitors = {}) {
55
Object.keys(operations).forEach(function(name) {

src/operations/accessor/missing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import variable from './varAccessor'
1+
import variable from './variable'
22

33
function missing() {
44
/*

src/operations/accessor/missingSome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import missing from './missingAccessor';
1+
import missing from './missing';
22

33
function missingSome(need_count, options) {
44
// missing_some takes two arguments, how many (minimum) items must be present, and an array of keys (just like 'missing') to check for presence.

src/operations/logic/truthy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export '../../helpers/truthy';
1+
export default from '../../helpers/truthy';

src/operations/numeric/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ export { default as greater } from './greater';
22
export { default as greaterEqual } from './greaterEqual';
33
export { default as lower } from './lower';
44
export { default as lowerEqual } from './lowerEqual';
5-
export { default as max } from './numeric/max';
6-
export { default as min } from './numeric/min';
5+
export { default as max } from './max';
6+
export { default as min } from './min';

0 commit comments

Comments
 (0)