@stainless-api/playgrounds 0.1.0-beta.40 → 0.1.0-beta.42

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @stainless-api/playgrounds
2
2
 
3
+ ## 0.1.0-beta.42
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [93a3767]
8
+ - @stainless-api/docs-ui@0.1.0-beta.85
9
+
10
+ ## 0.1.0-beta.41
11
+
12
+ ### Minor Changes
13
+
14
+ - 2a9da30: Update to Astro 6
15
+
3
16
  ## 0.1.0-beta.40
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/playgrounds",
3
- "version": "0.1.0-beta.40",
3
+ "version": "0.1.0-beta.42",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,7 +13,7 @@
13
13
  "peerDependencies": {
14
14
  "react": ">=19.0.0",
15
15
  "react-dom": ">=19.0.0",
16
- "vite": ">=6.2.1"
16
+ "vite": ">=7.3.1"
17
17
  },
18
18
  "dependencies": {
19
19
  "@codemirror/autocomplete": "^6.18.7",
@@ -30,7 +30,7 @@
30
30
  "@codemirror/view": "^6.38.2",
31
31
  "@preact/signals-core": "^1.12.1",
32
32
  "@replit/codemirror-vscode-keymap": "^6.0.2",
33
- "@shikijs/types": "^3.22.0",
33
+ "@shikijs/types": "^4.0.2",
34
34
  "@stainless-api/codemirror-ts": "^3.0.1",
35
35
  "@typescript/vfs": "^1.6.1",
36
36
  "clsx": "^2.1.1",
@@ -40,13 +40,13 @@
40
40
  "lines-and-columns": "^2.0.4",
41
41
  "lucide-react": "^0.574.0",
42
42
  "marked": "^17.0.3",
43
- "shiki": "^3.22.0",
43
+ "shiki": "^4.0.2",
44
44
  "source-map": "^0.7.6",
45
45
  "type-fest": "^5.4.3",
46
46
  "unenv": "^1.10.0",
47
47
  "vite-plugin-prebundle-workers": "^0.2.0",
48
48
  "vscode-languageserver-protocol": "^3.17.5",
49
- "@stainless-api/docs-ui": "0.1.0-beta.84",
49
+ "@stainless-api/docs-ui": "0.1.0-beta.85",
50
50
  "@stainless-api/ui-primitives": "0.1.0-beta.49",
51
51
  "@stainless/sdk-json": "^0.1.0-beta.9"
52
52
  },
@@ -60,11 +60,11 @@
60
60
  "react": "^19.2.4",
61
61
  "react-dom": "^19.2.4",
62
62
  "typescript": "5.9.3",
63
- "vite": "^6.4.1",
63
+ "vite": "^7.3.1",
64
64
  "@stainless/eslint-config": "0.1.0-beta.1"
65
65
  },
66
66
  "scripts": {
67
- "lint": "eslint .",
67
+ "lint": "eslint --flag unstable_native_nodejs_ts_config .",
68
68
  "check:types": "tsc --noEmit && tsc -p ./tsconfig.test.json",
69
69
  "test": "node --test"
70
70
  }
@@ -367,8 +367,6 @@ export const Editor = ({
367
367
  return clone;
368
368
  }, [container]);
369
369
  const editor = useCodeMirror(async ({ signal }) => {
370
- let _never: never;
371
- void _never!;
372
370
  switch (lang) {
373
371
  case 'python': {
374
372
  const { createPyright } = await import('./python');
@@ -386,7 +384,8 @@ export const Editor = ({
386
384
  return await createCurl(signal, doc);
387
385
  }
388
386
  default:
389
- throw (_never = lang);
387
+ // exhaustiveness check
388
+ throw lang satisfies never;
390
389
  }
391
390
  });
392
391
  const logs = useContext(LogsContext);
@@ -126,7 +126,6 @@ function format(args: unknown[]): (string | Part)[] {
126
126
  value: first.slice(appendedChars),
127
127
  type: 'string',
128
128
  });
129
- css = undefined;
130
129
  }
131
130
 
132
131
  for (; a < args.length; a++) {
File without changes