supertape 13.1.0 → 13.1.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.
package/ChangeLog CHANGED
@@ -1,3 +1,14 @@
1
+ 2026.05.08, v13.1.2
2
+
3
+ feature:
4
+ - 8eca103 supertape: operator: match: [
5
+ - 290c743 @supertape/operator-react: add
6
+
7
+ 2026.05.06, v13.1.1
8
+
9
+ fix:
10
+ - 8d2d914 package: move out loaders from default install
11
+
1
12
  2026.05.06, v13.1.0
2
13
 
3
14
  feature:
package/README.md CHANGED
@@ -76,6 +76,23 @@ export default {
76
76
  };
77
77
  ```
78
78
 
79
+ or dom:
80
+
81
+ ```js
82
+ import {run, defineEnv} from 'supertape/env';
83
+
84
+ const testEnv = defineEnv({
85
+ timeout: 7000,
86
+ jsx: true,
87
+ dom: true,
88
+ });
89
+
90
+ export default {
91
+ test: () => [testEnv, `tape 'lib/**/*.spec.js'`],
92
+ coverage: async () => [testEnv, `c8 ${await run('test')}`],
93
+ };
94
+ ```
95
+
79
96
  📼 **Supertape** doesn't contain:
80
97
 
81
98
  - assertion aliases, making the available operators far more concise
@@ -2,7 +2,8 @@ const isStr = (a) => typeof a === 'string';
2
2
  const encode = (a) => a
3
3
  .replaceAll('^', '\\^')
4
4
  .replaceAll(')', '\\)')
5
- .replaceAll('(', '\\(');
5
+ .replaceAll('(', '\\(')
6
+ .replaceAll('[', '\\[');
6
7
 
7
8
  export const maybeRegExp = (a) => {
8
9
  if (!isStr(a))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertape",
3
- "version": "13.1.0",
3
+ "version": "13.1.2",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "📼 Supertape simplest high speed test runner with superpowers",
6
6
  "homepage": "http://github.com/coderaiser/supertape",
@@ -51,8 +51,6 @@
51
51
  "@supertape/formatter-tap": "^4.0.0",
52
52
  "@supertape/formatter-time": "^3.0.0",
53
53
  "@supertape/operator-stub": "^4.0.0",
54
- "@supertape/loader-jsx": "^1.0.0",
55
- "@supertape/loader-css": "^1.0.0",
56
54
  "cli-progress": "^3.8.2",
57
55
  "flatted": "^3.3.1",
58
56
  "fullstore": "^4.0.0",