@docusaurus/utils
Advanced tools
Comparing version 2.0.0-alpha.b20d016bc to 2.0.0-alpha.b5c46bd1d
@@ -183,3 +183,3 @@ "use strict"; | ||
// Skip import/export declaration. | ||
if (/^.*import\s.*from.*;?|export\s.*{.*};?/.test(fileLine)) { | ||
if (/^\s*?import\s.*(from.*)?;?|export\s.*{.*};?/.test(fileLine)) { | ||
continue; | ||
@@ -186,0 +186,0 @@ } |
{ | ||
"name": "@docusaurus/utils", | ||
"version": "2.0.0-alpha.b20d016bc", | ||
"version": "2.0.0-alpha.b5c46bd1d", | ||
"description": "Node utility functions for Docusaurus packages", | ||
@@ -21,3 +21,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@docusaurus/types": "2.0.0-alpha.b20d016bc", | ||
"@docusaurus/types": "2.0.0-alpha.b5c46bd1d", | ||
"chalk": "^3.0.0", | ||
@@ -35,3 +35,3 @@ "escape-string-regexp": "^2.0.0", | ||
}, | ||
"gitHead": "14f3db0983873aace96abef506f523c9bd7dc75e" | ||
"gitHead": "0a37b53f730521c987f73ce57f43e2cf5fb510b6" | ||
} |
@@ -389,2 +389,3 @@ /** | ||
import Component from '@site/src/components/Component' | ||
import './styles.css'; | ||
@@ -391,0 +392,0 @@ export function ItemCol(props) { return <Item {...props} className={'col col--6 margin-bottom--lg'}/> } |
@@ -207,3 +207,3 @@ /** | ||
// Skip import/export declaration. | ||
if (/^.*import\s.*from.*;?|export\s.*{.*};?/.test(fileLine)) { | ||
if (/^\s*?import\s.*(from.*)?;?|export\s.*{.*};?/.test(fileLine)) { | ||
continue; | ||
@@ -210,0 +210,0 @@ } |
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
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
518609
1756
+ Added@docusaurus/types@2.0.0-alpha.b5c46bd1d(transitive)
- Removed@docusaurus/types@2.0.0-alpha.b20d016bc(transitive)