QuackatronHQ / Gigarepo

Found the usage of undeclared variables JS-0125
Bug risk
Critical
5 occurrences in this check
'session' is not defined
 39  })
 40);
 41
 42app.use(session({ cookie: { secure: false } })); 43app.use(helmet.expectCt({ enforce: false }));
 44
 45// get a list of all files in the current directory
22        ))}
23      </ul>
24      <button>Login</button>
25      <SideBar />26      <a href="javascript:void(0)" target="_blank" rel="noreferrer">
27        FAQs
28      </a>
22        ))}
23      </ul>
24      <button>Login</button>
25      <SideBar />26      <a href="javascript:void(0)" target="_blank" rel="noreferrer">
27        FAQs
28      </a>
 7  }
 8
 9  componentDidMount() {
10    findDOMNode(this).scrollIntoView();11    this.state.mode = this.props.userSettings.mode;
12    this.setState({
13      mode: this.props.userSettings.mode,
 1import Head from "next/head";
 2
 3/** next-google-font-display */
 4export default Test = () => { 5  return (
 6    <Head>
 7      <link