Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 20, 2024
1 parent 7b6086f commit ab64360
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"d3-dsv": "^3.0.0",
"dotenv": "^16.0.0",
"hast-util-to-html": "^9.0.0",
"hastscript": "^8.0.0",
"hastscript": "^9.0.0",
"npm-high-impact": "^1.0.0",
"pacote": "^17.0.0",
"prettier": "^3.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"xo": "^0.56.0"
"xo": "^0.57.0"
},
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
Expand Down
6 changes: 3 additions & 3 deletions script/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const filesRaw = await fs.readdir(new URL('../data', import.meta.url))
const datasets = []

for (const name of filesRaw) {
const ext = path.extname(name)
if (ext === '.json') {
const base = path.basename(name, ext)
const extension = path.extname(name)
if (extension === '.json') {
const base = path.basename(name, extension)

// Only check date and `latest`.
if (/^\d{4}-\d{2}-\d{2}/.test(base) || base === 'latest') {
Expand Down

0 comments on commit ab64360

Please sign in to comment.