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

@eox/itemfilter

Package Overview
Dependencies
Maintainers
5
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eox/itemfilter - npm Package Compare versions

Comparing version 0.4.0 to 0.5.1

5

package.json
{
"name": "@eox/itemfilter",
"version": "0.4.0",
"version": "0.5.1",
"type": "module",

@@ -33,4 +33,5 @@ "devDependencies": {

"lit": "^2.7.4",
"lodash.debounce": "^4.0.8"
"lodash.debounce": "^4.0.8",
"toolcool-range-slider": "^4.0.27"
}
}

9

test/general.cy.ts

@@ -16,3 +16,7 @@ import { EOxItemFilter } from "../src/main";

{ key: "themes", title: "Theme", exclusive: true },
{ key: "code" },
// { key: "code" },
// { key: "likes", type: "range" },
// { key: "year", type: "range" },
{ key: "years", type: "range" },
{ key: "datetime", type: "range", format: "date" },
],

@@ -24,3 +28,4 @@ aggregateResults: "themes",

fuseConfig: {
keys: ["title", "description", "themes", "code"],
// keys: ["title", "description", "themes", "code", "datetime"],
keys: ["title", "datetime"],
},

@@ -27,0 +32,0 @@ // onSelect: (item: any) => {

@@ -9,3 +9,8 @@ [

"title": "White Asparagus area [%]",
"name": "Actively managed total area from Sentinel-2 data"
"name": "Actively managed total area from Sentinel-2 data",
"year": 2000,
"likes": 4,
"years": [2000, 2000],
"timestamp": "2023-06-14T13:56:38+00:00",
"datetime": ["2023-06-14T10:56:38+00:00", "2023-06-14T22:56:38+00:00"]
},

@@ -19,3 +24,8 @@ {

"title": "Workers availability [nr]",
"name": "Agricultural Workers"
"name": "Agricultural Workers",
"year": 2020,
"likes": 46,
"years": [2007, 2020],
"timestamp": "2023-06-13T13:56:38+00:00",
"datetime": ["2023-06-13T10:56:38+00:00", "2023-06-13T22:56:38+00:00"]
},

@@ -29,3 +39,8 @@ {

"title": "City level NO2 (S5p)",
"name": "Air Quality"
"name": "Air Quality",
"year": 2023,
"likes": 34,
"years": [2008, 2023],
"timestamp": "2023-06-12T13:56:38+00:00",
"datetime": ["2023-06-12T10:56:38+00:00", "2023-06-12T22:56:38+00:00"]
},

@@ -39,3 +54,8 @@ {

"title": "Vessel density (all) [h/sqkm]",
"name": "Average number of vessels in a km2 cell in a given period"
"name": "Average number of vessels in a km2 cell in a given period",
"year": 2022,
"likes": 177,
"years": [2021, 2022],
"timestamp": "2023-06-11T13:56:38+00:00",
"datetime": ["2023-06-11T10:56:38+00:00", "2023-06-11T22:56:38+00:00"]
},

@@ -49,3 +69,8 @@ {

"title": "Vessel density (cargo) [h/sqkm]",
"name": "Average number of vessels in a km2 cell in a given period"
"name": "Average number of vessels in a km2 cell in a given period",
"year": 2016,
"likes": 0,
"years": [2005, 2016],
"timestamp": "2023-06-10T13:56:38+00:00",
"datetime": ["2023-06-10T10:56:38+00:00", "2023-06-10T22:56:38+00:00"]
},

@@ -59,3 +84,8 @@ {

"title": "Vessel density (tanker) [h/sqkm]",
"name": "Average number of vessels in a km2 cell in a given period"
"name": "Average number of vessels in a km2 cell in a given period",
"year": 2017,
"likes": 0,
"years": [2006, 2017],
"timestamp": "2023-06-09T13:56:38+00:00",
"datetime": ["2023-06-09T10:56:38+00:00", "2023-06-09T22:56:38+00:00"]
},

@@ -69,3 +99,8 @@ {

"title": "Vessel density (others) [h/sqkm]",
"name": "Average number of vessels in a km2 cell in a given period"
"name": "Average number of vessels in a km2 cell in a given period",
"year": 2003,
"likes": 2,
"years": [2001, 2003],
"timestamp": "2023-06-08T13:56:38+00:00",
"datetime": ["2023-06-08T10:56:38+00:00", "2023-06-08T22:56:38+00:00"]
},

@@ -80,3 +115,8 @@ {

"indicatorOverwrite": "Ports and Shipping - impact on air quality",
"name": "Boat traffic - NO2 level"
"name": "Boat traffic - NO2 level",
"year": 2020,
"likes": 65,
"years": [2015, 2020],
"timestamp": "2023-06-07T13:56:38+00:00",
"datetime": ["2023-06-07T10:56:38+00:00", "2023-06-07T22:56:38+00:00"]
},

@@ -90,3 +130,8 @@ {

"title": "Temperature",
"name": "C3S Data"
"name": "C3S Data",
"year": 2021,
"likes": 34,
"years": [2021, 2021],
"timestamp": "2023-06-06T13:56:38+00:00",
"datetime": ["2023-06-06T10:56:38+00:00", "2023-06-06T22:56:38+00:00"]
},

@@ -100,3 +145,8 @@ {

"title": "City level PM2.5 (model)",
"name": "CAMS Air Quality"
"name": "CAMS Air Quality",
"year": 2023,
"likes": 88,
"years": [2000, 2023],
"timestamp": "2023-06-05T13:56:38+00:00",
"datetime": ["2023-06-05T10:56:38+00:00", "2023-06-05T22:56:38+00:00"]
},

@@ -110,3 +160,8 @@ {

"title": "City level NO2 (model)",
"name": "CAMS Air Quality"
"name": "CAMS Air Quality",
"year": 2022,
"likes": 77,
"years": [2019, 2022],
"timestamp": "2023-06-04T13:56:38+00:00",
"datetime": ["2023-06-04T10:56:38+00:00", "2023-06-04T22:56:38+00:00"]
},

@@ -120,3 +175,8 @@ {

"title": "City level PM10 (model)",
"name": "CAMS Air Quality"
"name": "CAMS Air Quality",
"year": 2018,
"likes": 23,
"years": [2014, 2018],
"timestamp": "2023-06-03T13:56:38+00:00",
"datetime": ["2023-06-03T10:56:38+00:00", "2023-06-03T22:56:38+00:00"]
},

@@ -130,3 +190,8 @@ {

"title": "City level O3 (model)",
"name": "CAMS Air Quality"
"name": "CAMS Air Quality",
"year": 2018,
"likes": 56,
"years": [2017, 2018],
"timestamp": "2023-06-02T13:56:38+00:00",
"datetime": ["2023-06-02T10:56:38+00:00", "2023-06-02T22:56:38+00:00"]
},

@@ -140,3 +205,8 @@ {

"title": "Cargo Ships [nr]",
"name": "Cargo ships in port based on AIS data"
"name": "Cargo ships in port based on AIS data",
"year": 2019,
"likes": 11,
"years": [2018, 2019],
"timestamp": "2023-06-01T13:56:38+00:00",
"datetime": ["2023-06-01T10:56:38+00:00", "2023-06-01T22:56:38+00:00"]
},

@@ -150,3 +220,8 @@ {

"title": "Trucks transiting ports [%]",
"name": "Changes in traffic based on mobile data"
"name": "Changes in traffic based on mobile data",
"year": 2017,
"likes": 8,
"years": [2015, 2017],
"timestamp": "2023-05-29T13:56:38+00:00",
"datetime": ["2023-05-29T10:56:38+00:00", "2023-05-29T22:56:38+00:00"]
},

@@ -160,3 +235,8 @@ {

"title": "CHL-a concentration (map, 1km)",
"name": "CMEMS product"
"name": "CMEMS product",
"year": 2015,
"likes": 37,
"years": [2014, 2015],
"timestamp": "2023-05-28T13:56:38+00:00",
"datetime": ["2023-05-28T10:56:38+00:00", "2023-05-28T22:56:38+00:00"]
},

@@ -170,3 +250,8 @@ {

"title": "Covid-19 cases",
"name": "Covid-19 cases"
"name": "Covid-19 cases",
"year": 2013,
"likes": 4,
"years": [2001, 2013],
"timestamp": "2023-05-27T13:56:38+00:00",
"datetime": ["2023-05-27T10:56:38+00:00", "2023-05-27T22:56:38+00:00"]
},

@@ -180,3 +265,8 @@ {

"title": "Covid-19 vaccinations",
"name": "Covid-19 vaccinations"
"name": "Covid-19 vaccinations",
"year": 2016,
"likes": 39,
"years": [2015, 2016],
"timestamp": "2023-05-26T13:56:38+00:00",
"datetime": ["2023-05-26T10:56:38+00:00", "2023-05-26T22:56:38+00:00"]
},

@@ -190,3 +280,8 @@ {

"title": "Raw Material Inventory",
"name": "Crude Oil and other input materials"
"name": "Crude Oil and other input materials",
"year": 2020,
"likes": 28,
"years": [2014, 2020],
"timestamp": "2023-05-25T13:56:38+00:00",
"datetime": ["2023-05-25T10:56:38+00:00", "2023-05-25T22:56:38+00:00"]
},

@@ -200,4 +295,9 @@ {

"title": "Cruise Ships [nr]",
"name": "Cruise ships in port based on AIS data"
"name": "Cruise ships in port based on AIS data",
"year": 1999,
"likes": 17,
"years": [1998, 1999],
"timestamp": "2023-05-24T13:56:38+00:00",
"datetime": ["2023-05-24T10:56:38+00:00", "2023-05-24T22:56:38+00:00"]
}
]

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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