Skip to content

Commit 9e448c3

Browse files
committed
Enforce the node: prefix in imports.
1 parent ca76ad5 commit 9e448c3

File tree

6 files changed

+22
-46
lines changed

6 files changed

+22
-46
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"ckeditor5": "^45.0.0",
5454
"ckeditor5-premium-features": "^45.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-vue": "^10.1.0",
5959
"globals": "^16.1.0",
6060
"husky": "^8.0.2",

pnpm-lock.yaml

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

scripts/ci/is-project-ready-to-release.js

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

8-
import { createRequire } from 'module';
8+
import { createRequire } from 'node:module';
99
import * as releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
1010

1111
const require = createRequire( import.meta.url );

scripts/postinstall.js

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

6-
import { fileURLToPath } from 'url';
7-
import { join, dirname } from 'path';
8-
import { existsSync } from 'fs';
6+
import { fileURLToPath } from 'node:url';
7+
import { join, dirname } from 'node:path';
8+
import { existsSync } from 'node:fs';
99

1010
const ROOT_DIRECTORY = join(
1111
dirname( fileURLToPath( import.meta.url ) ),

scripts/preparechangelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { generateChangelogForSingleRepository } from '@ckeditor/ckeditor5-dev-changelog';
77
import parseArguments from './utils/parsearguments.js';
8-
import { fileURLToPath } from 'url';
8+
import { fileURLToPath } from 'node:url';
99
import upath from 'upath';
1010

1111
const cliOptions = parseArguments( process.argv.slice( 2 ) );

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
44
*/
55

6-
import { resolve } from 'path';
7-
import { createRequire } from 'module';
6+
import { resolve } from 'node:path';
7+
import { createRequire } from 'node:module';
88
import { defineConfig } from 'vitest/config';
99
import vue from '@vitejs/plugin-vue';
1010

0 commit comments

Comments
 (0)