@docusaurus/utils
Advanced tools
Comparing version 2.0.0-alpha.41ef333e4 to 2.0.0-alpha.601c8fe68
@@ -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.41ef333e4", | ||
"version": "2.0.0-alpha.601c8fe68", | ||
"description": "Node utility functions for Docusaurus packages", | ||
@@ -21,3 +21,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@docusaurus/types": "2.0.0-alpha.41ef333e4", | ||
"@docusaurus/types": "2.0.0-alpha.601c8fe68", | ||
"chalk": "^3.0.0", | ||
@@ -35,3 +35,3 @@ "escape-string-regexp": "^2.0.0", | ||
}, | ||
"gitHead": "8ab42ced521397663651b4e5fbedfce35e8eb7d8" | ||
"gitHead": "02165a67a84aa28b441101e152d472ffe2309c67" | ||
} |
@@ -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
518609
1756
+ Added@docusaurus/types@2.0.0-alpha.601c8fe68(transitive)
- Removed@docusaurus/types@2.0.0-alpha.41ef333e4(transitive)