@file-services/node
Advanced tools
Comparing version 8.1.2 to 8.1.3
import type { IFileSystem } from '@file-services/types'; | ||
export * from './node-fs.js'; | ||
export * from './watch-service.js'; | ||
export * from './node-fs'; | ||
export * from './watch-service'; | ||
export declare const nodeFs: IFileSystem; | ||
export default nodeFs; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,7 +18,7 @@ "use strict"; | ||
exports.nodeFs = void 0; | ||
const node_fs_js_1 = require("./node-fs.js"); | ||
__exportStar(require("./node-fs.js"), exports); | ||
__exportStar(require("./watch-service.js"), exports); | ||
exports.nodeFs = (0, node_fs_js_1.createNodeFs)(); | ||
const node_fs_1 = require("./node-fs"); | ||
__exportStar(require("./node-fs"), exports); | ||
__exportStar(require("./watch-service"), exports); | ||
exports.nodeFs = (0, node_fs_1.createNodeFs)(); | ||
exports.default = exports.nodeFs; | ||
//# sourceMappingURL=index.js.map |
import type { IBaseFileSystem, IFileSystem } from '@file-services/types'; | ||
import { INodeWatchServiceOptions } from './watch-service.js'; | ||
import { INodeWatchServiceOptions } from './watch-service'; | ||
export interface ICreateNodeFsOptions { | ||
@@ -4,0 +4,0 @@ watchOptions?: INodeWatchServiceOptions; |
@@ -12,3 +12,3 @@ "use strict"; | ||
const utils_1 = require("@file-services/utils"); | ||
const watch_service_js_1 = require("./watch-service.js"); | ||
const watch_service_1 = require("./watch-service"); | ||
const caseSensitive = !fs_1.default.existsSync(__filename.toUpperCase()); | ||
@@ -25,3 +25,3 @@ const fsPromisesExists = (0, util_1.promisify)(fs_1.default.exists); | ||
cwd: process_1.cwd, | ||
watchService: new watch_service_js_1.NodeWatchService(options && options.watchOptions), | ||
watchService: new watch_service_1.NodeWatchService(options && options.watchOptions), | ||
caseSensitive, | ||
@@ -28,0 +28,0 @@ ...fs_1.default, |
{ | ||
"name": "@file-services/node", | ||
"description": "Node.js file system implementation.", | ||
"version": "8.1.2", | ||
"main": "dist/index.js", | ||
"version": "8.1.3", | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"scripts": { | ||
@@ -11,4 +15,4 @@ "test": "npm run test:node", | ||
"dependencies": { | ||
"@file-services/types": "^8.1.2", | ||
"@file-services/utils": "^8.1.2" | ||
"@file-services/types": "^8.1.3", | ||
"@file-services/utils": "^8.1.3" | ||
}, | ||
@@ -15,0 +19,0 @@ "files": [ |
@@ -1,8 +0,8 @@ | ||
import { createNodeFs } from './node-fs.js'; | ||
import { createNodeFs } from './node-fs'; | ||
import type { IFileSystem } from '@file-services/types'; | ||
export * from './node-fs.js'; | ||
export * from './watch-service.js'; | ||
export * from './node-fs'; | ||
export * from './watch-service'; | ||
export const nodeFs: IFileSystem = createNodeFs(); | ||
export default nodeFs; |
@@ -8,3 +8,3 @@ import fs from 'fs'; | ||
import type { IBaseFileSystem, IFileSystem, IFileSystemPath } from '@file-services/types'; | ||
import { NodeWatchService, INodeWatchServiceOptions } from './watch-service.js'; | ||
import { NodeWatchService, INodeWatchServiceOptions } from './watch-service'; | ||
@@ -11,0 +11,0 @@ const caseSensitive = !fs.existsSync(__filename.toUpperCase()); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
30866
Updated@file-services/types@^8.1.3
Updated@file-services/utils@^8.1.3