Closed Mfigueira closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2024 3:54pm |
docs-v2 | ❌ Failed (Inspect) | May 8, 2024 3:54pm |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@aldridged/docusaurus-plugin-lunr@1.0.0-alpha.10, npm/@algolia/client-search@4.17.2, npm/@babel/core@7.24.5, npm/@babel/helper-create-class-features-plugin@7.22.5, npm/@babel/helper-create-regexp-features-plugin@7.22.5, npm/@babel/helper-plugin-utils@7.22.5, npm/@babel/plugin-proposal-private-methods@7.18.6, npm/@babel/plugin-proposal-private-property-in-object@7.20.5, npm/@babel/plugin-syntax-jsx@7.22.5, npm/@babel/plugin-transform-dotall-regex@7.22.5, npm/@babel/plugin-transform-parameters@7.22.5, npm/@babel/preset-env@7.22.5, npm/@babel/runtime-corejs3@7.22.5, npm/@babel/runtime@7.22.5, npm/@cmfcmf/docusaurus-search-local@0.11.0, npm/@docusaurus/core@2.3.1, npm/@docusaurus/mdx-loader@2.3.1, npm/@docusaurus/module-type-aliases@2.3.1, npm/@docusaurus/plugin-client-redirects@2.3.1, npm/@docusaurus/preset-classic@2.3.1, npm/@docusaurus/theme-mermaid@2.3.1, npm/@docusaurus/types@2.4.1, npm/@emotion/babel-plugin@11.10.5, npm/@emotion/is-prop-valid@1.2.1, npm/@emotion/serialize@1.1.2, npm/@jridgewell/gen-mapping@0.3.3, npm/@jridgewell/trace-mapping@0.3.18, npm/@mdx-js/react@1.6.22, npm/@mui/material@5.8.1, npm/@mui/types@7.2.4, npm/@mui/utils@5.13.1, npm/@reduxjs/toolkit@1.9.3, npm/@segment/analytics-next@1.41.0, npm/@segment/isodate@1.0.3, npm/@sentry/integrations@7.12.1, npm/@sentry/react@7.12.1, npm/@sentry/tracing@7.12.1, npm/@stdlib/utils-library-manifest@0.0.8, npm/@tsconfig/docusaurus@1.0.6, npm/@types/istanbul-lib-coverage@2.0.4, npm/@types/js-yaml@4.0.9, npm/@types/json-schema@7.0.12, npm/@types/mime@1.3.2, npm/@types/prop-types@15.7.5, npm/@types/react-router-config@5.0.7, npm/@typescript-eslint/eslint-plugin@5.26.0, npm/@typescript-eslint/parser@5.14.0, npm/@zetachain/ui-toolkit@1.0.1, npm/acorn@8.8.2, npm/algoliasearch@4.17.2, npm/autoprefixer@10.4.7, npm/babel-plugin-twin@1.1.0, npm/camelcase-css@2.0.1, npm/cheerio@1.0.0-rc.12, npm/chokidar@3.5.3, npm/clean-css@5.3.2, npm/cli-spinners@2.9.0, npm/content-type@1.0.5, npm/core-js-compat@3.31.0, npm/cssnano@5.1.15, npm/csstype@3.1.2, npm/docusaurus-node-polyfills@1.0.0, npm/docusaurus-plugin-module-alias@0.0.2, npm/docusaurus-theme-github-codeblock@1.1.4, npm/dotenv@16.0.0, npm/dset@3.1.2, npm/electron-to-chromium@1.4.758, npm/esbuild-loader@2.21.0, npm/escape-html@1.0.3, npm/eslint-config-prettier@8.5.0, npm/eslint-import-resolver-typescript@3.5.2, npm/eslint-plugin-import@2.26.0, npm/eslint-plugin-n@15.7.0, npm/eslint-plugin-prettier@4.0.0, npm/eslint-plugin-react-hooks@4.5.0, npm/eslint-plugin-simple-import-sort@8.0.0, npm/eslint-plugin-unused-imports@2.0.0, npm/eslint-visitor-keys@3.4.1, npm/eslint@8.31.0, npm/events@3.3.0, npm/framer-motion@6.4.3, npm/fs-extra@9.1.0, npm/get-stream@6.0.1, npm/hast-util-is-element@1.1.0, npm/html-minifier-terser@6.1.0, npm/ignore@5.2.4, npm/is-buffer@2.0.5, npm/is-plain-obj@2.1.0, npm/joi@17.9.2, npm/lodash.uniq@4.5.0, npm/loose-envify@1.4.0, npm/lowercase-keys@1.0.1, npm/lunr@2.3.9, npm/make-dir@3.1.0, npm/nan@2.17.0, npm/node-fetch@2.6.11, npm/object-inspect@1.12.3, npm/obuf@1.1.2, npm/onetime@5.1.2, npm/parseurl@1.3.3, npm/postcss-import@15.1.0, npm/postcss@8.4.21, npm/prism-react-renderer@1.3.5, npm/prismjs@1.28.0, npm/punycode@2.3.0, npm/react-dom@17.0.2, npm/react-helmet-async@1.3.0, npm/react-icons@4.4.0, npm/react-redux@8.0.2, npm/react-router@5.3.4, npm/react-use@17.4.0, npm/react@17.0.2, npm/regexpp@3.2.0, npm/rehype-katex@5.0.0, npm/remark-math@3.0.1, npm/resolve@1.22.2, npm/sanitize-html@2.12.1, npm/style-to-object@0.3.0, npm/stylis@4.1.3, npm/swagger-ui-react@5.3.1, npm/terser-webpack-plugin@5.3.9, npm/tslib@2.5.3, npm/typescript@4.7.4, npm/unified@9.2.2, npm/unist-builder@2.0.3, npm/unist-util-visit@2.0.3, npm/use-sync-external-store@1.2.0, npm/webpack-sources@3.2.3, npm/yargs-parser@20.2.4
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎
To accept the risk, merge this PR and you will not be notified again.
Alert | Package | Note | Source |
---|---|---|---|
Telemetry | npm/next@14.0.4 |
|
This package contains telemetry which tracks how it is used.
Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.
Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.
If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.
To ignore an alert, reply with a comment starting with @SocketSecurity ignore
followed by a space separated list of ecosystem/package-name@version
specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0
or ignore all packages with @SocketSecurity ignore-all
@SocketSecurity ignore npm/next@14.0.4
Overview
Migrate the ZetaDocs base framework from Docusaurus to Nextra.
Migration Highlights
docusaurus.config.js
was replaced fornext.config.js
+theme.config.tsx
(see more info about Nextra docs theme here)./docs
to.src/pages
following Next.js + Nextra standard for file-system based routing..mdx
files under the pages directory will be rendered with MDX (.md
files are rendered as well but with less compatible features). See here for more info../static
to./public
, again following Next.js standard../src/components
.Alert
component to replace the:::tip
,:::note
, etc, content alerts.Dark
/Light
theme colors are managed with theThemeToggle
component with a redux based theme system in sync with Nextra light and dark theme configuration.CodeBlock
component was created leveraging base NextraPre
andCode
components, that adds more custom code highlighting features, for example extended highlighting with Shiki transformers, and remote code fetching capabilities (this replaces current ZetaDocs feature passingreference
prop to a code block with a GitHub link directly)..mdx
pages for improved performance around these..svg
assets require to manually use the Next Image component. Please see some places in the code where this is being used.eslint
+typescript
config and fixed all issues related to those (added new types where missing or typed asany
)