rregex 1.7.0 → 1.7.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 +79 -190
- package/jsr.json +17 -0
- package/lib/{browser.d.ts → cf.d.ts} +211 -249
- package/lib/cf.mjs +20 -0
- package/lib/commonjs.cjs +609 -0
- package/lib/{commonjs.d.ts → commonjs.d.cts} +179 -222
- package/lib/{module.d.ts → esm.d.ts} +175 -231
- package/lib/esm.mjs +611 -0
- package/lib/rregex.wasm +0 -0
- package/lib/rregex.wasm.d.ts +29 -26
- package/lib/standalone.d.ts +517 -0
- package/lib/standalone.js +697 -0
- package/lib/types.d.ts +211 -249
- package/lib/web.d.ts +525 -0
- package/lib/web.js +700 -0
- package/package.json +107 -18
- package/lib/browser.js +0 -720
- package/lib/commonjs.js +0 -667
- package/lib/module.js +0 -646
package/package.json
CHANGED
|
@@ -1,32 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rregex",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"description": "Rust Regex
|
|
3
|
+
"version": "1.7.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
|
-
"jest": "^27.4.3",
|
|
18
|
-
"semantic-release": "^18.0.1",
|
|
19
|
-
"toml": "^3.0.0",
|
|
20
|
-
"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"
|
|
21
38
|
},
|
|
22
39
|
"scripts": {
|
|
23
40
|
"setup": "./bin/install.sh",
|
|
24
41
|
"build": "./bin/build.sh",
|
|
25
|
-
"test": "
|
|
42
|
+
"test": "node --test test/node.test.mjs",
|
|
26
43
|
"test:rs": "wasm-pack test",
|
|
27
|
-
"test:ts": "jest",
|
|
28
44
|
"semantic-release": "semantic-release"
|
|
29
45
|
},
|
|
46
|
+
"jest": {
|
|
47
|
+
"testEnvironment": "node",
|
|
48
|
+
"testRegex": "node\\.test\\.[cm]js$"
|
|
49
|
+
},
|
|
30
50
|
"release": {
|
|
31
51
|
"ci": false,
|
|
32
52
|
"branches": [
|
|
@@ -60,9 +80,78 @@
|
|
|
60
80
|
"range": "1.5.x",
|
|
61
81
|
"channel": "1.5.x"
|
|
62
82
|
},
|
|
83
|
+
{
|
|
84
|
+
"name": "1.6.x",
|
|
85
|
+
"range": "1.6.x",
|
|
86
|
+
"channel": "1.6.x"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "1.7.x",
|
|
90
|
+
"range": "1.7.x",
|
|
91
|
+
"channel": "1.7.x"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "1.8.x",
|
|
95
|
+
"range": "1.8.x",
|
|
96
|
+
"channel": "1.8.x"
|
|
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
|
+
},
|
|
63
118
|
{
|
|
64
119
|
"name": "master"
|
|
65
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
|
+
]
|
|
66
155
|
]
|
|
67
156
|
},
|
|
68
157
|
"repository": {
|