Skip to content

Commit ca436be

Browse files
🤖 refactor: Use ESM import syntax.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/ebf7e47fdba6d4d1465a98658ef1d4e78f0eace6/src/transforms/codemod:use-esm-import-syntax.js Please contact the author of the transform if you believe there was an error.
1 parent 794b9df commit ca436be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import lz78 from './lz78';
1+
import lz78 from './lz78.js';
22

33
/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */
44
export default {

test/src/lz78.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import test from 'ava';
22

33
import {mul} from '@aureooms/js-string';
4-
import {dict, encode, decode} from '../../src/lz78';
4+
import {dict, encode, decode} from '../../src/lz78.js';
55

66
const alphabetaL = 'abcdefghijklmnopqrstuvwxyz';
77
const alphabetaU = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';

test/src/readme.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test from 'ava';
22

3-
import {dict, encode, decode} from '../../src/lz78';
3+
import {dict, encode, decode} from '../../src/lz78.js';
44
test('README', (t) => {
55
const input = 'abcd';
66
t.is(input, [...decode(dict(), encode(dict(), input))].join(''));

0 commit comments

Comments
 (0)