Skip to content

Commit 47a957c

Browse files
committed
Enforce the node: prefix in imports.
1 parent 00539dc commit 47a957c

File tree

5 files changed

+20
-44
lines changed

5 files changed

+20
-44
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"ckeditor5": "^46.0.0",
5454
"ckeditor5-premium-features": "^46.0.0",
5555
"eslint": "^9.38.0",
56-
"eslint-config-ckeditor5": "^12.2.0",
57-
"eslint-plugin-ckeditor5-rules": "^12.2.0",
56+
"eslint-config-ckeditor5": "^13.0.0",
57+
"eslint-plugin-ckeditor5-rules": "^13.0.0",
5858
"eslint-plugin-react": "^7.37.5",
5959
"globals": "^16.1.0",
6060
"husky": "^9.1.7",

pnpm-lock.yaml

Lines changed: 15 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import upath from 'upath';
7-
import { existsSync } from 'fs';
7+
import { existsSync } from 'node:fs';
88
import { ROOT_DIRECTORY } from './utils/constants.js';
99

1010
main()

scripts/utils/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
44
*/
55

6-
import { fileURLToPath } from 'url';
6+
import { fileURLToPath } from 'node:url';
77
import upath from 'upath';
88

99
const __filename = fileURLToPath( import.meta.url );

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
44
*/
55

6-
import { resolve } from 'path';
6+
import { resolve } from 'node:path';
77
import { defineConfig } from 'vitest/config';
88
import react from '@vitejs/plugin-react';
99
import pkg from './package.json' with { type: 'json' };

0 commit comments

Comments
 (0)