@opentermsarchive/engine 5.0.4 → 5.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/reporter/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentermsarchive/engine",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Tracks and makes visible changes to the terms of online services",
|
|
5
5
|
"homepage": "https://opentermsarchive.org",
|
|
6
6
|
"bugs": {
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
74
74
|
"eslint-plugin-chai-friendly": "^0.7.2",
|
|
75
75
|
"eslint-plugin-import": "^2.29.0",
|
|
76
|
+
"eslint-plugin-jsdoc": "^50.6.9",
|
|
76
77
|
"eslint-plugin-json-format": "^2.0.1",
|
|
77
78
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
78
79
|
"express": "^4.19.2",
|
|
@@ -108,7 +109,6 @@
|
|
|
108
109
|
"devDependencies": {
|
|
109
110
|
"@commitlint/cli": "^19.0.3",
|
|
110
111
|
"dir-compare": "^4.0.0",
|
|
111
|
-
"eslint-plugin-jsdoc": "^50.6.9",
|
|
112
112
|
"keep-a-changelog": "^2.5.3",
|
|
113
113
|
"nock": "^13.2.1",
|
|
114
114
|
"node-stream-zip": "^1.15.0",
|
package/src/reporter/index.js
CHANGED
|
@@ -147,7 +147,7 @@ No changes were found in the last run, so no new version has been recorded.`,
|
|
|
147
147
|
return `
|
|
148
148
|
### No version of the \`${terms.type}\` of service \`${terms.service.name}\` is recorded anymore since ${currentFormattedDate}
|
|
149
149
|
|
|
150
|
-
The source document${terms.hasMultipleSourceDocuments ? 's have' : ' has'}${hasSnapshots ? ' ' : ' not '}been recorded
|
|
150
|
+
The source document${terms.hasMultipleSourceDocuments ? 's have' : ' has'}${hasSnapshots ? ' ' : ' not '}been recorded as ${terms.hasMultipleSourceDocuments ? 'snapshots' : 'a snapshot'}, ${hasSnapshots ? 'but ' : 'thus '} no version can be [extracted](${DOC_URL}/concepts/main/#tracking-terms).
|
|
151
151
|
${hasSnapshots ? 'After correction, it might still be possible to recover the missed versions.' : ''}
|
|
152
152
|
|
|
153
153
|
### What went wrong
|
|
@@ -169,7 +169,7 @@ First of all, check if the source documents are accessible through a web browser
|
|
|
169
169
|
#### If the source documents are not accessible anymore
|
|
170
170
|
|
|
171
171
|
- If the source documents have moved, find their new location and [update it](${contributionToolUrl}).
|
|
172
|
-
- If these terms have been removed, move them from the declaration to its [history file](${DOC_URL}/
|
|
172
|
+
- If these terms have been removed, move them from the declaration to its [history file](${DOC_URL}/terms/explanation/declarations-maintenance/#service-history-reference), using \`${validUntil}\` as the \`validUntil\` value.
|
|
173
173
|
- If the service has closed, move the entire contents of the declaration to its [history file](${DOC_URL}/contributing-terms/#service-history), using \`${validUntil}\` as the \`validUntil\` value.
|
|
174
174
|
|
|
175
175
|
#### If none of the above works
|