broccoli-output-wrapper
Advanced tools
Comparing version 1.0.2 to 2.0.0
/// <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; |
{ | ||
"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", |
@@ -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, |
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
9312