@joystick.js/node-canary 0.0.0-canary.3 → 0.0.0-canary.5

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import sanitizeHTML from "sanitize-html";
2
+ import fs from "fs";
2
3
  import _accounts from "./app/accounts";
3
4
  import _action from "./action/index.js";
4
5
  import _websockets from "./websockets";
@@ -31,7 +32,7 @@ const __dirname = nodeUrlPolyfills.__dirname;
31
32
  const id = generateId;
32
33
  const origin = getOrigin();
33
34
  const settings = loadSettings();
34
- console.log("HERE", fs.readFileSync(__dirname("/dist/app/utils/process.js"), "utf-8"));
35
+ console.log("HERE", fs.readFileSync(__dirname("dist/app/utils/process.js"), "utf-8"));
35
36
  global.joystick = {
36
37
  id: generateId,
37
38
  emitters: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.3",
3
+ "version": "0.0.0-canary.5",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",