@notionhq/custom-blocks-dev-shell 0.1.52 → 0.1.53

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.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Workers local shell</title>
7
- <script type="module" crossorigin src="/assets/index-B7I3Gs_j.js"></script>
8
- <link rel="stylesheet" crossorigin href="/assets/index-DZSJvmJN.css">
7
+ <script type="module" crossorigin src="/assets/index-UGoQ_tBu.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-BOt07-3a.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
@@ -2,7 +2,7 @@
2
2
  * This script runs before the block entry module. The block and shell use
3
3
  * different origins, so the iframe must report its own uncaught errors.
4
4
  */
5
- export const RUNTIME_ERROR_CLIENT_SOURCE = String.raw `
5
+ export const RUNTIME_ERROR_CLIENT_SOURCE = `
6
6
  const MESSAGE_TYPE = "notion-custom-blocks-dev-shell:runtime-error"
7
7
 
8
8
  function report(error, fallback, location) {
@@ -5,6 +5,7 @@
5
5
  import { existsSync, mkdirSync, writeFileSync } from "node:fs";
6
6
  import { relative, resolve } from "node:path";
7
7
  import { RUNTIME_ERROR_CLIENT_SOURCE } from "./runtime-error-client.js";
8
+ // biome-ignore lint/suspicious/noControlCharactersInRegex: ANSI color sequences begin with the ESC control character. Strip them before parsing Vite output.
8
9
  const ANSI_PATTERN = /\x1b\[[0-9;]*m/g;
9
10
  const VITE_CHANGE_PATTERN = /\b(page reload|hmr update)\s+(.+)$/;
10
11
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notionhq/custom-blocks-dev-shell",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "description": "Local preview shell for Notion custom block workers.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,23 +19,23 @@
19
19
  "README.md"
20
20
  ],
21
21
  "dependencies": {
22
- "react": "^19.2.5",
23
- "react-dom": "^19.2.5",
24
- "valibot": "^1.3.1"
22
+ "react": "^19.2.8",
23
+ "react-dom": "^19.2.8",
24
+ "valibot": "^1.4.2"
25
25
  },
26
26
  "devDependencies": {
27
- "@tailwindcss/vite": "^4.2.4",
28
- "@types/node": "^25.6.0",
29
- "@types/react": "^19.2.14",
30
- "@types/react-dom": "^19.2.3",
31
- "@vitejs/plugin-react": "^6.0.1",
32
- "@vitest/coverage-v8": "^4.1.11",
33
- "tailwindcss": "^4.2.4",
34
- "typescript": "^6.0.3",
35
- "vite": "^8.0.10",
36
- "vitest": "^4.1.11",
37
- "@notionhq/custom-blocks-protocol": "0.1.0",
38
- "@notionhq/custom-blocks-host": "0.1.3"
27
+ "@tailwindcss/vite": "^4.3.3",
28
+ "@types/node": "^26.5.0",
29
+ "@types/react": "^19.2.18",
30
+ "@types/react-dom": "^19.2.7",
31
+ "@vitejs/plugin-react": "^6.1.1",
32
+ "@vitest/coverage-v8": "^5.0.0",
33
+ "tailwindcss": "^4.3.3",
34
+ "typescript": "^7.0.2",
35
+ "vite": "^8.2.2",
36
+ "vitest": "^5.0.0",
37
+ "@notionhq/custom-blocks-host": "0.1.6",
38
+ "@notionhq/custom-blocks-protocol": "0.1.0"
39
39
  },
40
40
  "scripts": {
41
41
  "dev": "vite",