jclic 2.1.13 → 2.1.16
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/CHANGELOG.md +17 -0
- package/build-locales.js +2 -2
- package/dist/jclic-node.js +28673 -285
- package/dist/jclic-node.js.map +1 -1
- package/dist/jclic.components.LICENSE +2 -219
- package/dist/jclic.min.js +2 -2
- package/dist/jclic.min.js.map +1 -1
- package/package.json +14 -15
- package/src/GlobalData.js +1 -1
- package/src/JClicPlayer.js +1 -1
- package/src/Utils.js +3 -3
- package/src/activities/text/FillInBlanks.js +3 -3
- package/src/boxes/ActiveBoxContent.js +1 -1
- package/src/boxes/BoxBase.js +3 -3
- package/src/project/JClicProject.js +4 -2
- package/src/skins/Counter.js +1 -1
- package/src/skins/Skin.js +2 -2
- package/webpack.config.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
### v2.1.16 (2023-12-12)
|
|
2
|
+
#### Improvements
|
|
3
|
+
- Upgraded dependencies
|
|
4
|
+
#### Bug fixes
|
|
5
|
+
- Uninstall `webpack-node-externals` due to an incompatibility with `clipboard-polyfill` version 4
|
|
6
|
+
- Avoid font checking when running on NodeJS due to an error of [JSDOM](https://github.com/jsdom/jsdom) with [jQuery](https://jquery.com/) XML node trees.
|
|
7
|
+
|
|
8
|
+
### v2.1.15 (2023-09-26)
|
|
9
|
+
#### Improvements
|
|
10
|
+
- Upgraded dependencies
|
|
11
|
+
|
|
12
|
+
### v2.1.14 (2023-09-16)
|
|
13
|
+
#### Improvements
|
|
14
|
+
- Upgraded dependencies
|
|
15
|
+
#### Bug fixes
|
|
16
|
+
- Replace calls to `substr` (deprecated) by `substring`
|
|
17
|
+
|
|
1
18
|
### v2.1.13 (2023-07-11)
|
|
2
19
|
#### Improvements
|
|
3
20
|
- Upgraded dependencies
|
package/build-locales.js
CHANGED
|
@@ -27,7 +27,7 @@ const getData = function (locales = _LOCALES, verbose = true) {
|
|
|
27
27
|
|
|
28
28
|
// Initialize the options object
|
|
29
29
|
const opt = {
|
|
30
|
-
version: `${pkg.version} (${(new Date()).toISOString().
|
|
30
|
+
version: `${pkg.version} (${(new Date()).toISOString().substring(0, 10)})`,
|
|
31
31
|
languages: ['en'],
|
|
32
32
|
messages: {},
|
|
33
33
|
};
|
|
@@ -36,7 +36,7 @@ const getData = function (locales = _LOCALES, verbose = true) {
|
|
|
36
36
|
fs.readdirSync(locales).forEach(fn => {
|
|
37
37
|
if (fn.endsWith('.po')) {
|
|
38
38
|
// Gent language code from file name, skipping extension
|
|
39
|
-
const lang = fn.
|
|
39
|
+
const lang = fn.substring(0, fn.lastIndexOf('.'));
|
|
40
40
|
const file = path.resolve(locales, fn);
|
|
41
41
|
if (verbose)
|
|
42
42
|
console.log(`Processing language ${lang}`);
|