@docusaurus/init
Advanced tools
Comparing version 2.0.0-alpha.56 to 2.0.0-alpha.58
{ | ||
"name": "@docusaurus/init", | ||
"version": "2.0.0-alpha.56", | ||
"version": "2.0.0-alpha.58", | ||
"description": "Create Docusaurus app easily", | ||
@@ -13,3 +13,4 @@ "repository": { | ||
"scripts": { | ||
"tsc": "tsc" | ||
"tsc": "tsc", | ||
"watch": "tsc --watch" | ||
}, | ||
@@ -35,3 +36,3 @@ "bin": { | ||
}, | ||
"gitHead": "d8ebe8b2e4072376f7d02b6c61f4b9f72be4d800" | ||
"gitHead": "16ba6e54b672151a2fcd0ded8deb56f638f6ec01" | ||
} |
{ | ||
"name": "docusaurus-2-bootstrap-template", | ||
"version": "2.0.0-alpha.56", | ||
"version": "2.0.0-alpha.58", | ||
"private": true, | ||
@@ -12,4 +12,4 @@ "scripts": { | ||
"dependencies": { | ||
"@docusaurus/core": "^2.0.0-alpha.56", | ||
"@docusaurus/preset-bootstrap": "^2.0.0-alpha.56", | ||
"@docusaurus/core": "^2.0.0-alpha.58", | ||
"@docusaurus/preset-bootstrap": "^2.0.0-alpha.58", | ||
"classnames": "^2.2.6", | ||
@@ -16,0 +16,0 @@ "react": "^16.8.4", |
{ | ||
"name": "docusaurus-2-classic-template", | ||
"version": "2.0.0-alpha.56", | ||
"version": "2.0.0-alpha.58", | ||
"private": true, | ||
@@ -12,5 +12,5 @@ "scripts": { | ||
"dependencies": { | ||
"@docusaurus/core": "^2.0.0-alpha.56", | ||
"@docusaurus/preset-classic": "^2.0.0-alpha.56", | ||
"classnames": "^2.2.6", | ||
"@docusaurus/core": "^2.0.0-alpha.58", | ||
"@docusaurus/preset-classic": "^2.0.0-alpha.58", | ||
"clsx": "^1.1.1", | ||
"react": "^16.8.4", | ||
@@ -17,0 +17,0 @@ "react-dom": "^16.8.4" |
import React from 'react'; | ||
import classnames from 'classnames'; | ||
import clsx from 'clsx'; | ||
import Layout from '@theme/Layout'; | ||
@@ -45,3 +45,3 @@ import Link from '@docusaurus/Link'; | ||
return ( | ||
<div className={classnames('col col--4', styles.feature)}> | ||
<div className={clsx('col col--4', styles.feature)}> | ||
{imgUrl && ( | ||
@@ -65,3 +65,3 @@ <div className="text--center"> | ||
description="Description will go into a meta tag in <head />"> | ||
<header className={classnames('hero hero--primary', styles.heroBanner)}> | ||
<header className={clsx('hero hero--primary', styles.heroBanner)}> | ||
<div className="container"> | ||
@@ -72,3 +72,3 @@ <h1 className="hero__title">{siteConfig.title}</h1> | ||
<Link | ||
className={classnames( | ||
className={clsx( | ||
'button button--outline button--secondary button--lg', | ||
@@ -75,0 +75,0 @@ styles.getStarted, |
@@ -15,2 +15,3 @@ /** | ||
module.exports = { | ||
root: true, | ||
env: { | ||
@@ -17,0 +18,0 @@ browser: true, |
{ | ||
"name": "docusaurus-2-facebook-template", | ||
"version": "2.0.0-alpha.56", | ||
"version": "2.0.0-alpha.58", | ||
"private": true, | ||
@@ -16,5 +16,5 @@ "scripts": { | ||
"dependencies": { | ||
"@docusaurus/core": "^2.0.0-alpha.56", | ||
"@docusaurus/preset-classic": "^2.0.0-alpha.56", | ||
"classnames": "^2.2.6", | ||
"@docusaurus/core": "^2.0.0-alpha.58", | ||
"@docusaurus/preset-classic": "^2.0.0-alpha.58", | ||
"clsx": "^1.1.1", | ||
"react": "^16.8.4", | ||
@@ -29,6 +29,6 @@ "react-dom": "^16.8.4" | ||
"eslint-plugin-header": "^3.0.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-react": "^7.16.0", | ||
"eslint-plugin-react-hooks": "^3.0.0", | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-react-hooks": "^4.0.4", | ||
"prettier": "^2.0.2", | ||
@@ -35,0 +35,0 @@ "stylelint": "^13.2.1" |
@@ -11,3 +11,3 @@ /** | ||
import React from 'react'; | ||
import classnames from 'classnames'; | ||
import clsx from 'clsx'; | ||
import Layout from '@theme/Layout'; | ||
@@ -55,3 +55,3 @@ import Link from '@docusaurus/Link'; | ||
return ( | ||
<div className={classnames('col col--4', styles.feature)}> | ||
<div className={clsx('col col--4', styles.feature)}> | ||
{imgUrl && ( | ||
@@ -75,3 +75,3 @@ <div className="text--center"> | ||
description="Description will go into a meta tag in <head />"> | ||
<header className={classnames('hero hero--primary', styles.heroBanner)}> | ||
<header className={clsx('hero hero--primary', styles.heroBanner)}> | ||
<div className="container"> | ||
@@ -82,3 +82,3 @@ <h1 className="hero__title">{siteConfig.title}</h1> | ||
<Link | ||
className={classnames( | ||
className={clsx( | ||
'button button--outline button--secondary button--lg', | ||
@@ -85,0 +85,0 @@ styles.getStarted, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7574181
642
107232
1
3
31
9