histoire 1.0.0-alpha.5 → 1.0.0-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"dom-keys.d.ts","sourceRoot":"","sources":["../../../src/node/dom/dom-keys.ts"],"names":[],"mappings":"AAAA;;GAEG;AA6OH,eAAO,MAAM,IAAI,UAAiC,CAAA"}
1
+ {"version":3,"file":"dom-keys.d.ts","sourceRoot":"","sources":["../../../src/node/dom/dom-keys.ts"],"names":[],"mappings":"AAAA;;GAEG;AA2OH,eAAO,MAAM,IAAI,UAAiC,CAAA"}
@@ -173,9 +173,7 @@ const LIVING_KEYS = [
173
173
  const OTHER_KEYS = [
174
174
  'addEventListener',
175
175
  'alert',
176
- 'atob',
177
176
  'blur',
178
- 'btoa',
179
177
  'cancelAnimationFrame',
180
178
  /* 'clearInterval', */
181
179
  /* 'clearTimeout', */
@@ -5,7 +5,7 @@ export function createDomEnv() {
5
5
  pretendToBeVisual: true,
6
6
  runScripts: 'dangerously',
7
7
  url: 'http://localhost:3000',
8
- virtualConsole: console && globalThis.console ? new VirtualConsole().sendTo(globalThis.console) : undefined,
8
+ virtualConsole: console && globalThis.console ? new VirtualConsole().forwardTo(globalThis.console) : undefined,
9
9
  includeNodeLocations: false,
10
10
  contentType: 'text/html',
11
11
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "histoire",
3
3
  "type": "module",
4
- "version": "1.0.0-alpha.5",
4
+ "version": "1.0.0-beta.1",
5
5
  "description": "A fast story book powered by Vite",
6
6
  "author": {
7
7
  "name": "Guillaume Chau"
@@ -37,7 +37,7 @@
37
37
  "histoire": "./bin.mjs"
38
38
  },
39
39
  "peerDependencies": {
40
- "vite": "^7.0.0"
40
+ "vite": "^7.3.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "@akryum/tinypool": "^0.3.1",
@@ -52,7 +52,7 @@
52
52
  "globby": "^14.0.2",
53
53
  "gray-matter": "^4.0.3",
54
54
  "jiti": "^2.4.1",
55
- "jsdom": "^25.0.1",
55
+ "jsdom": "^27.4.0",
56
56
  "markdown-it": "^14.1.0",
57
57
  "markdown-it-anchor": "^9.2.0",
58
58
  "markdown-it-attrs": "^4.3.0",
@@ -65,19 +65,19 @@
65
65
  "shiki": "^3.0.0",
66
66
  "sirv": "^3.0.0",
67
67
  "vite-node": "3.2.4",
68
- "@histoire/app": "^1.0.0-alpha.5",
69
- "@histoire/shared": "^1.0.0-alpha.5",
70
- "@histoire/vendors": "^1.0.0-alpha.5",
71
- "@histoire/controls": "^1.0.0-alpha.5"
68
+ "@histoire/app": "^1.0.0-beta.1",
69
+ "@histoire/controls": "^1.0.0-beta.1",
70
+ "@histoire/shared": "^1.0.0-beta.1",
71
+ "@histoire/vendors": "^1.0.0-beta.1"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@types/fs-extra": "^11.0.4",
75
75
  "@types/node": "^22.10.1",
76
- "esbuild": "^0.24.0",
76
+ "esbuild": "^0.27.2",
77
77
  "rollup": "^4.28.0",
78
78
  "typescript": "5.6.3",
79
- "vite": "^7.0.0",
80
- "vitest": "0.34.6"
79
+ "vite": "^7.3.0",
80
+ "vitest": "4.0.16"
81
81
  },
82
82
  "scripts": {
83
83
  "build": "rimraf dist && tsc",
@@ -177,9 +177,7 @@ const LIVING_KEYS = [
177
177
  const OTHER_KEYS = [
178
178
  'addEventListener',
179
179
  'alert',
180
- 'atob',
181
180
  'blur',
182
- 'btoa',
183
181
  'cancelAnimationFrame',
184
182
  /* 'clearInterval', */
185
183
  /* 'clearTimeout', */
@@ -11,7 +11,7 @@ export function createDomEnv() {
11
11
  pretendToBeVisual: true,
12
12
  runScripts: 'dangerously',
13
13
  url: 'http://localhost:3000',
14
- virtualConsole: console && globalThis.console ? new VirtualConsole().sendTo(globalThis.console) : undefined,
14
+ virtualConsole: console && globalThis.console ? new VirtualConsole().forwardTo(globalThis.console) : undefined,
15
15
  includeNodeLocations: false,
16
16
  contentType: 'text/html',
17
17
  },