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

wy-water

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wy-water - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

13

lib/index.js

@@ -152,2 +152,9 @@ "use strict";

});
// Sorting the dates:
const sortedDates = Object.keys(dailyMetrics[siteCode].dailyValues).sort();
const sortedDailyValues = {};
sortedDates.forEach(date => {
sortedDailyValues[date] = dailyMetrics[siteCode].dailyValues[date];
});
dailyMetrics[siteCode].dailyValues = sortedDailyValues;
});

@@ -215,2 +222,8 @@ return dailyMetrics;

});
const sortedDateTimes = Object.keys(instantaneousMetrics[siteCode].instantaneousValues).sort();
const sortedInstantaneousValues = {};
sortedDateTimes.forEach(dateTime => {
sortedInstantaneousValues[dateTime] = instantaneousMetrics[siteCode].instantaneousValues[dateTime];
});
instantaneousMetrics[siteCode].instantaneousValues = sortedInstantaneousValues;
});

@@ -217,0 +230,0 @@ return instantaneousMetrics;

2

package.json
{
"name": "wy-water",
"version": "1.6.5",
"version": "1.6.6",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

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