rregex 1.10.11 → 1.10.13

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/package.json CHANGED
@@ -1,26 +1,45 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.10.11",
3
+ "version": "1.10.13",
4
4
  "description": "A dependency-free WebAssembly build of Rust Regex for Javascript",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "./lib/commonjs.cjs",
8
+ "types": "./lib/commonjs.d.cts",
8
9
  "module": "./lib/esm.mjs",
9
10
  "browser": "./lib/web.js",
10
- "types": "./lib/types.d.ts",
11
+ "exports": {
12
+ "./package.json": "./package.json",
13
+ ".": {
14
+ "import": {
15
+ "types": "./lib/esm.d.ts",
16
+ "default": "./lib/esm.mjs"
17
+ },
18
+ "require": {
19
+ "types": "./lib/commonjs.d.cts",
20
+ "default": "./lib/commonjs.cjs"
21
+ },
22
+ "browser": {
23
+ "types": "./lib/web.d.ts",
24
+ "default": "./lib/web.js"
25
+ }
26
+ }
27
+ },
11
28
  "publishConfig": {
12
29
  "provenance": true
13
30
  },
14
31
  "devDependencies": {
15
32
  "@semantic-release/exec": "^6.0.3",
33
+ "@types/node": "^22.10.2",
16
34
  "concurrently": "^8.2.2",
17
- "semantic-release": "^23.0.6",
35
+ "semantic-release": "^25.0.0",
36
+ "tinybench": "^2.7.0",
18
37
  "toml": "^3.0.0"
19
38
  },
20
39
  "scripts": {
21
40
  "setup": "./bin/install.sh",
22
41
  "build": "./bin/build.sh",
23
- "test": "wasm-pack test --node && jest --passWithNoTests",
42
+ "test": "node --test test/node.test.mjs",
24
43
  "test:rs": "wasm-pack test",
25
44
  "semantic-release": "semantic-release"
26
45
  },
@@ -81,6 +100,21 @@
81
100
  "range": "1.9.x",
82
101
  "channel": "1.9.x"
83
102
  },
103
+ {
104
+ "name": "1.10.x",
105
+ "range": "1.10.x",
106
+ "channel": "1.10.x"
107
+ },
108
+ {
109
+ "name": "1.11.x",
110
+ "range": "1.11.x",
111
+ "channel": "1.11.x"
112
+ },
113
+ {
114
+ "name": "1.12.x",
115
+ "range": "1.12.x",
116
+ "channel": "1.12.x"
117
+ },
84
118
  {
85
119
  "name": "master"
86
120
  }
Binary file
Binary file
Binary file
Binary file