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

@platform/fs

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platform/fs - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

9

lib/size/size.js

@@ -34,9 +34,7 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function () {
var exists, getFiles, files, _a, bytes;
var getFiles, exists, files, _a, bytes;
var _this = this;
return tslib_1.__generator(this, function (_b) {
switch (_b.label) {
case 0: return [4, fsExtra.pathExists(path)];
case 1:
exists = _b.sent();
case 0:
getFiles = function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {

@@ -58,2 +56,5 @@ var pattern, wait;

}); };
return [4, fsExtra.pathExists(path)];
case 1:
exists = _b.sent();
if (!exists) return [3, 3];

@@ -60,0 +61,0 @@ return [4, getFiles()];

{
"name": "@platform/fs",
"version": "0.1.5",
"version": "0.1.6",
"description": "File system tools.",

@@ -15,14 +15,14 @@ "main": "lib/index",

"dependencies": {
"@types/fs-extra": "7.0.0",
"@types/fs-extra": "8.0.0",
"@types/js-yaml": "3.12.1",
"archiver": "3.0.0",
"extract-zip": "1.6.7",
"fast-glob": "3.0.2",
"filesize": "^4.1.2",
"fs-extra": "8.0.1",
"fast-glob": "3.0.4",
"filesize": "4.1.2",
"fs-extra": "8.1.0",
"js-yaml": "3.13.1"
},
"devDependencies": {
"@platform/test": "0.0.58",
"@platform/ts.libs": "3.5.3",
"@platform/test": "0.0.59",
"@platform/ts.libs": "3.5.4",
"@types/archiver": "3.0.0",

@@ -29,0 +29,0 @@ "@types/extract-zip": "1.6.2",

![Module](https://img.shields.io/badge/%40platform-fs-%23EA4E7E.svg)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![NPM](https://img.shields.io/npm/v/@platform/fs.svg?colorB=blue&style=flat)](https://www.npmjs.com/package/@platform/fs)
![banner](https://uiharness.sfo2.digitaloceanspaces.com/%40platform/repo-banners/fs.png)
# fs
File system tools.
## Setup
yarn add @platform/fs
<p>&nbsp;<p>
<p>&nbsp;<p>
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