state-machine-cat 11.1.1 → 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
@@ -2,10 +2,9 @@
2
2
 
3
3
  _write beautiful state charts_
4
4
 
5
- [![install, lint, test](https://github.com/sverweij/state-machine-cat/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sverweij/state-machine-cat/actions/workflows/ci.yml)
6
- [![coverage report](https://gitlab.com/sverweij/state-machine-cat/badges/main/coverage.svg)](https://gitlab.com/sverweij/state-machine-cat/builds)
7
- [![Known Vulnerabilities](https://snyk.io/test/github/sverweij/state-machine-cat/badge.svg?targetFile=package.json)](https://snyk.io/test/github/sverweij/state-machine-cat?targetFile=package.json)
5
+ [![ci](https://github.com/sverweij/state-machine-cat/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sverweij/state-machine-cat/actions/workflows/ci.yml)
8
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/e052b461624c043f32c7/maintainability)](https://codeclimate.com/github/sverweij/state-machine-cat/maintainability)
7
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/e052b461624c043f32c7/test_coverage)](https://codeclimate.com/github/sverweij/state-machine-cat/test_coverage)
9
8
  [![npm stable version](https://img.shields.io/npm/v/state-machine-cat.svg?logo=npm)](https://npmjs.com/package/state-machine-cat)
10
9
  [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
11
10
  [![state-machine-cat.js.org](https://img.shields.io/badge/js.org-state--machine--cat-ffb400.svg?style=flat-squared)](https://state-machine-cat.js.org)
@@ -151,7 +150,7 @@ try {
151
150
  `,
152
151
  {
153
152
  outputType: "svg",
154
- }
153
+ },
155
154
  );
156
155
  console.log(lSVGInAString);
157
156
  } catch (pError) {
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "11.1.1";
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.1",
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",
@@ -92,14 +92,14 @@
92
92
  "dependencies": {
93
93
  "@hpcc-js/wasm": "2.13.0",
94
94
  "ajv": "8.12.0",
95
- "chalk": "5.2.0",
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.0",
113
- "@typescript-eslint/parser": "5.60.0",
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.8",
121
- "eslint": "8.43.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,20 +127,20 @@
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",
134
- "lint-staged": "13.2.2",
134
+ "lint-staged": "13.2.3",
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
- "typescript": "5.1.3",
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": {
@@ -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;