File: fix-for-supports-color-10.patch

package info (click to toggle)
jupyterlab 4.0.11%2Bds1%2B~cs11.25.27-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,508 kB
  • sloc: javascript: 18,395; python: 8,932; sh: 399; makefile: 95; perl: 33; xml: 1
file content (18 lines) | stat: -rw-r--r-- 568 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix for node-supports-color 10
Author: Xavier Guimard <yadd@debian.org>
Bug-Debian: 1119742
Forwarded: not-needed
Last-Update: 2025-11-07

--- a/builder/src/build-labextension.ts
+++ b/builder/src/build-labextension.ts
@@ -45,7 +45,8 @@
 import { program as commander } from 'commander';
 import webpack from 'webpack';
 import generateConfig from './extensionConfig';
-import { stdout as colors } from 'supports-color';
+import supportsColor from 'supports-color';
+const colors = supportsColor.stdout;
 
 commander
   .description('Build an extension')