File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ repository = "https://github.com/2fd/rust-regex-playground"
1010
1111[dependencies ]
1212toml = " 0.5.1"
13- regex = " 1.1.6 "
14- regex-syntax = " 0.6.6 "
13+ regex = " 1.1.7 "
14+ regex-syntax = " 0.6.7 "
1515js-sys = " 0.3.22"
1616wasm-bindgen = " 0.2"
1717
Original file line number Diff line number Diff line change 77 "test" : " wasm-pack test --node --chrome --headless" ,
88 "start" : " parcel index.html pkg/index_bg.wasm -p 8080" ,
99 "clear" : " rm -rf dist/pkg dist/*.js dist/*.css dist/*.map" ,
10- "build" : " parcel build --public-url \" /rust-regex-playground/\" index.html pkg/index_bg.wasm"
10+ "build" : " npm run clear && npm run build::rust && npm run build::page" ,
11+ "build::rust" : " wasm-pack build --out-name index --target web --release" ,
12+ "build::page" : " parcel build --public-url \" /rust-regex-playground/\" index.html pkg/index_bg.wasm"
1113 },
1214 "repository" : {
1315 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export default function App({ store }: IAppProps) {
129129 target = "_blank"
130130 href = {
131131 "https://docs.rs/regex" +
132- ( versions . regex ? versions . regex + "/regex/" : "" )
132+ ( versions . regex ? "/" + versions . regex + "/regex/" : "" )
133133 }
134134 appearance = "minimal"
135135 height = { 32 }
@@ -144,7 +144,7 @@ export default function App({ store }: IAppProps) {
144144 href = {
145145 "https://docs.rs/regex-syntax" +
146146 ( versions . regex_syntax
147- ? versions . regex_syntax + "/regex_syntax/"
147+ ? "/" + versions . regex_syntax + "/regex_syntax/"
148148 : "" )
149149 }
150150 appearance = "minimal"
You can’t perform that action at this time.
0 commit comments