Skip to content

Commit

Permalink
Imports corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDalek committed Jan 21, 2025
1 parent 67e8093 commit 99de905
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dist/index.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ import { readFileSync } from 'fs';
import { join } from 'path';

import { log, logWithStack, logZodIssues } from './logger.js';
import { __dirname, isObject, deepCopy, getAbsolutePath } from './utils.js';
import { __dirname, deepCopy, getAbsolutePath, isObject } from './utils.js';
import {
envs,
looseValidate,
strictValidate,
validators
} from './validation.js';

import { defaultConfig, nestedProps, absoluteProps } from './schemas/config.js';
import { defaultConfig, absoluteProps, nestedProps } from './schemas/config.js';

import ExportError from './errors/ExportError.js';

Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import {
} from './chart.js';
import {
getOptions,
updateOptions,
setGlobalOptions,
mapToNewOptions,
updateOptions,
validateOption,
validateOptions
} from './config.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ See LICENSE file in root for details.
import { Pool } from 'tarn';
import { v4 as uuid } from 'uuid';

import { createBrowser, closeBrowser, newPage, clearPage } from './browser.js';
import { clearPage, createBrowser, closeBrowser, newPage } from './browser.js';
import { puppeteerExport } from './export.js';
import { log, logWithStack } from './logger.js';
import { getNewDateTime, measureTime } from './utils.js';
Expand Down
10 changes: 2 additions & 8 deletions lib/server/middlewares/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ import { v4 as uuid } from 'uuid';

import { getAllowCodeExecution } from '../../chart.js';
import { isAllowedConfig, validateOptions } from '../../config.js';
import { log, logZodIssues } from '../../logger.js';
import {
fixConstr,
fixType,
isObjectEmpty,
isPrivateRangeUrlFound
} from '../../utils.js';
import { looseValidate } from '../../validation.js';
import { log } from '../../logger.js';
import { isObjectEmpty, isPrivateRangeUrlFound } from '../../utils.js';

import ExportError from '../../errors/ExportError.js';

Expand Down
2 changes: 1 addition & 1 deletion lib/server/routes/health.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { join } from 'path';

import { getHighchartsVersion } from '../../cache.js';
import { log } from '../../logger.js';
import { getPoolStats, getPoolInfoJSON } from '../../pool.js';
import { getPoolInfoJSON, getPoolStats } from '../../pool.js';
import { addTimer } from '../../timer.js';
import { __dirname, getNewDateTime } from '../../utils.js';

Expand Down
2 changes: 1 addition & 1 deletion lib/server/routes/versionChange.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ See LICENSE file in root for details.
* on the server, with authentication and validation.
*/

import { updateHighchartsVersion, getHighchartsVersion } from '../../cache.js';
import { getHighchartsVersion, updateHighchartsVersion } from '../../cache.js';
import { validateOption } from '../../config.js';
import { log } from '../../logger.js';
import { envs } from '../../validation.js';
Expand Down

0 comments on commit 99de905

Please sign in to comment.