liftie 4.2.8 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Makefile CHANGED
@@ -52,16 +52,13 @@ all: lint test build
52
52
  %.gz: %
53
53
  gzip --best --force --keep $<
54
54
 
55
- %.styl.css: %.styl
56
- $(NODE_BIN)/stylus $<
57
-
58
55
  %.css: %.styl.css
59
56
  $(NODE_BIN)/postcss \
60
57
  --use postcss-cachify \
61
58
  --postcss-cachify.baseUrl /stylesheets \
62
59
  --postcss-cachify.basePath public \
63
60
  --postcss-cachify.format name \
64
- --output $@ $@
61
+ --output $@ $<
65
62
 
66
63
  %.min.css: %.css
67
64
  $(NODE_BIN)/esbuild \
@@ -81,10 +78,10 @@ node_modules: package.json pnpm-lock.yaml
81
78
  .NOTPARALLEL: node_modules
82
79
 
83
80
  lint: | node_modules
84
- $(NODE_BIN)/biome ci $(LINT_SRC)
81
+ $(NODE_BIN)/biome ci
85
82
 
86
83
  format: | node_modules
87
- $(NODE_BIN)/biome check --write $(LINT_SRC)
84
+ $(NODE_BIN)/biome check --write
88
85
 
89
86
  test: | node_modules
90
87
  node --test $(TESTS)
@@ -10,7 +10,6 @@
10
10
  },
11
11
  "tags": [
12
12
  "Colorado",
13
- "Eldora",
14
13
  "Powdr"
15
14
  ],
16
15
  "ll": [
@@ -146,7 +146,7 @@ function api(req, res, next) {
146
146
  }
147
147
  // do not cache API responses
148
148
  res.setHeader('Cache-Control', 'no-cache, max-age=0, must-revalidate');
149
- res.setHeader('Content-Type', 'application/json');
149
+ res.setHeader('Content-Type', 'application/json;charset=UTF-8');
150
150
  res.end(JSON.stringify(resorts[0]));
151
151
  });
152
152
  }
@@ -157,7 +157,7 @@ function meta(req, res, next) {
157
157
  return next(err);
158
158
  }
159
159
  res.setHeader('Cache-Control', 'public, max-age=86400'); // good for 24hours
160
- res.setHeader('Content-Type', 'application/json');
160
+ res.setHeader('Content-Type', 'application/json;charset==UTF-8');
161
161
  res.end(JSON.stringify(resorts));
162
162
  });
163
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liftie",
3
- "version": "4.2.8",
3
+ "version": "4.3.1",
4
4
  "description": "Clean, simple, easy to read, fast ski resort lift status",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -58,7 +58,6 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@biomejs/biome": "2.4.0",
61
- "@pirxpilot/stylus": "^1.2.0",
62
61
  "commander": "~14",
63
62
  "postcss": "~8",
64
63
  "postcss-cachify": "^5.0.0",