rregex 1.10.6 → 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.
Files changed (3) hide show
  1. package/README.md +10 -11
  2. package/jsr.json +1 -0
  3. package/package.json +5 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  A dependency-free WebAssembly build of [Rust Regex](https://docs.rs/regex/latest/regex/) for Javascript
4
4
 
5
5
  ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/2fd/rregex/release.yml?branch=master) ![GitHub Release](https://img.shields.io/github/v/release/2fd/rregex) ![NPM Version](https://img.shields.io/npm/v/rregex)
6
- ![JSR Version](https://img.shields.io/jsr/v/%40rregex/rregex)
6
+ [![JSR](https://jsr.io/badges/@rregex/rregex)](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 | File |
51
- | ------------------ | ----------------------------------------------- |
52
- | Node.js (esm) | [`lib/esm.mjs` (default)](./test/node.test.mjs) |
53
- | Node.js (commonjs) | [`lib/commonjs.cjs`](./test/node.test.cjs) |
54
- | Deno | [`lib/esm.mjs`](./test/deno.test.mjs) |
55
- | Bun | [`lib/esm.mjs`](./test/bun.test.mjs) |
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,6 +1,7 @@
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": [
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.10.6",
4
- "description": "Rust Regex binding for Javascript",
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",