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.
@@ -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, reject) => {
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",
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.3",
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",
@@ -1,4 +1,3 @@
1
- import { App } from 'vue'
2
1
  import type { RouteLocationRaw } from 'vue-router'
3
2
 
4
3
  export interface StoryFile {
@@ -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, reject) => {
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) => {