GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: update ESLint to 9.14.0 · nodejs/node@15028dd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • eslint.config.mjs
  • test/es-module
    • test-esm-loader-hooks.mjs
  • tools
    • doc
      • addon-verify.mjs
    • eslint
      • package-lock.json
      • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎eslint.config.mjs‎

Copy file name to clipboardExpand all lines: eslint.config.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export default [
289289
'error',
290290
{ blankLine: 'always', prev: 'function', next: 'function' },
291291
],
292-
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true }],
292+
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
293293
'@stylistic/js/quote-props': ['error', 'consistent'],
294294
'@stylistic/js/rest-spread-spacing': 'error',
295295
'@stylistic/js/semi': 'error',
Collapse file

‎test/es-module/test-esm-loader-hooks.mjs‎

Copy file name to clipboardExpand all lines: test/es-module/test-esm-loader-hooks.mjs
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -791,14 +791,14 @@ describe('Loader hooks', { concurrency: !process.env.TEST_PARALLEL }, () => {
791791
const hook = `
792792
import { readFile } from 'node:fs/promises';
793793
export ${
794-
async function load(url, context, nextLoad) {
795-
const resolved = await nextLoad(url, context);
796-
if (context.format === 'commonjs') {
797-
resolved.source = await readFile(new URL(url));
798-
}
799-
return resolved;
800-
}
801-
}`;
794+
async function load(url, context, nextLoad) {
795+
const resolved = await nextLoad(url, context);
796+
if (context.format === 'commonjs') {
797+
resolved.source = await readFile(new URL(url));
798+
}
799+
return resolved;
800+
}
801+
}`;
802802

803803
const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [
804804
'--no-warnings',
@@ -807,8 +807,8 @@ describe('Loader hooks', { concurrency: !process.env.TEST_PARALLEL }, () => {
807807
`data:text/javascript,${encodeURIComponent(`
808808
import{ register } from "node:module";
809809
register(${
810-
JSON.stringify('data:text/javascript,' + encodeURIComponent(hook))
811-
});
810+
JSON.stringify('data:text/javascript,' + encodeURIComponent(hook))
811+
});
812812
`)}`,
813813
fixtures.path('source-map/throw-on-require.js'),
814814
]);
Collapse file

‎tools/doc/addon-verify.mjs‎

Copy file name to clipboardExpand all lines: tools/doc/addon-verify.mjs
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ function verifyFiles(files, blockName) {
6161
files[name] = `'use strict';
6262
const common = require('../../common');
6363
${files[name].replace(
64-
"'./build/Release/addon'",
65-
// eslint-disable-next-line no-template-curly-in-string
66-
'`./build/${common.buildType}/addon`')}
64+
"'./build/Release/addon'",
65+
// eslint-disable-next-line no-template-curly-in-string
66+
'`./build/${common.buildType}/addon`')}
6767
`;
6868
}
6969
return {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.