Skip to content

Commit ef9662a

Browse files
fix(datasource/dart): Use npm versioning to make rangeStrategy=bump work again (renovatebot#42115)
1 parent 3201eee commit ef9662a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/modules/datasource/dart/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { HttpResponse } from '../../../util/http/types.ts';
22
import { asTimestamp } from '../../../util/timestamp.ts';
33
import { ensureTrailingSlash } from '../../../util/url.ts';
4+
import { id as npmId } from '../../versioning/npm/index.ts';
45
import { Datasource } from '../datasource.ts';
56
import type { GetReleasesConfig, ReleaseResult } from '../types.ts';
67
import type { DartResult } from './types.ts';
@@ -22,6 +23,7 @@ export class DartDatasource extends Datasource {
2223
override readonly sourceUrlSupport = 'package';
2324
override readonly sourceUrlNote =
2425
'The source URL is determined from the `repository` field of the latest release object in the results.';
26+
override readonly defaultVersioning = npmId;
2527

2628
async getReleases({
2729
packageName,

0 commit comments

Comments
 (0)