rregex 1.10.4 → 1.10.6

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/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,37 +1,29 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.10.4",
3
+ "version": "1.10.6",
4
4
  "description": "Rust Regex binding for Javascript",
5
5
  "private": false,
6
- "main": "./lib/commonjs.js",
7
- "browser": "./lib/browser.js",
8
- "module": "./lib/module.js",
6
+ "type": "module",
7
+ "main": "./lib/commonjs.cjs",
8
+ "module": "./lib/esm.mjs",
9
+ "browser": "./lib/web.js",
9
10
  "types": "./lib/types.d.ts",
10
11
  "devDependencies": {
11
- "@babel/plugin-proposal-class-properties": "^7.16.0",
12
- "@babel/preset-env": "^7.16.4",
13
- "@babel/preset-typescript": "^7.16.0",
14
- "@types/jest": "^27.0.3",
15
- "@types/node": "^16.11.11",
16
- "babel-jest": "^27.4.2",
17
- "esbuild-jest": "^0.5.0",
18
- "jest": "^29.7.0",
19
- "semantic-release": "^18.0.1",
20
- "toml": "^3.0.0",
21
- "typescript": "^4.5.2"
12
+ "@semantic-release/exec": "^6.0.3",
13
+ "concurrently": "^8.2.2",
14
+ "semantic-release": "^23.0.6",
15
+ "toml": "^3.0.0"
22
16
  },
23
17
  "scripts": {
24
18
  "setup": "./bin/install.sh",
25
19
  "build": "./bin/build.sh",
26
- "test": "wasm-pack test --node && jest --passWithNoTests",
20
+ "test": "wasm-pack test --node && jest --passWithNoTests",
27
21
  "test:rs": "wasm-pack test",
28
- "test:ts": "jest",
29
22
  "semantic-release": "semantic-release"
30
23
  },
31
24
  "jest": {
32
- "transform": {
33
- "^.+\\.tsx?$": "esbuild-jest"
34
- }
25
+ "testEnvironment": "node",
26
+ "testRegex": "node\\.test\\.[cm]js$"
35
27
  },
36
28
  "release": {
37
29
  "ci": false,
@@ -89,6 +81,40 @@
89
81
  {
90
82
  "name": "master"
91
83
  }
84
+ ],
85
+ "plugins": [
86
+ "@semantic-release/commit-analyzer",
87
+ "@semantic-release/release-notes-generator",
88
+ "@semantic-release/npm",
89
+ [
90
+ "@semantic-release/github",
91
+ {
92
+ "assets": [
93
+ {
94
+ "path": "lib/standalone.js",
95
+ "label": "standalone.js"
96
+ },
97
+ {
98
+ "path": "lib/esm.mjs",
99
+ "label": "esm.js"
100
+ },
101
+ {
102
+ "path": "lib/esm.d.ts",
103
+ "label": "esm.d.ts"
104
+ },
105
+ {
106
+ "path": "lib/rregex.wasm",
107
+ "label": "rregex.wasm"
108
+ }
109
+ ]
110
+ }
111
+ ],
112
+ [
113
+ "@semantic-release/exec",
114
+ {
115
+ "publishCmd": "node bin/jsr.mjs ${nextRelease.version} && npx jsr publish --allow-dirty"
116
+ }
117
+ ]
92
118
  ]
93
119
  },
94
120
  "repository": {
File without changes
File without changes