hyperbook 0.72.0 → 0.72.1

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/dist/index.js CHANGED
@@ -156867,11 +156867,13 @@ body::-webkit-scrollbar {
156867
156867
  font-family: hyperbook-heading;
156868
156868
  src: url(${makeUrl(parseFont(font)[0], "public")});
156869
156869
  size-adjust: ${parseFont(font)[1]};
156870
+ font-display: swap;
156870
156871
  }
156871
156872
  @font-face {
156872
156873
  font-family: hyperbook-body;
156873
156874
  src: url(${makeUrl(parseFont(font)[0], "public")});
156874
156875
  size-adjust: ${parseFont(font)[1]};
156876
+ font-display: swap;
156875
156877
  }
156876
156878
  `;
156877
156879
  }
@@ -156881,6 +156883,7 @@ body::-webkit-scrollbar {
156881
156883
  font-family: hyperbook-body;
156882
156884
  src: url(${makeUrl(parseFont(fonts.body)[0], "public")});
156883
156885
  size-adjust: ${parseFont(fonts.body)[1]};
156886
+ font-display: swap;
156884
156887
  }
156885
156888
  `;
156886
156889
  }
@@ -156890,6 +156893,7 @@ body::-webkit-scrollbar {
156890
156893
  font-family: hyperbook-heading;
156891
156894
  src: url(${makeUrl(parseFont(fonts.heading)[0], "public")});
156892
156895
  size-adjust: ${parseFont(fonts.heading)[1]};
156896
+ font-display: swap;
156893
156897
  }
156894
156898
  `;
156895
156899
  }
@@ -156899,6 +156903,7 @@ body::-webkit-scrollbar {
156899
156903
  font-family: hyperbook-code;
156900
156904
  src: url(${makeUrl(parseFont(fonts.code)[0], "public")});
156901
156905
  size-adjust: ${parseFont(fonts.code)[1]};
156906
+ font-display: swap;
156902
156907
  }
156903
156908
  `;
156904
156909
  }
@@ -157110,7 +157115,8 @@ var rehypeHtmlStructure_default = (ctx) => () => {
157110
157115
  type: "element",
157111
157116
  tagName: "script",
157112
157117
  properties: {
157113
- src: makeUrl(["i18n.js"], "assets")
157118
+ src: makeUrl(["i18n.js"], "assets"),
157119
+ defer: true
157114
157120
  },
157115
157121
  children: []
157116
157122
  },
@@ -157118,7 +157124,8 @@ var rehypeHtmlStructure_default = (ctx) => () => {
157118
157124
  type: "element",
157119
157125
  tagName: "script",
157120
157126
  properties: {
157121
- src: makeUrl(["dexie.min.js"], "assets")
157127
+ src: makeUrl(["dexie.min.js"], "assets"),
157128
+ defer: true
157122
157129
  },
157123
157130
  children: []
157124
157131
  },
@@ -157126,7 +157133,8 @@ var rehypeHtmlStructure_default = (ctx) => () => {
157126
157133
  type: "element",
157127
157134
  tagName: "script",
157128
157135
  properties: {
157129
- src: makeUrl(["dexie-export-import.js"], "assets")
157136
+ src: makeUrl(["dexie-export-import.js"], "assets"),
157137
+ defer: true
157130
157138
  },
157131
157139
  children: []
157132
157140
  },
@@ -157134,7 +157142,8 @@ var rehypeHtmlStructure_default = (ctx) => () => {
157134
157142
  type: "element",
157135
157143
  tagName: "script",
157136
157144
  properties: {
157137
- src: makeUrl(["store.js"], "assets")
157145
+ src: makeUrl(["store.js"], "assets"),
157146
+ defer: true
157138
157147
  },
157139
157148
  children: []
157140
157149
  },
@@ -157155,7 +157164,8 @@ window.Prism.manual = true;`
157155
157164
  type: "element",
157156
157165
  tagName: "script",
157157
157166
  properties: {
157158
- src: makeUrl(["prism", "prism.js"], "assets")
157167
+ src: makeUrl(["prism", "prism.js"], "assets"),
157168
+ defer: true
157159
157169
  },
157160
157170
  children: []
157161
157171
  },
@@ -157815,7 +157825,8 @@ var makeHeaderElements = (ctx) => {
157815
157825
  tagName: "img",
157816
157826
  properties: {
157817
157827
  alt: "logo",
157818
- src: ctx.makeUrl(ctx.config.logo, "public")
157828
+ src: ctx.makeUrl(ctx.config.logo, "public"),
157829
+ height: "40"
157819
157830
  },
157820
157831
  children: []
157821
157832
  }
@@ -173475,7 +173486,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec
173475
173486
  /***/ ((module) => {
173476
173487
 
173477
173488
  "use strict";
173478
- module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.72.0","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=12.22.0"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register --external favicons --external sharp && node postbuild.mjs"},"dependencies":{"favicons":"^7.2.0"},"devDependencies":{"create-hyperbook":"workspace:*","@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.0.6","@types/archiver":"6.0.3","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/prompts":"2.4.9","@types/tar":"6.1.13","@types/ws":"^8.5.14","@vercel/ncc":"0.38.3","archiver":"7.0.1","async-retry":"1.3.3","chalk":"5.4.1","chokidar":"4.0.3","commander":"12.1.0","cpy":"11.1.0","cross-spawn":"7.0.6","domutils":"^3.2.2","extract-zip":"^2.0.1","got":"12.6.0","htmlparser2":"^10.0.0","lunr":"^2.3.9","lunr-languages":"^1.14.0","mime":"^4.0.6","prompts":"2.4.2","rimraf":"6.0.1","tar":"7.4.3","update-check":"1.5.4","ws":"^8.18.0"}}');
173489
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.72.1","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=12.22.0"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register --external favicons --external sharp && node postbuild.mjs"},"dependencies":{"favicons":"^7.2.0"},"devDependencies":{"create-hyperbook":"workspace:*","@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.0.6","@types/archiver":"6.0.3","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/prompts":"2.4.9","@types/tar":"6.1.13","@types/ws":"^8.5.14","@vercel/ncc":"0.38.3","archiver":"7.0.1","async-retry":"1.3.3","chalk":"5.4.1","chokidar":"4.0.3","commander":"12.1.0","cpy":"11.1.0","cross-spawn":"7.0.6","domutils":"^3.2.2","extract-zip":"^2.0.1","got":"12.6.0","htmlparser2":"^10.0.0","lunr":"^2.3.9","lunr-languages":"^1.14.0","mime":"^4.0.6","prompts":"2.4.2","rimraf":"6.0.1","tar":"7.4.3","update-check":"1.5.4","ws":"^8.18.0"}}');
173479
173490
 
173480
173491
  /***/ })
173481
173492
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperbook",
3
- "version": "0.72.0",
3
+ "version": "0.72.1",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",
@@ -57,8 +57,8 @@
57
57
  "update-check": "1.5.4",
58
58
  "ws": "^8.18.0",
59
59
  "create-hyperbook": "0.3.0",
60
- "@hyperbook/markdown": "0.44.0",
61
60
  "@hyperbook/fs": "0.21.0",
61
+ "@hyperbook/markdown": "0.44.1",
62
62
  "@hyperbook/types": "0.18.0"
63
63
  },
64
64
  "scripts": {