Enforce node: schema for builtins, import extensions

This commit is contained in:
Fedor Indutny 2025-09-16 17:39:03 -07:00 committed by GitHub
commit c02565eaa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2096 changed files with 14955 additions and 14023 deletions

View file

@ -5,11 +5,11 @@ import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { assert } from 'chai';
import * as moment from 'moment';
import { setupI18n } from '../../util/setupI18n';
import { DurationInSeconds } from '../../util/durations';
import type { LocaleMessagesType } from '../../types/I18N';
import { setupI18n } from '../../util/setupI18n.js';
import { DurationInSeconds } from '../../util/durations/index.js';
import type { LocaleMessagesType } from '../../types/I18N.js';
import * as expirationTimer from '../../util/expirationTimer';
import * as expirationTimer from '../../util/expirationTimer.js';
function loadMessages(locale: string): LocaleMessagesType {
const localePath = join(