Skip to content

Commit

Permalink
🤖 refactor: Use ESM import syntax.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
1 parent 884bc63 commit a918dac
Show file tree
Hide file tree
Showing 72 changed files with 140 additions and 140 deletions.
20 changes: 10 additions & 10 deletions src/arithmetic/constants/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
42 changes: 21 additions & 21 deletions src/arithmetic/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
2 changes: 1 addition & 1 deletion src/arithmetic/special/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './div2n' ;
export * from "./div2n.js" ;
4 changes: 2 additions & 2 deletions src/compare/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './decreasing' ;
export * from './increasing' ;
export * from "./decreasing.js" ;
export * from "./increasing.js" ;
10 changes: 5 additions & 5 deletions src/constants/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
4 changes: 2 additions & 2 deletions src/exponential/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './ipow2' ;
export * from './pow2' ;
export * from "./ipow2.js" ;
export * from "./pow2.js" ;
8 changes: 4 additions & 4 deletions src/exponential/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
18 changes: 9 additions & 9 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
4 changes: 2 additions & 2 deletions src/io/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './parse' ;
export * from './stringify' ;
export * from "./parse.js" ;
export * from "./stringify.js" ;
12 changes: 6 additions & 6 deletions src/logarithmic/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
2 changes: 1 addition & 1 deletion src/memory/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './copy' ;
export * from "./copy.js" ;
16 changes: 8 additions & 8 deletions src/predicate/constants/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
14 changes: 7 additions & 7 deletions src/predicate/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
8 changes: 4 additions & 4 deletions src/trigonometry/index.js
Original file line number Diff line number Diff line change
@@ -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" ;
2 changes: 1 addition & 1 deletion test/src/arithmetic/add.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test ( "add" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/add1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "add1" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/div2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "div2" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/iadd1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "iadd1" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/idiv2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "idiv2" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/imul2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test( "imul2" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/imul5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test( "imul5" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/isub1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "isub1" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/mul2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test( "mul2" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/mul5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test( "mul5" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/constants/sub1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "sub1" , assert => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/div.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test ( "div" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/divmod.js
Original file line number Diff line number Diff line change
@@ -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" ;

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/iadd.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "iadd", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/idiv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "idiv", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/idivmod.js
Original file line number Diff line number Diff line change
@@ -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" ;

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/imod.js
Original file line number Diff line number Diff line change
@@ -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" ;

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/imul.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "imul", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/ishl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "ishl" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/ishr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "ishr" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/ishu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "ishu" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/isub.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "isub", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/mod.js
Original file line number Diff line number Diff line change
@@ -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" ;

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/mul.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "mul", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/neg.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "neg", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/shl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "shl" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/shr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "shr" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/shu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "shu" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/special/div2n.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../../src' ;
import * as number from "../../../../src/index.js" ;

test ( "div2n" , t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/arithmetic/sub.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "sub", t => {

Expand Down
2 changes: 1 addition & 1 deletion test/src/compare/decreasing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava' ;
import * as number from '../../../src' ;
import * as number from "../../../src/index.js" ;

test( "decreasing", t => {

Expand Down
Loading

0 comments on commit a918dac

Please sign in to comment.