broccoli-output-wrapper
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,2 @@ | ||
export default function outputWrapper(node: any): ProxyConstructor; | ||
import { FSOperations } from './interfaces'; | ||
export default function outputWrapper(node: any): FSOperations; |
{ | ||
"name": "broccoli-output-wrapper", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Output wrapper is a library to write output file to outputpath.", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": "sparshithNR <nairbali@usc.edu>", | ||
@@ -7,0 +8,0 @@ "license": "MIT", |
import * as fs from 'fs'; | ||
import { isAbsolute, resolve } from 'path'; | ||
import { FSOperations } from './interfaces'; | ||
@@ -34,3 +35,3 @@ const logger = require('heimdalljs-logger')('broccoli:outputWrapper'); | ||
export default function outputWrapper (node: any): any { | ||
export default function outputWrapper (node: any): FSOperations { | ||
return new Proxy(fs, { | ||
@@ -37,0 +38,0 @@ get(target: any, propertyName: string): any { |
@@ -1,2 +0,2 @@ | ||
import buidlOutputWrapper from '../src'; | ||
import buildOutputWrapper from '../src'; | ||
const tmp = require('tmp'); | ||
@@ -14,3 +14,3 @@ import * as fs from 'fs'; | ||
}; | ||
output = buidlOutputWrapper(node); | ||
output = buildOutputWrapper(node); | ||
}); | ||
@@ -17,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
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
9475
14
162