Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* eslint-disable import/no-unresolved */
const React = require("react");
const { ApolloProvider } = require("react-apollo");
const { HelmetProvider } = require("react-helmet-async");
const { ArticleProvider } = require("@times-components/provider/rnw");
const { DraftArticleProvider } = require("@times-components/provider/rnw");
const Article = require("@times-components/article/rnw").default;
const {
ContextProviderWithDefaults,
defaults
} = require("@times-components/context/rnw");
const { scales, themeFactory } = require("@times-components/styleguide/rnw");
const getSectionNameFromTiles = require("../lib/section-from-tiles");
const scale = scales.large;
module.exports = (client, analyticsStream, data, helmetContext) => {
const {
articleId,
enableNewskit,
debounceTimeMs,
logoUrl,
makeArticleUrl,
/* eslint-disable import/no-unresolved */
const React = require("react");
const { ApolloProvider } = require("react-apollo");
const { HelmetProvider } = require("react-helmet-async");
const { ArticleProvider } = require("@times-components/provider/rnw");
const Article = require("@times-components/article/rnw").default;
const {
ContextProviderWithDefaults,
defaults
} = require("@times-components/context/rnw");
const { scales, themeFactory } = require("@times-components/styleguide/rnw");
const scale = scales.large;
module.exports = (client, analyticsStream, data, helmetContext) => {
const {
articleId,
enableNewskit,
debounceTimeMs,
makeArticleUrl,
makeTopicUrl,
mapArticleToAdConfig,