broccoli-output-wrapper
Advanced tools
Comparing version 3.2.1 to 3.2.3
/// <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, |
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
14235
253