histoire 0.6.3 → 0.6.4
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/node/search.js +1 -1
- package/package.json +2 -2
- package/src/client/app/types.ts +0 -1
- package/src/node/search.ts +1 -1
package/dist/node/search.js
CHANGED
|
@@ -80,7 +80,7 @@ const exportKeys = new Set([
|
|
|
80
80
|
]);
|
|
81
81
|
async function exportSearchIndex(index) {
|
|
82
82
|
// eslint-disable-next-line no-async-promise-executor
|
|
83
|
-
return new Promise(async (resolve
|
|
83
|
+
return new Promise(async (resolve) => {
|
|
84
84
|
const exportedData = {};
|
|
85
85
|
const exportedKeys = new Set();
|
|
86
86
|
await index.export((key, data) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "histoire",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "A fast story book powered by Vite",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"histoire": "./bin.mjs"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@histoire/controls": "^0.6.
|
|
36
|
+
"@histoire/controls": "^0.6.4",
|
|
37
37
|
"@iconify/vue": "^3.2.1",
|
|
38
38
|
"@types/markdown-it": "^12.2.3",
|
|
39
39
|
"@vueuse/core": "^8.2.5",
|
package/src/client/app/types.ts
CHANGED
package/src/node/search.ts
CHANGED
|
@@ -94,7 +94,7 @@ const exportKeys = new Set([
|
|
|
94
94
|
|
|
95
95
|
async function exportSearchIndex (index) {
|
|
96
96
|
// eslint-disable-next-line no-async-promise-executor
|
|
97
|
-
return new Promise(async (resolve
|
|
97
|
+
return new Promise(async (resolve) => {
|
|
98
98
|
const exportedData: Record<string, any> = {}
|
|
99
99
|
const exportedKeys = new Set<string>()
|
|
100
100
|
await index.export((key, data) => {
|