@openneuro/app 4.44.7 → 4.45.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openneuro/app",
3
- "version": "4.44.7",
3
+ "version": "4.45.0",
4
4
  "description": "React JS web frontend for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "public/client.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@apollo/client": "3.13.8",
19
19
  "@artsy/fresnel": "^1.3.1",
20
- "@bids/validator": "npm:@jsr/bids__validator@^2.2.10",
20
+ "@bids/validator": "npm:@jsr/bids__validator@^2.3.2",
21
21
  "@emotion/react": "11.11.1",
22
22
  "@emotion/styled": "11.11.0",
23
23
  "@niivue/niivue": "0.57.0",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "83fbb6f05dfcb66981ca52e3c2f8bda1c88380b8"
81
+ "gitHead": "6a61f1a6aabd06e403acbc58dd00a1b0cf696143"
82
82
  }
@@ -0,0 +1,4 @@
1
+ // Stub module to replace 'supports-hyperlinks' in browser builds
2
+ export default {
3
+ stdout: false,
4
+ }
package/vite.config.js CHANGED
@@ -32,7 +32,13 @@ export default defineConfig({
32
32
  build: {
33
33
  sourcemap: true,
34
34
  rollupOptions: {
35
- external: ["/crn/config.js"],
35
+ external: [
36
+ "/crn/config.js",
37
+ // Dependencies that are only accessed in formatting terminal output
38
+ "supports-hyperlinks",
39
+ "ansi-escapes",
40
+ "@jsr/effigies__cliffy-table",
41
+ ],
36
42
  },
37
43
  },
38
44
  optimizeDeps: {
@@ -54,6 +60,10 @@ export default defineConfig({
54
60
  },
55
61
  // Workaround for bids-validator -> hed-validator -> xml2js -> sax -> Stream shim
56
62
  { find: "stream", replacement: "stream-browserify" },
63
+ {
64
+ find: "supports-hyperlinks",
65
+ replacement: "./src/deps/support-hyperlinks-stub.js",
66
+ },
57
67
  ],
58
68
  },
59
69
  plugins: [workaroundAssetImportMetaUrlPluginBug(), nodePolyfills()],