Skip to content

Commit bbb51ef

Browse files
authored
Update dependencies (#1193)
2 parents 13befff + 9ef048d commit bbb51ef

34 files changed

+5885
-7516
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## Unreleased [major]
6+
7+
> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
8+
9+
### Changed
10+
11+
- **Breaking:** Update minimum supported Node.js version to v20
12+
- Add `Content Monetisation Policy` terms type, introduced in [`[email protected]`](https://github.com/OpenTermsArchive/terms-types/blob/main/CHANGELOG.md#210---2025-02-24)
13+
- Update dependencies
14+
515
## 7.2.4 - 2025-09-22
616

717
_Full changeset and discussions: [#1195](https://github.com/OpenTermsArchive/engine/pull/1195)._

bin/env.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import 'dotenv/config';
2-
31
import path from 'path';
42
import { fileURLToPath } from 'url';
53

4+
import dotenv from 'dotenv';
5+
6+
dotenv.config({ quiet: true });
7+
68
const __dirname = path.dirname(fileURLToPath(import.meta.url));
79

810
process.env.SUPPRESS_NO_CONFIG_WARNING = 'y'; // Caller don't get "no config files" warnings if it does define configuration files

bin/ota-dataset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import './env.js';
33

44
import { program } from 'commander';
55
import config from 'config';
6-
import cron from 'croner';
6+
import { Cron } from 'croner';
77
import cronstrue from 'cronstrue';
88

99
import { release } from '../scripts/dataset/index.js';
@@ -34,5 +34,5 @@ if (!schedule) {
3434
logger.info('The scheduler is running…');
3535
logger.info(`Dataset will be published ${humanReadableSchedule.toLowerCase()} in the timezone of this machine`);
3636

37-
cron(config.get('@opentermsarchive/engine.dataset.publishingSchedule'), () => release(options));
37+
new Cron(config.get('@opentermsarchive/engine.dataset.publishingSchedule'), () => release(options)); // eslint-disable-line no-new
3838
}

config/default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"dataset": {
5959
"title": "sandbox",
60-
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/sandbox",
60+
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/sandbox-declarations",
6161
"publishingSchedule": "30 8 * * MON"
6262
}
6363
}

0 commit comments

Comments
 (0)