@joystick.js/node-canary 0.0.0-canary.39 → 0.0.0-canary.40

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.
@@ -15,7 +15,6 @@ import runUserQuery from "../accounts/runUserQuery.js";
15
15
  import replaceBackslashesWithForwardSlashes from "../../lib/replaceBackslashesWithForwardSlashes.js";
16
16
  import replaceFileProtocol from "../../lib/replaceFileProtocol.js";
17
17
  import getBuildPath from "../../lib/getBuildPath.js";
18
- import sanitizeRequestParameters from "./sanitizeRequestParameters.js";
19
18
  import session from "./session.js";
20
19
  import csp from "./csp.js";
21
20
  const cwd = replaceFileProtocol(replaceBackslashesWithForwardSlashes(process.cwd()));
@@ -42,7 +41,6 @@ var middleware_default = ({
42
41
  }
43
42
  next();
44
43
  });
45
- app.use(sanitizeRequestParameters);
46
44
  app.use(requestMethods);
47
45
  if (cspConfig) {
48
46
  app.use((req, res, next) => csp(req, res, next, cspConfig));
@@ -16,9 +16,6 @@ var registerGetters_default = (express, getters = [], context = {}, APIOptions =
16
16
  if (!isValidSession) {
17
17
  return;
18
18
  }
19
- console.log({
20
- query: req?.query
21
- });
22
19
  const getterContext = await getAPIContext({ req, res }, context);
23
20
  const input = req?.query?.input ? JSON.parse(req?.query?.input) : null;
24
21
  const output = req?.query?.output ? JSON.parse(req?.query?.output) : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.39",
3
+ "version": "0.0.0-canary.40",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",
@@ -1,7 +0,0 @@
1
- import escapeKeyValuePair from "../../lib/escapeKeyValuePair.js";
2
- var sanitizeRequestParameters_default = (req, res, next) => {
3
- next();
4
- };
5
- export {
6
- sanitizeRequestParameters_default as default
7
- };