querysub 0.495.0 → 0.497.0

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": "querysub",
3
- "version": "0.495.0",
3
+ "version": "0.497.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -67,10 +67,11 @@
67
67
  "node-forge": "https://github.com/sliftist/forge#e618181b469b07bdc70b968b0391beb8ef5fecd6",
68
68
  "pako": "^2.1.0",
69
69
  "peggy": "^5.0.6",
70
- "sliftutils": "^1.6.3",
70
+ "sliftutils": "^1.7.5",
71
71
  "socket-function": "^1.2.4",
72
72
  "terser": "^5.31.0",
73
- "typesafecss": "^0.29.0",
73
+ "typenode": "^6.6.1",
74
+ "typesafecss": "*",
74
75
  "yaml": "^2.5.0",
75
76
  "yargs": "^15.3.1"
76
77
  },
@@ -2397,6 +2397,8 @@ export function noAtomicSchema<T>(code: () => T) {
2397
2397
 
2398
2398
  export const proxyWatcher = new PathValueProxyWatcher();
2399
2399
  if ((globalThis as any).proxyWatcher) {
2400
+ debugger;
2401
+ require("debugbreak")(2);
2400
2402
  debugger;
2401
2403
  console.error(`Loaded PathValueProxyWatcher twice. This will break this. In ${module.filename}`);
2402
2404
  }
@@ -69,7 +69,10 @@ export class PermissionsCheck {
69
69
  gitRef: "LOCAL_PERMISSIONS_HACK",
70
70
  };
71
71
  let modulePermissions = getDevelopmentModule(moduleId);
72
- if (!modulePermissions) throw new Error(`No development module found for ${moduleId}. Was it imported? Try restarting the edge server.`);
72
+ if (!modulePermissions) {
73
+ getDevelopmentModule(moduleId);
74
+ throw new Error(`No development module found for ${moduleId}. Was it imported? Try restarting the edge server.`);
75
+ }
73
76
  let schema = getSchemaObject(modulePermissions);
74
77
  if (!schema) throw new Error(`Module does not export a schema: ${moduleId}`);
75
78
  return {