MCPcopy Index your code
hub / github.com/vercel/hyper / getDeprecatedCSS

Function getDeprecatedCSS

app/config.ts:14–23  ·  view source on GitHub ↗
(config: configOptions)

Source from the content-addressed store, hash-verified

12let _watcher: chokidar.FSWatcher;
13
14export const getDeprecatedCSS = (config: configOptions) => {
15 const deprecated: string[] = [];
16 const deprecatedCSS = ['x-screen', 'x-row', 'cursor-node', '::selection'];
17 deprecatedCSS.forEach((css) => {
18 if (config.css?.includes(css) || config.termCSS?.includes(css)) {
19 deprecated.push(css);
20 }
21 });
22 return deprecated;
23};
24
25const checkDeprecatedConfig = () => {
26 if (!cfg.config) {

Callers 1

checkDeprecatedConfigFunction · 0.85

Calls 2

forEachMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected