@canopycanopycanopy/b-ber-lib 2.0.8-lts-2-react-18.1 → 2.0.8-lts-2-react-19.2
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 +7 -7
- package/utils/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canopycanopycanopy/b-ber-lib",
|
|
3
|
-
"version": "2.0.8-lts-2-react-
|
|
3
|
+
"version": "2.0.8-lts-2-react-19.2+fb020f0e",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/runtime-corejs3": "^7.10.5",
|
|
31
|
-
"@canopycanopycanopy/b-ber-logger": "2.0.8-lts-2-react-
|
|
32
|
-
"@canopycanopycanopy/b-ber-shapes-dublin-core": "2.0.8-lts-2-react-
|
|
33
|
-
"@canopycanopycanopy/b-ber-shapes-sequences": "2.0.8-lts-2-react-
|
|
34
|
-
"@canopycanopycanopy/b-ber-theme-sans": "2.0.8-lts-2-react-
|
|
35
|
-
"@canopycanopycanopy/b-ber-theme-serif": "2.0.8-lts-2-react-
|
|
31
|
+
"@canopycanopycanopy/b-ber-logger": "2.0.8-lts-2-react-19.2+fb020f0e",
|
|
32
|
+
"@canopycanopycanopy/b-ber-shapes-dublin-core": "2.0.8-lts-2-react-19.2+fb020f0e",
|
|
33
|
+
"@canopycanopycanopy/b-ber-shapes-sequences": "2.0.8-lts-2-react-19.2+fb020f0e",
|
|
34
|
+
"@canopycanopycanopy/b-ber-theme-sans": "2.0.8-lts-2-react-19.2+fb020f0e",
|
|
35
|
+
"@canopycanopycanopy/b-ber-theme-serif": "2.0.8-lts-2-react-19.2+fb020f0e",
|
|
36
36
|
"command-exists": "^1.2.2",
|
|
37
37
|
"fs-extra": "^8.1.0",
|
|
38
38
|
"glob": "^7.1.4",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"url": "https://maxwellsimmer.com"
|
|
78
78
|
}
|
|
79
79
|
],
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "fb020f0e7246d8ef23e5a4fa4702af1fc7e7bd17"
|
|
81
81
|
}
|
package/utils/index.js
CHANGED
|
@@ -188,7 +188,7 @@ const webpubManifestReadingOrderItem = base => ({
|
|
|
188
188
|
|
|
189
189
|
// https://github.com/readium/webpub-manifest
|
|
190
190
|
const generateWebpubManifest = files => {
|
|
191
|
-
var _context9,
|
|
191
|
+
var _context9, _context0;
|
|
192
192
|
const remoteURL = _.Url.trimSlashes(_.State.config.remote_url);
|
|
193
193
|
|
|
194
194
|
// Build a map to sort the files according to the position in the spine
|
|
@@ -203,7 +203,7 @@ const generateWebpubManifest = files => {
|
|
|
203
203
|
});
|
|
204
204
|
}, []);
|
|
205
205
|
const readingOrder = (0, _map.default)(readingOrderItems).call(readingOrderItems, webpubManifestReadingOrderItem(remoteURL));
|
|
206
|
-
const resources = (0, _map.default)(
|
|
206
|
+
const resources = (0, _map.default)(_context0 = (0, _filter.default)(files).call(files, file => _path.default.basename(file).charAt(0) !== '.')).call(_context0, webpubManifestResource(remoteURL));
|
|
207
207
|
const manifest = {
|
|
208
208
|
'@context': 'https://readium.org/webpub-manifest/context.jsonld',
|
|
209
209
|
metadata: {
|