New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lufycz/sushi-data

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lufycz/sushi-data - npm Package Compare versions

Comparing version 2.0.0-canary-24 to 2.0.0-canary-25

2

dist/bento/queries/kashi.js

@@ -78,3 +78,3 @@ "use strict";

.map(key => (Object.assign(Object.assign({}, result[key]), { timestamp: Number(key.split("timestamp")[1]) })))
.sort((a, b) => (a.timestamp) - (b.timestamp))
.sort((a, b) => (b.timestamp) - (a.timestamp))
.filter(e => Object.keys(e).length > 1);

@@ -81,0 +81,0 @@ return pair_callbackChart(result).slice(undefined, max);

@@ -56,3 +56,3 @@ "use strict";

.map(key => ({ priceUSD: ethPrice_callback(result[key]), timestamp: Number(key.split("timestamp")[1]) }))
.sort((a, b) => a.timestamp - b.timestamp)
.sort((a, b) => b.timestamp - a.timestamp)
.filter(e => Object.keys(e).length > 1); // Filters empty results (1 because there will always be a timestamp present)

@@ -59,0 +59,0 @@ return ethPriceChart_callback(result).slice(1).slice(undefined, max);

@@ -79,3 +79,3 @@ "use strict";

.map(key => (Object.assign(Object.assign({}, factory_callback(result[key][0])), { timestamp: Number(key.split("timestamp")[1]) })))
.sort((a, b) => (a.timestamp) - (b.timestamp))
.sort((a, b) => (b.timestamp) - (a.timestamp))
.filter(e => Object.keys(e).length > 1); // Filters empty results (1 because there will always be a timestamp present)

@@ -82,0 +82,0 @@ return factoryChart_callback(result).slice(2).slice(undefined, max);

@@ -95,3 +95,3 @@ "use strict";

.map(key => (Object.assign(Object.assign({}, pair_callback([result[key]])[0]), { timestamp: Number(key.split("timestamp")[1]) })))
.sort((a, b) => (a.timestamp) - (b.timestamp))
.sort((a, b) => (b.timestamp) - (a.timestamp))
.filter(e => Object.keys(e).length > 1); // Filters empty results (1 because there will always be a timestamp present)

@@ -98,0 +98,0 @@ return pairChart_callback(result, ethPrices).slice(2).slice(undefined, max);

@@ -95,3 +95,3 @@ "use strict";

.map(key => (Object.assign(Object.assign({}, token_callback([result[key]])[0]), { timestamp: Number(key.split("timestamp")[1]) })))
.sort((a, b) => (a.timestamp) - (b.timestamp))
.sort((a, b) => (b.timestamp) - (a.timestamp))
.filter(e => Object.keys(e).length > 1); // Filters empty results (1 because there will always be a timestamp present)

@@ -98,0 +98,0 @@ return tokenChart_callback(result, ethPrices).slice(2).slice(undefined, max);

{
"name": "@lufycz/sushi-data",
"name": "@sushiswap/sushi-data",
"license": "MIT",
"version": "2.0.0-canary-24",
"version": "2.0.0",
"author": "SushiSwap",

@@ -6,0 +6,0 @@ "main": "dist/index",

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