This repository has been archived by the owner on Feb 22, 2021. It is now read-only.
Releases: sidvishnoi/respec-caniuse-route
Releases · sidvishnoi/respec-caniuse-route
v3.1.1
v3.1.0
chore(package): bump version to 3.1.0
v3.0.2
Move back to commonjs
v3.0.1
Fix release not having any file as prepare
script didn't run
v3.0.0
BREAKING CHANGE: Use ESM, change scraper API, DATA_DIR in env
- Started using TypeScript for development.
- Migrate from commonjs to ESM.
- Scraper is no longer a process. It maybe run in a Worker thread.
import { main as scrapeCaniuse } from './scraper'; const isDataUpdated = await scrapeCaniuse();
- enhancement(scraper): don't parse if data hasn't updated
- Environment variable
DATA_DIR
, whose value is the directory where
data is saved, is required. This is done for consistency. This also
avoids hard coding a directory..
v2.0.1
fix DATA_DIR value
v2.0.0
- Move all data (raw and processed) to
data/caniuse-raw
anddata/caniuse
folders respectively. - BREAKING CHANGE: return
null
if data for a feature is not found, instead of returning an empty object
v1.0.4
chore(package): bump version
v1.0.3
Fixes a crash while running with pm2
v1.0.2
Improve error handling