@file-services/node
Advanced tools
Comparing version 0.4.7 to 0.4.8
@@ -6,5 +6,5 @@ import { IBaseFileSystem, IFileSystem } from '@file-services/types'; | ||
} | ||
export declare function createNodeFs(): IFileSystem; | ||
export declare function createNodeFs(options?: ICreateNodeFsOptions): IFileSystem; | ||
export declare function createBaseNodeFs(options?: ICreateNodeFsOptions): IBaseFileSystem; | ||
export declare const nodeFs: IFileSystem; | ||
//# sourceMappingURL=node-fs.d.ts.map |
@@ -10,4 +10,4 @@ "use strict"; | ||
const watch_service_1 = require("./watch-service"); | ||
function createNodeFs() { | ||
const baseFs = createBaseNodeFs(); | ||
function createNodeFs(options) { | ||
const baseFs = createBaseNodeFs(options); | ||
return Object.assign({}, utils_1.createSyncFileSystem(baseFs), utils_1.createAsyncFileSystem(baseFs)); | ||
@@ -14,0 +14,0 @@ } |
{ | ||
"name": "@file-services/node", | ||
"description": "Node.js file system implementation.", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"main": "cjs/index.js", | ||
@@ -13,16 +13,14 @@ "types": "cjs/index.d.ts", | ||
"lint:test": "tslint --project test", | ||
"test": "mocha -r @ts-tools/node/r \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx --colors --timeout 5000", | ||
"test": "mocha -r @ts-tools/node/r \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx --colors --timeout 10000", | ||
"prepack": "yarn build" | ||
}, | ||
"dependencies": { | ||
"@file-services/types": "^0.4.7", | ||
"@file-services/utils": "^0.4.7", | ||
"@file-services/types": "^0.4.8", | ||
"@file-services/utils": "^0.4.8", | ||
"proper-fs": "^1.1.1" | ||
}, | ||
"devDependencies": { | ||
"@file-services/test-kit": "^0.4.7" | ||
}, | ||
"files": [ | ||
"cjs", | ||
"src/**/*.ts" | ||
"src", | ||
"!src/tsconfig.json" | ||
], | ||
@@ -38,3 +36,3 @@ "engines": { | ||
}, | ||
"gitHead": "801ee42213735758dfacaedcf14537635f89e3d0" | ||
"gitHead": "8d71dfadccd2534c01ad1d3f332915693967e957" | ||
} |
@@ -15,4 +15,4 @@ import path from 'path' | ||
export function createNodeFs(): IFileSystem { | ||
const baseFs = createBaseNodeFs() | ||
export function createNodeFs(options?: ICreateNodeFsOptions): IFileSystem { | ||
const baseFs = createBaseNodeFs(options) | ||
@@ -19,0 +19,0 @@ return { |
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
28544
0
Updated@file-services/types@^0.4.8
Updated@file-services/utils@^0.4.8