@scalar/express-api-reference 0.4.76 → 0.4.78

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/dist/index.cjs CHANGED
@@ -133,7 +133,7 @@ var ApiReference = (options) => {
133
133
  };
134
134
  function apiReference(options) {
135
135
  return (req, res) => {
136
- res.send(`
136
+ res.type("text/html").send(`
137
137
  <!DOCTYPE html>
138
138
  <html>
139
139
  <head>
package/dist/index.js CHANGED
@@ -105,7 +105,7 @@ var ApiReference = (options) => {
105
105
  };
106
106
  function apiReference(options) {
107
107
  return (req, res) => {
108
- res.send(`
108
+ res.type("text/html").send(`
109
109
  <!DOCTYPE html>
110
110
  <html>
111
111
  <head>
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/scalar/scalar.git",
11
11
  "directory": "packages/express-api-reference"
12
12
  },
13
- "version": "0.4.76",
13
+ "version": "0.4.78",
14
14
  "engines": {
15
15
  "node": ">=18"
16
16
  },
@@ -35,7 +35,7 @@
35
35
  "module": "dist/index.js",
36
36
  "dependencies": {
37
37
  "express": "^4.19.2",
38
- "@scalar/api-reference": "1.24.15"
38
+ "@scalar/api-reference": "1.24.17"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/express": "^4.17.21",