NorthwoodsSoftware/GoJS

v2.3.16 has console.log statement happening

jyounce-aim opened this issue · 1 comments

After upgrading from v2.3.15 to v2.3.16 this console.log statement now shows up in the chrome console.

gojs-v2 3 16-console log-showing-up

We modified the package.json file to specify using the go-debug.mjs file in development environments, via:

in package.json

  "exports": {
    "import": {
      "types": "./release/go-module.d.ts",
      "development": "./release/go-debug.mjs",
      "production": "./release/go.mjs",
      "default": "./release/go.mjs"
    },
    "require": {
      "types": "./release/go.d.ts",
      "development": "./release/go-debug.js",
      "production": "./release/go.js",
      "default": "./release/go.js"
    }
  },

This seems to have defaulted you to the go-debug version. This console warning is something that's always been a problem, but you are only now seeing it. Some property is being set outside of a transaction, and must either be inside of one (that either skips the undo manager, if applicable, or does not)