rregex 1.2.0 → 1.3.0
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 +1 -1
- package/lib/browser.d.ts +1 -1
- package/lib/browser.js +1 -1
- package/lib/commonjs.d.ts +1 -1
- package/lib/commonjs.js +1 -1
- package/lib/module.d.ts +1 -1
- package/lib/rregex.wasm +0 -0
- package/lib/types.d.ts +1 -1
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -209,7 +209,7 @@ Returns the same as shortest_match, but starts the search at the given offset. (
|
|
|
209
209
|
|
|
210
210
|
## Known Issues
|
|
211
211
|
|
|
212
|
-
If you call `splitn(text, limit)` and the expected result length is equal to `limit - 1` the result will include an extra item `""`, this behavior does not happen if `limit` es greater.
|
|
212
|
+
If you call `splitn(text, limit)` and the expected result length is equal to `limit - 1` the result will include an extra item `""`, this behavior does not happen if `limit` es greater. **`fixed at >=1.3`**
|
|
213
213
|
|
|
214
214
|
```ts
|
|
215
215
|
const regex = new RRegex(',')
|
package/lib/browser.d.ts
CHANGED
package/lib/browser.js
CHANGED
package/lib/commonjs.d.ts
CHANGED
package/lib/commonjs.js
CHANGED
package/lib/module.d.ts
CHANGED
package/lib/rregex.wasm
CHANGED
|
Binary file
|
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rregex",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Rust Regex binding for Javascript",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/commonjs.js",
|
|
@@ -40,6 +40,16 @@
|
|
|
40
40
|
"range": "1.1.x",
|
|
41
41
|
"channel": "1.1.x"
|
|
42
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"name": "1.2.x",
|
|
45
|
+
"range": "1.2.x",
|
|
46
|
+
"channel": "1.2.x"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "1.3.x",
|
|
50
|
+
"range": "1.3.x",
|
|
51
|
+
"channel": "1.3.x"
|
|
52
|
+
},
|
|
43
53
|
{
|
|
44
54
|
"name": "master"
|
|
45
55
|
}
|