rregex 1.9.0 → 1.9.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/README.md +58 -276
- package/jsr.json +17 -0
- package/lib/cf.d.ts +1075 -0
- package/lib/cf.mjs +20 -0
- package/lib/commonjs.cjs +996 -0
- package/lib/commonjs.d.cts +1014 -0
- package/lib/esm.d.ts +1001 -0
- package/lib/esm.mjs +990 -0
- package/lib/rregex.wasm +0 -0
- package/lib/rregex.wasm.d.ts +34 -30
- package/lib/standalone.d.ts +1067 -0
- package/lib/standalone.js +1077 -0
- package/lib/types.d.ts +552 -554
- package/lib/web.d.ts +1075 -0
- package/lib/web.js +1080 -0
- package/package.json +90 -22
- package/lib/browser.d.ts +0 -1077
- package/lib/browser.js +0 -1207
- package/lib/commonjs.d.ts +0 -1020
- package/lib/commonjs.js +0 -1152
- package/lib/module.d.ts +0 -1020
- package/lib/module.js +0 -1135
package/package.json
CHANGED
|
@@ -1,37 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rregex",
|
|
3
|
-
"version": "1.9.
|
|
4
|
-
"description": "Rust Regex
|
|
3
|
+
"version": "1.9.2",
|
|
4
|
+
"description": "A dependency-free WebAssembly build of Rust Regex for Javascript",
|
|
5
5
|
"private": false,
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./lib/commonjs.cjs",
|
|
8
|
+
"types": "./lib/commonjs.d.cts",
|
|
9
|
+
"module": "./lib/esm.mjs",
|
|
10
|
+
"browser": "./lib/web.js",
|
|
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
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"provenance": true
|
|
30
|
+
},
|
|
10
31
|
"devDependencies": {
|
|
11
|
-
"@
|
|
12
|
-
"@
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"esbuild-jest": "^0.5.0",
|
|
18
|
-
"jest": "^29.7.0",
|
|
19
|
-
"semantic-release": "^18.0.1",
|
|
20
|
-
"toml": "^3.0.0",
|
|
21
|
-
"typescript": "^4.5.2"
|
|
32
|
+
"@semantic-release/exec": "^6.0.3",
|
|
33
|
+
"@types/node": "^22.10.2",
|
|
34
|
+
"concurrently": "^8.2.2",
|
|
35
|
+
"semantic-release": "^25.0.0",
|
|
36
|
+
"tinybench": "^2.7.0",
|
|
37
|
+
"toml": "^3.0.0"
|
|
22
38
|
},
|
|
23
39
|
"scripts": {
|
|
24
40
|
"setup": "./bin/install.sh",
|
|
25
41
|
"build": "./bin/build.sh",
|
|
26
|
-
"test": "
|
|
42
|
+
"test": "node --test test/node.test.mjs",
|
|
27
43
|
"test:rs": "wasm-pack test",
|
|
28
|
-
"test:ts": "jest",
|
|
29
44
|
"semantic-release": "semantic-release"
|
|
30
45
|
},
|
|
31
46
|
"jest": {
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
}
|
|
47
|
+
"testEnvironment": "node",
|
|
48
|
+
"testRegex": "node\\.test\\.[cm]js$"
|
|
35
49
|
},
|
|
36
50
|
"release": {
|
|
37
51
|
"ci": false,
|
|
@@ -81,9 +95,63 @@
|
|
|
81
95
|
"range": "1.8.x",
|
|
82
96
|
"channel": "1.8.x"
|
|
83
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"name": "1.9.x",
|
|
100
|
+
"range": "1.9.x",
|
|
101
|
+
"channel": "1.9.x"
|
|
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
|
}
|
|
121
|
+
],
|
|
122
|
+
"plugins": [
|
|
123
|
+
"@semantic-release/commit-analyzer",
|
|
124
|
+
"@semantic-release/release-notes-generator",
|
|
125
|
+
"@semantic-release/npm",
|
|
126
|
+
[
|
|
127
|
+
"@semantic-release/github",
|
|
128
|
+
{
|
|
129
|
+
"assets": [
|
|
130
|
+
{
|
|
131
|
+
"path": "lib/standalone.js",
|
|
132
|
+
"label": "standalone.js"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"path": "lib/esm.mjs",
|
|
136
|
+
"label": "esm.js"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"path": "lib/esm.d.ts",
|
|
140
|
+
"label": "esm.d.ts"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"path": "lib/rregex.wasm",
|
|
144
|
+
"label": "rregex.wasm"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
[
|
|
150
|
+
"@semantic-release/exec",
|
|
151
|
+
{
|
|
152
|
+
"publishCmd": "node bin/jsr.mjs ${nextRelease.version} && npx jsr publish --allow-dirty"
|
|
153
|
+
}
|
|
154
|
+
]
|
|
87
155
|
]
|
|
88
156
|
},
|
|
89
157
|
"repository": {
|