css-module-flow-loader
Advanced tools
+4
-2
| // | ||
| import { } from 'node-sass'; | ||
| const path = require('path'); | ||
| const fileSystem = require('fs'); | ||
| import readDirRecursive from 'recursive-readdir'; | ||
| import nodeSass, { } from 'node-sass'; | ||
| const readDirRecursive = require('recursive-readdir'); | ||
| const nodeSass = require('node-sass'); | ||
@@ -9,0 +11,0 @@ const fileExtensionList = new Set(['.css', '.scss', '.sass']); |
@@ -26,3 +26,5 @@ // @flow | ||
| declare export default typeof nodeSass; | ||
| declare module.exports: typeof nodeSass; | ||
| // declare export default typeof nodeSass; | ||
| } |
@@ -10,6 +10,15 @@ // @flow | ||
| declare export default function readDirRecursive( | ||
| /* | ||
| declare export default function readDirRecursive( | ||
| pathToFolder: string, | ||
| exclude: Array<ReadDirRecursiveExcludeType>, | ||
| ): Promise<Array<string>>; | ||
| */ | ||
| declare function readDirRecursive( | ||
| pathToFolder: string, | ||
| exclude: Array<ReadDirRecursiveExcludeType>, | ||
| ): Promise<Array<string>>; | ||
| declare module.exports: typeof readDirRecursive; | ||
| } |
+1
-1
| { | ||
| "name": "css-module-flow-loader", | ||
| "version": "0.0.3", | ||
| "version": "0.0.4", | ||
| "description": "css module flow loader", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
| // @flow | ||
| import {type NodeSassRenderCallbackResultType} from 'node-sass'; | ||
| const path = require('path'); | ||
| const fileSystem = require('fs'); | ||
| import readDirRecursive from 'recursive-readdir'; | ||
| import nodeSass, {type NodeSassRenderCallbackResultType} from 'node-sass'; | ||
| const readDirRecursive = require('recursive-readdir'); | ||
| const nodeSass = require('node-sass'); | ||
@@ -9,0 +11,0 @@ const fileExtensionList = new Set(['.css', '.scss', '.sass']); |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
50709
0.71%1371
0.73%