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

fs-merger

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-merger - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

13

index.js

@@ -23,2 +23,13 @@ "use strict";

}
function getValues(object) {
if (Object.values) {
return Object.values(object);
} else {
return Object.keys(object).map(function(key) {
return object[key];
});
}
}
class FSMerge {

@@ -115,3 +126,3 @@ constructor(trees) {

}
result = Object.values(hashStore);
result = getValues(hashStore);
result.sort((entryA, entryB) => (entryA.relativePath > entryB.relativePath) ? 1 : -1);

@@ -118,0 +129,0 @@ return result;

2

package.json
{
"name": "fs-merger",
"version": "1.0.3",
"version": "1.0.4",
"description": "Reads files from a real location",

@@ -5,0 +5,0 @@ "main": "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