@file-services/node
Advanced tools
Comparing version 0.2.4 to 0.3.0
@@ -26,4 +26,6 @@ "use strict"; | ||
readdirSync: proper_fs_1.readdirSync, | ||
readFile(filePath) { return proper_fs_1.readFile(filePath, 'utf8'); }, | ||
readFileSync(filePath) { return proper_fs_1.readFileSync(filePath, 'utf8'); }, | ||
readFile(filePath, encoding = 'utf8') { return proper_fs_1.readFile(filePath, encoding); }, | ||
readFileRaw(filePath) { return proper_fs_1.readFile(filePath); }, | ||
readFileSync(filePath, encoding = 'utf8') { return proper_fs_1.readFileSync(filePath, encoding); }, | ||
readFileRawSync(filePath) { return proper_fs_1.readFileSync(filePath); }, | ||
realpath: proper_fs_1.realpath, | ||
@@ -30,0 +32,0 @@ realpathSync: proper_fs_1.realpathSync, |
{ | ||
"name": "@file-services/node", | ||
"description": "Node.js file system implementation.", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"main": "cjs/index.js", | ||
@@ -9,15 +9,16 @@ "types": "cjs/index.d.ts", | ||
"clean": "rimraf ./cjs", | ||
"build": "tsc --project src", | ||
"build": "ts-build ./src --cjs", | ||
"lint": "run-p lint:src lint:test", | ||
"lint:src": "tslint --project src", | ||
"lint:test": "tslint --project test", | ||
"test": "mocha -r @ts-tools/node \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx" | ||
"test": "mocha -r @ts-tools/node \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx", | ||
"prepack": "yarn build" | ||
}, | ||
"dependencies": { | ||
"@file-services/types": "^0.2.2", | ||
"@file-services/utils": "^0.2.3", | ||
"proper-fs": "^1.0.1" | ||
"@file-services/types": "^0.3.0", | ||
"@file-services/utils": "^0.3.0", | ||
"proper-fs": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"@file-services/test-kit": "^0.2.3" | ||
"@file-services/test-kit": "^0.3.0" | ||
}, | ||
@@ -37,3 +38,3 @@ "files": [ | ||
}, | ||
"gitHead": "3134da9970d72deda9c0003b00e11aaeb54d9b48" | ||
"gitHead": "6203b5b30191f38c522498dfb1a3a31ef42c5cba" | ||
} |
@@ -34,4 +34,6 @@ import path from 'path' | ||
readdirSync, | ||
readFile(filePath) { return readFile(filePath, 'utf8') }, | ||
readFileSync(filePath) { return readFileSync(filePath, 'utf8') }, | ||
readFile(filePath, encoding = 'utf8') { return readFile(filePath, encoding) }, | ||
readFileRaw(filePath) { return readFile(filePath) }, | ||
readFileSync(filePath, encoding = 'utf8') { return readFileSync(filePath, encoding) }, | ||
readFileRawSync(filePath) { return readFileSync(filePath) }, | ||
realpath, | ||
@@ -38,0 +40,0 @@ realpathSync, |
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
30546
534
+ Added@file-services/types@0.3.0(transitive)
+ Added@file-services/utils@0.3.0(transitive)
- Removed@file-services/types@0.2.2(transitive)
- Removed@file-services/utils@0.2.3(transitive)
Updated@file-services/types@^0.3.0
Updated@file-services/utils@^0.3.0
Updatedproper-fs@^1.1.0