Skip to content

Commit 5b02743

Browse files
authored
Merge pull request #9 from syJSdev/fix/#8
- fixed module import issue - package upgrade
2 parents eb8f320 + e8aa7aa commit 5b02743

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@rollup/plugin-babel": "^5.3.1",
3333
"@rollup/plugin-commonjs": "^22.0.0",
3434
"@rollup/plugin-node-resolve": "^13.3.0",
35-
"codecov": "^3.6.1",
35+
"codecov": "^3.6.2",
3636
"eslint": "^8.17.0",
3737
"eslint-config-airbnb-base": "^15.0.0",
3838
"eslint-config-prettier": "^8.5.0",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from 'node:path';
1+
import path from 'path';
22

33
import { babel } from '@rollup/plugin-babel';
44
import commonjs from '@rollup/plugin-commonjs';

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from 'node:path';
1+
import path from 'path';
22

33
import { bold, green, yellow } from 'colorette';
44
import fs from 'fs-extra';

src/utils/ensureTrailingNewLine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import os from 'node:os';
1+
import os from 'os';
22

33
export default function ensureTrailingNewLine(contents) {
44
if (!contents.endsWith(os.EOL)) return contents + os.EOL;

src/utils/stringify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import util from 'node:util';
1+
import util from 'util';
22

33
export default function stringify(value) {
44
return util.inspect(value, { breakLength: Infinity });

tests/index.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { rollup, watch } from 'rollup';
1+
import { bold, green, yellow } from 'colorette';
22
import fs from 'fs-extra';
33
import replace from 'replace-in-file';
4-
import { bold, green, yellow } from 'colorette';
4+
import { rollup, watch } from 'rollup';
5+
56
import copy from '../src';
67
import { ensureTrailingNewLine } from '../src/utils';
78

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ code-point-at@^1.0.0:
19831983
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
19841984
integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==
19851985

1986-
codecov@^3.6.1:
1986+
codecov@^3.6.2:
19871987
version "3.8.3"
19881988
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.8.3.tgz#9c3e364b8a700c597346ae98418d09880a3fdbe7"
19891989
integrity sha512-Y8Hw+V3HgR7V71xWH2vQ9lyS358CbGCldWlJFR0JirqoGtOoas3R3/OclRTvgUYFK29mmJICDPauVKmpqbwhOA==

0 commit comments

Comments
 (0)