Socket
Socket
Sign inDemoInstall

@file-services/node

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/node - npm Package Compare versions

Comparing version 0.2.4 to 0.3.0

6

cjs/node-fs.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc