rregex 1.10.5 → 1.10.7
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 +11 -12
- package/jsr.json +3 -0
- package/lib/bundler.d.ts +1 -1
- package/lib/commonjs.d.ts +1 -1
- package/lib/esm.d.ts +1 -1
- package/lib/standalone.d.ts +1 -1
- package/lib/types.d.ts +1 -1
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# rregex
|
|
2
2
|
|
|
3
|
-
A WebAssembly build of [Rust Regex](https://docs.rs/regex/latest/regex/) for Javascript
|
|
3
|
+
A dependency-free WebAssembly build of [Rust Regex](https://docs.rs/regex/latest/regex/) for Javascript
|
|
4
4
|
|
|
5
5
|
  
|
|
6
|
-
](https://jsr.io/@rregex/rregex)
|
|
7
7
|
|
|
8
8
|
> Note: this project is not intended to be used in production jet
|
|
9
9
|
|
|
@@ -47,16 +47,15 @@ Rust has a powerful Regex library with a lot of features that don't exists en th
|
|
|
47
47
|
|
|
48
48
|
This package includes builds for multiple runtimes
|
|
49
49
|
|
|
50
|
-
| Runtime |
|
|
51
|
-
| ------------------ |
|
|
52
|
-
| Node.js (esm) |
|
|
53
|
-
| Node.js (commonjs) |
|
|
54
|
-
| Deno |
|
|
55
|
-
| Bun |
|
|
56
|
-
| Cloudflare Workers | TODO
|
|
57
|
-
| Browser | TODO
|
|
58
|
-
| Standalone | TODO
|
|
59
|
-
| Typescript | `lib/types.d.ts` |
|
|
50
|
+
| Runtime | Import |
|
|
51
|
+
| ------------------ | ---------------------------------------------------- |
|
|
52
|
+
| Node.js (esm) | `import { RRegex, RRegexSet } from 'rregex'` |
|
|
53
|
+
| Node.js (commonjs) | `const { RRegex, RRegexSet } = require('rregex')` |
|
|
54
|
+
| Deno | `import { RRegex, RRegexSet } from '@rregex/rregex'` |
|
|
55
|
+
| Bun | `import { RRegex, RRegexSet } from '@rregex/rregex'` |
|
|
56
|
+
| Cloudflare Workers | TODO |
|
|
57
|
+
| Browser | TODO |
|
|
58
|
+
| Standalone | TODO |
|
|
60
59
|
|
|
61
60
|
## Known Issues
|
|
62
61
|
|
package/jsr.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rregex/rregex",
|
|
3
3
|
"version": "0.0.0-development",
|
|
4
|
+
"description": "A dependency-free WebAssembly build of Rust Regex for Javascript",
|
|
4
5
|
"exports": "./lib/esm.mjs",
|
|
5
6
|
"publish": {
|
|
6
7
|
"include": [
|
|
7
8
|
"LICENSE",
|
|
8
9
|
"README.md",
|
|
10
|
+
"jsr.json",
|
|
9
11
|
"lib/rregex.wasm",
|
|
10
12
|
"lib/rregex.wasm.d.ts",
|
|
13
|
+
"lib/esm.mjs",
|
|
11
14
|
"lib/esm.d.ts"
|
|
12
15
|
]
|
|
13
16
|
}
|
package/lib/bundler.d.ts
CHANGED
package/lib/commonjs.d.ts
CHANGED
package/lib/esm.d.ts
CHANGED
package/lib/standalone.d.ts
CHANGED
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rregex",
|
|
3
|
-
"version": "1.10.
|
|
4
|
-
"description": "Rust Regex
|
|
3
|
+
"version": "1.10.7",
|
|
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
8
|
"module": "./lib/esm.mjs",
|
|
9
9
|
"browser": "./lib/web.js",
|
|
10
10
|
"types": "./lib/types.d.ts",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"provenance": true
|
|
13
|
+
},
|
|
11
14
|
"devDependencies": {
|
|
12
15
|
"@semantic-release/exec": "^6.0.3",
|
|
13
16
|
"concurrently": "^8.2.2",
|
|
@@ -92,19 +95,19 @@
|
|
|
92
95
|
"assets": [
|
|
93
96
|
{
|
|
94
97
|
"path": "lib/standalone.js",
|
|
95
|
-
"label": "js"
|
|
98
|
+
"label": "standalone.js"
|
|
96
99
|
},
|
|
97
100
|
{
|
|
98
101
|
"path": "lib/esm.mjs",
|
|
99
|
-
"label": "esm"
|
|
102
|
+
"label": "esm.js"
|
|
100
103
|
},
|
|
101
104
|
{
|
|
102
105
|
"path": "lib/esm.d.ts",
|
|
103
|
-
"label": "
|
|
106
|
+
"label": "esm.d.ts"
|
|
104
107
|
},
|
|
105
108
|
{
|
|
106
109
|
"path": "lib/rregex.wasm",
|
|
107
|
-
"label": "wasm"
|
|
110
|
+
"label": "rregex.wasm"
|
|
108
111
|
}
|
|
109
112
|
]
|
|
110
113
|
}
|
|
@@ -112,7 +115,7 @@
|
|
|
112
115
|
[
|
|
113
116
|
"@semantic-release/exec",
|
|
114
117
|
{
|
|
115
|
-
"publishCmd": "node bin/jsr.mjs ${nextRelease.version} && npx jsr publish"
|
|
118
|
+
"publishCmd": "node bin/jsr.mjs ${nextRelease.version} && npx jsr publish --allow-dirty"
|
|
116
119
|
}
|
|
117
120
|
]
|
|
118
121
|
]
|