Skip to content

Commit c258dfa

Browse files
committed
fiximports
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent d05783c commit c258dfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_optPlug.node/__jsonValidators/ajv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Copyright (c) OWASP Foundation. All Rights Reserved.
2020
import Ajv, { type Options as AjvOptions } from 'ajv'
2121
import addFormats from 'ajv-formats'
2222
/* @ts-expect-error TS7016 */
23-
import * as addFormats2019 from 'ajv-formats-draft2019'
23+
import { default as addFormats2019 } from 'ajv-formats-draft2019'
2424
import { readFile } from 'fs/promises'
2525

2626
import type { ValidationError } from '../../validation/types'

src/spdx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SPDX-License-Identifier: Apache-2.0
1717
Copyright (c) OWASP Foundation. All Rights Reserved.
1818
*/
1919

20-
import * as spdxExpressionParse from 'spdx-expression-parse'
20+
import { default as spdxExpressionParse } from 'spdx-expression-parse'
2121

2222
/* @ts-expect-error: TS6059 -- this works as long as the file/path is available in dist-package. */
2323
import { enum as _spdxSpecEnum } from '../res/schema/spdx.SNAPSHOT.schema.json' with { type: 'json' }

0 commit comments

Comments
 (0)