Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@universal-packages/fs-utils

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@universal-packages/fs-utils - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

12

package.json
{
"name": "@universal-packages/fs-utils",
"version": "1.1.1",
"version": "1.2.0",
"description": "Extended functionality for fs",

@@ -20,9 +20,9 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",

"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.12",
"@types/jest": "^29.5.14",
"@types/node": "^18.11.9",
"@universal-packages/maintenance": "^1.6.3",
"@universal-packages/maintenance": "^1.6.12",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
"prettier": "^3.4.1",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},

@@ -29,0 +29,0 @@ "jest": {

@@ -6,3 +6,10 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.expandPath = exports.ensureFile = exports.ensureDirectory = exports.quickCheckFile = exports.checkFile = exports.quickCheckDirectory = exports.checkDirectory = exports.HOME_DIR = exports.IS_WINDOWS = void 0;
exports.HOME_DIR = exports.IS_WINDOWS = void 0;
exports.checkDirectory = checkDirectory;
exports.quickCheckDirectory = quickCheckDirectory;
exports.checkFile = checkFile;
exports.quickCheckFile = quickCheckFile;
exports.ensureDirectory = ensureDirectory;
exports.ensureFile = ensureFile;
exports.expandPath = expandPath;
const fs_1 = __importDefault(require("fs"));

@@ -23,3 +30,2 @@ const os_1 = __importDefault(require("os"));

}
exports.checkDirectory = checkDirectory;
function quickCheckDirectory(location) {

@@ -32,3 +38,2 @@ const finalLocation = expandPath(location);

}
exports.quickCheckDirectory = quickCheckDirectory;
function checkFile(location) {

@@ -44,3 +49,2 @@ const finalLocation = expandPath(location);

}
exports.checkFile = checkFile;
function quickCheckFile(location) {

@@ -53,3 +57,2 @@ const finalLocation = expandPath(location);

}
exports.quickCheckFile = quickCheckFile;
function ensureDirectory(location) {

@@ -67,3 +70,2 @@ const finalLocation = expandPath(location);

}
exports.ensureDirectory = ensureDirectory;
function ensureFile(location) {

@@ -79,3 +81,2 @@ const finalLocation = expandPath(location);

}
exports.ensureFile = ensureFile;
function expandPath(location) {

@@ -85,3 +86,2 @@ const expanded = location && !exports.IS_WINDOWS && exports.HOME_DIR ? location.replace(/^~(?=$|\/|\\)/, exports.HOME_DIR) : location;

}
exports.expandPath = expandPath;
//# sourceMappingURL=utils.js.map

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