state-machine-cat 11.1.2 → 11.1.3

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/README.md CHANGED
@@ -150,7 +150,7 @@ try {
150
150
  `,
151
151
  {
152
152
  outputType: "svg",
153
- }
153
+ },
154
154
  );
155
155
  console.log(lSVGInAString);
156
156
  } catch (pError) {
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "11.1.2";
1
+ export const version = "11.1.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "state-machine-cat",
3
- "version": "11.1.2",
3
+ "version": "11.1.3",
4
4
  "description": "write beautiful state charts",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -32,7 +32,7 @@
32
32
  "depcruise:github-actions:markdown": "dependency-cruise bin src test types tools --config config/dependency-cruiser/base.mjs --output-type markdown",
33
33
  "depcruise:github-actions:mermaid": "dependency-cruise bin src --config config/dependency-cruiser/graph.mjs --output-type mermaid",
34
34
  "depcruise:github-actions:mermaid:affected": "dependency-cruise bin src test types tools --no-cache --config config/dependency-cruiser/base.mjs --output-type mermaid --reaches \"$(watskeburt $SHA -T regex)\"",
35
- "format": "prettier --cache --loglevel warn --write \"bin/*.mjs\" \"{src,test}/**/*.{js,mjs}\" \"{config,test}/**/*.{js,json}\" \"tools/*.{js,mjs,json}\" \"{src,types}/**/*.{ts,mts}\" \"*.{json,yml,md}\" \"docs/{smcat-online-interpreter.js,*.md}\"",
35
+ "format": "prettier --cache --log-level warn --write \"bin/*.mjs\" \"{src,test}/**/*.{js,mjs}\" \"{config,test}/**/*.{js,json}\" \"tools/*.{js,mjs,json}\" \"{src,types}/**/*.{ts,mts}\" \"*.{json,yml,md}\" \"docs/{smcat-online-interpreter.js,*.md}\"",
36
36
  "format:check": "prettier --cache --check \"bin/*.mjs\" \"{src,test}/**/*.{js,mjs}\" \"{config,test}/**/*.{js,json}\" \"tools/*.{js,mjs,json}\" \"{src,types}/**/*.{ts,mts}\" \"*.{json,yml,md}\" \"docs/{smcat-online-interpreter.js,*.md}\"",
37
37
  "lint": "run-p lint:eslint format:check lint:types",
38
38
  "lint:eslint": "eslint --cache --cache-location node_modules/.cache/eslint/cache.json --color src test config",
@@ -94,12 +94,12 @@
94
94
  "ajv": "8.12.0",
95
95
  "chalk": "5.3.0",
96
96
  "commander": "11.0.0",
97
- "fast-xml-parser": "4.2.5",
97
+ "fast-xml-parser": "4.2.6",
98
98
  "handlebars": "4.7.7",
99
99
  "he": "1.2.0",
100
100
  "indent-string": "5.0.0",
101
101
  "lodash": "4.17.21",
102
- "semver": "^7.5.3",
102
+ "semver": "^7.5.4",
103
103
  "traverse": "0.6.7",
104
104
  "wrap-ansi": "8.1.0"
105
105
  },
@@ -109,16 +109,16 @@
109
109
  "@types/he": "1.2.0",
110
110
  "@types/lodash": "4.14.195",
111
111
  "@types/mocha": "10.0.1",
112
- "@typescript-eslint/eslint-plugin": "5.60.1",
113
- "@typescript-eslint/parser": "5.60.1",
112
+ "@typescript-eslint/eslint-plugin": "6.1.0",
113
+ "@typescript-eslint/parser": "6.1.0",
114
114
  "c8": "8.0.0",
115
115
  "chai": "4.3.7",
116
116
  "chai-as-promised": "7.1.1",
117
117
  "chai-json-schema": "1.5.1",
118
118
  "chai-xml": "0.4.1",
119
- "dependency-cruiser": "13.0.4",
120
- "esbuild": "0.18.11",
121
- "eslint": "8.44.0",
119
+ "dependency-cruiser": "13.1.1",
120
+ "esbuild": "0.18.16",
121
+ "eslint": "8.45.0",
122
122
  "eslint-config-moving-meadow": "4.0.2",
123
123
  "eslint-config-prettier": "8.8.0",
124
124
  "eslint-plugin-budapestian": "5.0.1",
@@ -127,7 +127,7 @@
127
127
  "eslint-plugin-mocha": "10.1.0",
128
128
  "eslint-plugin-node": "11.1.0",
129
129
  "eslint-plugin-security": "1.7.1",
130
- "eslint-plugin-unicorn": "47.0.0",
130
+ "eslint-plugin-unicorn": "48.0.0",
131
131
  "husky": "8.0.3",
132
132
  "is-pdf": "1.0.0",
133
133
  "is-png": "3.0.1",
@@ -135,21 +135,19 @@
135
135
  "mocha": "10.2.0",
136
136
  "npm-run-all": "4.1.5",
137
137
  "peggy": "3.0.2",
138
- "prettier": "2.8.8",
138
+ "prettier": "3.0.0",
139
139
  "query-string": "8.1.0",
140
140
  "ts-node": "10.9.1",
141
141
  "typescript": "5.1.6",
142
142
  "upem": "8.0.0",
143
- "watskeburt": "0.11.5",
143
+ "watskeburt": "0.11.6",
144
144
  "xml-name-validator": "4.0.0"
145
145
  },
146
146
  "overrides": {
147
- "xml2js": "^0.5.0",
148
- "semver": "^7.5.3"
147
+ "xml2js": "^0.5.0"
149
148
  },
150
149
  "resolutions": {
151
- "xml2js": "^0.5.0",
152
- "semver": "^7.5.3"
150
+ "xml2js": "^0.5.0"
153
151
  },
154
152
  "engines": {
155
153
  "node": "^16.14||>=18"
@@ -263,12 +263,12 @@ export interface IRenderOptions extends IBaseRenderOptions {
263
263
 
264
264
  export type StringRenderFunctionType = (
265
265
  pStateMachine: IStateMachine,
266
- pOptions?: IRenderOptions
266
+ pOptions?: IRenderOptions,
267
267
  ) => string;
268
268
 
269
269
  export type WhateverRenderFunctionType = (
270
270
  pStateMachine: IStateMachine,
271
- pOptions?: IRenderOptions
271
+ pOptions?: IRenderOptions,
272
272
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
273
273
  ) => any;
274
274
 
@@ -292,5 +292,5 @@ export type RenderFunctionType =
292
292
  */
293
293
  export function render(
294
294
  pScript: IStateMachine | string,
295
- pOptions: IRenderOptions
295
+ pOptions: IRenderOptions,
296
296
  ): string;