Skip to content

Commit cac2877

Browse files
committed
Update import paths for providers/summary/ and providers/index
1 parent 5dc9b80 commit cac2877

File tree

12 files changed

+14
-14
lines changed

12 files changed

+14
-14
lines changed

bin/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import config from 'painless-config'
66

77
const { get } = lodash
88

9-
import providers from '../providers/index.js'
9+
import providers from '../providers/index.ts'
1010

1111
/**
1212
* Loads the given factory for the indicated namespace. The namespace can be a subcomponent

business/summarizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @typedef {import('../lib/entityCoordinates')} EntityCoordinates
88
*/
99

10-
import summarizers from '../providers/summary/index.js'
10+
import summarizers from '../providers/summary/index.ts'
1111

1212
/**
1313
* Service for summarizing tool output data.

providers/summary/scancode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const { get } = lodash
1515

1616
import { gte } from 'semver'
1717
import Logger from '../logging/logger.ts'
18-
import ScanCodeLegacySummarizer from './scancode/legacy-summarizer.js'
19-
import ScanCodeNewSummarizer from './scancode/new-summarizer.js'
18+
import ScanCodeLegacySummarizer from './scancode/legacy-summarizer.ts'
19+
import ScanCodeNewSummarizer from './scancode/new-summarizer.ts'
2020

2121
/**
2222
* ScanCode delegator class that routes summarization to the appropriate

test/providers/summary/fossology.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import assert from 'node:assert'
55
import fs from 'node:fs'
66
import path, { dirname } from 'node:path'
77
import { fileURLToPath } from 'node:url'
8-
import Summarizer from '../../../providers/summary/fossology.js'
8+
import Summarizer from '../../../providers/summary/fossology.ts'
99

1010
const __dirname = dirname(fileURLToPath(import.meta.url))
1111
const summarizer = (Summarizer as (...args: any[]) => any)()

test/providers/summary/scancode/legacy-summarizer.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import lodash from 'lodash'
1010
const { get, uniq, flatten } = lodash
1111

1212
import { expect } from 'chai'
13-
import Summarizer from '../../../../providers/summary/scancode.js'
13+
import Summarizer from '../../../../providers/summary/scancode.ts'
1414

1515
const __dirname = dirname(fileURLToPath(import.meta.url))
1616
const summarizer = (Summarizer as (...args: any[]) => any)({}, { info: () => {} })

test/providers/summary/scancode/new-summarizer.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import lodash from 'lodash'
1010
const { compact, uniq, flatten } = lodash
1111

1212
import { expect } from 'chai'
13-
import Summarizer from '../../../../providers/summary/scancode.js'
13+
import Summarizer from '../../../../providers/summary/scancode.ts'
1414

1515
const __dirname = dirname(fileURLToPath(import.meta.url))
1616
const summarizer = (Summarizer as (...args: any[]) => any)({}, { info: () => {} })

test/summary/clearlyDefined.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { expect } = chai
88

99
import EntityCoordinates from '../../lib/entityCoordinates.ts'
1010
import { setIfValue } from '../../lib/utils.ts'
11-
import Summarizer from '../../providers/summary/clearlydefined.js'
11+
import Summarizer from '../../providers/summary/clearlydefined.ts'
1212

1313
describe('ClearlyDefined Maven summarizer', () => {
1414
it('handles with all the data', () => {

test/summary/clearlydefinedTests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: MIT
33

44
import assert from 'node:assert'
5-
import Summarizer from '../../providers/summary/clearlydefined.js'
5+
import Summarizer from '../../providers/summary/clearlydefined.ts'
66

77
const summarizer = (Summarizer as (...args: any[]) => any)()
88

test/summary/fossology.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { expect } = chai
99

1010
import lodash from 'lodash'
1111
import EntityCoordinates from '../../lib/entityCoordinates.ts'
12-
import Summarizer from '../../providers/summary/fossology.js'
12+
import Summarizer from '../../providers/summary/fossology.ts'
1313
import validator from '../../schemas/validator.ts'
1414

1515
const { groupBy, omit } = lodash

test/summary/licensee.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: MIT
33

44
import assert from 'node:assert'
5-
import Summarizer from '../../providers/summary/licensee.js'
5+
import Summarizer from '../../providers/summary/licensee.ts'
66

77
const summarizer = (Summarizer as (...args: any[]) => any)()
88

0 commit comments

Comments
 (0)