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

smart-fs

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-fs - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

lib/logic/smart-write.js

@@ -51,3 +51,3 @@ const assert = require('assert');

assert(Array.isArray(mergedContent));
contentString = mergedContent.join('\n');
contentString = `${mergedContent.join('\n')}\n`;
break;

@@ -62,2 +62,2 @@ }

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9sb2dpYy9zbWFydC13cml0ZS5qcyJdLCJuYW1lcyI6WyJhc3NlcnQiLCJyZXF1aXJlIiwiZnMiLCJwYXRoIiwiaXNFcXVhbCIsImNsb25lRGVlcCIsImZzRXh0cmEiLCJ5YW1sIiwic21hcnRSZWFkIiwiZ2V0RXh0IiwibW9kdWxlIiwiZXhwb3J0cyIsImZpbGVwYXRoIiwiY29udGVudCIsIm9wdGlvbnMiLCJPYmplY3QiLCJBcnJheSIsImlzQXJyYXkiLCJjdHgiLCJhc3NpZ24iLCJ0cmVhdEFzIiwibWVyZ2VTdHJhdGVneSIsImV4aXN0aW5nIiwiY2hhbmdlc2V0Iiwia2V5cyIsImxlbmd0aCIsImN1cnJlbnRDb250ZW50IiwiZXhpc3RzU3luYyIsIm1lcmdlZENvbnRlbnQiLCJlbnN1cmVEaXJTeW5jIiwiZGlybmFtZSIsImNvbnRlbnRTdHJpbmciLCJkdW1wIiwiSlNPTiIsInN0cmluZ2lmeSIsImpvaW4iLCJ3cml0ZUZpbGVTeW5jIl0sIm1hcHBpbmdzIjoiQUFBQSxNQUFNQSxNQUFNLEdBQUdDLE9BQU8sQ0FBQyxRQUFELENBQXRCOztBQUNBLE1BQU1DLEVBQUUsR0FBR0QsT0FBTyxDQUFDLElBQUQsQ0F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pO1xuICAgIGxldCBjb250ZW50U3RyaW5nO1xuICAgIHN3aXRjaCAoY3R4LnRyZWF0QXMgfHwgZ2V0RXh0KGZpbGVwYXRoKSkge1xuICAgICAgY2FzZSAneW1sJzpcbiAgICAgIGNhc2UgJ3lhbWwnOlxuICAgICAgICBjb250ZW50U3RyaW5nID0geWFtbC5kdW1wKG1lcmdlZENvbnRlbnQpO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ2pzb24nOlxuICAgICAgICBjb250ZW50U3RyaW5nID0gYCR7SlNPTi5zdHJpbmdpZnkobWVyZ2VkQ29udGVudCwgbnVsbCwgMil9XFxuYDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBkZWZhdWx0OlxuICAgICAgICBhc3NlcnQoQXJyYXkuaXNBcnJheShtZXJnZWRDb250ZW50KSk7XG4gICAgICAgIGNvbnRlbnRTdHJpbmcgPSBtZXJnZWRDb250ZW50LmpvaW4oJ1xcbicpO1xuICAgICAgICBicmVhaztcbiAgICB9XG4gICAgZnMud3JpdGVGaWxlU3luYyhmaWxlcGF0aCwgY29udGVudFN0cmluZyk7XG4gICAgcmV0dXJuIHRydWU7XG4gIH1cbiAgcmV0dXJuIGZhbHNlO1xufTtcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9sb2dpYy9zbWFydC13cml0ZS5qcyJdLCJuYW1lcyI6WyJhc3NlcnQiLCJyZXF1aXJlIiwiZnMiLCJwYXRoIiwiaXNFcXVhbCIsImNsb25lRGVlcCIsImZzRXh0cmEiLCJ5YW1sIiwic21hcnRSZWFkIiwiZ2V0RXh0IiwibW9kdWxlIiwiZXhwb3J0cyIsImZpbGVwYXRoIiwiY29udGVudCIsIm9wdGlvbnMiLCJPYmplY3QiLCJBcnJheSIsImlzQXJyYXkiLCJjdHgiLCJhc3NpZ24iLCJ0cmVhdEFzIiwibWVyZ2VTdHJhdGVneSIs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ZpbGVwYXRoLCB7IHRyZWF0QXM6IGN0eC50cmVhdEFzIH0pXG4gICAgOiBudWxsO1xuXG4gIGNvbnN0IG1lcmdlZENvbnRlbnQgPSBjdXJyZW50Q29udGVudCA9PSBudWxsXG4gICAgPyBjb250ZW50XG4gICAgOiBjdHgubWVyZ2VTdHJhdGVneShjbG9uZURlZXAoY3VycmVudENvbnRlbnQpLCBjbG9uZURlZXAoY29udGVudCkpO1xuXG4gIGlmICghaXNFcXVhbChjdXJyZW50Q29udGVudCwgbWVyZ2VkQ29udGVudCkpIHtcbiAgICBmc0V4dHJhLmVuc3VyZURpclN5bmMocGF0aC5kaXJuYW1lKGZpbGVwYXRoKSk7XG4gICAgbGV0IGNvbnRlbnRTdHJpbmc7XG4gICAgc3dpdGNoIChjdHgudHJlYXRBcyB8fCBnZXRFeHQoZmlsZXBhdGgpKSB7XG4gICAgICBjYXNlICd5bWwnOlxuICAgICAgY2FzZSAneWFtbCc6XG4gICAgICAgIGNvbnRlbnRTdHJpbmcgPSB5YW1sLmR1bXAobWVyZ2VkQ29udGVudCk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnanNvbic6XG4gICAgICAgIGNvbnRlbnRTdHJpbmcgPSBgJHtKU09OLnN0cmluZ2lmeShtZXJnZWRDb250ZW50LCBudWxsLCAyKX1cXG5gO1xuICAgICAgICBicmVhaztcbiAgICAgIGRlZmF1bHQ6XG4gICAgICAgIGFzc2VydChBcnJheS5pc0FycmF5KG1lcmdlZENvbnRlbnQpKTtcbiAgICAgICAgY29udGVudFN0cmluZyA9IGAke21lcmdlZENvbnRlbnQuam9pbignXFxuJyl9XFxuYDtcbiAgICAgICAgYnJlYWs7XG4gICAgfVxuICAgIGZzLndyaXRlRmlsZVN5bmMoZmlsZXBhdGgsIGNvbnRlbnRTdHJpbmcpO1xuICAgIHJldHVybiB0cnVlO1xuICB9XG4gIHJldHVybiBmYWxzZTtcbn07XG4iXX0=
{
"name": "smart-fs",
"version": "1.1.2",
"version": "1.1.3",
"description": "Abstraction Layer for File Management.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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