squared-functions

squared-express

squared.json
{
  "node": {
    "compat": {
      "v4": true
    }
  }
}
--compat-v4

Override node.compat.v4 and enable compatibility with squared-functions.

--no-compat-v4

Override node.compat.v4 and disable compatibility with squared-functions.

Attention

It will be disabled as of squared 5.2.0 in squared.json.

Settings

Deprecated settings from squared-functions were removed. Misplaced properties that are undetected will use the default E-mc value.

--migrations

Will be required as of squared-express 3.2.0 for those who have not made the suggested conversions. [1]

--no-migrations

Ignore unsupported and possibly incorrect values from previous installations. [2]

@e-mc/compat-v4

When not using squared-express you will have to include it in the main process before using require with packages that use or inherit from squared-functions.

package.json
{
  "dependencies": {
    "@e-mc/compat-v4": "^0.9.0"
  }
}

Attention

It will not installed by default [3] as of squared 5.2.0 in package.json.

sqd-serve

The module is no longer directly loadable as of 0.14.0. Migration for settings are still available through node.compat.v4 or command line options.