arche-highlight 0.5.4 → 0.5.5

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -70,19 +70,19 @@ The following JavaScript classes are added to the code as `span` elements of the
70
70
  * `string` - strings, for example `"a"`, `'a'`, `"This is a string."`
71
71
  * `template-literal` - template literals, for example `` `This is a${x} ${y} literal` ``
72
72
  * `template-variable` - variables in template literals, for example the `${x}` and `${y}` in the template literal above.
73
- * `bigint` - JavaScript BigInts, for example `2n`.
73
+ * `bigint` - JavaScript BigInts, for example `2n`
74
74
  * `variable-declaration-keyword` - `var`, `const`, `let`
75
75
  * `keyword` - `import`, `new`, `async`, `await`, `for`, `while`, `of`
76
76
  * `function-keyword` - the `function` keyword for function declarations, for example `function f() {}`
77
77
  * `arrow-function-operator` - the arrow function operator `=>` for arrow function declarations, for example `const fn = () => {}`
78
78
  * `function-name` - the name of a function, either in a function declaration or as the function of a function call, for example in `function f() {}`, `f` would have a `function-name` class, and in `add(1, 2)`, `add` would have a `function-name` class.
79
- * `operator` - the JavaScript operators `+`, `-`, `*`, `/`, `**`, `=`, `+=`, `++`, `-=`, `*=`, `/=`, `**=`, `==`, `===`, `!=`, `!==`, `>`, `>=`, `<`, `<=`, `?`, `:`, `&&`, `||`, `??`, `&`, `|`, `^`, `~`, `>>`, `<<`, `&=`, `|=`, and `^=`.
79
+ * `operator` - the JavaScript operators `+`, `-`, `*`, `/`, `**`, `=`, `+=`, `++`, `-=`, `*=`, `/=`, `**=`, `==`, `===`, `!=`, `!==`, `>`, `>=`, `<`, `<=`, `?`, `:`, `&&`, `||`, `??`, `&`, `|`, `^`, `~`, `>>`, `<<`, `&=`, `|=`, and `^=`
80
80
 
81
- * `object-colon` - the colons (`:`) separating keys from values in JavaScript objects.
82
- * `property-accessor` - the property access operator or dot operator (`.`), for example `Array.from`.
83
- * `spread-operator` - the JavaScript spread operator (`...`).
81
+ * `object-colon` - the colons (`:`) separating keys from values in JavaScript objects
82
+ * `property-accessor` - the property access operator or dot operator (`.`), for example `Array.from`
83
+ * `spread-operator` - the JavaScript spread operator (`...`)
84
84
  * `global-object` - global objects and functions: `process`, `require`, `console`, `window`, `global`, `globalThis`, `isNaN`
85
85
  * `undefined` - the `undefined` value
86
86
  * `null` - the `null` object
87
87
  * `boolean` - booleans `true` and `false`
88
- * `not-a-number` - the special numeric value `NaN` that represents an undefined or unrepresentable number, for example `0 / 0`.
88
+ * `not-a-number` - the special numeric value `NaN` that represents an undefined or unrepresentable number, for example `0 / 0`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arche-highlight",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Syntax highlighting for vanilla microfrontends",
5
5
  "author": "Richard Tong",
6
6
  "license": "CFOSS",