jssm 5.82.5 → 5.83.2

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.
@@ -0,0 +1,33 @@
1
+
2
+ module.exports = {
3
+
4
+ testEnvironment : 'node',
5
+
6
+ moduleFileExtensions : ['js', 'ts'],
7
+ coveragePathIgnorePatterns : ["/node_modules/", "/src/ts/tests/"],
8
+ testMatch : ['**/*.uspec.ts'],
9
+
10
+ transform : { '^.+\\.ts$': 'ts-jest' },
11
+
12
+ verbose : false,
13
+ collectCoverage : true,
14
+ coverageDirectory : "coverage/unicode/",
15
+
16
+ coverageThreshold : {
17
+ global : {
18
+ branches : 0,
19
+ functions : 0,
20
+ lines : 0,
21
+ statements : 0,
22
+ },
23
+ },
24
+
25
+ collectCoverageFrom: ["src/ts/**/{!(jssm-dot),}.{js,ts}"],
26
+
27
+ reporters: [
28
+ ['default', {}],
29
+ ['jest-json-reporter2', { outputDir: './coverage/unicode', outputFile: 'metrics.json', fullOutput: false }],
30
+ // ['jest-json-reporter2', { outputDir: './coverage/unicode', outputFile: 'extended-metrics.json', fullOutput: true }],
31
+ ]
32
+
33
+ };
package/jssm_types.d.ts CHANGED
@@ -26,7 +26,7 @@ declare type JssmCorner = 'regular' | 'rounded' | 'lined';
26
26
  declare type JssmLineStyle = 'solid' | 'dashed' | 'dotted';
27
27
  declare const FslDirections: readonly ["up", "right", "down", "left"];
28
28
  declare type FslDirection = typeof FslDirections[number];
29
- declare const FslThemes: readonly ["default", "ocean", "modern", "plain"];
29
+ declare const FslThemes: readonly ["default", "ocean", "modern", "plain", "bold"];
30
30
  declare type FslTheme = typeof FslThemes[number];
31
31
  declare type JssmSerialization<DataType> = {
32
32
  jssm_version: string;
@@ -154,6 +154,7 @@ declare type JssmStateStyleBorderColor = {
154
154
  declare type JssmStateStyleKey = JssmStateStyleShape | JssmStateStyleColor | JssmStateStyleTextColor | JssmStateStyleCorners | JssmStateStyleLineStyle | JssmStateStyleBackgroundColor | JssmStateStyleStateLabel | JssmStateStyleBorderColor;
155
155
  declare type JssmStateStyleKeyList = JssmStateStyleKey[];
156
156
  declare type JssmBaseTheme = {
157
+ name: string;
157
158
  state: JssmStateConfig;
158
159
  hooked: JssmStateConfig;
159
160
  start: JssmStateConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.82.5",
3
+ "version": "5.83.2",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },
@@ -28,6 +28,10 @@
28
28
  "browser": "dist/jssm.es5.iife.js",
29
29
  "types": "./jssm.d.ts",
30
30
  "scripts": {
31
+ "jest-unicode-action": "jest unicode-actions.uspec.ts -c jest-unicode.config.js --color --verbose",
32
+ "jest-unicode-string": "jest unicode-strings.uspec.ts -c jest-unicode.config.js --color --verbose",
33
+ "jest-unicode-atom": "jest unicode-atoms.uspec.ts -c jest-unicode.config.js --color --verbose",
34
+ "jest-unicode-full-slow": "npm run jest-unicode-atom && npm run jest-unicode-string && jest-unicode-action",
31
35
  "jest-stoch": "jest -c jest-stoch.config.js --color --verbose",
32
36
  "jest-dragon": "jest -c jest-dragon.config.js --color --verbose",
33
37
  "jest-spec": "jest -c jest-spec.config.js --color --verbose",
@@ -134,8 +138,8 @@
134
138
  "xml2js": "^0.4.23"
135
139
  },
136
140
  "dependencies": {
141
+ "reduce-to-639-1": "^1.1.0",
137
142
  "better_git_changelog": "^1.6.1",
138
- "circular_buffer_js": "^1.10.0",
139
- "reduce-to-639-1": "^1.0.4"
143
+ "circular_buffer_js": "^1.10.0"
140
144
  }
141
145
  }