Skip to content

Commit

Permalink
upgrade loader-utils, ts-jest, & babel/core to fix security warnings (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawyer Burnett authored Mar 11, 2024
1 parent bdd4999 commit a06f1d1
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 1,246 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-hairs-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'spectacle': patch
---

security update: increment ts-jest and babel/core
5 changes: 5 additions & 0 deletions .changeset/funny-frogs-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'spectacle-mdx-loader': patch
---

security update: bump loader-utils to 2.0.4
6 changes: 3 additions & 3 deletions examples/one-page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,16 @@
const html = htm.bind(React.createElement);
const formidableLogo = 'https://avatars2.githubusercontent.com/u/5078602?s=280&v=4';



// SPECTACLE_CLI_THEME_START
const theme = {
fonts: {
header: '"Open Sans Condensed", Helvetica, Arial, sans-serif',
text: '"Open Sans Condensed", Helvetica, Arial, sans-serif'
}
};

// SPECTACLE_CLI_THEME_END
const SlideFragments = () => html`
<${Slide}>
Expand All @@ -97,10 +100,8 @@
</${Appear}>
</${Slide}>
`;

const template = html`
<${DefaultTemplate} />`;

const Presentation = () => html`<${Deck} theme=${theme} template=${template}>
<${Slide}>
<${FlexBox} height="100%">
Expand Down Expand Up @@ -272,7 +273,6 @@
<${SlideLayout.List} title="Slide layouts!" items=${['Two-column', 'Lists' , 'And more!' ]} animateListItems />
</${Deck}>
`;

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(html`<${Presentation}/>`);
</script>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "spectacle-monorepo",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.19.3",
Expand Down Expand Up @@ -36,7 +36,7 @@
"raw-loader": "^4.0.0",
"rimraf": "^3.0.0",
"serve": "^14.0.1",
"ts-jest": "^29.0.3",
"ts-jest": "^29.1.2",
"typescript": "^4.8.4",
"wait-on": "^6.0.1",
"webpack": "5.76.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/spectacle-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@mdx-js/mdx": "^1.5.3",
"gray-matter": "^4.0.2",
"loader-utils": "^1.4.2",
"loader-utils": "^2.0.4",
"normalize-newline": "^3.0.0"
},
"scripts": {
Expand Down
Loading

0 comments on commit a06f1d1

Please sign in to comment.