From a918dac74d40445353c48fb879161ffb7eaff0a6 Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Thu, 25 Mar 2021 12:40:16 +0100 Subject: [PATCH] :robot: refactor: Use ESM import syntax. These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/codemod:use-esm-import-syntax.js Please contact the author of the transform if you believe there was an error. --- src/arithmetic/constants/index.js | 20 ++++++------ src/arithmetic/index.js | 42 ++++++++++++------------- src/arithmetic/special/index.js | 2 +- src/compare/index.js | 4 +-- src/constants/index.js | 10 +++--- src/exponential/constants/index.js | 4 +-- src/exponential/index.js | 8 ++--- src/index.js | 18 +++++------ src/io/index.js | 4 +-- src/logarithmic/index.js | 12 +++---- src/memory/index.js | 2 +- src/predicate/constants/index.js | 16 +++++----- src/predicate/index.js | 14 ++++----- src/trigonometry/index.js | 8 ++--- test/src/arithmetic/add.js | 2 +- test/src/arithmetic/constants/add1.js | 2 +- test/src/arithmetic/constants/div2.js | 2 +- test/src/arithmetic/constants/iadd1.js | 2 +- test/src/arithmetic/constants/idiv2.js | 2 +- test/src/arithmetic/constants/imul2.js | 2 +- test/src/arithmetic/constants/imul5.js | 2 +- test/src/arithmetic/constants/isub1.js | 2 +- test/src/arithmetic/constants/mul2.js | 2 +- test/src/arithmetic/constants/mul5.js | 2 +- test/src/arithmetic/constants/sub1.js | 2 +- test/src/arithmetic/div.js | 2 +- test/src/arithmetic/divmod.js | 2 +- test/src/arithmetic/iadd.js | 2 +- test/src/arithmetic/idiv.js | 2 +- test/src/arithmetic/idivmod.js | 2 +- test/src/arithmetic/imod.js | 2 +- test/src/arithmetic/imul.js | 2 +- test/src/arithmetic/ishl.js | 2 +- test/src/arithmetic/ishr.js | 2 +- test/src/arithmetic/ishu.js | 2 +- test/src/arithmetic/isub.js | 2 +- test/src/arithmetic/mod.js | 2 +- test/src/arithmetic/mul.js | 2 +- test/src/arithmetic/neg.js | 2 +- test/src/arithmetic/shl.js | 2 +- test/src/arithmetic/shr.js | 2 +- test/src/arithmetic/shu.js | 2 +- test/src/arithmetic/special/div2n.js | 2 +- test/src/arithmetic/sub.js | 2 +- test/src/compare/decreasing.js | 2 +- test/src/compare/increasing.js | 2 +- test/src/constants/all.js | 2 +- test/src/exponential/constants/ipow2.js | 2 +- test/src/exponential/constants/pow2.js | 2 +- test/src/exponential/exp.js | 2 +- test/src/exponential/pow.js | 2 +- test/src/exponential/sqrt.js | 2 +- test/src/io/parse.js | 2 +- test/src/io/stringify.js | 2 +- test/src/logarithmic/log.js | 2 +- test/src/logarithmic/log2.js | 2 +- test/src/logarithmic/loge.js | 2 +- test/src/logarithmic/loglog.js | 2 +- test/src/logarithmic/loglog2.js | 2 +- test/src/logarithmic/logloge.js | 2 +- test/src/memory/copy.js | 2 +- test/src/predicate/constants/ge1.js | 2 +- test/src/predicate/constants/gt0.js | 2 +- test/src/predicate/constants/gt1.js | 2 +- test/src/predicate/constants/le1.js | 2 +- test/src/predicate/constants/lt1.js | 2 +- test/src/predicate/eq.js | 2 +- test/src/predicate/ge.js | 2 +- test/src/predicate/gt.js | 2 +- test/src/predicate/le.js | 2 +- test/src/predicate/lt.js | 2 +- test/src/predicate/ne.js | 2 +- 72 files changed, 140 insertions(+), 140 deletions(-) diff --git a/src/arithmetic/constants/index.js b/src/arithmetic/constants/index.js index 9d33e8d..83ef41a 100644 --- a/src/arithmetic/constants/index.js +++ b/src/arithmetic/constants/index.js @@ -1,10 +1,10 @@ -export * from './add1' ; -export * from './div2' ; -export * from './iadd1' ; -export * from './idiv2' ; -export * from './imul2' ; -export * from './imul5' ; -export * from './isub1' ; -export * from './mul2' ; -export * from './mul5' ; -export * from './sub1' ; +export * from "./add1.js" ; +export * from "./div2.js" ; +export * from "./iadd1.js" ; +export * from "./idiv2.js" ; +export * from "./imul2.js" ; +export * from "./imul5.js" ; +export * from "./isub1.js" ; +export * from "./mul2.js" ; +export * from "./mul5.js" ; +export * from "./sub1.js" ; diff --git a/src/arithmetic/index.js b/src/arithmetic/index.js index be75178..20cfb4d 100644 --- a/src/arithmetic/index.js +++ b/src/arithmetic/index.js @@ -1,21 +1,21 @@ -export * from './add' ; -export * from './constants' ; -export * from './div' ; -export * from './divmod' ; -export * from './iadd' ; -export * from './idiv' ; -export * from './idivmod' ; -export * from './imod' ; -export * from './imul' ; -export * from './ishl' ; -export * from './ishr' ; -export * from './ishu' ; -export * from './isub' ; -export * from './mod' ; -export * from './mul' ; -export * from './neg' ; -export * from './shl' ; -export * from './shr' ; -export * from './shu' ; -export * from './special' ; -export * from './sub' ; +export * from "./add.js" ; +export * from "./constants/index.js" ; +export * from "./div.js" ; +export * from "./divmod.js" ; +export * from "./iadd.js" ; +export * from "./idiv.js" ; +export * from "./idivmod.js" ; +export * from "./imod.js" ; +export * from "./imul.js" ; +export * from "./ishl.js" ; +export * from "./ishr.js" ; +export * from "./ishu.js" ; +export * from "./isub.js" ; +export * from "./mod.js" ; +export * from "./mul.js" ; +export * from "./neg.js" ; +export * from "./shl.js" ; +export * from "./shr.js" ; +export * from "./shu.js" ; +export * from "./special/index.js" ; +export * from "./sub.js" ; diff --git a/src/arithmetic/special/index.js b/src/arithmetic/special/index.js index 5aa4f1d..9b3c390 100644 --- a/src/arithmetic/special/index.js +++ b/src/arithmetic/special/index.js @@ -1 +1 @@ -export * from './div2n' ; +export * from "./div2n.js" ; diff --git a/src/compare/index.js b/src/compare/index.js index a5db407..e362186 100644 --- a/src/compare/index.js +++ b/src/compare/index.js @@ -1,2 +1,2 @@ -export * from './decreasing' ; -export * from './increasing' ; +export * from "./decreasing.js" ; +export * from "./increasing.js" ; diff --git a/src/constants/index.js b/src/constants/index.js index 977e84d..16a0529 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -1,5 +1,5 @@ -export * from './$0' ; -export * from './$1' ; -export * from './$2' ; -export * from './$5' ; -export * from './$_1' ; +export * from "./$0.js" ; +export * from "./$1.js" ; +export * from "./$2.js" ; +export * from "./$5.js" ; +export * from "./$_1.js" ; diff --git a/src/exponential/constants/index.js b/src/exponential/constants/index.js index f20a525..500bdda 100644 --- a/src/exponential/constants/index.js +++ b/src/exponential/constants/index.js @@ -1,2 +1,2 @@ -export * from './ipow2' ; -export * from './pow2' ; +export * from "./ipow2.js" ; +export * from "./pow2.js" ; diff --git a/src/exponential/index.js b/src/exponential/index.js index a366252..0c53294 100644 --- a/src/exponential/index.js +++ b/src/exponential/index.js @@ -1,4 +1,4 @@ -export * from './constants' ; -export * from './pow' ; -export * from './exp' ; -export * from './sqrt' ; +export * from "./constants/index.js" ; +export * from "./pow.js" ; +export * from "./exp.js" ; +export * from "./sqrt.js" ; diff --git a/src/index.js b/src/index.js index c28121b..bb4ba60 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +1,9 @@ -export * from './arithmetic' ; -export * from './compare' ; -export * from './constants' ; -export * from './exponential' ; -export * from './io' ; -export * from './logarithmic' ; -export * from './memory' ; -export * from './predicate' ; -export * from './trigonometry' ; +export * from "./arithmetic/index.js" ; +export * from "./compare/index.js" ; +export * from "./constants/index.js" ; +export * from "./exponential/index.js" ; +export * from "./io/index.js" ; +export * from "./logarithmic/index.js" ; +export * from "./memory/index.js" ; +export * from "./predicate/index.js" ; +export * from "./trigonometry/index.js" ; diff --git a/src/io/index.js b/src/io/index.js index 0a104c3..f9409be 100644 --- a/src/io/index.js +++ b/src/io/index.js @@ -1,2 +1,2 @@ -export * from './parse' ; -export * from './stringify' ; +export * from "./parse.js" ; +export * from "./stringify.js" ; diff --git a/src/logarithmic/index.js b/src/logarithmic/index.js index 09947c1..5ddc59c 100644 --- a/src/logarithmic/index.js +++ b/src/logarithmic/index.js @@ -1,6 +1,6 @@ -export * from './log' ; -export * from './log2' ; -export * from './loge' ; -export * from './loglog' ; -export * from './loglog2' ; -export * from './logloge' ; +export * from "./log.js" ; +export * from "./log2.js" ; +export * from "./loge.js" ; +export * from "./loglog.js" ; +export * from "./loglog2.js" ; +export * from "./logloge.js" ; diff --git a/src/memory/index.js b/src/memory/index.js index c1c0443..ca75773 100644 --- a/src/memory/index.js +++ b/src/memory/index.js @@ -1 +1 @@ -export * from './copy' ; +export * from "./copy.js" ; diff --git a/src/predicate/constants/index.js b/src/predicate/constants/index.js index 3b7f8b2..9b839b6 100644 --- a/src/predicate/constants/index.js +++ b/src/predicate/constants/index.js @@ -1,8 +1,8 @@ -export * from './eq0' ; -export * from './eq1' ; -export * from './eq_1' ; -export * from './ge1' ; -export * from './gt0' ; -export * from './gt1' ; -export * from './le1' ; -export * from './lt1' ; +export * from "./eq0.js" ; +export * from "./eq1.js" ; +export * from "./eq_1.js" ; +export * from "./ge1.js" ; +export * from "./gt0.js" ; +export * from "./gt1.js" ; +export * from "./le1.js" ; +export * from "./lt1.js" ; diff --git a/src/predicate/index.js b/src/predicate/index.js index ba64f0e..97d7f6c 100644 --- a/src/predicate/index.js +++ b/src/predicate/index.js @@ -1,7 +1,7 @@ -export * from './constants' ; -export * from './eq' ; -export * from './ge' ; -export * from './gt' ; -export * from './le' ; -export * from './lt' ; -export * from './ne' ; +export * from "./constants/index.js" ; +export * from "./eq.js" ; +export * from "./ge.js" ; +export * from "./gt.js" ; +export * from "./le.js" ; +export * from "./lt.js" ; +export * from "./ne.js" ; diff --git a/src/trigonometry/index.js b/src/trigonometry/index.js index e77c6db..ac5977e 100644 --- a/src/trigonometry/index.js +++ b/src/trigonometry/index.js @@ -1,4 +1,4 @@ -export * from './PI' ; -export * from './atan2' ; -export * from './cos' ; -export * from './sin' ; +export * from "./PI.js" ; +export * from "./atan2.js" ; +export * from "./cos.js" ; +export * from "./sin.js" ; diff --git a/test/src/arithmetic/add.js b/test/src/arithmetic/add.js index 4437ef5..78e68c6 100644 --- a/test/src/arithmetic/add.js +++ b/test/src/arithmetic/add.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test ( "add" , t => { diff --git a/test/src/arithmetic/constants/add1.js b/test/src/arithmetic/constants/add1.js index 0add6a4..8addc80 100644 --- a/test/src/arithmetic/constants/add1.js +++ b/test/src/arithmetic/constants/add1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "add1" , assert => { diff --git a/test/src/arithmetic/constants/div2.js b/test/src/arithmetic/constants/div2.js index 15e7e37..439c5bf 100644 --- a/test/src/arithmetic/constants/div2.js +++ b/test/src/arithmetic/constants/div2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "div2" , assert => { diff --git a/test/src/arithmetic/constants/iadd1.js b/test/src/arithmetic/constants/iadd1.js index ecab837..7ce6ebd 100644 --- a/test/src/arithmetic/constants/iadd1.js +++ b/test/src/arithmetic/constants/iadd1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "iadd1" , assert => { diff --git a/test/src/arithmetic/constants/idiv2.js b/test/src/arithmetic/constants/idiv2.js index 0f0b262..0c29526 100644 --- a/test/src/arithmetic/constants/idiv2.js +++ b/test/src/arithmetic/constants/idiv2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "idiv2" , assert => { diff --git a/test/src/arithmetic/constants/imul2.js b/test/src/arithmetic/constants/imul2.js index ac93f03..64cc987 100644 --- a/test/src/arithmetic/constants/imul2.js +++ b/test/src/arithmetic/constants/imul2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test( "imul2" , assert => { diff --git a/test/src/arithmetic/constants/imul5.js b/test/src/arithmetic/constants/imul5.js index d4c8d95..11abbbd 100644 --- a/test/src/arithmetic/constants/imul5.js +++ b/test/src/arithmetic/constants/imul5.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test( "imul5" , assert => { diff --git a/test/src/arithmetic/constants/isub1.js b/test/src/arithmetic/constants/isub1.js index 470ef30..2f1e8c3 100644 --- a/test/src/arithmetic/constants/isub1.js +++ b/test/src/arithmetic/constants/isub1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "isub1" , assert => { diff --git a/test/src/arithmetic/constants/mul2.js b/test/src/arithmetic/constants/mul2.js index 8922502..2d4865c 100644 --- a/test/src/arithmetic/constants/mul2.js +++ b/test/src/arithmetic/constants/mul2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test( "mul2" , assert => { diff --git a/test/src/arithmetic/constants/mul5.js b/test/src/arithmetic/constants/mul5.js index 38e029f..d65d7d9 100644 --- a/test/src/arithmetic/constants/mul5.js +++ b/test/src/arithmetic/constants/mul5.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test( "mul5" , assert => { diff --git a/test/src/arithmetic/constants/sub1.js b/test/src/arithmetic/constants/sub1.js index c242b0b..9261ae5 100644 --- a/test/src/arithmetic/constants/sub1.js +++ b/test/src/arithmetic/constants/sub1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "sub1" , assert => { diff --git a/test/src/arithmetic/div.js b/test/src/arithmetic/div.js index d60cc82..379cb16 100644 --- a/test/src/arithmetic/div.js +++ b/test/src/arithmetic/div.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test ( "div" , t => { diff --git a/test/src/arithmetic/divmod.js b/test/src/arithmetic/divmod.js index 806e7ff..e605e7f 100644 --- a/test/src/arithmetic/divmod.js +++ b/test/src/arithmetic/divmod.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import int32 from "@aureooms/js-int32" ; import * as random from "@aureooms/js-random" ; diff --git a/test/src/arithmetic/iadd.js b/test/src/arithmetic/iadd.js index 4d43ffc..20bfb29 100644 --- a/test/src/arithmetic/iadd.js +++ b/test/src/arithmetic/iadd.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "iadd", t => { diff --git a/test/src/arithmetic/idiv.js b/test/src/arithmetic/idiv.js index e0d5eb0..f081050 100644 --- a/test/src/arithmetic/idiv.js +++ b/test/src/arithmetic/idiv.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "idiv", t => { diff --git a/test/src/arithmetic/idivmod.js b/test/src/arithmetic/idivmod.js index 5785036..c3ac874 100644 --- a/test/src/arithmetic/idivmod.js +++ b/test/src/arithmetic/idivmod.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import int32 from "@aureooms/js-int32" ; import * as random from "@aureooms/js-random" ; diff --git a/test/src/arithmetic/imod.js b/test/src/arithmetic/imod.js index 1fe8d22..772b6a9 100644 --- a/test/src/arithmetic/imod.js +++ b/test/src/arithmetic/imod.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import int32 from "@aureooms/js-int32" ; import * as random from "@aureooms/js-random" ; diff --git a/test/src/arithmetic/imul.js b/test/src/arithmetic/imul.js index 89d9888..664bcd6 100644 --- a/test/src/arithmetic/imul.js +++ b/test/src/arithmetic/imul.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "imul", t => { diff --git a/test/src/arithmetic/ishl.js b/test/src/arithmetic/ishl.js index b010c1b..276b720 100644 --- a/test/src/arithmetic/ishl.js +++ b/test/src/arithmetic/ishl.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "ishl" , t => { diff --git a/test/src/arithmetic/ishr.js b/test/src/arithmetic/ishr.js index 2866f38..d3215bf 100644 --- a/test/src/arithmetic/ishr.js +++ b/test/src/arithmetic/ishr.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "ishr" , t => { diff --git a/test/src/arithmetic/ishu.js b/test/src/arithmetic/ishu.js index 7492f53..3785024 100644 --- a/test/src/arithmetic/ishu.js +++ b/test/src/arithmetic/ishu.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "ishu" , t => { diff --git a/test/src/arithmetic/isub.js b/test/src/arithmetic/isub.js index 042d422..32d7364 100644 --- a/test/src/arithmetic/isub.js +++ b/test/src/arithmetic/isub.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "isub", t => { diff --git a/test/src/arithmetic/mod.js b/test/src/arithmetic/mod.js index ad96cd3..037c05c 100644 --- a/test/src/arithmetic/mod.js +++ b/test/src/arithmetic/mod.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import int32 from "@aureooms/js-int32" ; import * as random from "@aureooms/js-random" ; diff --git a/test/src/arithmetic/mul.js b/test/src/arithmetic/mul.js index 83a2ae6..3a81261 100644 --- a/test/src/arithmetic/mul.js +++ b/test/src/arithmetic/mul.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "mul", t => { diff --git a/test/src/arithmetic/neg.js b/test/src/arithmetic/neg.js index 01b06ec..315864a 100644 --- a/test/src/arithmetic/neg.js +++ b/test/src/arithmetic/neg.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "neg", t => { diff --git a/test/src/arithmetic/shl.js b/test/src/arithmetic/shl.js index 405e722..22bf6b9 100644 --- a/test/src/arithmetic/shl.js +++ b/test/src/arithmetic/shl.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "shl" , t => { diff --git a/test/src/arithmetic/shr.js b/test/src/arithmetic/shr.js index e1d6149..f5329f2 100644 --- a/test/src/arithmetic/shr.js +++ b/test/src/arithmetic/shr.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "shr" , t => { diff --git a/test/src/arithmetic/shu.js b/test/src/arithmetic/shu.js index 5bf77dc..010724d 100644 --- a/test/src/arithmetic/shu.js +++ b/test/src/arithmetic/shu.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "shu" , t => { diff --git a/test/src/arithmetic/special/div2n.js b/test/src/arithmetic/special/div2n.js index e933cb9..a7ec901 100644 --- a/test/src/arithmetic/special/div2n.js +++ b/test/src/arithmetic/special/div2n.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "div2n" , t => { diff --git a/test/src/arithmetic/sub.js b/test/src/arithmetic/sub.js index 328bec6..0c2cc8c 100644 --- a/test/src/arithmetic/sub.js +++ b/test/src/arithmetic/sub.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "sub", t => { diff --git a/test/src/compare/decreasing.js b/test/src/compare/decreasing.js index 13ea6dd..b643f6c 100644 --- a/test/src/compare/decreasing.js +++ b/test/src/compare/decreasing.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "decreasing", t => { diff --git a/test/src/compare/increasing.js b/test/src/compare/increasing.js index 7584195..ae37f05 100644 --- a/test/src/compare/increasing.js +++ b/test/src/compare/increasing.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "increasing", t => { diff --git a/test/src/constants/all.js b/test/src/constants/all.js index d7833a1..22897a2 100644 --- a/test/src/constants/all.js +++ b/test/src/constants/all.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "constants", t => { diff --git a/test/src/exponential/constants/ipow2.js b/test/src/exponential/constants/ipow2.js index c5ae52d..b3f84b7 100644 --- a/test/src/exponential/constants/ipow2.js +++ b/test/src/exponential/constants/ipow2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test( "ipow2" , t => { diff --git a/test/src/exponential/constants/pow2.js b/test/src/exponential/constants/pow2.js index 9729688..60019db 100644 --- a/test/src/exponential/constants/pow2.js +++ b/test/src/exponential/constants/pow2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test( "pow2" , t => { diff --git a/test/src/exponential/exp.js b/test/src/exponential/exp.js index 7e87582..a0672eb 100644 --- a/test/src/exponential/exp.js +++ b/test/src/exponential/exp.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "exp", t => { diff --git a/test/src/exponential/pow.js b/test/src/exponential/pow.js index 7e8daf6..36e72e1 100644 --- a/test/src/exponential/pow.js +++ b/test/src/exponential/pow.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "pow", t => { diff --git a/test/src/exponential/sqrt.js b/test/src/exponential/sqrt.js index 10d58dd..ee1e476 100644 --- a/test/src/exponential/sqrt.js +++ b/test/src/exponential/sqrt.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "sqrt" , t => { diff --git a/test/src/io/parse.js b/test/src/io/parse.js index 7c0aeef..fb4e15c 100644 --- a/test/src/io/parse.js +++ b/test/src/io/parse.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "parse", t => { diff --git a/test/src/io/stringify.js b/test/src/io/stringify.js index 65619bb..a723889 100644 --- a/test/src/io/stringify.js +++ b/test/src/io/stringify.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "stringify", t => { diff --git a/test/src/logarithmic/log.js b/test/src/logarithmic/log.js index 17a65fb..48225d9 100644 --- a/test/src/logarithmic/log.js +++ b/test/src/logarithmic/log.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; const e = Math.E ; diff --git a/test/src/logarithmic/log2.js b/test/src/logarithmic/log2.js index 76b7a18..be2dfae 100644 --- a/test/src/logarithmic/log2.js +++ b/test/src/logarithmic/log2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test ( "log2" , t => { diff --git a/test/src/logarithmic/loge.js b/test/src/logarithmic/loge.js index 01383f2..fe9e8e8 100644 --- a/test/src/logarithmic/loge.js +++ b/test/src/logarithmic/loge.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; const e = Math.E ; diff --git a/test/src/logarithmic/loglog.js b/test/src/logarithmic/loglog.js index 40ea9ce..1c7a15f 100644 --- a/test/src/logarithmic/loglog.js +++ b/test/src/logarithmic/loglog.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import algo from "@aureooms/js-algorithms" ; const epsilon = 1e-6 ; diff --git a/test/src/logarithmic/loglog2.js b/test/src/logarithmic/loglog2.js index 439e4ff..eb25d7e 100644 --- a/test/src/logarithmic/loglog2.js +++ b/test/src/logarithmic/loglog2.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import algo from "@aureooms/js-algorithms" ; const epsilon = 1e-6 ; diff --git a/test/src/logarithmic/logloge.js b/test/src/logarithmic/logloge.js index 88f8233..f0fe325 100644 --- a/test/src/logarithmic/logloge.js +++ b/test/src/logarithmic/logloge.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; import algo from "@aureooms/js-algorithms" ; const epsilon = 1e-6 ; diff --git a/test/src/memory/copy.js b/test/src/memory/copy.js index c68357b..96de459 100644 --- a/test/src/memory/copy.js +++ b/test/src/memory/copy.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "memory" , t => { diff --git a/test/src/predicate/constants/ge1.js b/test/src/predicate/constants/ge1.js index dfc4ec7..10ee9a8 100644 --- a/test/src/predicate/constants/ge1.js +++ b/test/src/predicate/constants/ge1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "ge1" , t => { diff --git a/test/src/predicate/constants/gt0.js b/test/src/predicate/constants/gt0.js index 9504ff8..ac35812 100644 --- a/test/src/predicate/constants/gt0.js +++ b/test/src/predicate/constants/gt0.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "gt0" , t => { diff --git a/test/src/predicate/constants/gt1.js b/test/src/predicate/constants/gt1.js index 102f022..52ceccb 100644 --- a/test/src/predicate/constants/gt1.js +++ b/test/src/predicate/constants/gt1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "gt1" , t => { diff --git a/test/src/predicate/constants/le1.js b/test/src/predicate/constants/le1.js index 5a94fd5..2a35b56 100644 --- a/test/src/predicate/constants/le1.js +++ b/test/src/predicate/constants/le1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "le1" , t => { diff --git a/test/src/predicate/constants/lt1.js b/test/src/predicate/constants/lt1.js index 5978a44..45857d4 100644 --- a/test/src/predicate/constants/lt1.js +++ b/test/src/predicate/constants/lt1.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../../src' ; +import * as number from "../../../../src/index.js" ; test ( "lt1" , t => { diff --git a/test/src/predicate/eq.js b/test/src/predicate/eq.js index 944527a..00bd2bb 100644 --- a/test/src/predicate/eq.js +++ b/test/src/predicate/eq.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "eq", t => { diff --git a/test/src/predicate/ge.js b/test/src/predicate/ge.js index 3083351..705dd3b 100644 --- a/test/src/predicate/ge.js +++ b/test/src/predicate/ge.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "ge", t => { diff --git a/test/src/predicate/gt.js b/test/src/predicate/gt.js index 539d71b..70226e2 100644 --- a/test/src/predicate/gt.js +++ b/test/src/predicate/gt.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "gt", t => { diff --git a/test/src/predicate/le.js b/test/src/predicate/le.js index 10eee39..31e9001 100644 --- a/test/src/predicate/le.js +++ b/test/src/predicate/le.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "le", t => { diff --git a/test/src/predicate/lt.js b/test/src/predicate/lt.js index dc15495..72f73a5 100644 --- a/test/src/predicate/lt.js +++ b/test/src/predicate/lt.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "lt", t => { diff --git a/test/src/predicate/ne.js b/test/src/predicate/ne.js index 4e703de..ad9f626 100644 --- a/test/src/predicate/ne.js +++ b/test/src/predicate/ne.js @@ -1,5 +1,5 @@ import test from 'ava' ; -import * as number from '../../../src' ; +import * as number from "../../../src/index.js" ; test( "ne", t => {