Skip to content

Commit

Permalink
fix(deps): update react-live-runner to ^1.0.5 (#1074)
Browse files Browse the repository at this point in the history
* fix(deps): update react-live-runner to ^1.0.5

* test(snapshots): update snapshots
  • Loading branch information
sabertazimi authored Mar 21, 2023
1 parent 040210b commit 90dcd16
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
24 changes: 11 additions & 13 deletions components/CodeBlocks/__snapshots__/LiveCode.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ exports[`LiveCode should render live code correctly (snapshot) 1`] = `
class="editor"
style="position: relative; text-align: left; box-sizing: border-box; padding: 0px; overflow: hidden; color: rgb(118, 217, 230); background-color: rgb(42, 42, 42);"
>
<textarea
autocapitalize="off"
autocomplete="off"
autocorrect="off"
class="npm__react-simple-code-editor__textarea"
data-gramm="false"
spellcheck="false"
style="margin: 0px; border: 0px; background: none; box-sizing: inherit; display: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; tab-size: inherit; text-indent: inherit; text-rendering: inherit; text-transform: inherit; white-space: pre-wrap; word-break: keep-all; overflow-wrap: break-word; position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; resize: none; overflow: hidden; padding: 1.25rem 1.25rem 1.25rem 1.25rem;"
>
const foo = bar();
</textarea>
<pre
aria-hidden="true"
style="margin: 0px; border: 0px; background: none; box-sizing: inherit; display: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; tab-size: inherit; text-indent: inherit; text-rendering: inherit; text-transform: inherit; white-space: pre-wrap; word-break: keep-all; overflow-wrap: break-word; position: relative; pointer-events: none; padding: 1.25rem 1.25rem 1.25rem 1.25rem;"
Expand Down Expand Up @@ -78,9 +67,18 @@ exports[`LiveCode should render live code correctly (snapshot) 1`] = `
</pre>
<style
type="text/css"
<textarea
autocapitalize="off"
autocomplete="off"
autocorrect="off"
class="npm__react-simple-code-editor__textarea"
data-gramm="false"
spellcheck="false"
style="margin: 0px; border: 0px; background: none; box-sizing: inherit; display: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; tab-size: inherit; text-indent: inherit; text-rendering: inherit; text-transform: inherit; white-space: pre-wrap; word-break: keep-all; overflow-wrap: break-word; position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; resize: none; overflow: hidden; padding: 1.25rem 1.25rem 1.25rem 1.25rem;"
>
const foo = bar();
</textarea>
<style>
/**
* Reset the text fill color so that placeholder is visible
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"prism-react-renderer": "^1.3.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-live-runner": "^1.0.4",
"react-live-runner": "^1.0.5",
"react-use": "^17.4.0",
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^6.1.1",
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2956,7 +2956,7 @@ __metadata:
prism-react-renderer: ^1.3.5
react: ^18.2.0
react-dom: ^18.2.0
react-live-runner: ^1.0.4
react-live-runner: ^1.0.5
react-use: ^17.4.0
reading-time: ^1.5.0
rehype-autolink-headings: ^6.1.1
Expand Down Expand Up @@ -13034,17 +13034,17 @@ __metadata:
languageName: node
linkType: hard

"react-live-runner@npm:^1.0.4":
version: 1.0.4
resolution: "react-live-runner@npm:1.0.4"
"react-live-runner@npm:^1.0.5":
version: 1.0.5
resolution: "react-live-runner@npm:1.0.5"
dependencies:
prism-react-renderer: ^1.2.1
react-runner: ^1.0.3
react-simple-code-editor: ^0.11.0
react-simple-code-editor: ^0.13.1
peerDependencies:
react: ^16.8.0 || ^17 || ^18
react-dom: ^16.8.0 || ^17 || ^18
checksum: 334115d858d681088f02cee62cd2d7ba3e53eca15a5a9c6d0143147852dda0476856a3dbaa4a10b3cc6fb6200f8e6f600069d4c6411c951d81c49c07b40526cc
checksum: fb34cc43d9fa3037f1afce5a0689ababcc244399b960c94f9cfb468abbbb5ea50676eb41fdb017bf02cd8df17614710dd2c2c458f9cf3dae8d0d31f122f1fb16
languageName: node
linkType: hard

Expand All @@ -13060,13 +13060,13 @@ __metadata:
languageName: node
linkType: hard

"react-simple-code-editor@npm:^0.11.0":
version: 0.11.0
resolution: "react-simple-code-editor@npm:0.11.0"
"react-simple-code-editor@npm:^0.13.1":
version: 0.13.1
resolution: "react-simple-code-editor@npm:0.13.1"
peerDependencies:
react: ^16.0.0
react-dom: ^16.0.0
checksum: 20d9381c77c7a7ef256e2d871e1b0ab95cc0b025b3933467840f6608ce37835f98785d50b6709df7e4daf75889f3c95a0d80b1809f8399b2361ec282a063196b
react: "*"
react-dom: "*"
checksum: 1d223e34ccac5d7f91318f28d5edab6ccb13c51b1afb502094b8475214321263bb44258d355978e1714e9360c9081fb9f38d3ae89071a06628407627c362cc45
languageName: node
linkType: hard

Expand Down

1 comment on commit 90dcd16

@vercel
Copy link

@vercel vercel bot commented on 90dcd16 Mar 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-sabertaz.vercel.app
blog.tazimi.dev
blog-git-main-sabertaz.vercel.app

Please sign in to comment.