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 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
  ![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,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
@@ -498,7 +498,7 @@ export type LookWordUnicodeNegateVariant = {
498
498
  '@type': 'enum'
499
499
  '@name': 'regex_syntax::hir:Look'
500
500
  '@variant': 'WordUnicodeNegate'
501
-
501
+ }
502
502
 
503
503
  /**
504
504
  * Match the start of an ASCII-only word boundary. That is, this matches a
package/lib/commonjs.d.ts CHANGED
@@ -498,7 +498,7 @@ export type LookWordUnicodeNegateVariant = {
498
498
  '@type': 'enum'
499
499
  '@name': 'regex_syntax::hir:Look'
500
500
  '@variant': 'WordUnicodeNegate'
501
-
501
+ }
502
502
 
503
503
  /**
504
504
  * Match the start of an ASCII-only word boundary. That is, this matches a
package/lib/esm.d.ts CHANGED
@@ -498,7 +498,7 @@ export type LookWordUnicodeNegateVariant = {
498
498
  '@type': 'enum'
499
499
  '@name': 'regex_syntax::hir:Look'
500
500
  '@variant': 'WordUnicodeNegate'
501
-
501
+ }
502
502
 
503
503
  /**
504
504
  * Match the start of an ASCII-only word boundary. That is, this matches a
@@ -499,7 +499,7 @@ declare namespace wasm_bindgen {
499
499
  '@type': 'enum'
500
500
  '@name': 'regex_syntax::hir:Look'
501
501
  '@variant': 'WordUnicodeNegate'
502
-
502
+ }
503
503
 
504
504
  /**
505
505
  * Match the start of an ASCII-only word boundary. That is, this matches a
package/lib/types.d.ts CHANGED
@@ -498,7 +498,7 @@ export type LookWordUnicodeNegateVariant = {
498
498
  '@type': 'enum'
499
499
  '@name': 'regex_syntax::hir:Look'
500
500
  '@variant': 'WordUnicodeNegate'
501
-
501
+ }
502
502
 
503
503
  /**
504
504
  * Match the start of an ASCII-only word boundary. That is, this matches a
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.10.5",
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",
@@ -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": "typescript"
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
  ]