@muze-nl/simplystore 0.1.5 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muze-nl/simplystore",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "main": "src/server.mjs",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "bugs": "https://github.com/simplyedit/simplystore/issues",
16
16
  "homepage": "https://github.com/simplyedit/simplystore#readme",
17
17
  "dependencies": {
18
- "@muze-nl/jsontag": "^0.8.3",
18
+ "@muze-nl/jsontag": "^0.8.4",
19
19
  "array-where-select": "^0.1.0",
20
20
  "codemirror": "^6.0.1",
21
21
  "express": "^4.18.1",
package/src/server.mjs CHANGED
@@ -196,7 +196,11 @@ async function main(options) {
196
196
  _: _,
197
197
  console: connectConsole(res),
198
198
  JSONTag: JSONTag,
199
- request: req,
199
+ request: {
200
+ method: req.method,
201
+ url: req.originalUrl,
202
+ query: req.query
203
+ },
200
204
  Array: Array
201
205
  },
202
206
  wasm: false