broccoli-output-wrapper
Advanced tools
Comparing version
/// <reference types="node" /> | ||
import * as fs from 'fs'; | ||
import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, rmdirSync, mkdirSync, symlinkSync, utimesSync } from 'fs'; | ||
import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, mkdirSync, symlinkSync, utimesSync } from 'fs'; | ||
declare function outputWrapper(node: any): outputWrapper.FSOutput; | ||
@@ -15,3 +15,5 @@ export = outputWrapper; | ||
appendFileSync: typeof appendFileSync; | ||
rmdirSync: typeof rmdirSync; | ||
rmdirSync: (path: string, options?: { | ||
recursive?: boolean; | ||
}) => void; | ||
mkdirSync: typeof mkdirSync; | ||
@@ -18,0 +20,0 @@ unlinkSync: typeof fs.unlinkSync; |
{ | ||
"name": "broccoli-output-wrapper", | ||
"version": "3.2.1", | ||
"version": "3.2.3", | ||
"description": "Output wrapper is a library to write output file to outputpath.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import * as fs from 'fs'; | ||
import { isAbsolute, resolve } from 'path'; | ||
import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, rmdirSync, mkdirSync, symlinkSync, utimesSync } from 'fs'; | ||
import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, mkdirSync, symlinkSync, utimesSync } from 'fs'; | ||
import { removeSync, outputFileSync } from 'fs-extra'; | ||
@@ -80,3 +80,4 @@ const symlinkOrCopySync = require('symlink-or-copy').sync; | ||
appendFileSync: typeof appendFileSync, | ||
rmdirSync: typeof rmdirSync, | ||
// TODO: node 10 reaches EOL and node 12 becomes LTS, we should revert this change. | ||
rmdirSync: (path: string, options?: { recursive?: boolean; }) => void, | ||
mkdirSync: typeof mkdirSync, | ||
@@ -83,0 +84,0 @@ unlinkSync: typeof fs.unlinkSync, |
14235
1.21%253
1.2%