broccoli-output-wrapper
Advanced tools
+2
-2
| /// <reference types="node" /> | ||
| import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, rmdirSync, mkdirSync } from 'fs'; | ||
| declare function outputWrapper(node: any): outputWrapper.FSOperations; | ||
| declare function outputWrapper(node: any): outputWrapper.FSOutput; | ||
| export = outputWrapper; | ||
| declare namespace outputWrapper { | ||
| interface FSOperations { | ||
| interface FSOutput { | ||
| readFileSync: typeof readFileSync; | ||
@@ -8,0 +8,0 @@ existsSync: typeof existsSync; |
+1
-1
| { | ||
| "name": "broccoli-output-wrapper", | ||
| "version": "1.0.2", | ||
| "version": "2.0.0", | ||
| "description": "Output wrapper is a library to write output file to outputpath.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+2
-2
@@ -35,3 +35,3 @@ import * as fs from 'fs'; | ||
| function outputWrapper (node: any): outputWrapper.FSOperations { | ||
| function outputWrapper (node: any): outputWrapper.FSOutput { | ||
| return new Proxy(fs, { | ||
@@ -46,3 +46,3 @@ get(target: any, propertyName: string): any { | ||
| namespace outputWrapper { | ||
| export interface FSOperations { | ||
| export interface FSOutput { | ||
| readFileSync: typeof readFileSync, | ||
@@ -49,0 +49,0 @@ existsSync: typeof existsSync, |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
9312
-0.17%